1 2013-01-01 David S. Miller <davem@davemloft.net>
3 * po/fr.po: Update from translation team.
5 * catgets/gencat.c: Update copyright year.
6 * csu/version.c: Likewise.
7 * debug/catchsegv.sh: Likewise.
8 * debug/pcprofiledump.c: Likewise.
9 * debug/xtrace.sh: Likewise.
10 * elf/ldconfig.c: Likewise.
11 * elf/ldd.bash.in: Likewise.
12 * elf/pldd.c: Likewise.
13 * elf/sotruss.ksh: Likewise.
14 * elf/sprof.c: Likewise.
15 * iconv/iconv_prog.c: Likewise.
16 * iconv/iconvconfig.c: Likewise.
17 * locale/programs/locale.c: Likewise.
18 * locale/programs/localedef.c: Likewise.
19 * login/programs/pt_chown.c: Likewise.
20 * malloc/memusage.sh: Likewise.
21 * malloc/memusagestat.c: Likewise.
22 * malloc/mtrace.pl: Likewise.
23 * nscd/nscd.c: Likewise.
24 * nss/getent.c: Likewise.
25 * nss/makedb.c: Likewise.
26 * posix/getconf.c: Likewise.
28 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33 2012-12-30 Mike Frysinger <vapier@gentoo.org>
35 * math/bits/mathcalls.h (modf): Use __nonnull.
37 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40 (split): Use macro CN instead of the bare value.
41 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
44 instead of the bare value.
47 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60 2012-12-28 Andreas Jaeger <aj@suse.de>
62 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
63 values are from Linux 3.7.
65 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
68 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
70 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
75 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
76 variables with preprocessor constants.
77 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
78 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
81 2012-12-27 Bruno Haible <bruno@clisp.org>
84 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
87 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
89 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
90 and use variable directly.
91 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
93 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
95 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
96 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
98 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
99 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
100 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
101 include directive. Remove local variable MPONE.
102 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
103 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
104 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
106 2012-12-25 David S. Miller <davem@davemloft.net>
108 * version.h (RELEASE): Set to "development".
109 (VERSION): Set to "2.17.90".
110 * NEWS: Add 2.18 section.
112 2012-12-21 David S. Miller <davem@davemloft.net>
114 * po/hr.po: Update from translation team.
116 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
118 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
120 2012-12-19 Steve Ellcey <sellcey@mips.com>
122 * NEWS: Mention new memcpy for MIPS.
124 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
126 * manual/contrib.texi (Contributors): Spelling correction.
128 2012-12-15 David S. Miller <davem@davemloft.net>
130 * po/ru.po: Update from translation team.
132 2012-12-13 David S. Miller <davem@davemloft.net>
134 * NEWS: Mention IFUNC testsuite enhancements.
136 * po/pl.po: Update from translation team.
137 * po/bg.po: Likewise.
139 * manual/contrib.texi (Contributors): Update entries for Hongjiu
140 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
142 2012-12-11 David S. Miller <davem@davemloft.net>
144 * po/sv.po: Update from translation team.
146 * po/vi.po: Update from translation team.
148 * po/cs.po: Update from translation team.
150 * po/de.po: Update from translation team.
151 * po/eo.po: Likewise.
152 * po/nl.po: Likewise.
154 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
157 * manual/argp.texi (Argp Helper Functions): Move node to follow
161 * manual/conf.texi (Limits on File System Capacity): Mention if
162 terminating null is included in the max size.
164 2012-12-10 Andreas Jaeger <aj@suse.de>
166 * po/cs.po: Update from translation team.
168 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
170 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
171 void pointer and cast to uintptr_t.
172 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
174 * sysdeps/s390/s390-64/memcpy.S: Likewise.
175 * sysdeps/s390/s390-64/memset.S: Likewise.
177 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
180 * menual/message.texi (Message Translation): Fix typos.
181 (Helper programs for gettext): Likewise.
183 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
186 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
189 2012-12-07 David S. Miller <davem@davemloft.net>
191 * po/libc.pot: Update.
193 2012-12-07 Richard Henderson <rth@redhat.com>
196 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
197 normal/normal case to before the switch.
200 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
201 Mike Frysinger <vapier@gentoo.org>
203 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
204 check for __NR_fadvise64_64.
206 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
208 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
209 0, not just to plain "0" as a statement.
210 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
213 2012-12-06 Joseph Myers <joseph@codesourcery.com>
215 * NEWS: Use sourceware.org in Bugzilla URL.
217 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
220 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
222 * stdio-common/tst-put-error.c (do_test): Add newline to the
223 padded test to ensure flush.
225 2012-12-05 Jeff Law <law@redhat.com>
227 * sunrpc/etc.rpc (fedfs_admin): Add entry.
229 2012-12-05 Joseph Myers <joseph@codesourcery.com>
231 * README: Don't refer to ports add-on as distributed separately.
232 Mention AArch64 in list of systems supported in the ports add-on.
234 * LICENSES: Add more non-FSF copyright and license notices.
236 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
239 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
241 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
242 10000 as width of padded output.
244 2012-12-04 Joseph Myers <joseph@codesourcery.com>
246 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
249 variable LX with __attribute__ ((unused)).
250 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
252 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
254 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
255 with __attribute__ ((unused)).
257 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
259 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
261 2012-12-04 Joseph Myers <joseph@codesourcery.com>
263 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
264 (CFLAGS-nldbl-acos.c): New variable.
265 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
266 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
267 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
268 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
269 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
270 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
271 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
272 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
273 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
274 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
275 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
276 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
277 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
278 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
279 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
280 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
281 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
282 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
283 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
284 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
285 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
286 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
287 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
288 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
289 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
290 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
291 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
292 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
293 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
294 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
295 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
296 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
297 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
298 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
299 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
300 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
301 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
302 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
303 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
304 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
305 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
306 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
307 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
308 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
309 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
310 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
311 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
312 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
313 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
314 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
315 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
316 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
317 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
318 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
319 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
320 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
321 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
322 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
323 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
324 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
325 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
326 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
327 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
328 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
329 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
330 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
331 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
332 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
333 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
334 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
335 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
336 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
337 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
338 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
339 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
340 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
341 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
342 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
343 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
344 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
345 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
346 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
347 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
348 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
349 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
350 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
351 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
352 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
353 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
354 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
355 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
356 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
357 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
358 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
359 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
360 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
361 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
364 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
368 whole low double instead of just low 47 bits when splitting values
371 2012-12-03 Allan McRae <allan@archlinux.org>
373 * manual/stdio.texi (Predefined Printf Handlers): Remove
374 @hsep and @vsep usage.
376 2012-12-03 Mike Frysinger <vapier@gentoo.org>
378 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
379 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
381 2012-12-03 Jeff Law <law@redhat.com>
383 * time/sys/time.h (settimeofday): Do not mark TV argument
386 2012-12-01 Mike Frysinger <vapier@gentoo.org>
388 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
389 when currently writing and seek to current position when not.
390 * libio/Makefile (tests): Remove bug-fclose1.
391 * libio/bug-fclose1.c: Delete.
393 2012-12-01 Joseph Myers <joseph@codesourcery.com>
395 * manual/arith.texi (feenableexcept): Fix typo.
396 (fedisableexcept): Likewise.
398 2012-11-30 Roland McGrath <roland@hack.frob.com>
400 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
401 second, differently-typed declaration, rather than a cast.
403 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
405 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
406 * include/rpc/svc.h: ... here.
408 2012-11-30 Aurelien Jarno <aurel32@debian.org>
411 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
412 depending n and resplen2 to catch cases where answer
415 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
417 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
418 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
420 2012-11-29 Mike Frysinger <vapier@gentoo.org>
422 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
424 2012-11-29 Roland McGrath <roland@hack.frob.com>
426 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
428 2012-11-28 Jeff Law <law@redhat.com>
431 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
432 dataset_temporary. Track alloca usage into alloca_used.
433 If dataset is large allocate and release it via malloc/free.
435 2012-06-04 Florian Weimer <fweimer@redhat.com>
438 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
440 2012-11-28 David S. Miller <davem@davemloft.net>
442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
444 2012-11-28 Joseph Myers <joseph@codesourcery.com>
447 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
448 of pi/2 rounded to nearest to 64 bits.
449 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
451 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
454 2012-11-28 Jeff Law <law@redhat.com>
455 Martin Osvald <mosvald@redhat.com>
458 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
459 * sunrpc/svc.c: Include time.h.
460 (__svc_accept_failed): New function.
461 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
462 any reason other than EINTR, call __svc_accept_failed.
463 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
464 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
466 2012-11-28 Andreas Schwab <schwab@suse.de>
468 * scripts/abilist.awk: Also handle indirect functions in .opd
471 2012-11-28 Joseph Myers <joseph@codesourcery.com>
474 * sysdeps/x86/fpu/powl_helper.c: New file.
475 * sysdeps/x86/fpu/Makefile: Likewise.
476 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
478 (__ieee754_powl): Use __powl_helper for finite arguments except
479 integer exponents below 8.
480 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
482 (__ieee754_powl): Use __powl_helper for finite arguments except
483 integer exponents below 8.
484 * math/libm-test.inc (pow_test): Add more tests and enable some
485 previously disabled tests.
486 * sysdeps/i386/fpu/libm-test-ulps: Update.
487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
489 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
490 Carlos O'Donell <carlos_odonell@mentor.com>
492 * nss/makedb.c (is_prime): Assert that input is odd and greater
493 than 4. Note that fact in a comment too.
494 (next_prime): Add 4 to input.
496 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
499 * libio/Makefile (tests): Add test case tst-fwrite-error.
500 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
501 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
502 * libio/tst-fwrite-error.c: New test case.
504 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
506 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
507 before casting to void *.
508 * include/libc-internal.h (__pointer_type): New macro.
509 (__integer_if_pointer_type_sub): Likewise.
510 (__integer_if_pointer_type): Likewise.
511 (cast_to_integer): Likewise.
512 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
513 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
514 before casting to atomic64_t.
515 (atomic_exchange_acq): Likewise.
516 (__arch_exchange_and_add_body): Likewise.
517 (__arch_add_body): Likewise.
518 (atomic_add_negative): Likewise.
519 (atomic_add_zero): Likewise.
521 2012-11-26 Joseph Myers <joseph@codesourcery.com>
523 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
524 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
525 (add_fdes): Likewise.
526 (linear_search_fdes): Likewise.
527 (binary_search_unencoded_fdes): Likewise.
529 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
531 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
533 2012-11-24 Adam Conrad <adconrad@0c3.net>
535 * configure.in: Autodetect C++ header directories.
536 * configure: Regenerated.
538 2012-11-23 Mike Frysinger <vapier@gentoo.org>
540 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
542 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
546 2012-11-22 Joseph Myers <joseph@codesourcery.com>
548 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
549 LDBL_MANT_DIG == 106]: Disable some tests.
550 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
552 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
556 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
557 input for small inputs. Return +/- pi/2 for large inputs.
558 * math/libm-test.inc (atan_test): Add more tests.
560 * sysdeps/generic/unwind-dw2-fde-glibc.c
561 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
562 __attribute__ ((unused)).
565 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
566 x * y if x and y are nonzero and z is zero.
569 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
570 nonzero exponents with absolute value below 0x1p-117 to +/-
574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
575 up arguments below 2**-450, not just those below 2**-500.
576 * math/libm-test.inc (hypot_test): Add another test.
579 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
580 Return a+b for ratio over 2**120, not 2**60.
581 * math/libm-test.inc (hypot_test): Add another test.
583 * math/libm-test.inc (clog_test): Use
584 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
585 (clog10_test): Likewise.
588 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
590 2012-11-22 Andreas Schwab <schwab@suse.de>
592 * sysdeps/i386/fpu/libm-test-ulps: Update.
594 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
596 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
597 printf output with newline.
599 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
602 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
603 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
604 -z nodlopen, -z initfirst and -z execstack support.
605 * configure: Regenerated.
607 * elf/elf.h (DF_1_NODIRECT): New macro.
608 (DF_1_IGNMULDEF): Likewise.
609 (DF_1_NOKSYMS): Likewise.
610 (DF_1_NOHDR): Likewise.
611 (DF_1_EDITED): Likewise.
612 (DF_1_NORELOC): Likewise.
613 (DF_1_SYMINTPOSE): Likewise.
614 (DF_1_GLOBAUDIT): Likewise.
615 (DF_1_SINGLETON): Likewise.
616 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
617 DT_1_SUPPORTED_MASK bits.
618 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
620 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
622 * sysdeps/unix/make-syscalls.sh: Document prefixes.
624 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
626 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
629 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
630 (sendmmsg): Move declarations...
631 * socket/sys/socket.h: ... here.
632 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
633 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
635 * socket/recvmmsg.c: ... this new file.
636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
637 (sendmmsg): Rename to __sendmmsg, create weak alias and make
638 definition of __sendmmsg hidden.
639 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
640 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
641 Move ENOSYS stub into and include it from...
642 * socket/sendmmsg.c: ... this new file.
643 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
644 (sysdep_routines): Move recvmmsg and sendmmsg...
645 * socket/Makefile (routines): ... here.
646 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
647 (GLIBC_PRIVATE): Add __sendmmsg.
648 * include/sys/socket.h (__sendmmsg): Add declarations.
649 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
652 2012-11-20 Joseph Myers <joseph@codesourcery.com>
654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
655 variable I1 with __attribute__ ((unused)).
656 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
658 2012-11-19 Joseph Myers <joseph@codesourcery.com>
660 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
661 DUMMY variables with __attribute__ ((unused)).
663 * bits/byteswap.h: Include <bits/types.h>.
664 (__bswap_64): Use __uint64_t instead of unsigned long long int.
666 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
668 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
669 string_t. Do not manually set errno.
670 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
671 length with __strnlen. Make sure to both set errno and return it on
674 2012-11-19 David S. Miller <davem@davemloft.net>
676 With help from Joseph Myers.
677 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
678 very large arguments properly.
679 * math/libm-test.inc (atan_test): New tests.
680 (atan2_test): New tests.
681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
682 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
684 2012-11-19 Joseph Myers <joseph@codesourcery.com>
687 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
690 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
691 [POSIX] (EADDRNOTAVAIL): Likewise.
692 [POSIX] (EAFNOSUPPORT): Likewise.
693 [POSIX] (EALREADY): Likewise.
694 [POSIX] (ECONNABORTED): Likewise.
695 [POSIX] (ECONNREFUSED): Likewise.
696 [POSIX] (ECONNRESET): Likewise.
697 [POSIX] (EDESTADDRREQ): Likewise.
698 [POSIX] (EDQUOT): Likewise.
699 [POSIX] (EHOSTUNREACH): Likewise.
700 [POSIX] (EIDRM): Likewise.
701 [POSIX] (EISCONN): Likewise.
702 [POSIX] (ELOOP): Likewise.
703 [POSIX] (EMULTIHOP): Likewise.
704 [POSIX] (ENETDOWN): Likewise.
705 [POSIX] (ENETUNREACH): Likewise.
706 [POSIX] (ENOBUFS): Likewise.
707 [POSIX] (ENODATA): Likewise.
708 [POSIX] (ENOLINK): Likewise.
709 [POSIX] (ENOMSG): Likewise.
710 [POSIX] (ENOPROTOOPT): Likewise.
711 [POSIX] (ENOSR): Likewise.
712 [POSIX] (ENOSTR): Likewise.
713 [POSIX] (ENOTCONN): Likewise.
714 [POSIX] (ENOTSOCK): Likewise.
715 [POSIX] (EOPNOTSUPP): Likewise.
716 [POSIX] (EOVERFLOW): Likewise.
717 [POSIX] (EPROTO): Likewise.
718 [POSIX] (EPROTONOSUPPORT): Likewise.
719 [POSIX] (EPROTOTYPE): Likewise.
720 [POSIX] (ESTALE): Likewise.
721 [POSIX] (ETIME): Likewise.
722 [POSIX] (ETXTBSY): Likewise.
723 [POSIX] (EWOULDBLOCK): Likewise.
724 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
725 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
726 [POSIX] (SEEK_CUR): Likewise.
727 [POSIX] (SEEK_END): Likewise.
728 [POSIX || UNIX98] (mode_t): Do not require.
729 [POSIX] (off_t): Likewise.
730 [POSIX] (pid_t): Likewise.
731 [POSIX] (sys/stat.h): Do not allow header.
732 [POSIX] (unistd.h): Likewise.
733 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
734 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
735 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
736 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
738 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
739 sigevent): Specify elements.
740 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
742 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
743 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
745 * conform/data/cpio.h-data [POSIX]: Disable whole file.
746 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
747 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
748 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
749 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
750 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
751 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
752 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
753 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
754 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
755 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
756 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
757 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
758 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
760 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
762 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
764 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
766 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
767 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
768 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
769 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
770 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
771 Specify lower bound on value.
772 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
773 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
774 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
775 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
776 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
777 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
778 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
779 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
781 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
783 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
784 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
785 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
786 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
787 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
788 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
789 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
790 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
791 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
792 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
793 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
794 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
795 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
796 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
797 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
798 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
800 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
802 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
803 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
804 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
805 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
806 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
807 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
809 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
810 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
811 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
812 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
813 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
814 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
815 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
817 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
818 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
819 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
820 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
821 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
822 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
824 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
825 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
826 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
827 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
828 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
829 [XPG3] (NL_LANGMAX): Likewise.
830 [POSIX || XPG3] (NL_MSGMAX): Likewise.
831 [POSIX || XPG3] (NL_NMAX): Likewise.
832 [POSIX || XPG3] (NL_SETMAX): Likewise.
833 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
834 [XPG3] (NZERO): Likewise.
835 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
836 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
837 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
838 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
839 (REG_ERANGE): Expect.
840 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
842 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
843 Use (void) in prototype.
844 [POSIX] (*_t): Allow.
845 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
846 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
847 (WRDE_BADVAL): Expect.
849 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
851 [XPG3 || XPG4] (O_RSYNC): Likewise.
852 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
854 [XPG3 || XPG4] (pthread_sigmask): Likewise.
855 [XPG3 || XPG4] (sigqueue): Likewise.
856 [XPG3 || XPG4] (sigtimedwait): Likewise.
857 [XPG3 || XPG4] (sigwaitinfo): Likewise.
858 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
859 [XPG3 || XPG4] (vsnprintf): Likewise.
860 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
862 [XPG3 || XPG4] (blksize_t): Likewise.
863 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
865 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
866 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
867 [XPG3 || XPG4] (struct itimerspec): Likewise.
868 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
869 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
870 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
871 [XPG3 || XPG4] (clockid_t): Likewise.
872 [XPG3 || XPG4] (timer_t): Likewise.
873 [XPG3 || XPG4] (clock_getres): Likewise.
874 [XPG3 || XPG4] (clock_gettime): Likewise.
875 [XPG3 || XPG4] (clock_settime): Likewise.
876 [XPG3 || XPG4] (nanosleep): Likewise.
877 [XPG3 || XPG4] (timer_create): Likewise.
878 [XPG3 || XPG4] (timer_delete): Likewise.
879 [XPG3 || XPG4] (timer_gettime): Likewise.
880 [XPG3 || XPG4] (timer_getoverrun): Likewise.
881 [XPG3 || XPG4] (timer_settime): Likewise.
882 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
883 [XPG3 || XPG4] (getlogin_r): Likewise.
884 [XPG3 || XPG4] (pread): Likewise.
885 [XPG3 || XPG4] (pthread_atfork): Likewise.
886 [XPG3 || XPG4] (pwrite): Likewise.
889 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
892 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
894 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
895 finalizing MALLSTREAM.
897 * sysdeps/mach/hurd/syncfs.c: New file.
899 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
902 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
903 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
904 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
905 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
906 (_nss_dns_gethostbyname4_r): Likewise.
907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
908 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
910 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
913 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
915 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
917 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
918 * elf/cache.c (print_entry): Print ",AArch64" for
921 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
922 * elf/cache.c (print_entry): Print ",hard-float" for
925 2012-11-18 David S. Miller <davem@davemloft.net>
927 With help from Joseph Myers.
928 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
930 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
932 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
933 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
935 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
936 * math/libm-test.inc (y0_test): New tests.
937 (y1_test): New tests.
938 * sysdeps/i386/fpu/libm-test-ulps: Update.
939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
942 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
944 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
946 * configure: Regenerated.
948 2012-11-17 David S. Miller <davem@davemloft.net>
951 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
952 nonzero exponents with absolute value below 0x1p-128 to +/-
955 2012-11-17 Joseph Myers <joseph@codesourcery.com>
957 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
959 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
961 * posix/getconf-speclist.c: New file.
962 * posix/posix-envs.def: Likewise.
963 * posix/confstr.c (START_ENV_GROUP): New macro.
964 (END_ENV_GROUP): Likewise.
965 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
966 (KNOWN_PRESENT_ENV_STRING): Likewise.
967 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
968 (UNKNOWN_ENVIRONMENT): Likewise.
969 (confstr): Include posix-envs.def instead of handling
970 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
971 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
972 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
973 (END_ENV_GROUP): Likewise.
974 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
975 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
976 (UNKNOWN_ENVIRONMENT): Likewise.
977 (__sysconf): Include posix-envs.def instead of handling associated
979 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
980 preprocessing getconf-speclist.c rather than running getconf or
981 generating empty file.
983 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
985 * scripts/check-local-headers.sh: Ignore 'mach' headers.
987 2012-11-16 Andrej Lajovic <natrij@gmail.com>
990 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
992 2012-11-16 David S. Miller <davem@davemloft.net>
994 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
995 smaller than LDBL_EPSILON/2.0L, just return xm1.
997 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
999 * elf/tst-array1.c (init): Set constructor priority to 1000.
1000 (fini): Set destructor priority to 1000.
1001 * elf/tst-array2dep.c: Likewise.
1003 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1006 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1007 (_IO_new_file_xsputn): Also return EOF if none of the input
1008 data was written when overflow failed.
1009 * libio/iopadn.c (_IO_padn): Likewise.
1010 * libio/iowpadn.c (_IO_wpadn): Likewise.
1011 * stdio-common/tst-put-error.c: Add copyright notice.
1012 (do_test): Add case for printing padded string.
1013 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1014 _IO_padn returned error.
1015 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1016 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1019 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1021 * libio/libioP.h: Add comment note that the references to C++
1022 bits are now obsolete.
1024 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1026 * math/libm-test.inc (check_complex): Use asprintf.
1028 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1030 * debug/pcprofiledump.c (print_version): Update copyright year.
1031 * malloc/memusagestat.c (print_version): Likewise.
1033 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1036 * elf/Makefile (tests): Add tst-audit8.
1037 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1038 ($(objpfx)tst-audit8.out): New target.
1039 (tst-audit8-ENV): New variable.
1040 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1041 audit if l_reloc_result is NULL.
1042 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1043 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1044 * elf/tst-audit8.c: New file.
1046 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1048 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1049 * misc/Makefile (CFLAGS-select.c): Define.
1050 * posix/Makefile (CFLAGS-pause.c): Define.
1052 2012-11-13 David S. Miller <davem@davemloft.net>
1054 * crypt/Makefile: Move test targets after toplevel Rules
1055 inclusion. Grab any necessary sysdep routines when linking.
1056 * crypt/md5.c (md5_process_block): Remove define, we will always
1057 name it __md5_process_block.
1058 (md5_finish_ctx): Update md5_process_block call.
1059 (md5_stream): Likewise.
1060 (md5_process_bytes): Likewise.
1061 (md5_process_block): Rename to __md5_process_block and move to ...
1062 * crypt/md5-block.c: ... here.
1063 * crypt/sha256.c (sha256_process_block): Move to ...
1064 * crypt/sha256-block.c: ... here.
1065 * crypt/sha512.c (sha512_process_block): Move to ...
1066 * crypt/sha512-block.c: ... here.
1067 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1069 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1070 * sysdeps/sparc/sparc64/multiarch/Makefile
1071 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1073 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1074 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1076 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1077 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1078 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1079 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1080 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1081 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1082 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1083 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1084 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1086 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1087 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1089 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1091 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1093 * timezone/tzselect.ksh: Update from tzcode git revision
1094 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1095 * timezone/zdump.c: Likewise.
1096 * timezone/zic.c: Likewise.
1097 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1098 in TZVERSION setting, not $(PKGVERSION).
1099 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1100 REPORT_BUGS_TO settings.
1103 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1106 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1108 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1109 detection to immediately after _FP_ROUND().
1110 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1113 2012-11-11 David S. Miller <davem@davemloft.net>
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1117 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1118 __close rather than their public counterparts.
1120 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1122 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1124 [UNIX98] (sem_timedwait): Do not expect.
1125 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1126 [XPG4 || UNIX98] (sockatmark): Do not expect.
1127 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1128 (clock_getcpuclockid): Do not expect.
1129 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1130 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1132 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1133 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1134 [UNIX98] (vwscanf): Likewise.
1135 [UNIX98] (vswscanf): Likewise.
1137 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1139 * timezone/version.h: Remove file.
1140 * timezone/README: Do not refer to version.h.
1141 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1143 ($(objpfx)zdump.o): Likewise.
1144 ($(objpfx)version.h): New target.
1146 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1148 * timezone/README: Don't mention modification to tzselect.ksh.
1149 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1150 work on unmodified tzselect.ksh. Substitute version numbers in
1153 * Makefile (format-me): Remove.
1154 (INSTALL): Adjust indentation. Use commands directly instead of
1157 * aclocal.m4 (ACX_PKGVERSION): New macro.
1158 (ACX_BUGURL): Likewise.
1159 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1160 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1161 (REPORT_BUGS_TO): Likewise.
1162 * configure: Regenerated.
1163 * config.h.in (PKGVERSION): New macro.
1164 (REPORT_BUGS_TO): Likewise.
1165 * config.make.in (PKGVERSION): New variable.
1166 (PKGVERSION_TEXI): Likewise.
1167 (REPORT_BUGS_TO): Likewise.
1168 (REPORT_BUGS_TEXI): Likewise.
1169 * Makefile (format-me): Use -I$(common-objpfx)manual.
1170 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1171 ($(common-objpfx)manual/%): New target.
1172 (manual/%): Remove target.
1173 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1174 (print_version): Use PKGVERSION.
1175 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1176 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1178 ($(objpfx)xtrace): Likewise.
1179 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1180 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1181 (print_version): Use PKGVERSION.
1182 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1183 (do_version): Use PKGVERSION.
1184 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1186 (common-ldd-rewrite): Likewise.
1187 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1188 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1189 (print_version): Use PKGVERSION.
1190 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1191 * elf/pldd.c (argp_program_bug_address): Remove variable.
1192 (more_help): New function.
1193 (argp): Use more_help.
1194 (print_version): Use PKGVERSION.
1195 * elf/sln.c (main): Use PKGVERSION.
1196 (usage): Use REPORT_BUGS_TO.
1197 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1198 (top level): Use PKGVERSION.
1199 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1200 (print_version): Use PKGVERSION.
1201 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1202 (print_version): Use PKGVERSION.
1203 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1204 (print_version): Use PKGVERSION.
1205 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1206 (print_version): Use PKGVERSION.
1207 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1208 (print_version): Use PKGVERSION.
1209 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1210 (print_version): Use PKGVERSION.
1211 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1213 ($(objpfx)memusage): Likewise.
1214 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1215 (do_version): Use PKGVERSION.
1216 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1217 (print_version): Use PKGVERSION.
1218 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1219 ($PKGVERSION): New variable.
1220 ($REPORT_BUGS_TO): Likewise.
1221 (usage): Use $REPORT_BUGS_TO.
1222 (top level): Use $PKGVERSION.
1223 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1224 ($(objpfx)pkgvers.texi): New rule.
1225 ($(objpfx)stamp-pkgvers): Likewise.
1226 * manual/install.texi: Include pkgvers.texi.
1227 (--with-pkgversion): Document new configure option.
1228 (--with-bugurl): Likewise.
1229 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1230 than necessarily for this particular distribution. Use
1231 REPORT_BUGS_TO for where to report bugs.
1232 * INSTALL: Regenerated.
1233 * manual/libc.texinfo: Include pkgvers.texi.
1234 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1235 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1236 (print_version): Use PKGVERSION.
1237 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1238 (print_version): Use PKGVERSION.
1239 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1240 (print_version): Use PKGVERSION.
1241 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1242 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1244 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1245 (print_version): Use PKGVERSION.
1246 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1247 (print_version): Use PKGVERSION.
1248 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1251 * timezone/checktab.awk: Update from tzcode 2012i.
1252 * timezone/ialloc.c: Likewise.
1253 * timezone/private.h: Likewise.
1254 * timezone/scheck.c: Likewise.
1255 * timezone/tzfile.h: Likewise.
1256 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1257 (TZVERSION): Hardcode tzcode version number.
1258 * timezone/zdump.c: Update from tzcode 2012i.
1259 * timezone/zic.c: Likewise.
1260 * timezone/version.h: New file.
1261 * timezone/README: Describe version.h. Update upstream location.
1264 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1265 (mktemp): Enable declaration.
1266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1267 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1269 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1271 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1273 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1283 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1284 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1285 for copies of such integer values.
1286 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1287 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1289 2012-11-09 Andreas Jaeger <aj@suse.de>
1291 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1292 definitions and declarations that are provided by
1293 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1295 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1297 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1298 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1299 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1302 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1304 * elf/elf.h: Update comment before AArch64 relocations.
1306 2012-11-07 David S. Miller <davem@davemloft.net>
1308 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1309 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1310 (__start_context): Declare.
1311 (__makecontext_ret): Delete.
1312 (__makecontext): Hook up __start_context instead of
1314 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1315 (sysdep_routines): Add __start_context when in stdlib.
1317 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1319 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1320 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1321 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1323 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1324 (READELF): New variable. Use it instead of hardcoded "readelf".
1326 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1328 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1329 * sysdeps/x86/Makefile: Here.
1330 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1331 * sysdeps/x86/tst-xmmymm.sh: This.
1333 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1335 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1337 [UNIX98] (pthread_barrier_t): Do not expect.
1338 [UNIX98] (pthread_barrierattr_t): Likewise.
1339 [UNIX98] (pthread_spinlock_t): Likewise.
1340 [UNIX98] (pthread_barrier_destroy): Likewise.
1341 [UNIX98] (pthread_barrier_init): Likewise.
1342 [UNIX98] (pthread_barrier_wait): Likewise.
1343 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1344 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1345 [UNIX98] (pthread_barrierattr_init): Likewise.
1346 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1347 [UNIX98] (pthread_getcpuclockid): Likewise.
1348 [UNIX98] (pthread_mutex_timedlock): Likewise.
1349 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1350 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1351 [UNIX98] (pthread_sigmask): Likewise.
1352 [UNIX98] (pthread_spin_destroy): Likewise.
1353 [UNIX98] (pthread_spin_init): Likewise.
1354 [UNIX98] (pthread_spin_lock): Likewise.
1355 [UNIX98] (pthread_spin_trylock): Likewise.
1356 [UNIX98] (pthread_spin_unlock): Likewise.
1357 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1359 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1360 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1361 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1362 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1363 [XPG3 || XPG4] (pthread_key_t): Likewise.
1364 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1365 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1366 [XPG3 || XPG4] (pthread_once_t): Likewise.
1367 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1368 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1369 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1370 [XPG3 || XPG4] (pthread_t): Likewise.
1372 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1374 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1376 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1377 Change function return type to int.
1379 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1380 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1381 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1382 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1383 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1384 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1385 [!POSIX] (posix_madvise): Likewise.
1386 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1388 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1389 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1391 (posix_mem_offset): Likewise.
1392 (posix_typed_mem_get_info): Likewise.
1393 (posix_typed_mem_open): Likewise.
1395 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1396 Change condition to [XOPEN2K8].
1398 * conform/conformtest.pl: Preprocess allow-header data with -x c
1399 instead of from stdin.
1400 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1401 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1402 [C99-based standards] (cerfc): Likewise.
1403 [C99-based standards] (cexp2): Likewise.
1404 [C99-based standards] (cexpm1): Likewise.
1405 [C99-based standards] (clog10): Likewise.
1406 [C99-based standards] (clog1p): Likewise.
1407 [C99-based standards] (clog2): Likewise.
1408 [C99-based standards] (clgamma): Likewise.
1409 [C99-based standards] (ctgamma): Likewise.
1410 [C99-based standards] (cerff): Likewise.
1411 [C99-based standards] (cerfcf): Likewise.
1412 [C99-based standards] (cexp2f): Likewise.
1413 [C99-based standards] (cexpm1f): Likewise.
1414 [C99-based standards] (clog10f): Likewise.
1415 [C99-based standards] (clog1pf): Likewise.
1416 [C99-based standards] (clog2f): Likewise.
1417 [C99-based standards] (clgammaf): Likewise.
1418 [C99-based standards] (ctgammaf): Likewise.
1419 [C99-based standards] (cerfl): Likewise.
1420 [C99-based standards] (cerfcl): Likewise.
1421 [C99-based standards] (cexp2l): Likewise.
1422 [C99-based standards] (cexpm1l): Likewise.
1423 [C99-based standards] (clog10l): Likewise.
1424 [C99-based standards] (clog1pl): Likewise.
1425 [C99-based standards] (clog2l): Likewise.
1426 [C99-based standards] (clgammal): Likewise.
1427 [C99-based standards] (ctgammal): Likewise.
1428 * conform/data/inttypes.h-data [C99-based standards]: Include
1429 stdint.h-data. Remove all expectations for stdint.h contents.
1430 [C99-based standards] (PRI*): Do not allow.
1431 [C99-based standards] (SCN*): Likewise.
1432 [C99-based standards] (*_t): Likewise.
1433 [C99-based-standards] (PRId8): Expect macro.
1434 [C99-based-standards] (PRIi8): Likewise.
1435 [C99-based-standards] (PRIo8): Likewise.
1436 [C99-based-standards] (PRIu8): Likewise.
1437 [C99-based-standards] (PRIx8): Likewise.
1438 [C99-based-standards] (PRIX8): Likewise.
1439 [C99-based-standards] (SCNd8): Likewise.
1440 [C99-based-standards] (SCNi8): Likewise.
1441 [C99-based-standards] (SCNo8): Likewise.
1442 [C99-based-standards] (SCNu8): Likewise.
1443 [C99-based-standards] (SCNx8): Likewise.
1444 [C99-based-standards] (PRIdLEAST8): Likewise.
1445 [C99-based-standards] (PRIiLEAST8): Likewise.
1446 [C99-based-standards] (PRIoLEAST8): Likewise.
1447 [C99-based-standards] (PRIuLEAST8): Likewise.
1448 [C99-based-standards] (PRIxLEAST8): Likewise.
1449 [C99-based-standards] (PRIXLEAST8): Likewise.
1450 [C99-based-standards] (SCNdLEAST8): Likewise.
1451 [C99-based-standards] (SCNiLEAST8): Likewise.
1452 [C99-based-standards] (SCNoLEAST8): Likewise.
1453 [C99-based-standards] (SCNuLEAST8): Likewise.
1454 [C99-based-standards] (SCNxLEAST8): Likewise.
1455 [C99-based-standards] (PRIdFAST8): Likewise.
1456 [C99-based-standards] (PRIiFAST8): Likewise.
1457 [C99-based-standards] (PRIoFAST8): Likewise.
1458 [C99-based-standards] (PRIuFAST8): Likewise.
1459 [C99-based-standards] (PRIxFAST8): Likewise.
1460 [C99-based-standards] (PRIXFAST8): Likewise.
1461 [C99-based-standards] (SCNdFAST8): Likewise.
1462 [C99-based-standards] (SCNiFAST8): Likewise.
1463 [C99-based-standards] (SCNoFAST8): Likewise.
1464 [C99-based-standards] (SCNuFAST8): Likewise.
1465 [C99-based-standards] (SCNxFAST8): Likewise.
1466 [C99-based-standards] (PRId16): Likewise.
1467 [C99-based-standards] (PRIi16): Likewise.
1468 [C99-based-standards] (PRIo16): Likewise.
1469 [C99-based-standards] (PRIu16): Likewise.
1470 [C99-based-standards] (PRIx16): Likewise.
1471 [C99-based-standards] (PRIX16): Likewise.
1472 [C99-based-standards] (SCNd16): Likewise.
1473 [C99-based-standards] (SCNi16): Likewise.
1474 [C99-based-standards] (SCNo16): Likewise.
1475 [C99-based-standards] (SCNu16): Likewise.
1476 [C99-based-standards] (SCNx16): Likewise.
1477 [C99-based-standards] (PRIdLEAST16): Likewise.
1478 [C99-based-standards] (PRIiLEAST16): Likewise.
1479 [C99-based-standards] (PRIoLEAST16): Likewise.
1480 [C99-based-standards] (PRIuLEAST16): Likewise.
1481 [C99-based-standards] (PRIxLEAST16): Likewise.
1482 [C99-based-standards] (PRIXLEAST16): Likewise.
1483 [C99-based-standards] (SCNdLEAST16): Likewise.
1484 [C99-based-standards] (SCNiLEAST16): Likewise.
1485 [C99-based-standards] (SCNoLEAST16): Likewise.
1486 [C99-based-standards] (SCNuLEAST16): Likewise.
1487 [C99-based-standards] (SCNxLEAST16): Likewise.
1488 [C99-based-standards] (PRIdFAST16): Likewise.
1489 [C99-based-standards] (PRIiFAST16): Likewise.
1490 [C99-based-standards] (PRIoFAST16): Likewise.
1491 [C99-based-standards] (PRIuFAST16): Likewise.
1492 [C99-based-standards] (PRIxFAST16): Likewise.
1493 [C99-based-standards] (PRIXFAST16): Likewise.
1494 [C99-based-standards] (SCNdFAST16): Likewise.
1495 [C99-based-standards] (SCNiFAST16): Likewise.
1496 [C99-based-standards] (SCNoFAST16): Likewise.
1497 [C99-based-standards] (SCNuFAST16): Likewise.
1498 [C99-based-standards] (SCNxFAST16): Likewise.
1499 [C99-based-standards] (PRId32): Likewise.
1500 [C99-based-standards] (PRIi32): Likewise.
1501 [C99-based-standards] (PRIo32): Likewise.
1502 [C99-based-standards] (PRIu32): Likewise.
1503 [C99-based-standards] (PRIx32): Likewise.
1504 [C99-based-standards] (PRIX32): Likewise.
1505 [C99-based-standards] (SCNd32): Likewise.
1506 [C99-based-standards] (SCNi32): Likewise.
1507 [C99-based-standards] (SCNo32): Likewise.
1508 [C99-based-standards] (SCNu32): Likewise.
1509 [C99-based-standards] (SCNx32): Likewise.
1510 [C99-based-standards] (PRIdLEAST32): Likewise.
1511 [C99-based-standards] (PRIiLEAST32): Likewise.
1512 [C99-based-standards] (PRIoLEAST32): Likewise.
1513 [C99-based-standards] (PRIuLEAST32): Likewise.
1514 [C99-based-standards] (PRIxLEAST32): Likewise.
1515 [C99-based-standards] (PRIXLEAST32): Likewise.
1516 [C99-based-standards] (SCNdLEAST32): Likewise.
1517 [C99-based-standards] (SCNiLEAST32): Likewise.
1518 [C99-based-standards] (SCNoLEAST32): Likewise.
1519 [C99-based-standards] (SCNuLEAST32): Likewise.
1520 [C99-based-standards] (SCNxLEAST32): Likewise.
1521 [C99-based-standards] (PRIdFAST32): Likewise.
1522 [C99-based-standards] (PRIiFAST32): Likewise.
1523 [C99-based-standards] (PRIoFAST32): Likewise.
1524 [C99-based-standards] (PRIuFAST32): Likewise.
1525 [C99-based-standards] (PRIxFAST32): Likewise.
1526 [C99-based-standards] (PRIXFAST32): Likewise.
1527 [C99-based-standards] (SCNdFAST32): Likewise.
1528 [C99-based-standards] (SCNiFAST32): Likewise.
1529 [C99-based-standards] (SCNoFAST32): Likewise.
1530 [C99-based-standards] (SCNuFAST32): Likewise.
1531 [C99-based-standards] (SCNxFAST32): Likewise.
1532 [C99-based-standards] (PRId64): Likewise.
1533 [C99-based-standards] (PRIi64): Likewise.
1534 [C99-based-standards] (PRIo64): Likewise.
1535 [C99-based-standards] (PRIu64): Likewise.
1536 [C99-based-standards] (PRIx64): Likewise.
1537 [C99-based-standards] (PRIX64): Likewise.
1538 [C99-based-standards] (SCNd64): Likewise.
1539 [C99-based-standards] (SCNi64): Likewise.
1540 [C99-based-standards] (SCNo64): Likewise.
1541 [C99-based-standards] (SCNu64): Likewise.
1542 [C99-based-standards] (SCNx64): Likewise.
1543 [C99-based-standards] (PRIdLEAST64): Likewise.
1544 [C99-based-standards] (PRIiLEAST64): Likewise.
1545 [C99-based-standards] (PRIoLEAST64): Likewise.
1546 [C99-based-standards] (PRIuLEAST64): Likewise.
1547 [C99-based-standards] (PRIxLEAST64): Likewise.
1548 [C99-based-standards] (PRIXLEAST64): Likewise.
1549 [C99-based-standards] (SCNdLEAST64): Likewise.
1550 [C99-based-standards] (SCNiLEAST64): Likewise.
1551 [C99-based-standards] (SCNoLEAST64): Likewise.
1552 [C99-based-standards] (SCNuLEAST64): Likewise.
1553 [C99-based-standards] (SCNxLEAST64): Likewise.
1554 [C99-based-standards] (PRIdFAST64): Likewise.
1555 [C99-based-standards] (PRIiFAST64): Likewise.
1556 [C99-based-standards] (PRIoFAST64): Likewise.
1557 [C99-based-standards] (PRIuFAST64): Likewise.
1558 [C99-based-standards] (PRIxFAST64): Likewise.
1559 [C99-based-standards] (PRIXFAST64): Likewise.
1560 [C99-based-standards] (SCNdFAST64): Likewise.
1561 [C99-based-standards] (SCNiFAST64): Likewise.
1562 [C99-based-standards] (SCNoFAST64): Likewise.
1563 [C99-based-standards] (SCNuFAST64): Likewise.
1564 [C99-based-standards] (SCNxFAST64): Likewise.
1565 [C99-based-standards] (PRIdMAX): Likewise.
1566 [C99-based-standards] (PRIiMAX): Likewise.
1567 [C99-based-standards] (PRIoMAX): Likewise.
1568 [C99-based-standards] (PRIuMAX): Likewise.
1569 [C99-based-standards] (PRIxMAX): Likewise.
1570 [C99-based-standards] (PRIXMAX): Likewise.
1571 [C99-based-standards] (SCNdMAX): Likewise.
1572 [C99-based-standards] (SCNiMAX): Likewise.
1573 [C99-based-standards] (SCNoMAX): Likewise.
1574 [C99-based-standards] (SCNuMAX): Likewise.
1575 [C99-based-standards] (SCNxMAX): Likewise.
1576 [C99-based-standards] (PRIdPTR): Likewise.
1577 [C99-based-standards] (PRIiPTR): Likewise.
1578 [C99-based-standards] (PRIoPTR): Likewise.
1579 [C99-based-standards] (PRIuPTR): Likewise.
1580 [C99-based-standards] (PRIxPTR): Likewise.
1581 [C99-based-standards] (PRIXPTR): Likewise.
1582 [C99-based-standards] (SCNdPTR): Likewise.
1583 [C99-based-standards] (SCNiPTR): Likewise.
1584 [C99-based-standards] (SCNoPTR): Likewise.
1585 [C99-based-standards] (SCNuPTR): Likewise.
1586 [C99-based-standards] (SCNxPTR): Likewise.
1587 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1589 * conform/data/stdint.h-data: Update comments to clarify
1591 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1593 [C99-based standards] (INT8_MAX): Likewise.
1594 [C99-based standards] (INT16_MIN): Likewise.
1595 [C99-based standards] (INT16_MAX): Likewise.
1596 [C99-based standards] (INT32_MIN): Likewise.
1597 [C99-based standards] (INT32_MAX): Likewise.
1598 [C99-based standards] (INT64_MIN): Likewise.
1599 [C99-based standards] (INT64_MAX): Likewise.
1600 [C99-based standards] (UINT8_MAX): Likewise.
1601 [C99-based standards] (UINT16_MAX): Likewise.
1602 [C99-based standards] (UINT32_MAX): Likewise.
1603 [C99-based standards] (UINT64_MAX): Likewise.
1604 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1605 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1606 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1607 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1608 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1609 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1610 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1611 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1612 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1613 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1614 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1615 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1616 [C99-based standards] (INT_FAST8_MIN): Likewise.
1617 [C99-based standards] (INT_FAST8_MAX): Likewise.
1618 [C99-based standards] (INT_FAST16_MIN): Likewise.
1619 [C99-based standards] (INT_FAST16_MAX): Likewise.
1620 [C99-based standards] (INT_FAST32_MIN): Likewise.
1621 [C99-based standards] (INT_FAST32_MAX): Likewise.
1622 [C99-based standards] (INT_FAST64_MIN): Likewise.
1623 [C99-based standards] (INT_FAST64_MAX): Likewise.
1624 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1625 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1626 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1627 [C99-based standards] (UINT_FAST64_MAX): Likewise.
1628 [C99-based standards] (INTPTR_MIN): Likewise.
1629 [C99-based standards] (INTPTR_MAX): Likewise.
1630 [C99-based standards] (UINTPTR_MAX): Likewise.
1631 [C99-based standards] (INTMAX_MIN): Likewise.
1632 [C99-based standards] (INTMAX_MAX): Likewise.
1633 [C99-based standards] (UINTMAX_MAX): Likewise.
1634 [C99-based standards] (PTRDIFF_MIN): Likewise.
1635 [C99-based standards] (PTRDIFF_MAX): Likewise.
1636 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
1637 [C99-based standards] (SIZE_MAX): Likewise.
1638 [C99-based standards] (WCHAR_MAX): Likewise.
1639 [C99-based standards] (WINT_MAX): Likewise.
1640 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
1641 constraint on value.
1642 [C99-based standards] (WCHAR_MIN): Likewise.
1643 [C99-based standards] (WINT_MIN): Likewise.
1644 [C99-based standards] (*_t): Allow.
1645 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
1646 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
1647 Include math.h-data and complex.h-data. Remove all expectations
1648 of math.h and complex.h contents.
1649 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
1651 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
1652 (struct tm): Expect tag.
1653 [C99-based-standards] (wcstof): Expect function.
1654 [C99-based-standards] (wcstold): Likewise.
1655 [C99-based-standards] (wcstoll): Likewise.
1656 [C99-based-standards] (wcstoull): Likewise.
1657 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
1658 macro-int-constant. Specify type.
1659 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
1660 constraint on value.
1661 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1663 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
1665 [ISO C standards]: Do not allow headers.
1666 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
1667 wcs[abcdefghijklmnopqrstuvwxyz]*.
1668 [ISO C standards] (*_t): Do not allow.
1669 * conform/data/wctype.h-data [C99-based standards] (iswblank):
1671 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
1672 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
1674 [ISO C standards]: Do not allow headers.
1675 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
1676 is[abcdefghijklmnopqrstuvwxyz]*.
1677 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
1678 to[abcdefghijklmnopqrstuvwxyz]*.
1679 [ISO C standards] (*_t): Do not allow.
1680 * conform/data/stdalign.h-data: New file.
1681 * conform/data/stdbool.h-data: Likewise.
1682 * conform/data/stdnoreturn.h-data: Likewise.
1684 2012-11-07 Roland McGrath <roland@hack.frob.com>
1687 * manual/filesys.texi (Directory Entries): Typo fix.
1688 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
1690 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1692 * elf/elf.h (EM_AARCH64): New macro.
1693 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
1694 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
1695 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
1696 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
1697 (R_AARCH64_TLSDESC): Likewise.
1698 (NT_ARM_TLS): Likewise.
1699 (NT_ARM_HW_BREAK): Likewise.
1700 (NT_ARM_HW_WATCH): Likewise.
1702 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1705 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
1706 (__ieee754_powl): Saturate nonzero exponents with absolute value
1707 below 0x1p-79 to +/- 0x1p-79.
1708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
1709 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
1710 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
1711 nonzero exponents with absolute value below 0x1p-32 to +/-
1713 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
1714 (__ieee754_powl): Saturate nonzero exponents with absolute value
1715 below 0x1p-79 to +/- 0x1p-79.
1716 * math/libm-test.inc (pow_test): Add more tests.
1718 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1720 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
1721 _dl_s390_cap_flags with kernel. Increase string length.
1722 (_dl_s390_platforms): Add z196 and zEC12.
1724 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1726 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
1727 Change XOPEN21K to XOPEN2K.
1729 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
1731 * string/memmove.c: Use memcpy when possible.
1733 2012-11-06 Andreas Jaeger <aj@suse.de>
1735 * po/eo.po: Update from translation team.
1737 2012-11-06 Joseph Myers <joseph@codesourcery.com>
1740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
1741 exponent and small x and y exponents, scale x or y up. Increase
1742 by 2 the exponent used in scaling up.
1743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1745 * math/libm-test.inc (fma_test): Add more tests.
1746 (fma_test_towardzero): Likewise.
1747 (fma_test_downward): Likewise.
1748 (fma_test_upward): Likewise.
1750 2012-11-05 Joseph Myers <joseph@codesourcery.com>
1753 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
1757 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
1758 namespace for names of struct fields.
1759 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
1761 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1762 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
1764 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1767 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
1769 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1771 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
1775 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
1778 2012-11-04 Joseph Myers <joseph@codesourcery.com>
1781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
1782 definitely overflow as x * y not x * y + z.
1783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1785 * math/libm-test.inc (fma_test): Add more tests.
1786 (fma_test_towardzero): Likewise.
1787 (fma_test_downward): Likewise.
1788 (fma_test_upward): Likewise.
1790 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
1794 * include/stub-tag.h: Remove file.
1795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
1797 * manual/maint.texi (Porting): Don't reference it.
1798 * Makerules ($(objpfx)stubs): Likewise.
1799 * dirent/closedir.c: Don't include <stub-tag.h>.
1800 * dirent/dirfd.c: Likewise.
1801 * dirent/fdopendir.c: Likewise.
1802 * dirent/getdents.c: Likewise.
1803 * dirent/getdents64.c: Likewise.
1804 * dirent/opendir.c: Likewise.
1805 * dirent/readdir.c: Likewise.
1806 * dirent/readdir64.c: Likewise.
1807 * dirent/readdir64_r.c: Likewise.
1808 * dirent/readdir_r.c: Likewise.
1809 * dirent/rewinddir.c: Likewise.
1810 * dirent/seekdir.c: Likewise.
1811 * dirent/telldir.c: Likewise.
1812 * gmon/profil.c: Likewise.
1813 * grp/setgroups.c: Likewise.
1814 * inet/if_index.c: Likewise.
1815 * io/access.c: Likewise.
1816 * io/chdir.c: Likewise.
1817 * io/chmod.c: Likewise.
1818 * io/chown.c: Likewise.
1819 * io/close.c: Likewise.
1820 * io/dup.c: Likewise.
1821 * io/dup2.c: Likewise.
1822 * io/dup3.c: Likewise.
1823 * io/euidaccess.c: Likewise.
1824 * io/faccessat.c: Likewise.
1825 * io/fchdir.c: Likewise.
1826 * io/fchmod.c: Likewise.
1827 * io/fchmodat.c: Likewise.
1828 * io/fchown.c: Likewise.
1829 * io/fchownat.c: Likewise.
1830 * io/fcntl.c: Likewise.
1831 * io/flock.c: Likewise.
1832 * io/fstatfs.c: Likewise.
1833 * io/fstatfs64.c: Likewise.
1834 * io/fstatvfs.c: Likewise.
1835 * io/fstatvfs64.c: Likewise.
1836 * io/futimens.c: Likewise.
1837 * io/fxstat.c: Likewise.
1838 * io/fxstat64.c: Likewise.
1839 * io/fxstatat.c: Likewise.
1840 * io/fxstatat64.c: Likewise.
1841 * io/getcwd.c: Likewise.
1842 * io/isatty.c: Likewise.
1843 * io/lchmod.c: Likewise.
1844 * io/lchown.c: Likewise.
1845 * io/link.c: Likewise.
1846 * io/linkat.c: Likewise.
1847 * io/lseek.c: Likewise.
1848 * io/lseek64.c: Likewise.
1849 * io/lxstat64.c: Likewise.
1850 * io/mkdir.c: Likewise.
1851 * io/mkdirat.c: Likewise.
1852 * io/mkfifo.c: Likewise.
1853 * io/mkfifoat.c: Likewise.
1854 * io/open.c: Likewise.
1855 * io/open64.c: Likewise.
1856 * io/openat.c: Likewise.
1857 * io/openat64.c: Likewise.
1858 * io/pipe.c: Likewise.
1859 * io/pipe2.c: Likewise.
1860 * io/poll.c: Likewise.
1861 * io/posix_fadvise.c: Likewise.
1862 * io/posix_fadvise64.c: Likewise.
1863 * io/posix_fallocate.c: Likewise.
1864 * io/posix_fallocate64.c: Likewise.
1865 * io/read.c: Likewise.
1866 * io/readlink.c: Likewise.
1867 * io/readlinkat.c: Likewise.
1868 * io/rmdir.c: Likewise.
1869 * io/sendfile.c: Likewise.
1870 * io/sendfile64.c: Likewise.
1871 * io/statfs.c: Likewise.
1872 * io/statfs64.c: Likewise.
1873 * io/statvfs.c: Likewise.
1874 * io/statvfs64.c: Likewise.
1875 * io/symlink.c: Likewise.
1876 * io/symlinkat.c: Likewise.
1877 * io/ttyname.c: Likewise.
1878 * io/ttyname_r.c: Likewise.
1879 * io/umask.c: Likewise.
1880 * io/unlink.c: Likewise.
1881 * io/unlinkat.c: Likewise.
1882 * io/utime.c: Likewise.
1883 * io/utimensat.c: Likewise.
1884 * io/write.c: Likewise.
1885 * io/xmknod.c: Likewise.
1886 * io/xmknodat.c: Likewise.
1887 * io/xstat.c: Likewise.
1888 * io/xstat64.c: Likewise.
1889 * login/getpt.c: Likewise.
1890 * login/grantpt.c: Likewise.
1891 * login/unlockpt.c: Likewise.
1892 * math/e_acoshl.c: Likewise.
1893 * math/e_acosl.c: Likewise.
1894 * math/e_asinl.c: Likewise.
1895 * math/e_atan2l.c: Likewise.
1896 * math/e_atanhl.c: Likewise.
1897 * math/e_coshl.c: Likewise.
1898 * math/e_expl.c: Likewise.
1899 * math/e_fmodl.c: Likewise.
1900 * math/e_gammal_r.c: Likewise.
1901 * math/e_hypotl.c: Likewise.
1902 * math/e_j0l.c: Likewise.
1903 * math/e_j1l.c: Likewise.
1904 * math/e_jnl.c: Likewise.
1905 * math/e_lgammal_r.c: Likewise.
1906 * math/e_log10l.c: Likewise.
1907 * math/e_log2l.c: Likewise.
1908 * math/e_logl.c: Likewise.
1909 * math/e_powl.c: Likewise.
1910 * math/e_rem_pio2l.c: Likewise.
1911 * math/e_sinhl.c: Likewise.
1912 * math/e_sqrtl.c: Likewise.
1913 * math/fclrexcpt.c: Likewise.
1914 * math/fedisblxcpt.c: Likewise.
1915 * math/feenablxcpt.c: Likewise.
1916 * math/fegetenv.c: Likewise.
1917 * math/fegetexcept.c: Likewise.
1918 * math/fegetround.c: Likewise.
1919 * math/feholdexcpt.c: Likewise.
1920 * math/fesetenv.c: Likewise.
1921 * math/fesetround.c: Likewise.
1922 * math/feupdateenv.c: Likewise.
1923 * math/fgetexcptflg.c: Likewise.
1924 * math/fraiseexcpt.c: Likewise.
1925 * math/fsetexcptflg.c: Likewise.
1926 * math/ftestexcept.c: Likewise.
1927 * math/k_cosl.c: Likewise.
1928 * math/k_rem_pio2l.c: Likewise.
1929 * math/k_sinl.c: Likewise.
1930 * math/k_tanl.c: Likewise.
1931 * math/s_asinhl.c: Likewise.
1932 * math/s_atanl.c: Likewise.
1933 * math/s_cbrtl.c: Likewise.
1934 * math/s_erfl.c: Likewise.
1935 * math/s_expm1l.c: Likewise.
1936 * math/s_log1pl.c: Likewise.
1937 * math/s_tanhl.c: Likewise.
1938 * misc/acct.c: Likewise.
1939 * misc/brk.c: Likewise.
1940 * misc/chflags.c: Likewise.
1941 * misc/chroot.c: Likewise.
1942 * misc/fchflags.c: Likewise.
1943 * misc/fgetxattr.c: Likewise.
1944 * misc/flistxattr.c: Likewise.
1945 * misc/fremovexattr.c: Likewise.
1946 * misc/fsetxattr.c: Likewise.
1947 * misc/fsync.c: Likewise.
1948 * misc/ftruncate.c: Likewise.
1949 * misc/futimes.c: Likewise.
1950 * misc/futimesat.c: Likewise.
1951 * misc/getdomain.c: Likewise.
1952 * misc/getdtsz.c: Likewise.
1953 * misc/gethostid.c: Likewise.
1954 * misc/gethostname.c: Likewise.
1955 * misc/getloadavg.c: Likewise.
1956 * misc/getpagesize.c: Likewise.
1957 * misc/getsysstats.c: Likewise.
1958 * misc/getxattr.c: Likewise.
1959 * misc/gtty.c: Likewise.
1960 * misc/ioctl.c: Likewise.
1961 * misc/lgetxattr.c: Likewise.
1962 * misc/listxattr.c: Likewise.
1963 * misc/llistxattr.c: Likewise.
1964 * misc/lremovexattr.c: Likewise.
1965 * misc/lsetxattr.c: Likewise.
1966 * misc/lutimes.c: Likewise.
1967 * misc/madvise.c: Likewise.
1968 * misc/mincore.c: Likewise.
1969 * misc/mlock.c: Likewise.
1970 * misc/mlockall.c: Likewise.
1971 * misc/mmap.c: Likewise.
1972 * misc/mprotect.c: Likewise.
1973 * misc/msync.c: Likewise.
1974 * misc/munlock.c: Likewise.
1975 * misc/munlockall.c: Likewise.
1976 * misc/munmap.c: Likewise.
1977 * misc/preadv.c: Likewise.
1978 * misc/preadv64.c: Likewise.
1979 * misc/ptrace.c: Likewise.
1980 * misc/pwritev.c: Likewise.
1981 * misc/pwritev64.c: Likewise.
1982 * misc/readv.c: Likewise.
1983 * misc/reboot.c: Likewise.
1984 * misc/remap_file_pages.c: Likewise.
1985 * misc/removexattr.c: Likewise.
1986 * misc/revoke.c: Likewise.
1987 * misc/select.c: Likewise.
1988 * misc/setdomain.c: Likewise.
1989 * misc/setegid.c: Likewise.
1990 * misc/seteuid.c: Likewise.
1991 * misc/sethostid.c: Likewise.
1992 * misc/sethostname.c: Likewise.
1993 * misc/setregid.c: Likewise.
1994 * misc/setreuid.c: Likewise.
1995 * misc/setxattr.c: Likewise.
1996 * misc/sstk.c: Likewise.
1997 * misc/stty.c: Likewise.
1998 * misc/swapoff.c: Likewise.
1999 * misc/swapon.c: Likewise.
2000 * misc/sync.c: Likewise.
2001 * misc/syncfs.c: Likewise.
2002 * misc/syscall.c: Likewise.
2003 * misc/truncate.c: Likewise.
2004 * misc/ualarm.c: Likewise.
2005 * misc/usleep.c: Likewise.
2006 * misc/ustat.c: Likewise.
2007 * misc/utimes.c: Likewise.
2008 * misc/vhangup.c: Likewise.
2009 * misc/writev.c: Likewise.
2010 * posix/_exit.c: Likewise.
2011 * posix/alarm.c: Likewise.
2012 * posix/execve.c: Likewise.
2013 * posix/fexecve.c: Likewise.
2014 * posix/fork.c: Likewise.
2015 * posix/fpathconf.c: Likewise.
2016 * posix/getaddrinfo.c: Likewise.
2017 * posix/getegid.c: Likewise.
2018 * posix/geteuid.c: Likewise.
2019 * posix/getgid.c: Likewise.
2020 * posix/getgroups.c: Likewise.
2021 * posix/getlogin.c: Likewise.
2022 * posix/getlogin_r.c: Likewise.
2023 * posix/getpgid.c: Likewise.
2024 * posix/getpid.c: Likewise.
2025 * posix/getppid.c: Likewise.
2026 * posix/getresgid.c: Likewise.
2027 * posix/getresuid.c: Likewise.
2028 * posix/getsid.c: Likewise.
2029 * posix/getuid.c: Likewise.
2030 * posix/glob64.c: Likewise.
2031 * posix/nanosleep.c: Likewise.
2032 * posix/pathconf.c: Likewise.
2033 * posix/pause.c: Likewise.
2034 * posix/posix_madvise.c: Likewise.
2035 * posix/pread.c: Likewise.
2036 * posix/pread64.c: Likewise.
2037 * posix/pwrite.c: Likewise.
2038 * posix/pwrite64.c: Likewise.
2039 * posix/sched_getaffinity.c: Likewise.
2040 * posix/sched_getp.c: Likewise.
2041 * posix/sched_gets.c: Likewise.
2042 * posix/sched_primax.c: Likewise.
2043 * posix/sched_primin.c: Likewise.
2044 * posix/sched_rr_gi.c: Likewise.
2045 * posix/sched_setaffinity.c: Likewise.
2046 * posix/sched_setp.c: Likewise.
2047 * posix/sched_sets.c: Likewise.
2048 * posix/sched_yield.c: Likewise.
2049 * posix/setgid.c: Likewise.
2050 * posix/setlogin.c: Likewise.
2051 * posix/setpgid.c: Likewise.
2052 * posix/setresgid.c: Likewise.
2053 * posix/setresuid.c: Likewise.
2054 * posix/setsid.c: Likewise.
2055 * posix/setuid.c: Likewise.
2056 * posix/sleep.c: Likewise.
2057 * posix/spawni.c: Likewise.
2058 * posix/sysconf.c: Likewise.
2059 * posix/times.c: Likewise.
2060 * posix/wait.c: Likewise.
2061 * posix/wait3.c: Likewise.
2062 * posix/wait4.c: Likewise.
2063 * posix/waitpid.c: Likewise.
2064 * resolv/gai_sigqueue.c: Likewise.
2065 * resource/getpriority.c: Likewise.
2066 * resource/getrlimit.c: Likewise.
2067 * resource/getrusage.c: Likewise.
2068 * resource/nice.c: Likewise.
2069 * resource/setpriority.c: Likewise.
2070 * resource/setrlimit.c: Likewise.
2071 * resource/ulimit.c: Likewise.
2072 * rt/aio_cancel.c: Likewise.
2073 * rt/aio_fsync.c: Likewise.
2074 * rt/aio_read.c: Likewise.
2075 * rt/aio_sigqueue.c: Likewise.
2076 * rt/aio_suspend.c: Likewise.
2077 * rt/aio_write.c: Likewise.
2078 * rt/clock_getres.c: Likewise.
2079 * rt/clock_gettime.c: Likewise.
2080 * rt/clock_nanosleep.c: Likewise.
2081 * rt/clock_settime.c: Likewise.
2082 * rt/lio_listio.c: Likewise.
2083 * rt/mq_close.c: Likewise.
2084 * rt/mq_getattr.c: Likewise.
2085 * rt/mq_notify.c: Likewise.
2086 * rt/mq_open.c: Likewise.
2087 * rt/mq_receive.c: Likewise.
2088 * rt/mq_send.c: Likewise.
2089 * rt/mq_setattr.c: Likewise.
2090 * rt/mq_timedreceive.c: Likewise.
2091 * rt/mq_timedsend.c: Likewise.
2092 * rt/mq_unlink.c: Likewise.
2093 * rt/shm_open.c: Likewise.
2094 * rt/shm_unlink.c: Likewise.
2095 * rt/timer_create.c: Likewise.
2096 * rt/timer_delete.c: Likewise.
2097 * rt/timer_getoverr.c: Likewise.
2098 * rt/timer_gettime.c: Likewise.
2099 * rt/timer_settime.c: Likewise.
2100 * setjmp/__longjmp.c: Likewise.
2101 * setjmp/setjmp.c: Likewise.
2102 * signal/kill.c: Likewise.
2103 * signal/killpg.c: Likewise.
2104 * signal/raise.c: Likewise.
2105 * signal/sigaction.c: Likewise.
2106 * signal/sigaltstack.c: Likewise.
2107 * signal/sigblock.c: Likewise.
2108 * signal/sigignore.c: Likewise.
2109 * signal/sigintr.c: Likewise.
2110 * signal/signal.c: Likewise.
2111 * signal/sigpause.c: Likewise.
2112 * signal/sigpending.c: Likewise.
2113 * signal/sigqueue.c: Likewise.
2114 * signal/sigreturn.c: Likewise.
2115 * signal/sigset.c: Likewise.
2116 * signal/sigsetmask.c: Likewise.
2117 * signal/sigstack.c: Likewise.
2118 * signal/sigsuspend.c: Likewise.
2119 * signal/sigtimedwait.c: Likewise.
2120 * signal/sigvec.c: Likewise.
2121 * signal/sigwait.c: Likewise.
2122 * signal/sigwaitinfo.c: Likewise.
2123 * signal/sysv_signal.c: Likewise.
2124 * socket/accept.c: Likewise.
2125 * socket/accept4.c: Likewise.
2126 * socket/bind.c: Likewise.
2127 * socket/connect.c: Likewise.
2128 * socket/getpeername.c: Likewise.
2129 * socket/getsockname.c: Likewise.
2130 * socket/getsockopt.c: Likewise.
2131 * socket/isfdtype.c: Likewise.
2132 * socket/listen.c: Likewise.
2133 * socket/recv.c: Likewise.
2134 * socket/recvfrom.c: Likewise.
2135 * socket/recvmsg.c: Likewise.
2136 * socket/send.c: Likewise.
2137 * socket/sendmsg.c: Likewise.
2138 * socket/sendto.c: Likewise.
2139 * socket/setsockopt.c: Likewise.
2140 * socket/shutdown.c: Likewise.
2141 * socket/sockatmark.c: Likewise.
2142 * socket/socket.c: Likewise.
2143 * socket/socketpair.c: Likewise.
2144 * stdio-common/ctermid.c: Likewise.
2145 * stdio-common/cuserid.c: Likewise.
2146 * stdio-common/remove.c: Likewise.
2147 * stdio-common/rename.c: Likewise.
2148 * stdio-common/renameat.c: Likewise.
2149 * stdio-common/tempname.c: Likewise.
2150 * stdlib/getcontext.c: Likewise.
2151 * stdlib/makecontext.c: Likewise.
2152 * stdlib/setcontext.c: Likewise.
2153 * stdlib/swapcontext.c: Likewise.
2154 * stdlib/system.c: Likewise.
2155 * streams/fattach.c: Likewise.
2156 * streams/fdetach.c: Likewise.
2157 * streams/getmsg.c: Likewise.
2158 * streams/getpmsg.c: Likewise.
2159 * streams/putmsg.c: Likewise.
2160 * streams/putpmsg.c: Likewise.
2161 * sysdeps/unix/bsd/getpt.c: Likewise.
2162 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2163 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2164 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2167 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2168 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2169 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2170 * sysvipc/msgctl.c: Likewise.
2171 * sysvipc/msgget.c: Likewise.
2172 * sysvipc/msgrcv.c: Likewise.
2173 * sysvipc/msgsnd.c: Likewise.
2174 * sysvipc/semctl.c: Likewise.
2175 * sysvipc/semget.c: Likewise.
2176 * sysvipc/semop.c: Likewise.
2177 * sysvipc/semtimedop.c: Likewise.
2178 * sysvipc/shmat.c: Likewise.
2179 * sysvipc/shmctl.c: Likewise.
2180 * sysvipc/shmdt.c: Likewise.
2181 * sysvipc/shmget.c: Likewise.
2182 * termios/tcdrain.c: Likewise.
2183 * termios/tcflow.c: Likewise.
2184 * termios/tcflush.c: Likewise.
2185 * termios/tcgetattr.c: Likewise.
2186 * termios/tcgetpgrp.c: Likewise.
2187 * termios/tcsendbrk.c: Likewise.
2188 * termios/tcsetattr.c: Likewise.
2189 * termios/tcsetpgrp.c: Likewise.
2190 * time/adjtime.c: Likewise.
2191 * time/clock.c: Likewise.
2192 * time/getitimer.c: Likewise.
2193 * time/gettimeofday.c: Likewise.
2194 * time/setitimer.c: Likewise.
2195 * time/settimeofday.c: Likewise.
2196 * time/stime.c: Likewise.
2197 * time/time.c: Likewise.
2199 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2201 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2204 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2206 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2208 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2212 FE_TONEAREST before applying Dekker multiplication and Knuth
2213 addition. Clear inexact exceptions and check for exact zero
2215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2216 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2218 * math/libm-test.inc (fma_test): Add more tests.
2219 (fma_test_towardzero): Likewise.
2220 (fma_test_downward): Likewise.
2221 (fma_test_upward): Likewise.
2222 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2224 (libc_fesetround): New macro.
2225 (libc_fesetroundf): Likewise.
2226 (libc_fesetroundl): Likewise.
2227 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2229 (libc_fesetround_387): Likewise.
2230 (libc_fesetroundf): New macro.
2231 (libc_fesetround): Likewise.
2232 (libc_fesetroundl): Likewise.
2233 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2235 (libc_fesetroundf): New macro.
2236 (libc_fesetround): Likewise.
2237 (libc_fesetroundl): Likewise.
2238 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2239 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2240 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2242 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2243 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2245 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2246 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2248 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2252 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2253 integer constant usable in #if and use that to give value to enum
2255 (FE_DIVBYZERO): Likewise.
2256 (FE_UNDERFLOW): Likewise.
2257 (FE_OVERFLOW): Likewise.
2258 (FE_INVALID): Likewise.
2259 (FE_INVALID_SNAN): Likewise.
2260 (FE_INVALID_ISI): Likewise.
2261 (FE_INVALID_IDI): Likewise.
2262 (FE_INVALID_ZDZ): Likewise.
2263 (FE_INVALID_IMZ): Likewise.
2264 (FE_INVALID_COMPARE): Likewise.
2265 (FE_INVALID_SOFTWARE): Likewise.
2266 (FE_INVALID_SQRT): Likewise.
2267 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2268 (FE_TONEAREST): Likewise.
2269 (FE_TOWARDZERO): Likewise.
2270 (FE_UPWARD): Likewise.
2271 (FE_DOWNWARD): Likewise.
2272 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2273 (FE_DIVBYZERO): Likewise.
2274 (FE_OVERFLOW): Likewise.
2275 (FE_UNDERFLOW): Likewise.
2276 (FE_INEXACT): Likewise.
2277 (FE_TONEAREST): Likewise.
2278 (FE_DOWNWARD): Likewise.
2279 (FE_UPWARD): Likewise.
2280 (FE_TOWARDZERO): Likewise.
2281 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2282 (FE_UNDERFLOW): Likewise.
2283 (FE_OVERFLOW): Likewise.
2284 (FE_DIVBYZERO): Likewise.
2285 (FE_INVALID): Likewise.
2286 (FE_TONEAREST): Likewise.
2287 (FE_TOWARDZERO): Likewise.
2288 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2289 (FE_OVERFLOW): Likewise.
2290 (FE_UNDERFLOW): Likewise.
2291 (FE_DIVBYZERO): Likewise.
2292 (FE_INEXACT): Likewise.
2293 (FE_TONEAREST): Likewise.
2294 (FE_TOWARDZERO): Likewise.
2295 (FE_UPWARD): Likewise.
2296 (FE_DOWNWARD): Likewise.
2297 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2298 (FE_DIVBYZERO): Likewise.
2299 (FE_OVERFLOW): Likewise.
2300 (FE_UNDERFLOW): Likewise.
2301 (FE_INEXACT): Likewise.
2302 (FE_TONEAREST): Likewise.
2303 (FE_DOWNWARD): Likewise.
2304 (FE_UPWARD): Likewise.
2305 (FE_TOWARDZERO): Likewise.
2307 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2309 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2311 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2313 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2314 commands. Quote $PWD.
2315 (blacklist_exports): Don't use remove_newlines. Replace "declare
2317 (remove_newlines): Remove.
2319 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2321 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2322 * stdlib/stdlib.h (atof): Moved to ...
2323 * include/bits/stdlib-float.h: Here. New file.
2324 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2325 * stdlib/bits/stdlib-float.h: New file.
2326 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2331 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2333 * conform/conformtest.pl (@headers): Add fenv.h.
2334 * conform/data/fenv.h-data: New file.
2335 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2336 include of <math/fenv.h>.
2338 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2339 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2340 && !UNIX98]. Enables tests for XOPEN2K8.
2341 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2342 POSIX2008]: Likewise.
2344 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2345 (struct rusage): Do not expect type or its members.
2348 * math/math.h (FP_NAN): Define macro to integer constant usable in
2349 #if and use that to give value to enum constant.
2350 (FP_INFINITE): Likewise.
2351 (FP_ZERO): Likewise.
2352 (FP_SUBNORMAL): Likewise.
2353 (FP_NORMAL): Likewise.
2355 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2357 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2358 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2361 2012-11-02 Roland McGrath <roland@hack.frob.com>
2363 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2364 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2365 autoconf-time if not.
2366 * configure.in: Remove AC_PREREQ.
2368 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2370 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2371 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2372 of the internal implementation.
2374 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2376 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2377 except include of <misc/sys/syslog.h>.
2379 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2382 function returns with a NULL context exit with zero.
2384 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2386 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2388 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2390 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2391 (run_program_cmd): This.
2392 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2393 (tst_langinfo): New variable. Use it.
2395 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2397 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2398 floating point opcodes.
2400 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2402 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2405 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2407 * sysdeps/mach/hurd/powerpc: Remove directory.
2408 * sysdeps/mach/powerpc: Likewise.
2410 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2412 * scripts/check-local-headers.sh: Ignore c++ headers.
2414 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2416 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2417 __libc_cleanup_region_start argument.
2419 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2424 x * y using scaling, not as x * y + z.
2425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2426 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2427 * math/libm-test.inc (fma_test): Add more tests.
2428 (fma_test_towardzero): Likewise.
2429 (fma_test_downward): Likewise.
2430 (fma_test_upward): Likewise.
2432 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2434 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2436 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2438 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2441 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2443 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2445 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2452 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2455 Fix the order of the list for glibc 2.17.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2459 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2463 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2466 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2467 for low part of x being zero before using __atanl (y).
2468 * math/libm-test.inc (atan2_test): Add another test.
2470 * manual/install.texi (Configuring and compiling): Document
2471 general use of test-wrapper and test-wrapper-env.
2472 * INSTALL: Regenerated.
2474 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2475 (__fma): Do not extract and scale down low bits on after-rounding
2476 systems when result rounded to normal precision would have normal
2478 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2479 (__fmal): Do not extract and scale down low bits on after-rounding
2480 systems when result rounded to normal precision would have normal
2482 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2483 (__fmal): Do not extract and scale down low bits on after-rounding
2484 systems when result rounded to normal precision would have normal
2486 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2488 (fma_test): Add more tests.
2489 (fma_test_towardzero): Likewise.
2490 (fma_test_downward): Likewise.
2491 (fma_test_upward): Likewise.
2493 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2495 * sysdeps/i386/tininess.h: Renamed to ...
2496 * sysdeps/x86/tininess.h: This.
2497 * sysdeps/x86_64/tininess.h: Removed.
2499 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2501 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2502 input. Use $(build-program-cmd).
2503 ($(objpfx)tst-array1-static.out): Likewise.
2504 ($(objpfx)tst-array2.out): Likewise.
2505 ($(objpfx)tst-array3.out): Likewise.
2506 ($(objpfx)tst-array4.out): Likewise.
2507 ($(objpfx)tst-array5.out): Likewise.
2508 ($(objpfx)tst-array5-static.out): Likewise.
2510 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2512 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2515 * nss/nsswitch.h (nss_interface_function): Provide new
2516 macro for use with NSS functions.
2517 * grp/initgroups.c: Use new macro.
2518 * nss/getXXbyYY.c: Likewise.
2519 * nss/getXXbyYY_r.c: Likewise.
2520 * nss/getXXent.c: Likewise.
2521 * nss/getXXent_r.c: Likewise.
2522 * sysdeps/posix/getaddrinfo.c: Likewise.
2524 2012-10-30 Andreas Jaeger <aj@suse.de>
2526 * po/ru.po: Update Russion translation from translation project.
2528 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2533 result and shift together with sticky bit instead of replicating
2534 round-to-nearest rounding.
2535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2537 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2538 missing underflow exceptions.
2539 (fma_test_towardzero): Add more tests.
2540 (fma_test_downward): Likewise.
2541 (fma_test_upward): Likewise.
2544 * sysdeps/generic/tininess.h: New file.
2545 * sysdeps/i386/tininess.h: Likewise.
2546 * sysdeps/sh/tininess.h: Likewise.
2547 * sysdeps/x86_64/tininess.h: Likewise.
2548 * stdlib/tst-strtod-underflow.c: Likewise.
2549 * stdlib/tst-tininess.c: Likewise.
2550 * stdlib/strtod_l.c: Include <tininess.h>.
2551 (round_and_return): Do not set errno for exact underflow cases.
2552 Force an underflow exception when setting errno for underflow.
2553 Determine underflow based on rounding to normal precision if
2554 TININESS_AFTER_ROUNDING.
2555 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2556 ERANGE for exact underflow cases.
2557 * stdlib/Makefile (tests): Add tst-tininess and
2558 tst-strtod-underflow.
2559 ($(objpfx)tst-tininess): Use $(link-libm).
2560 ($(objpfx)tst-strtod-underflow): Likewise.
2562 2012-10-30 Andreas Jaeger <aj@suse.de>
2565 * elf/Makefile (tests): Remove conditional for have-initfini-array
2566 since this is now always required and the variable does not exist
2568 (tests-static): Likewise.
2569 (modules-names): Likewise.
2571 * po/eo.po: Add Esperanto translation from translation project.
2573 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2574 merged with constructor/destructor.
2575 (init_array): Likewise.
2576 * elf/tst-array2dep.c (fini_array): Likewise.
2577 (init_array): Likewise.
2579 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2581 * manual/message.texi: Delete @cartouche tags.
2583 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2585 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2587 * sysdeps/mach/hurd/fsync.c: Likewise.
2589 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2590 [_POSIX_REALTIME_SIGNALS]: Change condition to
2591 [_POSIX_REALTIME_SIGNALS > 0].
2593 2012-10-27 Andreas Jaeger <aj@suse.de>
2595 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2596 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2598 [__WORDSIZE != 64]: Likewise.
2600 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2602 * iconvdata/tst-table.sh: Remove ${SHELL}.
2603 * iconvdata/tst-tables.sh: Likewise.
2605 2012-10-25 David S. Miller <davem@davemloft.net>
2607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2608 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2613 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2614 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2615 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2618 2012-10-25 Roland McGrath <roland@hack.frob.com>
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2621 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2624 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2625 Jim Blandy <jimb@codesourcery.com>
2627 * scripts/cross-test-ssh.sh: New file.
2628 * manual/install.texi (Configuring and compiling): Document use of
2630 * INSTALL: Regenerated.
2632 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
2634 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
2637 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2639 * Makeconfig (run-program-prefix): Fix comment.
2641 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2642 Jim Blandy <jimb@codesourcery.com>
2644 * Makeconfig (test-wrapper): New variable,
2645 (test-wrapper-env): Likewise.
2646 [$(cross-compiling) = yes && $(test-wrapper) != ""]
2647 (run-built-tests): Define to yes.
2648 (run-program-prefix): Use $(test-wrapper).
2649 (built-program-cmd): Likewise.
2650 * Rules (make-test-out): Use $(test-wrapper-env) and
2651 $(host-built-program-cmd).
2652 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
2653 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
2655 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
2656 $(test-wrapper-env) to tst-rtld-load-self.sh.
2657 ($(objpfx)order2.out): Use $(test-wrapper).
2658 ($(objpfx)tst-initorder.out): Likewise.
2659 ($(objpfx)tst-initorder2.out): Likewise.
2660 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
2661 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
2662 (test_wrapper_env): New variable. Use it to run ld.so.
2663 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
2664 Use it to run ld.so.
2665 (test_wrapper_env): Likewise.
2666 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
2667 $(test-wrapper) to run-iconv-test.sh.
2668 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
2669 (ICONV): Use $test_wrapper.
2670 * posix/Makefile ($(objpfx)globtest.out): Pass
2671 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
2672 globtest.sh, not $(run-program-prefix).
2673 * posix/globtest.sh (run_via_rtld_prefix): New variable.
2674 (test_wrapper): Likewise.
2675 (test_wrapper_env): Likewise. Use it to run globtest with HOME
2676 set together with run_via_rtld_prefix.
2677 (run_program_prefix): Define in terms of test_wrapper and
2678 run_via_rtld_prefix.
2680 2012-10-24 Roland McGrath <roland@hack.frob.com>
2682 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
2683 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
2687 * include/time.h: Remove librt_hidden_proto (clock_gettime).
2688 Declare __clock_getres, __clock_gettime, __clock_settime,
2689 __clock_nanosleep, and __clock_getcpuclockid.
2690 * rt/clock_gettime.c: Define __clock_gettime as an alias.
2691 Remove librt_hidden_def (clock_gettime).
2692 * sysdeps/unix/clock_gettime.c: Likewise.
2693 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
2694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2695 * rt/clock_getres.c: Define __clock_getres as an alias.
2696 * sysdeps/posix/clock_getres.c: Likewise.
2697 * rt/clock_settime.c: Define __clock_settime as an alias.
2698 * sysdeps/unix/clock_settime.c: Likewise.
2699 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
2700 * sysdeps/unix/clock_nanosleep.c: Likewise.
2701 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2702 * rt/clock-compat.c: New file.
2703 * rt/Makefile (librt-routines): Add clock-compat and move
2704 $(clock-routines) to ...
2705 (routines): ... here, new variable.
2706 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
2707 Don't add get_clockfreq here.
2708 * rt/Versions (libc: GLIBC_2.17): New version set.
2709 Add clock_* symbols here.
2710 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
2711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
2712 (GLIBC_2.17): Add clock_* symbols.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
2714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
2715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
2723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
2724 * NEWS: Mention the move.
2726 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
2727 Use __open, __read, __close rather than their public counterparts.
2728 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2729 (__get_clockfreq_via_cpuinfo): Likewise.
2730 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
2731 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
2733 * config.h.in (HAVE_IFUNC): New #undef.
2734 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
2736 * configure: Regenerated.
2738 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2740 * configure.in: Move READELF check to start of file.
2741 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
2742 libc_cv_asm_gnu_indirect_function in the process.
2743 * configure: Regenerated.
2745 2012-10-24 Mike Frysinger <vapier@gentoo.org>
2747 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
2748 send the output to /dev/null.
2749 (libc_cv_cc_with_libunwind): Likewise.
2750 (libc_cv_as_noexecstack): Likewise.
2751 * configure: Regenerate.
2753 2012-10-24 Joseph Myers <joseph@codesourcery.com>
2755 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
2757 * posix/globtest.sh (TMPDIR): Do not set.
2758 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
2759 (testout): Likewise.
2761 2012-10-24 Andreas Jaeger <aj@suse.de>
2763 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
2764 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
2765 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
2766 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
2767 posix_fadvise64, posix_fallocate64.
2769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
2770 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
2771 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
2773 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
2775 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
2777 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
2778 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
2779 <bits/fcntl-linux.h>.
2780 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
2782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
2783 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
2784 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
2785 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
2786 [__WORDSIZE != 64]: Likewise.
2788 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2790 * Makeconfig (run-built-tests): New variable.
2791 * Rules [$(cross-compiling) = yes]: Change condition to
2792 [$(run-built-tests) = no].
2793 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
2794 to [$(run-built-tests) = yes].
2795 * elf/Makefile [$(cross-compiling) = no]: Likewise
2796 * grp/Makefile [$(cross-compiling) = no]: Likewise.
2797 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
2798 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
2799 * intl/Makefile [$(cross-compiling) = no]: Likewise.
2800 * io/Makefile [$(cross-compiling) = no]: Likewise.
2801 * libio/Makefile [$(cross-compiling) = no]: Likewise.
2802 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
2803 * misc/Makefile [$(cross-compiling) = no]: Likewise.
2804 * posix/Makefile [$(cross-compiling) = no]: Likewise.
2805 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
2806 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
2807 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
2808 * string/Makefile [$(cross-compiling) = no]: Likewise.
2810 * posix/Makefile ($(objpfx)globtest.out): Pass
2811 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
2812 $(rtld-installed-name).
2813 * posix/globtest.sh (elf_objpfx): Remove variable.
2814 (rtld_installed_name): Likewise.
2815 (library_path): Likewise.
2816 (run_program_prefix): New variable. Use for running globtest
2819 2012-10-23 Jim Blandy <jimb@codesourcery.com>
2820 Joseph Myers <joseph@codesourcery.com>
2822 * Makeconfig (host-built-program-cmd): New variable.
2823 * elf/Makefile (tst-stackguard1-ARGS): Use
2824 $(host-built-program-cmd).
2825 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
2826 (tst-spawn-ARGS): Likewise.
2827 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
2829 2012-10-23 Joseph Myers <joseph@codesourcery.com>
2830 Jim Blandy <jimb@codesourcery.com>
2832 * Makeconfig (run-via-rtld-prefix): New variable.
2833 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
2834 (built-program-cmd): Likewise.
2836 2012-10-22 Andreas Jaeger <aj@suse.de>
2838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
2839 __O_RSYNC if it exists, otherwise to O_SYNC.
2841 2012-10-22 Jim Blandy <jimb@codesourcery.com>
2842 Joseph Myers <joseph@codesourcery.com>
2844 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
2846 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
2848 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
2851 2012-10-22 Andreas Jaeger <aj@suse.de>
2853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
2855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
2857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
2861 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
2865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
2868 2012-10-21 Jim Blandy <jimb@codesourcery.com>
2869 Joseph Myers <joseph@codesourcery.com>
2871 * config.make.in (NM): New variable.
2873 2012-10-21 Andreas Jaeger <aj@suse.de>
2875 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
2876 definitions and declarations that are provided by
2877 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2879 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2882 * elf/Makefile (tests-static): Add tst-leaks1-static.
2883 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
2884 ($(objpfx)tst-leaks1-static): New rule.
2885 ($(objpfx)tst-leaks1-static-mem): Likewise.
2886 (tst-leaks1-static-ENV): New macro.
2887 * elf/dl-open.c (dl_open_worker): Check the main application
2888 only if SHARED is defined.
2889 * elf/tst-leaks1-static.c: New file.
2891 2012-10-20 Andreas Jaeger <aj@suse.de>
2893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
2894 generic values for Linux.
2895 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
2896 and declarations that are provided by <bits/fcntl-linux.h> and
2897 include <bits/fcntl-linux.h>.
2898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
2901 2012-10-20 Roland McGrath <roland@hack.frob.com>
2903 * io/fcntl.h: Move include of <bits/types.h> to the top and
2904 include it unconditionally.
2906 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
2908 * wcsmbs/Makefile (tests-ifunc): New variable.
2909 (tests): Add $(tests-ifunc).
2910 * wcsmbs/test-wcschr-ifunc.c: New file.
2911 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2912 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2913 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2914 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2915 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2917 * string/Makefile (tests-ifunc): New variable.
2918 (tests): Add $(tests-ifunc).
2919 * string/test-memccpy.c (TEST_NAME): New macro.
2920 * string/test-memchr.c (TEST_NAME): Likewise.
2921 * string/test-memcmp.c (TEST_NAME): Likewise.
2922 * string/test-memcpy.c (TEST_NAME): Likewise.
2923 * string/test-memmem.c (TEST_NAME): Likewise.
2924 * string/test-memmove.c (TEST_NAME): Likewise.
2925 * string/test-memset.c (TEST_NAME): Likewise.
2926 * string/test-rawmemchr.c (TEST_NAME): Likewise.
2927 * string/test-stpcpy.c (TEST_NAME): Likewise.
2928 * string/test-stpncpy.c (TEST_NAME): Likewise.
2929 * string/test-strcasecmp.c (TEST_NAME): Likewise.
2930 * string/test-strcasestr.c (TEST_NAME): Likewise.
2931 * string/test-strcat.c (TEST_NAME): Likewise.
2932 * string/test-strchr.c (TEST_NAME): Likewise.
2933 * string/test-strcmp.c(TEST_NAME): Likewise.
2934 * string/test-strcpy.c (TEST_NAME): Likewise.
2935 * string/test-strcspn.c (TEST_NAME): Likewise.
2936 * string/test-strlen.c (TEST_NAME): Likewise.
2937 * string/test-strncasecmp.c (TEST_NAME): Likewise.
2938 * string/test-strncmp.c (TEST_NAME): Likewise.
2939 * string/test-strncpy.c (TEST_NAME): Likewise.
2940 * string/test-strnlen.c (TEST_NAME): Likewise.
2941 * string/test-strpbrk.c (TEST_NAME): Likewise.
2942 * string/test-strrchr.c (TEST_NAME): Likewise.
2943 * string/test-strspn.c (TEST_NAME): Likewise.
2944 * string/test-strstr.c (TEST_NAME): Likewise.
2945 * string/test-bcopy-ifunc.c: New file.
2946 * string/test-bzero-ifunc.c: Likewise.
2947 * string/test-memccpy-ifunc.c: Likewise.
2948 * string/test-memchr-ifunc.c: Likewise.
2949 * string/test-memcmp-ifunc.c: Likewise.
2950 * string/test-memcpy-ifunc.c: Likewise.
2951 * string/test-memmem-ifunc.c: Likewise.
2952 * string/test-memmove-ifunc.c: Likewise.
2953 * string/test-mempcpy-ifunc.c: Likewise.
2954 * string/test-memset-ifunc.c: Likewise.
2955 * string/test-rawmemchr-ifunc.c: Likewise.
2956 * string/test-stpcpy-ifunc.c: Likewise.
2957 * string/test-stpncpy-ifunc.c: Likewise.
2958 * string/test-strcasecmp-ifunc.c: Likewise.
2959 * string/test-strcasestr-ifunc.c: Likewise.
2960 * string/test-strcat-ifunc.c: Likewise.
2961 * string/test-strchr-ifunc.c: Likewise.
2962 * string/test-strchrnul-ifunc.c: Likewise.
2963 * string/test-strcmp-ifunc.c: Likewise.
2964 * string/test-strcpy-ifunc.c: Likewise.
2965 * string/test-strcspn-ifunc.c: Likewise.
2966 * string/test-strlen-ifunc.c: Likewise.
2967 * string/test-strncasecmp-ifunc.c: Likewise.
2968 * string/test-strncat-ifunc.c: Likewise.
2969 * string/test-strncmp-ifunc.c: Likewise.
2970 * string/test-strncpy-ifunc.c: Likewise.
2971 * string/test-strnlen-ifunc.c: Likewise.
2972 * string/test-strpbrk-ifunc.c: Likewise.
2973 * string/test-strrchr-ifunc.c: Likewise.
2974 * string/test-strspn-ifunc.c: Likewise.
2975 * string/test-strstr-ifunc.c: Likewise.
2977 * debug/Makefile (tests-ifunc): New variable.
2978 (tests): Add $(tests-ifunc).
2979 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
2980 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
2981 * debug/test-stpcpy_chk-ifunc.c: New file.
2982 * debug/test-strcpy_chk-ifunc.c: Likewise.
2984 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2987 * elf/dl-load.c (open_verify): Retry read if the entire ELF
2988 header is not read in.
2990 2012-10-19 Joseph Myers <joseph@codesourcery.com>
2992 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
2993 script to $(SHELL) as $<. Pass $(common-objpfx) to script
2994 directly. Pass built executable to script as
2995 $(built-program-cmd).
2996 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
2997 $testprogram without using LD_LIBRARY_PATH and $ldso.
2999 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3000 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3001 $(rtld-installed-name).
3002 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3003 (rtld_installed_name): Likewise.
3004 (library_path): Likewise.
3005 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3006 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3007 $(run-program-prefix) to tst-tables.sh.
3008 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3009 it to run tst-table-from and tst-table-to.
3010 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3011 Pass it to tst-table.sh.
3012 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3013 $(run-program-prefix) to tst-gettext.sh.
3014 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3016 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3018 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3020 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3021 to run tst-gettext2.
3022 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3023 to run tst-translit.
3024 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3025 $(run-program-prefix) to tst-mtrace.sh.
3026 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3028 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3029 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3030 $(rtld-installed-name).
3031 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3032 (rtld_installed_name): Likewise.
3033 (run_program_prefix): New variable. Use it to run wordexp-test.
3035 * Makeconfig (ARCH): Remove all definitions.
3036 (machine): Likewise.
3037 [ARCH]: Remove conditional code.
3038 [!objdir]: Give error.
3039 [!objdir] (objpfx): Remove.
3040 [!objdir] (common-objpfx): Likewise.
3041 [!objdir] (common-objdir): Likewise.
3042 * configure.in (config_makefile): Remove. Hardcode Makefile in
3043 AC_CONFIG_FILES call.
3044 * configure: Regenerated.
3047 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3049 (testout): Likewise.
3051 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3052 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3053 $(rtld-installed-name).
3054 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3055 (rtld_installed_name): Likwise.
3056 (runit): Remove function.
3057 (run_getconf): New variable, Use it for running getconf binary.
3059 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3062 * string/test-memmem.c (check_result): New function.
3063 (do_one_test): Use it.
3064 (check1): New function.
3065 (test_main): Use it.
3067 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3069 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3071 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3073 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3074 (_G_LSEEK64): Likewise.
3075 (_G_MMAP64): Likewise.
3076 (_G_FSTAT64): Likewise.
3077 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3078 (_G_LSEEK64): Likewise.
3079 (_G_MMAP64): Likewise.
3080 (_G_FSTAT64): Likewise.
3081 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3082 unconditional. Call __mmap64 directly.
3083 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3084 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3086 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3087 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3089 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3090 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3092 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3093 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3095 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3096 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3098 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3099 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3100 __fxstat64 directly.
3101 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3102 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3104 (freopen64) [!_G_OPEN64]: Remove conditional code.
3105 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3107 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3108 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3110 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3111 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3113 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3114 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3116 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3117 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3119 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3120 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3122 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3123 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3125 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3127 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3130 * manual/memory.texi (Malloc Tunable Parameters): Add note
3131 about free list pointers overwriting some perturb bytes.
3132 Wording suggested by Roland McGrath.
3134 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3136 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3137 (lgamma_test): Likewise.
3138 (tgamma_test): Likewise.
3140 2012-10-16 Florian Weimer <fweimer@redhat.com>
3143 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3144 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3146 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3148 * NEWS: Mention BZ #14716.
3149 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3150 when removing AVAILABLE1_USES_J macro.
3152 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3154 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3155 (__bswap_64): __uint64_t for unsigned 64-bit int.
3157 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3159 * include/string.h (memmem): Declare libc hidden alias.
3160 * string/memmem.c (memmem): Define libc hidden alias.
3161 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3162 __read, __close instead of open, read, close.
3164 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3167 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3169 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3170 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3171 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3173 (__rawmemchr_sse2): Likewise.
3174 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3175 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3176 (__strchr_sse2): Likewise.
3177 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3178 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3179 (__strcasecmp_sse2): Likewise.
3180 (__strncasecmp_sse2): Likewise.
3181 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3182 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3183 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3184 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3185 (__strrchr_sse2): Likewise.
3186 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3188 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3189 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3190 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3191 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3192 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3193 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3194 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3195 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3196 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3197 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3198 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3199 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3200 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3201 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3202 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3203 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3204 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3205 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3206 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3207 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3208 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3209 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3210 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3211 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3212 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3213 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3214 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3215 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3216 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3217 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3219 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3221 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3222 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3223 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3224 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3226 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3228 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3229 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3230 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3231 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3233 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3234 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3235 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3236 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3237 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3238 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3239 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3240 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3241 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3242 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3243 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3244 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3245 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3246 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3247 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3248 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3249 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3250 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3251 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3252 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3253 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3254 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3255 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3256 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3258 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3259 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3260 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3261 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3262 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3263 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3264 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3265 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3266 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3267 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3268 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3269 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3270 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3271 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3272 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3273 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3275 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3276 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3277 * include/ifunc-impl-list.h: New file.
3278 * misc/ifunc-impl-list.c: Likewise.
3279 * misc/Makefile (routines): Add ifunc-impl-list.
3280 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3281 * string/test-string.h: Include <ifunc-impl-list.h>.
3282 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3283 impl_array): New variables.
3284 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3286 (test_init): Call __libc_ifunc_impl_list to initialize
3287 func_list if TEST_IFUNC and TEST_NAME are defined.
3289 * string/Makefile (strop-tests): Add bcopy and bzero.
3290 * string/test-bcopy.c: New file.
3291 * string/test-bzero.c: Likewise.
3292 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3294 * string/test-memset.c: Support bzero test if TEST_BZERO is
3296 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3298 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3300 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3303 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3305 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3306 * configure: Regenerated.
3308 * Makeconfig (+link-static-before-libc): Don't include
3309 $(link-static-libc).
3311 * libio/libio.h (_IO_pos_t): Remove.
3313 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3315 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3318 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3320 * crypt/crypt-entry.c: Include fips-private.h.
3321 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3322 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3323 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3324 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3326 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3328 * crypt/crypt-private.h: Include stdbool.h.
3329 (_ufc_setup_salt_r): Return bool.
3330 * crypt/crypt-entry.c: Include errno.h.
3331 (__crypt_r): Return NULL with EINVAL for bad salt.
3332 * crypt/crypt_util.c (bad_for_salt): New.
3333 (_ufc_setup_salt_r): Check that salt is long enough and within
3334 the specified alphabet.
3335 * crypt/badsalttest.c: New file.
3336 * crypt/Makefile (tests): Add it.
3337 ($(objpfx)badsalttest): New.
3339 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3341 * NEWS: Add entry for BZ #14602.
3343 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3345 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3347 * math/libm-test.inc: Update comment listing what functions and
3349 (isgreater_test): New function.
3350 (isgreaterequal_test): Likewise.
3351 (isless_test): Likewise.
3352 (islessequal_test): Likewise.
3353 (islessgreater_test): Likewise.
3354 (isunordered_test): Likewise.
3355 (main): Call the new functions.
3357 2012-10-09 Roland McGrath <roland@hack.frob.com>
3359 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3360 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3361 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3362 * sysdeps/i386/configure: Regenerated.
3363 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3364 * sysdeps/mach/configure: Regenerated.
3365 * sysdeps/mach/hurd/configure: Regenerated.
3366 * sysdeps/powerpc/configure: Regenerated.
3367 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3368 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3369 * sysdeps/s390/s390-32/configure: Regenerated.
3370 * sysdeps/s390/s390-64/configure: Regenerated.
3371 * sysdeps/sh/configure: Regenerated.
3372 * sysdeps/sparc/configure: Regenerated.
3373 * sysdeps/unix/sysv/linux/configure: Regenerated.
3374 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3375 * sysdeps/x86_64/configure: Regenerated.
3377 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3378 defined. Don't check if MAP is NULL.
3380 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3382 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3383 (_G_stat64): Likewise.
3384 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3385 (_G_stat64): Likewise.
3386 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3387 instead of struct _G_stat64.
3388 * libio/fileops.c (mmap_remap_check): Likewise.
3389 (decide_maybe_mmap): Likewise.
3390 (_IO_new_file_seekoff): Likewise.
3391 (_IO_file_stat): Likewise.
3392 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3394 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3395 instead of struct _G_stat64.
3396 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3398 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3401 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3403 (CHECK_EOL): New macro.
3404 (two_way_short_needle): Check beginning of haystack for EOL. Use
3406 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3407 Replace with CHECK_EOL.
3408 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3409 Replace with CHECK_EOL.
3411 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3413 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3415 * math/libm-test.inc: Update comment listing what functions and
3417 (finite_test): New function.
3418 (isinf_test): Likewise.
3419 (isnan_test): Likewise.
3420 (fpclassify_test): Test subnormal input.
3421 (isfinite_test): Likewise.
3422 (isnormal_test): Likewise.
3423 (main): Call the new functions.
3425 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3428 * Makerules (%.dynsym): Force C locale when running
3429 $(OBJDUMP) --dynamic-syms.
3431 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3433 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3436 2012-10-06 David S. Miller <davem@davemloft.net>
3438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3439 upper 32-bits of the length value in %o2 since we use branch-on-register
3440 tests which consider the entire 64-bit register.
3442 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3444 * string/test-strstr.c (check2): Add a test for page boundary.
3446 2012-10-05 David S. Miller <davem@davemloft.net>
3448 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3449 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3451 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3453 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3454 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3455 and bzero when HWCAP_SPARC_CRYPTO is present.
3457 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3460 * string/test-strstr.c (check2): New function.
3461 (test_main): Call check2.
3463 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3465 * string/bug-strcasestr1.c (do_test): Moved to ...
3466 * string/test-strcasestr.c (check1): Here. New function.
3467 (do_one_test): Break out result checking code into ...
3468 (check_result): This. New function.
3469 (do_one_test): Call check_result.
3470 (test_main): Call check1.
3471 * string/bug-strchr1.c (do_test): Moved to ...
3472 * string/test-strchr.c (check1): Here. New function.
3473 (do_one_test): Break out result checking code into ...
3474 (check_result): This. New function.
3475 (do_one_test): Call check_result.
3476 (test_main): Call check1.
3477 * string/bug-strstr1.c (main): Moved to ...
3478 * string/test-strchr.c (check1): Here. New function.
3479 (do_one_test): Break out result checking code into ...
3480 (check_result): This. New function.
3481 (do_one_test): Call check_result.
3482 (test_main): Call check1.
3483 * string/bug-strcasestr1.c: Removed.
3484 * string/bug-strchr1.c: Likewise.
3485 * string/bug-strstr1.c: Likewise.
3487 * elf/Makefile (dl-routines): Add hwcaps.
3488 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3489 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3490 (_dl_important_hwcaps): Moved to ...
3491 * elf/dl-hwcaps.c: Here. New file.
3492 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3495 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3496 if IS_IN_rtld isn't defined.
3498 * elf/dl-support.c (_dl_sysinfo_map): New.
3499 Include "get-dynamic-info.h" and "setup-vdso.h".
3500 (_dl_non_dynamic_init): Call setup_vdso.
3501 * elf/dynamic-link.h: Don't include <assert.h>.
3502 (elf_get_dynamic_info): Moved to ...
3503 * elf/get-dynamic-info.h: Here. New file.
3504 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3505 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3506 * elf/setup-vdso.h: Here. New file.
3507 * elf/rtld.c: Include "setup-vdso.h".
3508 (dl_main): Call setup_vdso.
3510 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3512 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3513 creal in comment listing functions tested. List finite, isinf,
3514 isnan, isless, islessequal, isgreater, isgreaterequal,
3515 islessgreater, isunordered, lgamma_r and pow10 as functions and
3516 macros not tested. Mention which functions not tested are aliases
3517 for other functions. Fix typo. Note that signs of NaNs are not
3520 * scripts/config.guess: Update from config.git.
3521 * scripts/config.sub: Likewise.
3523 2012-10-04 Roland McGrath <roland@hack.frob.com>
3525 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3526 * misc/madvise.c (madvise): Renamed to __madvise.
3527 Make madvise a weak alias.
3528 * include/sys/mman.h: Declare __madvise.
3529 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3530 * sysdeps/unix/syscalls.list
3531 (madvise): Make __madvise the strong name, and madvise a weak alias.
3532 * sysdeps/unix/sysv/linux/syscalls.list
3533 (madvise, mmap): Remove redundant entries.
3534 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3535 * malloc/malloc.c (mtrim): Likewise.
3536 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3538 2012-10-03 Roland McGrath <roland@hack.frob.com>
3540 * sysdeps/mach/hurd/dl-cache.c: File removed.
3541 * config.h.in (USE_LDCONFIG): New #undef.
3542 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3543 * configure: Regenerated.
3544 * elf/Makefile (dl-routines): Add dl-cache only under
3545 [$(use-ldconfig) = yes].
3546 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3547 cache on [USE_LDCONFIG].
3548 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3550 * elf/rtld.c (dl_main): Likewise.
3552 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3554 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3555 _SC_LEVEL4_CACHE_LINESIZE.
3557 2012-10-03 Roland McGrath <roland@hack.frob.com>
3559 * sysdeps/unix/bsd/confstr.h: File removed.
3561 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3563 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3566 2012-10-02 Roland McGrath <roland@hack.frob.com>
3568 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3569 Make 'mapoff' field ElfW(Off) rather than off_t.
3571 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3573 * nscd/Makefile: Remove nscd-cflags and all its users.
3574 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3575 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3578 * malloc.c (malloc_printerr): Clarify error message.
3580 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3584 Set bit_FMA_Usable if FMA is supported.
3585 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3587 (bit_FMA4_Usable): Updated.
3588 (index_FMA_Usable): New macro.
3589 (CPUID_FMA): Likewise
3590 (HAS_FMA): Defined with bit_FMA_Usable.
3592 2012-10-01 Roland McGrath <roland@hack.frob.com>
3594 * bits/types.h (__swblk_t): Type removed.
3595 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3596 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3597 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3598 (__SWBLK_T_TYPE): Likewise.
3599 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3600 (__SWBLK_T_TYPE): Likewise.
3601 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3602 (__SWBLK_T_TYPE): Likewise.
3603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3604 (__SWBLK_T_TYPE): Likewise.
3606 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3607 Honza Horak <hhorak@redhat.com>
3609 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3610 (xdr_mapname): Use YPMAXMAP as maxsize.
3611 (xdr_peername): Use YPMAXPEER as maxsize.
3612 (xdr_keydat): Use YPAXRECORD as maxsize.
3613 (xdr_valdat): Use YPMAXRECORD as maxsize.
3615 2012-10-01 Roland McGrath <roland@hack.frob.com>
3617 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3619 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3620 * csu/init-first.c: ... here.
3621 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3622 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3623 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3624 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3625 * sysdeps/i386/init-first.c: File removed.
3626 * sysdeps/sh/init-first.c: File removed.
3628 2012-10-01 Joseph Myers <joseph@codesourcery.com>
3631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
3632 if x * y might underflow to zero and z is zero.
3633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3635 * math/libm-test.inc (min_subnorm_value): New variable.
3636 (fma_test): Add more tests.
3637 (fma_test_towardzero): Likewise.
3638 (fma_test_downward): Likewise
3639 (fma_test_upward): Likewise.
3640 (initialize): Set min_subnorm_value.
3642 2012-09-29 Joseph Myers <joseph@codesourcery.com>
3645 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
3647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
3648 mode for addition resulting in exact zero.
3649 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
3650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
3652 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3654 * math/libm-test.inc (fma_test): Add more tests.
3655 (fma_test_towardzero): New function.
3656 (fma_test_downward): Likewise.
3657 (fma_test_upward): Likewise.
3658 (main): Call the new functions.
3660 2012-09-28 David S. Miller <davem@davemloft.net>
3662 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
3664 2012-09-28 Roland McGrath <roland@hack.frob.com>
3666 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
3669 * sysdeps/gnu/_G_config.h: Moved to ...
3670 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
3671 * sysdeps/mach/hurd/_G_config.h: Moved to ...
3672 * sysdeps/generic/_G_config.h: ... here.
3674 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
3676 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
3678 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
3679 Conditionalize target on [libnss_test1.so-version].
3681 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
3683 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
3684 (elfobjdir): Move out of conditionals.
3686 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
3687 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
3688 (__nss_lookup_function): Conditionalize label remove_from_tree on
3689 [!DO_STATIC_NSS || SHARED], matching its only use.
3691 2012-09-28 David S. Miller <davem@davemloft.net>
3693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
3694 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
3696 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
3700 when HWCAP_SPARC_CRYPTO is present.
3702 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3704 * io/tst-mknodat.c: Create a FIFO instead of a socket.
3706 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
3709 * stdio-common/vfprintf.c (process_string_arg): Revert
3712 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
3714 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
3716 * stdio-common/tst-sprintf.c: Include <locale.h>
3717 (main): Test sprintf's handling of incomplete multibyte
3720 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
3722 * elf/dl-runtime.c (VERSYMIDX): Removed.
3723 * elf/dl-version.c (VERSYMIDX): Likewise.
3724 * elf/do-rel.h (VERSYMIDX): Likewise.
3726 * elf/dynamic-link.h (VERSYMIDX): Likewise.
3727 * elf/rtld.c (VALIDX): Likewise.
3728 (ADDRIDX): Likewise.
3729 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
3730 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
3731 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
3732 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
3734 (ADDRIDX): Likewise.
3736 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3738 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
3740 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
3743 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
3745 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
3746 addresses are in the same scope as 192.0.2/24.
3747 * posix/gai.conf: Document new scope table defaults.
3749 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3752 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
3753 for ftell. Compute offsets from write pointers instead.
3754 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3756 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3759 * libio/Makefile (tests): New test case tst-fseek.
3760 * libio/tst-fseek.c: New test case to verify that fseek/ftell
3761 combination works in wide mode.
3762 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
3763 state when the external buffer state changes.
3765 2012-09-27 David S. Miller <davem@davemloft.net>
3768 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
3769 pass reloc->r_addend in as the 'high' argument to
3770 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
3772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3774 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
3776 * rt/tst-aio2.c: Include <pthread.h>.
3777 * rt/tst-aio3.c: Likewise.
3779 2012-09-27 Steve Ellcey <sellcey@mips.com>
3781 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
3783 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
3785 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
3786 contents on [SHARED].
3788 2012-09-26 Marek Polacek <polacek@redhat.com>
3792 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
3793 for C++ and GCC <4.3 as well as for non GCC compilers.
3795 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3799 2012-09-25 Roland McGrath <roland@hack.frob.com>
3801 * Makefile.in (all, install): Declare with .PHONY.
3802 Reported by Michael Hope <michael.hope@linaro.org>.
3804 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3806 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
3807 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
3809 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
3811 (sydep_routines): Add the new and the internal functions.
3812 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
3813 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
3814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
3815 (GLIBC_2.17): Add the new function.
3816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
3817 (GLIBC_2.17): Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3819 (GLIBC_2.17): Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
3821 (GLIBC_2.17): Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
3824 2012-09-25 Alan Modra <amodra@gmail.com>
3826 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
3827 Add release barrier before setting once_control to say
3828 initialisation is done. Add hints on lwarx. Use macro in
3830 (clear_once_control): Add release barrier.
3832 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3835 * math/s_clog.c (__clog): Handle more values close to |z| = 1
3837 * math/s_clog10.c (__clog10): Likewise.
3838 * math/s_clog10f.c (__clog10f): Likewise.
3839 * math/s_clog10l.c (__clog10l): Likewise.
3840 * math/s_clogf.c (__clogf): Likewise.
3841 * math/s_clogl.c (__clogl): Likewise.
3842 * math/Makefile (libm-calls): Add x2y2m1.
3843 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
3844 (__x2y2m1): Likewise.
3845 (__x2y2m1l): Likewise.
3846 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
3847 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
3852 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
3853 * sysdeps/i386/fpu/libm-test-ulps: Update.
3854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3857 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
3858 int as type of variable DEPTH.
3859 (glob): Use size_t instead of int as type of variables NEWCOUNT
3862 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3864 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
3866 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
3867 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
3868 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
3869 macros for using routine as __sincosf_ia32.
3870 Use macro for function declaration and weak_alias.
3871 * sysdeps/i386/fpu/libm-test-ulps: Update.
3873 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
3874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3876 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
3878 * math/s_cexpf.c (__cexpf): Likewise.
3879 * math/s_csinf.c (__csinf): Likewise.
3880 * math/s_csinhf.c (__csinhf): Likewise.
3881 * math/s_ctanf.c (__ctanf): Likewise.
3882 * math/s_ctanhf.c (__ctanhf): Likewise.
3883 * math/s_ccosh.c (__ccoshf): Likewise.
3884 * math/s_cexp.c (__cexpl): Likewise.
3885 * math/s_csin.c (__csin): Likewise.
3886 * math/s_csinh.c (__csinh): Likewise.
3887 * math/s_ctan.c (__ctan): Likewise.
3888 * math/s_ctanh.c (ctanh): Likewise.
3889 * math/s_ccoshl.c (__ccoshl): Likewise.
3890 * math/s_cexpl.c (__cexpl): Likewise.
3891 * math/s_csinl.c (__csinl): Likewise.
3892 * math/s_csinhl.c (__csinhl): Likewise.
3893 * math/s_ctanl.c (__ctanl): Likewise.
3894 * math/s_ctanhl.c (__ctanhl): Likewise.
3896 2012-09-25 Joseph Myers <joseph@codesourcery.com>
3898 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
3899 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
3900 (_IO_off_t): Define to __off_t, not _G_off_t.
3901 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
3902 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
3903 (_IO_wint_t): Define to wint_t, not _G_wint_t.
3904 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
3905 type of __dummy and __dummy2 fields.
3906 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
3907 (_G_ssize_t): Likewise.
3908 (_G_off_t): Likewise.
3909 (_G_pid_t): Likewise.
3910 (_G_uid_t): Likewise.
3911 (_G_wchar_t): Likewise.
3912 (_G_wint_t): Likewise.
3913 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
3914 (_G_ssize_t): Likewise.
3915 (_G_off_t): Likewise.
3916 (_G_pid_t): Likewise.
3917 (_G_uid_t): Likewise.
3918 (_G_wchar_t): Likewise.
3919 (_G_wint_t): Likewise.
3920 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
3921 (_G_ssize_t): Likewise.
3922 (_G_off_t): Likewise.
3923 (_G_pid_t): Likewise.
3924 (_G_uid_t): Likewise.
3925 (_G_wchar_t): Likewise.
3926 (_G_wint_t): Likewise.
3928 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3930 * malloc/arena.c: Include malloc-sysdep.h.
3931 (shrink_heap): Use check_may_shrink_heap to decide if madvise
3932 is sufficient to shrink the heap or an unmap is needed.
3933 * sysdeps/generic/malloc-sysdep.h: New file. Define
3934 new function check_may_shrink_heap.
3935 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
3936 new function check_may_shrink_heap.
3938 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3940 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
3943 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
3945 * catgets/test-gencat.sh: Add "set -e".
3946 * elf/tst-pathopt.sh: Likewise.
3947 * grp/tst_fgetgrent.sh: Likewise.
3948 * iconvdata/run-iconv-test.sh: Likewise.
3949 * intl/tst-gettext.sh: Likewise.
3950 * intl/tst-gettext2.sh: Likewise.
3951 * intl/tst-gettext4.sh: Likewise.
3952 * intl/tst-gettext6.sh: Likewise.
3953 * intl/tst-translit.sh: Likewise.
3954 * io/ftwtest-sh: Likewise.
3955 * libio/test-freopen.sh: Likewise.
3956 * malloc/tst-mtrace.sh: Likewise.
3957 * posix/globtest.sh: Likewise.
3958 * posix/tst-getconf.sh: Likewise.
3959 * posix/wordexp-tst.sh: Likewise.
3960 * stdio-common/tst-printf.sh: Likewise.
3961 * stdio-common/tst-unbputc.sh: Likewise.
3962 * stdlib/tst-fmtmsg.sh: Likewise.
3963 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3964 * catgets/Makefile: Do not specify -e option when running
3965 testsuite shell scripts.
3966 * elf/Makefile: Likewise.
3967 * grp/Makefile: Likewise.
3968 * iconvdata/Makefile: Likewise.
3969 * intl/Makefile: Likewise.
3970 * io/Makefile: Likewise.
3971 * libio/Makefile: Likewise.
3972 * malloc/Makefile: Likewise.
3973 * posix/Makefile: Likewise.
3974 * stdio-common/Makefile: Likewise.
3975 * stdlib/Makefile: Likewise.
3976 * sysdeps/x86_64/Makefile: Likewise.
3978 * io/ftwtest-sh: Add copyright header.
3979 * posix/globtest.sh: Likewise.
3980 * posix/tst-getconf.sh: Likewise.
3981 * posix/wordexp-tst.sh: Likewise.
3982 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
3984 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
3987 * Makeconfig (+link): Defined as $(+link-static) if
3988 $(build-shared) isn't yes.
3989 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
3991 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
3993 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
3996 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
3997 new chunk size with MALLOC_ALIGN_MASK.
3999 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4002 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4004 (__printf_fphex): Determine rounding using get_rounding_mode and
4006 * stdio-common/tst-printf-round.c (struct hex_test): New
4008 (hex_tests): New variable.
4009 (test_hex_in_one_mode): New function.
4010 (do_test): Also run tests for hex float output.
4012 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4014 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4015 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4016 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4017 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4018 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4019 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4020 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4021 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4023 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4025 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4026 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4027 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4028 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4030 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4033 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4035 * elf/tst-rtld-load-self.sh: New test.
4036 * elf/Makefile: Run it.
4038 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4040 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4041 (tst-writev-ENV): Remove.
4042 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4044 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4046 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4048 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4050 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4052 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4054 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4055 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4056 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4059 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4062 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4063 * config.make.in (have-cpp-asm-debuginfo): Removed.
4064 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4065 * configure: Regenerated.
4067 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4070 * stdio-common/printf_fp.c: Include <stdbool.h> and
4072 (___printf_fp): Determine rounding using get_rounding_mode and
4074 * stdio-common/tst-printf-round.c: New file.
4075 * stdio-common/Makefile (tests): Add tst-printf-round.
4076 (link-libm): New variable.
4077 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4079 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4082 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4083 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4085 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4088 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4090 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4091 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4092 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4093 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4095 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4098 * include/rounding-mode.h: New file.
4099 * sysdeps/generic/get-rounding-mode.h: Likewise.
4100 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4101 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4102 (MAX_VALUE): New macro.
4103 (MIN_VALUE): Likewise.
4104 (overflow_value): New function.
4105 (underflow_value): Likewise.
4106 (round_and_return): Use overflow_value and underflow_value to
4107 determine return values in overflow and underflow cases. Use
4108 round_away to determine rounding depending on rounding mode.
4109 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4110 determine return values in overflow and underflow cases.
4111 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4112 (struct test_results): New structure.
4113 (struct test): Use struct test_results to store expected results
4114 for all rounding modes.
4115 (TEST): Include expected results for all rounding modes.
4116 (test_in_one_mode): New function.
4117 (do_test): Use test_in_one_mode to compute and check results.
4118 Check results for all rounding modes.
4119 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4122 2012-12-09 Allan McRae <allan@archlinux.org>
4124 * sysdeps/i386/fpu/libm-test-ulps: Update
4126 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4128 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4129 (_G_int32_t): Likewise.
4130 (_G_uint16_t): Likewise.
4131 (_G_uint32_t): Likewise.
4132 (_G_HAVE_BOOL): Likewise.
4133 (_G_HAVE_ATEXIT): Likewise.
4134 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4135 (_G_HAVE_IO_FILE_OPEN): Likewise.
4136 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4137 (_G_int32_t): Likewise.
4138 (_G_uint16_t): Likewise.
4139 (_G_uint32_t): Likewise.
4140 (_G_HAVE_BOOL): Likewise.
4141 (_G_HAVE_ATEXIT): Likewise.
4142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4143 (_G_HAVE_IO_FILE_OPEN): Likewise.
4144 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4145 (_G_int32_t): Likewise.
4146 (_G_uint16_t): Likewise.
4147 (_G_uint32_t): Likewise.
4148 (_G_HAVE_BOOL): Likewise.
4149 (_G_HAVE_ATEXIT): Likewise.
4150 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4151 (_G_HAVE_IO_FILE_OPEN): Likewise.
4153 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4155 * csu/libc-tls.c: Update copyright years.
4157 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4159 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4160 [!_G_USING_THUNKS]: Remove conditional code.
4161 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4162 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4164 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4165 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4166 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4167 (_G_VTABLE_LABEL_PREFIX): Likewise.
4168 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4169 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4170 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4171 (_G_VTABLE_LABEL_PREFIX): Likewise.
4172 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4173 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4174 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4175 (_G_VTABLE_LABEL_PREFIX): Likewise.
4176 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4178 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4180 * libio/Makefile: Include ../Makeconfig before tests.
4181 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4182 only if $(build-shared) is yes.
4184 * iconv/gconv_db.c: Update copyright years.
4186 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4188 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4189 unwind info if defined PIC. Fix special cases description.
4190 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4192 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4194 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4196 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4198 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4200 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4203 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4204 (LDLIBS-tst-chk4): This.
4205 (LDFLAGS-tst-chk5): Renamed to ...
4206 (LDLIBS-tst-chk5): This.
4207 (LDFLAGS-tst-chk6): Renamed to ...
4208 (LDLIBS-tst-chk6): This.
4209 (LDFLAGS-tst-lfschk4): Renamed to ...
4210 (LDLIBS-tst-lfschk4): This.
4211 (LDFLAGS-tst-lfschk5): Renamed to ...
4212 (LDLIBS-tst-lfschk5): This.
4213 (LDFLAGS-tst-lfschk6): Renamed to ...
4214 (LDLIBS-tst-lfschk6): This.
4216 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4217 on $(common-objpfx)soversions.mk.
4219 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4222 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4225 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4227 * malloc/arena.c (arena_get_retry): New function that gets
4228 another arena for the caller to try its request on.
4229 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4230 current arena cannot fulfill the request.
4231 (__libc_memalign): Likewise.
4232 (__libc_memalign): Likewise.
4233 (__libc_pvalloc): Likewise.
4234 (__libc_calloc): Likewise.
4236 2012-09-05 John Tobey <john.tobey@gmail.com>
4239 * manual/arith.texi (Operations on Complex): Fix description
4242 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4245 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4249 * manual/memory.texi (Memory): Make order of menu items match
4252 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4254 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4255 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4256 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4258 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4260 * csu/libc-tls.c (static_dtv): Renamed to ...
4261 (_dl_static_dtv): This. Make it global.
4262 (_dl_initial_dtv): Removed.
4263 (__libc_setup_tls): Updated.
4264 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4265 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4268 2012-09-06 Petr Machata <pmachata@redhat.com>
4270 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4271 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4272 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4273 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4275 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4278 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4279 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4282 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4285 * Makeconfig (link-static-before-libc): Replace $(+prector)
4287 (link-static-after-libc): Replace $(+postctor) with
4289 (link-bounded): Replace $(+prector)/$(+postctor) with
4290 $(+prectorT)/$(+postctorT).
4291 (+prectorT): New macro.
4292 (+postctorT): Likewise.
4294 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4296 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4297 (round_str): Handle values above the maximum for IBM long double
4299 * stdlib/tst-strtod-round.c (tests): Regenerated.
4301 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4303 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4305 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4306 zarch_nohighgprs around the zarch optimized routines.
4307 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4308 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4309 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4312 2012-09-05 David S. Miller <davem@davemloft.net>
4314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4316 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4317 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4318 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4319 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4322 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4324 * malloc/arena.c: Fold copyright years.
4325 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4327 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4329 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4331 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4333 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4335 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4337 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4338 change internal state upon failure.
4340 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4342 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4343 * malloc/memusage.c (mmap): Likewise.
4344 (mmap64, mremap): Likewise. Adjust name in comment.
4346 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4348 * libio/fileops.c: Fix typos in comments.
4349 * libio/oldfileops.c: Likewise.
4350 * libio/wfileops.c: Likewise.
4352 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4355 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4356 (tst-malloc-usable-ENV): Set environment for test case.
4357 * malloc/hooks.c (malloc_check_get_size): New function to get
4359 * malloc/malloc.c (musable): Use malloc_check_get_size.
4360 * malloc/tst-malloc-usable.c: New test case.
4362 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4364 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4366 2012-09-05 Allan McRae <allan@archlinux.org>
4369 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4370 determine header location.
4371 * configure: Regenerated.
4373 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4375 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4377 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4378 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4382 2012-09-04 David S. Miller <davem@davemloft.net>
4384 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4385 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4386 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4388 2012-09-04 Florian Weimer <fweimer@redhat.com>
4390 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4393 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4395 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4398 * libio/iogetdelim.c: Include <limits.h>.
4399 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4400 + len + 1 would overflow.
4402 2012-09-03 Andreas Jaeger <aj@suse.de>
4404 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4405 * sysdeps/i386/fpu/libm-test-ulps: Update.
4407 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4409 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4410 Add s_sinf-sse2, s_conf-sse2.
4412 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4413 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4414 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4415 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4417 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4418 for using routine as __sinf_ia32.
4419 Use macro for function declaration and weak_alias.
4420 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4421 for using routine as __cosf_ia32.
4422 Use macro for function declaration and weak_alias.
4424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4425 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4427 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4428 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4431 * math/libm-test.inc (cos_test): Add more test cases.
4432 (sin_test): Likewise.
4433 (sincos_test): Likewise.
4435 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4438 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4440 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4442 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4445 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4446 first element of the GOT.
4447 (elf_machine_load_address): Return the difference between
4448 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4450 2012-09-01 Allan McRae <allan@archlinux.org>
4453 * configure.in (AWK): Require gawk version 3.0 or later.
4454 * configure: Regenerated.
4456 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4458 * sysdeps/unix/sysv/linux/kernel-features.h
4459 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4460 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4461 [__NR_clock_getres]: Make code unconditional.
4462 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4463 (clock_getcpuclockid): Remove code left unreachable by removal of
4465 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4467 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4468 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4469 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4470 Make code unconditional.
4471 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4472 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4473 * sysdeps/unix/sysv/linux/clock_settime.c
4474 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4476 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4477 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4479 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4482 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4483 scripts/test-installation.pl.
4485 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4486 and $ld_so_version if it is set.
4488 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4491 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4492 failure if reading from procfs failed.
4493 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4495 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4497 * sysdeps/unix/sysv/linux/kernel-features.h
4498 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4499 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4500 Remove conditional code.
4501 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4502 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4503 Remove conditional code.
4504 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4505 * sysdeps/unix/sysv/linux/i386/fxstat.c
4506 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4507 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4508 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4509 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4510 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4511 * sysdeps/unix/sysv/linux/i386/lxstat.c
4512 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4513 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4514 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4515 Remove conditional code.
4516 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4517 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4518 Remove conditional code.
4519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4521 <kernel-features.h>.
4522 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4524 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4525 Remove conditional code.
4526 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4527 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4530 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4533 * NEWS: Add fixed bug number.
4535 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4538 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4539 underflowing exponent in case of negative sign.
4540 * stdlib/tst-strtod-round-data: Add more tests.
4541 * stdlib/tst-strtod-round.c (tests): Regenerated.
4544 * stdlib/strtod_l.c (NDIG): Remove.
4545 (HEXNDIG): Likewise.
4546 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4547 smallest representable value.
4548 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4549 lie within an exact representation of 1/2 ulp of the result.
4550 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4552 (TENS_P9_IDX): Define unconditionally.
4553 (TENS_P9_SIZE): Likewise.
4554 (TENS_P10_IDX): Likewise.
4555 (TENS_P10_SIZE): Likewise.
4556 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4557 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4558 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4559 entries for 10^2^13 and 10^2^14.
4560 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4561 (TENS_P13_IDX): Define.
4562 (TENS_P13_SIZE): Likewise.
4563 (TENS_P14_IDX): Likewise.
4564 (TENS_P14_SIZE): Likewise.
4565 (_fpioconst_pow10): Change array size to
4566 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4568 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4569 1024]: Add entries for 10^2^13 and 10^2^14.
4570 [LAST_POW10 > _LAST_POW10]: Remove #error.
4571 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4572 (_fpioconst_pow10): Change array size to
4573 FPIOCONST_POW10_ARRAY_SIZE.
4574 * stdlib/gen-fpioconst.c: New file.
4575 * stdlib/gen-tst-strtod-round.c: Likewise.
4576 * stdlib/tst-strtod-round-data: Likewise.
4577 * stdlib/tst-strtod-round.c: Likewise.
4578 * stdlib/Makefile (tests): Add tst-strtod-round.
4581 * stdlib/strtod_l.c: Include <stdint.h>.
4582 (NDEBUG): Do not define.
4583 (round_and_return): Change EXPONENT parameter to type intmax_t.
4584 Rearrange calculations to avoid internal overflow possibilities.
4585 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4586 Rearrange calculations to avoid internal overflow possibilities.
4587 Assert that number fits inside MPNSIZE limbs.
4588 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4589 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4590 calculations and add assertions to avoid internal overflow
4591 possibilities. Add casts to avoid signed/unsigned operations.
4592 * stdlib/tst-strtod-overflow.c: New file.
4593 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4595 2012-08-25 Marek Polacek <polacek@redhat.com>
4597 * time/time.h: Fix some typos in comments.
4599 2012-08-23 Roland McGrath <roland@hack.frob.com>
4601 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4602 * posix/tst-rfc3484-2.c: Likewise.
4603 * posix/tst-rfc3484-3.c: Likewise.
4605 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4607 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4608 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4610 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4612 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4613 #include of fxstatat64.c.
4615 2012-08-22 Roland McGrath <roland@hack.frob.com>
4617 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4618 * shadow/getspent_r.c: Likewise.
4619 * shadow/getspnam.c: Likewise.
4620 * shadow/getspnam_r.c: Likewise.
4621 * gshadow/getsgent.c: Likewise.
4622 * gshadow/getsgent_r.c: Likewise.
4623 * gshadow/getsgnam.c: Likewise.
4624 * gshadow/getsgnam_r.c: Likewise.
4625 * inet/getnetbyad.c: Likewise.
4626 * inet/getnetbyad_r.c: Likewise.
4627 * inet/getnetbynm.c: Likewise.
4628 * inet/getnetbynm_r.c: Likewise.
4629 * inet/getnetent.c: Likewise.
4630 * inet/getnetent_r.c: Likewise.
4631 * inet/getproto.c: Likewise.
4632 * inet/getproto_r.c: Likewise.
4633 * inet/getprtent.c: Likewise.
4634 * inet/getprtent_r.c: Likewise.
4635 * inet/getprtname.c: Likewise.
4636 * inet/getprtname_r.c: Likewise.
4637 * inet/getrpcbyname.c: Likewise.
4638 * inet/getrpcbyname_r.c: Likewise.
4639 * inet/getrpcbynumber.c: Likewise.
4640 * inet/getrpcbynumber_r.c: Likewise.
4641 * inet/getrpcent.c: Likewise.
4642 * inet/getrpcent_r.c: Likewise.
4643 * inet/getaliasent.c: Likewise.
4644 * inet/getaliasent_r.c: Likewise.
4645 * inet/getaliasname.c: Likewise.
4646 * inet/getaliasname_r.c: Likewise.
4647 * nscd/getgrgid_r.c: Likewise.
4648 * nscd/getgrnam_r.c: Likewise.
4649 * nscd/gethstbyad_r.c: Likewise.
4650 * nscd/gethstbynm3_r.c: Likewise.
4651 * nscd/getpwnam_r.c: Likewise.
4652 * nscd/getpwuid_r.c: Likewise.
4653 * nscd/getsrvbynm_r.c: Likewise.
4654 * nscd/getsrvbypt_r.c: Likewise.
4655 * nscd/gai.c: Likewise.
4657 * configure.in (build_nscd): New substituted variable, set
4658 by --disable-build-nscd and defaults to $use_nscd.
4659 * configure: Regenerated.
4660 * config.make.in (build-nscd): New substituted variable.
4661 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
4662 Change conditional to require [$(build-nscd) = yes] as well.
4663 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
4666 * configure.in (use_nscd): New substituted variable, set by
4667 --disable-nscd. If enabled, define USE_NSCD.
4668 * configure: Regenerated.
4669 * config.h.in: Add USE_NSCD.
4670 * config.make.in (use-nscd): New substituted variable.
4671 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
4672 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
4673 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
4674 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
4675 (CFLAGS-getgrnam_r.c): Likewise.
4676 (CFLAGS-initgroups.c): Likewise.
4677 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
4678 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
4680 * inet/getnetgrent_r.c
4681 (nscd_setnetgrent): New function, broken out of ...
4682 (setnetgrent): ... here. Call it.
4683 (innetgr): Conditionalize nscd bits on [USE_NSCD].
4684 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
4685 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
4686 * nscd/Makefile (routines, aux): Move definitions after include of
4687 Makeconfig. Conditionalize on [$(use-nscd) != no].
4688 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
4689 Conditionalize on [USE_NSCD].
4690 (is_nscd, nscd_init_cb): Likewise.
4691 (nss_load_library): Conditionalize init callback on [USE_NSCD].
4692 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
4693 * nss/nss_db/db-init.c: Likewise.
4694 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
4696 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
4697 (make_request): Use it.
4698 (cache_valid_p): New function.
4699 (__check_pf): Use it.
4700 * NEWS: Add item for --disable-nscd.
4702 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
4704 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
4705 to support sed >= 4.2.1-20-ga9bf076.
4706 * configure: Regenerated.
4708 2012-08-22 Roland McGrath <roland@hack.frob.com>
4710 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
4711 Conditionalize whole body on [IREL].
4713 2012-08-22 Jeff Law <law@redhat.com>
4716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
4717 if the family is PF_UNSPEC.
4719 2012-08-22 Mike Frysinger <vapier@gentoo.org>
4721 * Makerules (lib-version): Rename from V.
4722 (install-lib-nosubdir): Change V to lib-version.
4724 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
4727 * powerpc32/power6/wcschr.c: New file.
4728 * powerpc32/power6/wcscpy.c: New file.
4729 * powerpc32/power6/wcsrchr.c: New file.
4730 * powerpc64/power6/wcschr.c: New file.
4731 * powerpc64/power6/wcscpy.c: New file.
4732 * powerpc64/power6/wcsrchr.c: New file.
4734 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4736 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
4737 (two_way_short_needle): Use it.
4738 * string/strstr.c (AVAILABLE1_USES_J): Define.
4739 * string/strcasestr.c: Likewise.
4741 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
4743 * string/strcasestr.c (TOLOWER): Make side-effect safe.
4746 * NEWS: Add an entry.
4747 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
4748 define their defaults.
4749 (two_way_short_needle): Detect end-of-string on-the-fly.
4750 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
4751 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
4752 * string/bug-strcasestr1.c: New test.
4753 * string/Makefile: Run it.
4755 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
4758 * string/str-two-way.h (two_way_short_needle): Optimize matching of
4759 the first character.
4761 2012-08-21 Roland McGrath <roland@hack.frob.com>
4763 * csu/elf-init.c (__libc_csu_irel): Function removed.
4764 * csu/libc-start.c (apply_irel): New function.
4765 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
4767 2012-08-21 Joseph Myers <joseph@codesourcery.com>
4769 * sysdeps/unix/sysv/linux/kernel-features.h
4770 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
4771 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
4772 <kernel-features.h>.
4773 [__NR_fadvise64_64]: Make code unconditional.
4774 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
4775 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4776 !__NR_fadvise64_64)]: Likewise.
4777 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
4778 !__NR_fadvise64_64))]: Likewise.
4779 [__NR_fadvise64]: Make code unconditional.
4780 [!__NR_fadvise64]: Remove conditional code.
4781 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
4782 <kernel-features.h>.
4783 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4785 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
4788 not include <kernel-features.h>.
4789 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4791 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4793 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
4794 include <kernel-features.h>.
4795 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
4797 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
4800 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4802 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
4803 slight instruction rearrangements per scrollpipe analysis.
4804 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4806 2012-08-20 Roland McGrath <roland@hack.frob.com>
4808 * manual/syslog.texi (syslog; vsyslog, closelog):
4809 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
4810 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
4812 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
4813 DSOCAPS to match condition on defining it.
4815 2012-08-20 Joseph Myers <joseph@codesourcery.com>
4817 * sysdeps/unix/sysv/linux/kernel-features.h
4818 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
4820 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4821 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
4823 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4824 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
4826 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
4827 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
4829 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
4830 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
4832 * sysdeps/unix/sysv/linux/kernel-features.h
4833 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
4834 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
4836 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4837 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
4838 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4839 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4840 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
4841 Make code unconditional.
4842 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4843 (__mmap64) [!__NR_mmap2]: Likewise.
4844 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
4845 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
4846 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4847 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
4848 [__NR_mmap2]: Make code unconditional.
4849 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
4850 (__mmap64) [!__NR_mmap2]: Likewise.
4852 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4854 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
4856 2012-08-18 Andreas Jaeger <aj@suse.de>
4858 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
4860 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4862 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
4863 * include/unistd.h (__have_sock_cloexec): Likewise.
4864 (__have_pipe2): Likewise.
4865 (__have_dup3): Likewise.
4867 2012-08-18 Mike Frysinger <vapier@gentoo.org>
4870 * include/unistd.h (__have_pipe2): Change define into an extern int.
4871 (__have_dup3): Likewise.
4872 * socket/have_sock_cloexec.c: Include fcntl.h.
4873 (__have_pipe2): New variable.
4874 (__have_dup3): Likewise.
4876 2012-08-17 Mike Frysinger <vapier@gentoo.org>
4878 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
4880 2012-08-17 Marek Polacek <polacek@redhat.com>
4882 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
4883 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
4885 2012-08-17 Roland McGrath <roland@hack.frob.com>
4887 * configure.in: Add AC_SUBST for sysheaders.
4888 * configure: Regenerated.
4889 * config.make.in (sysheaders): New substituted variable.
4891 * sysdeps/unix/mkfifo.c: Moved ...
4892 * sysdeps/posix/mkfifo.c: ... here.
4893 * sysdeps/unix/mkfifoat.c: Moved ...
4894 * sysdeps/posix/mkfifoat.c: ... here.
4896 * sysdeps/unix/utime.c: Moved ...
4897 * sysdeps/posix/utime.c: ... here.
4899 * sysdeps/unix/time.c: Moved ...
4900 * sysdeps/posix/time.c: ... here.
4901 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
4902 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
4904 * sysdeps/unix/nice.c: Moved ...
4905 * sysdeps/posix/nice.c: ... here.
4907 * sysdeps/unix/alarm.c: Moved ...
4908 * sysdeps/posix/alarm.c: ... here.
4910 * intl/Makefile ($(codeset_mo)): Depend on the input file.
4912 2012-08-17 Jeff Law <law@redhat.com>
4914 * intl/Makefile (codeset_mo): New variable.
4915 ($(codeset_mo)): New target.
4916 (tst-codeset.out): Depend on that. Remove explicit rule.
4917 (tst-gettext3.out, tst-gettext5.out): Likewise.
4918 (LOCPATH-ENV, tst-codeset-ENV): New variables.
4919 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
4920 * intl/tst-codeset.sh: Remove.
4921 * intl/tst-gettext3.sh: Likewise.
4922 * intl/tst-gettext5.sh: Likewise.
4924 2012-08-17 Roland McGrath <roland@hack.frob.com>
4926 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
4927 * sysdeps/unix/syscalls.list: ... here.
4929 * sysdeps/posix/getaddrinfo.c
4930 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
4931 (gaiconf_init, gaiconf_reload): Use them.
4933 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
4934 Define using time_t rather than struct timespec.
4936 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
4937 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
4939 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
4941 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
4942 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
4945 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
4946 __libc_cleanup_push argument.
4948 * bits/param.h: New file.
4949 * misc/sys/param.h: New file.
4950 * include/sys/param.h: New file.
4951 * misc/Makefile (headers): Add bits/param.h.
4952 * sysdeps/generic/sys/param.h: File removed.
4953 * sysdeps/unix/sysv/linux/bits/param.h: New file.
4954 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
4955 * sysdeps/mach/hurd/bits/param.h: New file.
4956 * sysdeps/mach/hurd/sys/param.h: File removed.
4958 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
4961 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
4963 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
4964 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
4967 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
4968 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
4969 rather than -D_IO_MTSAFE_IO conditionally.
4970 * stdio-common/Makefile (CPPFLAGS): Likewise.
4971 * wcsmbs/Makefile (CPPFLAGS): Likewise.
4972 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
4973 Use $(libio-mtsafe).
4974 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
4976 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
4977 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
4978 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
4979 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
4980 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
4981 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
4982 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
4983 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
4984 (CFLAGS-fread_u_chk.c): Likewise.
4985 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
4986 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
4987 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
4988 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
4989 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
4990 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
4991 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
4992 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
4993 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
4995 * libio/Makefile: Test [$(libc-reentrant) = yes]
4996 instead of [$(filter %REENTRANT, $(defines)) nonempty].
4999 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5000 * sysdeps/pthread/configure: File removed.
5001 * sysdeps/pthread/Makeconfig: New file.
5002 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5003 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5005 2012-08-16 Gary Benson <gbenson@redhat.com>
5007 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5008 unmapping the first object in a namespace.
5010 2012-08-16 Roland McGrath <roland@hack.frob.com>
5012 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5013 (__internal_setnetgrent): ... this. Add internal_function to
5014 definition. Add libc_hidden_def.
5015 (setnetgrent): Update caller.
5016 (internal_endnetgrent): Renamed to ...
5017 (__internal_endnetgrent): ... this. Add internal_function to
5018 definition. Add libc_hidden_def.
5019 (endnetgrent): Update caller.
5020 (internal_getnetgrent_r): Renamed to ...
5021 (__internal_getnetgrent_r): ... this. Add internal_function to
5022 definition. Add libc_hidden_def.
5023 (__getnetgrent_r): Update caller.
5024 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5026 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5028 * stdlib/longlong.h: Update from GCC.
5030 2012-08-16 Roland McGrath <roland@hack.frob.com>
5032 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5033 on _QL, which is set by umul_ppmm but never used.
5034 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5035 variables, which are set by GMP macros but never used.
5036 * stdio-common/_itowa.c (_itowa): Likewise.
5037 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5038 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5040 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5042 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5043 struct La_sh_regs is not constant.
5044 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5045 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5046 and struct La_sparc64_regs are not constant.
5048 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5050 * sysdeps/unix/sysv/linux/kernel-features.h
5051 (__ASSUME_POSIX_TIMERS): Remove.
5052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5053 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5054 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5055 Make code unconditional.
5056 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5057 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5058 Make code unconditional.
5059 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5060 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5061 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5062 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5063 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5064 Make code unconditional.
5065 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5066 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5067 (__libc_missing_posix_timers): Remove.
5069 2012-08-15 Roland McGrath <roland@hack.frob.com>
5071 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5072 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5074 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5076 * elf/dl-sym.c: Include <stdlib.h>.
5078 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5079 constants, which avoids warnings in 32-bit builds.
5081 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5082 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5084 * misc/lseek.c: File moved to ...
5085 * io/lseek.c: ... here.
5087 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5089 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5090 shifting LEN more than 31 bits at once.
5092 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5095 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5096 segmentation fault for a case of two empty input strings.
5097 * string/test-strncasecmp.c (check1): Renamed to...
5099 (bz14195): Add new testcase for two empty input strings and N > 0.
5100 (test_main): Call new testcase, adapt for renamed function.
5102 2012-08-15 Andreas Jaeger <aj@suse.de>
5105 * crypt/md5test2.c: New test, based on test supplied by Serge
5106 Belyshev <belyshev@depni.sinp.msu.ru>.
5107 * crypt/Makefile (xtests): Add md5test-giant..
5108 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5110 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5113 * crypt/md5.c (md5_process_block): Don't assume the buffer
5114 length is less than 2**32.
5115 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5116 length is less than 2**64.
5118 2012-08-15 Roland McGrath <roland@hack.frob.com>
5120 * string/str-two-way.h: Include <sys/param.h>.
5121 (MAX): Macro removed.
5123 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5124 Move #define and #undef of memmove to just before and after
5125 including <string.h>.
5127 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5128 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5129 and after including <string.h>. Move declarations of
5130 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5131 to before #include "string/memmove.c".
5133 * include/dirent.h: Declare __getdirentries.
5135 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5136 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5138 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5140 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5141 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5142 * sysdeps/i386/configure: Regenerated.
5143 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5144 STABS_CURRENT_FILE, and STABS_FUN.
5145 (END): Remove call to STABS_FUN_END.
5146 (STABS_CURRENT_FILE1): Delete.
5147 (STABS_CURRENT_FILE): Likewise.
5148 (STABS_FUN): Likewise.
5149 (STABS_FUN_END): Likewise.
5150 (STABS_FUN2): Likewise.
5151 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5152 * sysdeps/x86_64/configure: Regenerated.
5154 2012-08-14 Roland McGrath <roland@hack.frob.com>
5156 * elf/dl-open.c: Include <atomic.h>.
5157 * elf/dl-lookup.c: Likewise.
5159 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5161 * sysdeps/unix/sysv/linux/kernel-features.h
5162 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5163 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5165 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5167 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5168 condition on __ASSUME_CLONE_THREAD_FLAGS.
5170 2012-08-14 Andreas Jaeger <aj@suse.de>
5172 * sysdeps/i386/fpu/libm-test-ulps: Update.
5174 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5176 * include/atomic.h (atomic_exchange_and_add): Split into ...
5177 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5180 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5184 2012-08-13 Jeff Law <law@redhat.com>
5186 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5187 null byte in the output string.
5189 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5191 * sysdeps/unix/sysv/linux/kernel-features.h
5192 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5193 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5194 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5195 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5196 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5197 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5198 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5200 2012-08-09 Jeff Law <law@redhat.com>
5203 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5204 When avoid_arena is set, don't retry in the that arena. Pick the
5205 next one, whatever it might be.
5206 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5207 (arena_lock): Pass in new parameter to arena_get2.
5208 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5210 (__libc_malloc): Unify retrying after main arena failure with
5211 __libc_memalign version.
5212 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5214 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5217 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5218 to __redirect_strstr.
5219 (__strstr_sse42): Use typeof __redirect_strstr.
5220 (__strstr_ia32): Likewise.
5221 (__libc_strstr): New prototype.
5222 (strstr): Renamed to ...
5223 (__libc_strstr): This.
5224 (strstr): New strong alias of __libc_strstr.
5225 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5226 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5229 (__libc_time): New prototype.
5230 (time_ifunc): Replace time with __libc_time.
5231 (time): New strong alias and hidden definition of __libc_time.
5232 (__GI_time): Remove strong alias.
5233 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5235 (memmove): Redefined to __redirect_memmove.
5236 (__memmove_sse2): Use typeof __redirect_memmove.
5237 (__memmove_ssse3): Likewise.
5238 (__memmove_ssse3_back): Likewise.
5239 (__libc_memmove): New prototype.
5240 (memmove): Renamed to ...
5241 (__libc_memmove): This.
5242 (memmove): New strong alias of __libc_memmove.
5244 2012-08-08 Mark Salter <msalter@redhat.com>
5247 (R_MN10300_TLS_GD): Define.
5248 (R_MN10300_TLS_LD): Likewise.
5249 (R_MN10300_TLS_LDO): Likewise.
5250 (R_MN10300_TLS_GOTIE): Likewise.
5251 (R_MN10300_TLS_IE): Likewise.
5252 (R_MN10300_TLS_LE): Likewise.
5253 (R_MN10300_TLS_DTPMOD): Likewise.
5254 (R_MN10300_TLS_DTPOFF): Likewise.
5255 (R_MN10300_TLS_TPOFF): Likewise.
5256 (R_MN10300_SYM_DIFF): Likewise.
5257 (R_MN10300_ALIGN): Likewise.
5258 (R_MN10300_NUM): Update.
5260 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5265 2012-08-08 Roland McGrath <roland@hack.frob.com>
5267 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5269 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5270 sysdeps/unix -> sysdeps/posix move.
5271 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5273 2012-08-07 Allan McRae <allan@archlinux.org>
5276 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5277 (SUNOS_CPP): Likewise.
5278 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5280 (open_input): Call CPP using execvp.
5282 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5284 * sysdeps/unix/sysv/linux/kernel-features.h
5285 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5286 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5287 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5288 (__ASSUME_WAITID_SYSCALL): Likewise.
5289 * sysdeps/unix/sysv/linux/dl-execstack.c
5290 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5292 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5294 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5295 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5296 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5298 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5300 [__ASSUME_WAITID_SYSCALL]: Likewise.
5301 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5303 2012-08-07 Roland McGrath <roland@hack.frob.com>
5305 * sysdeps/unix/closedir.c: Renamed to ...
5306 * sysdeps/posix/closedir.c: ... here.
5307 * sysdeps/unix/dirfd.c: Renamed to ...
5308 * sysdeps/posix/dirfd.c: ... here.
5309 * sysdeps/unix/dirstream.h: Renamed to ...
5310 * sysdeps/posix/dirstream.h: ... here.
5311 * sysdeps/unix/fdopendir.c: Renamed to ...
5312 * sysdeps/posix/fdopendir.c: ... here.
5313 * sysdeps/unix/opendir.c: Renamed to ...
5314 * sysdeps/posix/opendir.c: ... here.
5315 * sysdeps/unix/readdir.c: Renamed to ...
5316 * sysdeps/posix/readdir.c: ... here.
5317 * sysdeps/unix/readdir_r.c: Renamed to ...
5318 * sysdeps/posix/readdir_r.c: ... here.
5319 * sysdeps/unix/rewinddir.c: Renamed to ...
5320 * sysdeps/posix/rewinddir.c: ... here.
5321 * sysdeps/unix/seekdir.c: Renamed to ...
5322 * sysdeps/posix/seekdir.c: ... here.
5323 * sysdeps/unix/telldir.c: Renamed to ...
5324 * sysdeps/posix/telldir.c: ... here.
5325 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5326 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5327 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5328 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5330 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5331 * bits/fcntl.h: ... here.
5333 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5335 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5336 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5337 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5338 (struct flock): Move l_start, l_len to the beginning.
5339 Use __pid_t for l_pid.
5340 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5341 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5342 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5343 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5344 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5345 [__USE_LARGEFILE64] (struct flock64): New type.
5346 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5348 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5349 * bits/dirent.h: ... here.
5351 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5352 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5354 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5356 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5357 Change from 2.6.0 to 2.6.16.
5358 * sysdeps/unix/sysv/linux/configure: Regenerated.
5359 * sysdeps/unix/sysv/linux/kernel-features.h
5360 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5361 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5363 (__ASSUME_UTIMES): Likewise.
5364 (__ASSUME_CLONE_STOPPED): Remove.
5365 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5366 architectures, not kernel version.
5367 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5368 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5369 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5370 (__ASSUME_WAITID_SYSCALL): Likewise.
5371 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5372 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5373 * README: State 2.6.16 as minimum Linux kernel version. Do not
5374 refer to older versions.
5376 2012-08-06 Roland McGrath <roland@hack.frob.com>
5378 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5379 Define alphasort64 as an alias.
5380 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5381 Define versionsort64 as an alias.
5382 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5383 Define scandir64 as an alias.
5384 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5385 Define scandirat64 as an alias.
5386 * dirent/alphasort64.c (alphasort64):
5387 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5388 * dirent/versionsort64.c: Likewise.
5389 * dirent/scandir64.c: Likewise.
5390 * dirent/scandirat64.c: Likewise.
5391 * sysdeps/wordsize-64/alphasort.c: File removed.
5392 * sysdeps/wordsize-64/alphasort64.c: File removed.
5393 * sysdeps/wordsize-64/scandir.c: File removed.
5394 * sysdeps/wordsize-64/scandir64.c: File removed.
5395 * sysdeps/wordsize-64/scandirat.c: File removed.
5396 * sysdeps/wordsize-64/scandirat64.c: File removed.
5397 * sysdeps/wordsize-64/versionsort.c: File removed.
5398 * sysdeps/wordsize-64/versionsort64.c: File removed.
5399 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5400 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5401 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5402 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5403 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5404 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5405 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5406 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5408 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5409 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5410 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5411 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5412 [defined __arch64__ || defined __sparcv9]
5413 (__INO_T_MATCHES_INO64_T): New macro.
5414 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5415 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5416 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5417 * sysdeps/unix/sysv/linux/bits/dirent.h
5418 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5419 (_DIRENT_MATCHES_DIRENT64): New macro.
5421 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5422 Define lockf64 as an alias.
5423 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5424 Define fseeko64 as an alias.
5425 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5426 Define ftello64 as an alias.
5427 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5428 Define _IO_fgetpos64 and fgetpos64 as aliases.
5429 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5430 Define _IO_fsetpos64 and fsetpos64 as aliases.
5431 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5432 Conditionalize body on this.
5433 * libio/fseeko64.c: Likewise.
5434 * libio/ftello64.c: Likewise.
5435 * libio/iofgetpos64.c: Likewise.
5436 * libio/iofsetpos64.c: Likewise.
5437 * sysdeps/wordsize-64/lockf.c: File removed.
5438 * sysdeps/wordsize-64/lockf64.c: File removed.
5439 * sysdeps/wordsize-64/fseeko.c: File removed.
5440 * sysdeps/wordsize-64/fseeko64.c: File removed.
5441 * sysdeps/wordsize-64/ftello.c: File removed.
5442 * sysdeps/wordsize-64/ftello64.c: File removed.
5443 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5444 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5445 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5446 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5447 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5448 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5450 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5452 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5453 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5454 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5455 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5456 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5458 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5459 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5460 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5461 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5462 [defined __arch64__ || defined __sparcv9]
5463 (__OFF_T_MATCHES_OFF64_T): New macro.
5464 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5465 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5467 (__OFF_T_MATCHES_OFF64_T): New macro.
5469 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5471 * stdlib/secure-getenv.c (__secure_getenv): Replace
5472 GLIBC_2_16 with GLIBC_2_17.
5474 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5476 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5477 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5479 2012-08-03 David S. Miller <davem@davemloft.net>
5481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5483 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5487 (__ASSUME_CORRECT_SI_PID): Likewise.
5488 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5489 (__ASSUME_TMPFS_NAME): Likewise.
5490 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5491 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5492 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5493 (HAVE_AUX_SECURE): Make definition unconditional.
5494 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5495 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5497 2012-08-03 Roland McGrath <roland@hack.frob.com>
5499 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5500 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5501 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5502 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5503 __eloop_threshold instead of SYMLOOP_MAX.
5505 * sysdeps/generic/eloop-threshold.h: New file.
5506 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5508 * elf/chroot_canon.c (chroot_canon): Likewise.
5510 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5513 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5514 Change to 2.6.0 everywhere.
5515 * sysdeps/unix/sysv/linux/configure: Regenerated.
5516 * sysdeps/unix/sysv/linux/kernel-features.h
5517 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5518 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5520 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5521 (__ASSUME_FUTEX_REQUEUE): Remove.
5522 (__ASSUME_STATFS64): Define unconditionally.
5523 (__ASSUME_AT_SECURE): Likewise.
5524 (__ASSUME_CORRECT_SI_PID): Likewise.
5525 (__ASSUME_TGKILL): Define without depending on kernel version for
5527 (__ASSUME_UTIMES): Likewise.
5528 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5530 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5531 (__ASSUME_TMPFS_NAME): Likewise.
5532 * README: Update reference to Linux kernel versions.
5534 2012-08-02 Marek Polacek <polacek@redhat.com>
5537 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5538 libc_cv_asm_type_prefix with %.
5539 * configure: Regenerated.
5540 * include/libc-symbols.h: Remove comment about
5541 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5542 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5543 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5544 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5545 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5546 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5547 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5548 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5549 * elf/tst-unique2mod1.c: Likewise.
5550 * elf/tst-unique1mod2.c: Likewise.
5551 * elf/tst-unique1mod1.c: Likewise.
5552 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5553 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5554 Replace ASM_TYPE_DIRECTIVE with .type.
5555 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5556 * sysdeps/i386/sysdep.h: Likewise.
5557 * sysdeps/x86_64/sysdep.h: Likewise.
5558 * sysdeps/sh/sysdep.h: Likewise.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5560 Do not define ASM_TYPE_DIRECTIVE.
5561 * sysdeps/powerpc/sysdep.h: Likewise.
5562 * sysdeps/powerpc/powerpc32/sysdep.h:
5563 Replace ASM_TYPE_DIRECTIVE with .type.
5564 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5565 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5566 * sysdeps/i386/fpu/e_powf.S: Likewise.
5567 * sysdeps/i386/fpu/e_expl.S: Likewise.
5568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5570 * sysdeps/i386/fpu/e_pow.S: Likewise.
5571 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5572 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5573 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5574 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5575 * sysdeps/i386/fpu/e_log2.S: Likewise.
5576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5577 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5578 * sysdeps/i386/fpu/e_powl.S: Likewise.
5579 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5580 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5581 * sysdeps/i386/fpu/e_logl.S: Likewise.
5582 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5583 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5584 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5585 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5587 * sysdeps/i386/fpu/e_log.S: Likewise.
5588 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5589 * sysdeps/i386/fpu/e_logf.S: Likewise.
5590 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5591 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5592 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5593 * sysdeps/i386/fpu/e_log10.S: Likewise.
5594 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5595 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5596 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5597 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5598 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5599 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5600 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5601 * sysdeps/i386/i686/strtok.S: Likewise.
5602 * sysdeps/i386/i386-mcount.S: Likewise.
5603 * sysdeps/i386/strtok.S: Likewise.
5604 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5605 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5606 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5607 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5608 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5609 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5610 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5611 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5612 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5613 * sysdeps/x86_64/_mcount.S: Likewise.
5614 * sysdeps/x86_64/strtok.S: Likewise.
5615 * sysdeps/sh/_mcount.S: Likewise.
5617 2012-08-01 Roland McGrath <roland@hack.frob.com>
5619 * libio/iofopen.c: Include <fcntl.h>.
5620 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5621 (_IO_fopen64, fopen64): Define as aliases.
5622 * libio/iofopen64.c: Include <fcntl.h>.
5623 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5624 Conditionalize body on this.
5625 * sysdeps/wordsize-64/iofopen.c: File removed.
5626 * sysdeps/wordsize-64/iofopen64.c: File removed.
5628 2012-08-01 Marek Polacek <polacek@redhat.com>
5630 * libc/Makeconfig: Use elf in place of binfmt-subdir.
5631 Use dlfcn directly instead of a variable.
5632 (binfmt-subdir): Do not define.
5635 2012-08-01 Joseph Myers <joseph@codesourcery.com>
5637 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
5638 Remove all definitions.
5639 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
5640 <kernel-features.h>.
5641 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5642 (miss_F_GETOWN_EX): Remove all definitions.
5643 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
5645 [!__ASSUME_FCNTL64]: Remove conditional code.
5646 [__ASSUME_FCNTL64]: Make code unconditional.
5647 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
5648 <kernel-features.h>.
5649 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
5650 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
5651 (lockf64) [__NR_fcntl64]: Make code unconditional.
5652 (lockf64) [__ASSUME_FCNTL64]: Likewise.
5654 * sysdeps/unix/sysv/linux/kernel-features.h
5655 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
5656 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
5657 Make code unconditional.
5658 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5659 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
5661 [__NR_vfork]: Make code unconditional.
5662 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5663 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
5665 [__NR_vfork]: Make code unconditional.
5666 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
5667 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
5669 2012-08-01 Roland McGrath <roland@hack.frob.com>
5671 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
5672 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
5674 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5675 Define mkstemp64 as an alias.
5676 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5677 Define mkstemps64 as an alias.
5678 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5679 Define mkostemp64 as an alias.
5680 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
5681 Define mkostemps64 as an alias.
5682 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
5683 Conditionalize body on this.
5684 * misc/mkostemp64.c: Likewise.
5685 * misc/mkostemps64.c: Likewise.
5686 * misc/mkstemps64.c: Likewise.
5687 * sysdeps/wordsize-64/mkstemp64.c: File removed.
5688 * sysdeps/wordsize-64/mkostemp64.c: File removed.
5689 * sysdeps/wordsize-64/mkostemp.c: File removed.
5690 * sysdeps/wordsize-64/mkstemp.c: File removed.
5691 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
5692 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
5693 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
5694 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
5697 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
5698 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
5699 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
5700 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
5702 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
5703 compat_symbol macros from <shlib-compat.h> rather than the underlying
5704 default_symbol_version and symbol_version macros, so that DEFAULT
5705 lines in shlib-versions are respected.
5706 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
5708 2012-08-01 Florian Weimer <fweimer@redhat.com>
5710 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
5711 Declare with warn_unused_result.
5712 (setgid, setregid, setegid, setresgid): Likewise.
5713 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
5715 * WUR-REPORT: Remove set*id functions.
5717 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
5719 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
5721 2012-07-31 Roland McGrath <roland@hack.frob.com>
5723 * include/sys/socket.h (__libc_accept, __libc_accept4):
5724 Add attribute_hidden.
5725 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
5727 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
5729 * inet/getnetgrent_r.c (setup): Likewise.
5731 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
5733 2012-07-31 David S. Miller <davem@davemloft.net>
5735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5737 2012-07-31 Joseph Myers <joseph@codesourcery.com>
5740 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
5741 value between 1.0 and 2.0 and smaller part has absolute value less
5743 * math/s_clog10.c (__clog10): Likewise.
5744 * math/s_clog10f.c (__clog10f): Likewise.
5745 * math/s_clog10l.c (__clog10l): Likewise.
5746 * math/s_clogf.c (__clogf): Likewise.
5747 * math/s_clogl.c (__clogl): Likewise.
5748 * math/libm-test.inc (clog_test): Add more tests.
5749 (clog10_test): Likewise.
5750 * sysdeps/i386/fpu/libm-test-ulps: Update.
5751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5753 2012-07-31 Florian Weimer <fweimer@redhat.com>
5755 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
5756 Exit with zero in case no suitable GID is found, and write a
5757 message to standard error.
5759 2012-07-30 Roland McGrath <roland@hack.frob.com>
5761 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
5763 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
5764 (MAXPATHLEN): Removed.
5765 (NOGROUP, NODEV): New macros.
5766 (setbit, clrbit, isset, isclr): New macros.
5767 (howmany, roundup, powerof2): New macros.
5768 (DEV_BSIZE): New macro.
5770 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
5771 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
5773 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
5774 definition on [!__NO_LONG_DOUBLE_MATH].
5776 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
5777 PTR_MANGLE and PTR_DEMANGLE.
5779 * socket/accept4.c (accept4): Rename to __libc_accept4.
5780 Define accept4 as a weak alias.
5782 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
5783 on [_DIRENT_HAVE_D_TYPE].
5784 * io/ftw.c (ftw_dir): Likewise.
5786 * io/xmknod.c (__xmknod): Don't check PATH for being null.
5788 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
5790 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
5791 Use the BSD numbers rather than the arbitrary ones we had.
5792 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
5793 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
5794 (SIGXCPU, SIGXFSZ): New macros.
5797 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
5798 initializer on [_LIBC_REENTRANT].
5800 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
5801 definitions inside [_POSIX_MAPPED_FILES].
5803 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
5805 * dirent/opendir.c: Include <fcntl.h>.
5807 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
5808 (__libc_getspecific): Likewise.
5809 (__libc_key_create): Likewise.
5811 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
5812 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
5813 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
5814 (tmpfile64): Define as alias.
5815 * sysdeps/wordsize-64/tmpfile.c: File removed.
5816 * sysdeps/wordsize-64/tmpfile64.c: File removed.
5817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
5818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
5820 * stdio-common/vfscanf.c: Include <stdbool.h>.
5821 * nss/makedb.c: Likewise.
5822 * stdio-common/_i18n_number.h: Likewise.
5823 * argp/argp-help.c: Likewise.
5824 * posix/wordexp.c: Likewise.
5825 * sysdeps/posix/spawni.c: Likewise.
5826 * nss/nss_files/files-initgroups.c: Likewise.
5827 * stdio-common/reg-modifier.c: Include <stdlib.h>.
5828 * nss/nss_files/files-initgroups.c: Likewise.
5829 * nss/nss_db/db-netgrp.c: Likewise.
5830 * nss/nss_db/db-initgroups.c: Likewise.
5831 * io/fchmodat.c: Include <sys/stat.h>.
5833 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
5834 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
5836 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
5839 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
5840 Add multiple inclusion protection.
5842 2012-07-27 David S. Miller <davem@davemloft.net>
5844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5846 2012-07-27 Gary Benson <gbenson@redhat.com>
5849 * elf/rtld.c: Include <stap-probe.h>.
5850 (dl_main): Added static probes "init_start" and "init_complete".
5851 * elf/dl-load.c: Include <stap-probe.h>.
5852 (lose): Take new parameter "nsid".
5853 Added static probe "map_failed".
5854 (_dl_map_object_from_fd): Pass namespace id to lose.
5855 Added static probe "map_start".
5856 (open_verify): Pass namespace id to lose.
5857 * elf/dl-open.c: Include <stap-probe.h>.
5858 (dl_open_worker) Added static probes "map_complete", "reloc_start"
5859 and "reloc_complete".
5860 * elf/dl-close.c: Include <stap-probe.h>.
5861 (_dl_close_worker): Added static probes "unmap_start" and
5863 * elf/rtld-debugger-interface.txt: New file documenting the above.
5865 2012-07-26 Roland McGrath <roland@hack.frob.com>
5867 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
5868 rather than a string variable.
5869 * sunrpc/rpc_main.c (h_output): Likewise.
5870 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
5872 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
5874 * inet/check_native.c: New file.
5876 2012-07-26 Joseph Myers <joseph@codesourcery.com>
5879 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
5880 if larger part has absolute value 1.0.
5881 * math/s_clog10.c (__clog10): Likewise.
5882 * math/s_clog10f.c (__clog10f): Likewise.
5883 * math/s_clog10l.c (__clog10l): Likewise.
5884 * math/s_clogf.c (__clogf): Likewise.
5885 * math/s_clogl.c (__clogl): Likewise.
5886 * math/libm-test.inc (clog_test): Add more tests.
5887 (clog10_test): Likewise.
5888 * sysdeps/i386/fpu/libm-test-ulps: Update.
5889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5891 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
5892 (pltexit): Likewise.
5893 (La_regs): Likewise.
5894 (La_retval): Likewise.
5895 (int_retval): Likewise.
5896 Update #error for removed macros to refer only to definitions in
5898 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
5900 (pltexit): Likewise.
5901 (La_regs): Likewise.
5902 (La_retval): Likewise.
5903 (int_retval): Likewise.
5904 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
5906 (pltexit): Likewise.
5907 (La_regs): Likewise.
5908 (La_retval): Likewise.
5909 (int_retval): Likewise.
5910 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
5912 (pltexit): Likewise.
5913 (La_regs): Likewise.
5914 (La_retval): Likewise.
5915 (int_retval): Likewise.
5916 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
5918 (pltexit): Likewise.
5919 (La_regs): Likewise.
5920 (La_retval): Likewise.
5921 (int_retval): Likewise.
5922 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
5924 (pltexit): Likewise.
5925 (La_regs): Likewise.
5926 (La_retval): Likewise.
5927 (int_retval): Likewise.
5928 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
5930 (pltexit): Likewise.
5931 (La_regs): Likewise.
5932 (La_retval): Likewise.
5933 (int_retval): Likewise.
5934 * sysdeps/generic/tst-audit.h: Update comment to refer only to
5935 macro definitions in tst-audit.h.
5936 * sysdeps/i386/tst-audit.h: New file.
5937 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
5938 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
5939 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
5940 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
5941 * sysdeps/sh/tst-audit.h: Likewise.
5942 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
5943 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
5944 * sysdeps/x86_64/tst-audit.h: Likewise.
5946 2012-07-26 Andreas Jaeger <aj@suse.de>
5948 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
5951 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
5952 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
5953 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
5955 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
5956 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
5957 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
5959 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
5962 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
5964 (si_call_addr, si_syscall, si_arch): Define new macro.
5965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
5967 (si_call_addr, si_syscall, si_arch): Define new marcro.
5968 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
5970 (si_call_addr, si_syscall, si_arch): Define new macro.
5971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
5973 (si_call_addr, si_syscall, si_arch): Define new macro.
5975 2012-07-25 Joseph Myers <joseph@codesourcery.com>
5978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5979 Change to 2.4.21 where previously 2.4.1.
5980 * sysdeps/unix/sysv/linux/configure: Regenerated.
5981 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
5982 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
5983 Linux kernel version.
5984 (__ASSUME_STD_AUXV): Remove.
5985 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
5987 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
5988 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
5989 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
5990 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
5991 (__ASSUME_NETLINK_SUPPORT): Likewise.
5992 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
5993 (__no_netlink_support): Remove conditional definition.
5994 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
5996 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
5997 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
5998 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
5999 (if_nameindex_ioctl): Remove.
6000 (if_nameindex_netlink): Do not handle __no_netlink_support.
6001 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6003 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6004 Remove conditional code.
6005 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6007 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6009 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6010 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6011 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6013 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6014 [!__ASSUME_STD_AUXV]: Remove conditional code.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6016 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6017 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6019 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6020 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6022 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6024 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6025 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6027 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6029 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6032 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6035 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6037 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6039 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6041 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6044 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6046 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6049 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6051 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6053 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6055 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6058 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6060 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6062 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6064 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6067 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6069 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6070 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6071 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6072 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6073 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6074 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6075 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6076 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6077 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6078 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6079 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6080 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6081 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6082 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6083 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6084 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6085 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6086 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6087 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6089 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6090 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6093 2012-07-25 Florian Weimer <fweimer@redhat.com>
6095 * Versions.def: Add GLIBC_2.17.
6096 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6097 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6098 Introduce __libc_secure_getenv.
6099 * stdlib/Versions (2.17): Add secure_getenv
6100 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6101 * stdlib/secure-getenv.c: Rename __secure_getenv to
6102 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6103 symbol __secure_getenv for GLIBC_2.0.
6104 * stdlib/tst-secure-getenv.c: New.
6105 * stdlib/Makefile (tests): Add testcase.
6106 * manual/startup.texi (Environment Access): Document
6108 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6109 __libc_secure_getenv.
6110 * inet/ruserpass.c (ruserpass): Likewise.
6111 * malloc/mtrace.c (mtrace): Likewise.
6112 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6113 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6114 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6115 * sysdeps/posix/tempname.c: Likewise. Evaluate
6117 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6118 __secure_getenv to __libc_secure_getenv.
6119 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6126 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6132 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6134 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6135 (struct La_i86_retval): Likewise.
6136 (struct La_x86_64_regs): Likewise.
6137 (struct La_x86_64_retval): Likewise.
6138 (struct La_x32_regs): Likewise.
6139 (struct La_x32_retval): Likewise.
6140 (struct La_ppc32_regs): Likewise.
6141 (struct La_ppc32_retval): Likewise.
6142 (struct La_ppc64_regs): Likewise.
6143 (struct La_ppc64_retval): Likewise.
6144 (struct La_sh_regs): Likewise.
6145 (struct La_sh_retval): Likewise.
6146 (struct La_s390_32_regs): Likewise.
6147 (struct La_s390_32_retval): Likewise.
6148 (struct La_s390_64_regs): Likewise.
6149 (struct La_s390_64_retval): Likewise.
6150 (struct La_sparc32_regs): Likewise.
6151 (struct La_sparc32_retval): Likewise.
6152 (struct La_sparc64_regs): Likewise.
6153 (struct La_sparc64_retval): Likewise.
6154 (struct audit_ifaces): Remove architecture-specific pltenter and
6156 * sysdeps/i386/ldsodefs.h: New file.
6157 * sysdeps/powerpc/ldsodefs.h: Likewise.
6158 * sysdeps/s390/ldsodefs.h: Likewise.
6159 * sysdeps/sh/ldsodefs.h: Likewise.
6160 * sysdeps/sparc/ldsodefs.h: Likewise.
6161 * sysdeps/x86_64/ldsodefs.h: Likewise.
6163 2012-07-25 Marek Polacek <polacek@redhat.com>
6166 * math/libm-test.inc (yn_test): Add another test.
6167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6168 to ERANGE when the result is +-Inf.
6169 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6170 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6171 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6172 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6174 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6176 * conform/data/time.h-data (NULL): Use macro-constant. Require
6178 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6180 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6182 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6184 * configure.in <sysdeps resolving>: Correct printing
6186 * configure: Regenerate.
6188 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6190 * math/w_ilogb.c: Include <limits.h>.
6191 * math/w_ilogbl.c: Likewise.
6193 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6195 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6196 va_copy. Document allowing for unavailable va_copy only as
6197 pre-C99 compatibility.
6198 * manual/string.texi (Copying and Concatenation): Use va_copy
6199 instead of __va_copy in concat example.
6201 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6203 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6204 (__sendto): Use create_address_port. Initialize APORT and deallocate
6207 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6208 with O_NOLINK passed to __file_name_lookup.
6210 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6211 with O_NOLINK passed to __file_name_lookup.
6213 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6214 negative N or less than NGIDS.
6216 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6217 type to string_t. Set ERANGE as errno and return it if NAME is not big
6218 enough. Use memcpy instead of strncpy.
6220 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6222 * elf/Makefile (check-data): Remove.
6223 (localplt.data): New vpath directive.
6224 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6225 instead of $(check-data).
6226 * scripts/data/localplt-generic.data: Move to ...
6227 * sysdeps/generic/localplt.data: ... here.
6228 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6229 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6230 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6233 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6236 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6237 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6239 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6242 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6245 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6249 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6251 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6252 PPC32 and PPC64 files.
6253 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6254 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6256 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6258 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6259 __makecontext_ret to ...
6260 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6261 ... here and call exit if uc_link is NULL. New file.
6262 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6263 __makecontext_ret.S.
6264 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6265 __makecontext_ret to ...
6266 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6267 ... here and call exit if uc_link is NULL. New file.
6268 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6269 __makecontext_ret.S.
6271 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6273 * elf/elf.h (R_390_IRELATIVE): New definition.
6274 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6275 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6276 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6277 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6278 (elf_machine_lazy_rel): Likewise.
6279 * sysdeps/s390/dl-irel.h: New file.
6280 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6281 * sysdeps/s390/s390-64/memset.S: New asm code.
6282 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6283 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6284 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6285 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6286 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6287 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6288 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6289 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6290 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6291 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6292 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6293 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6294 * sysdeps/s390/s390-32/memset.S: New asm code.
6295 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6297 2012-07-17 Marek Polacek <polacek@redhat.com>
6300 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6301 * sysdeps/s390/s390-64/configure.in: Likewise.
6302 * sysdeps/sparc/configure.in: Likewise.
6303 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6304 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6305 * sysdeps/i386/configure.in: Likewise.
6306 * sysdeps/x86_64/configure.in: Likewise.
6307 * sysdeps/sh/configure.in: Likewise.
6308 * sysdeps/s390/s390-32/configure: Regenerated.
6309 * sysdeps/s390/s390-64/configure: Likewise.
6310 * sysdeps/x86_64/configure: Likewise.
6311 * sysdeps/sh/configure: Likewise.
6312 * sysdeps/powerpc/powerpc64/configure: Likewise.
6313 * sysdeps/powerpc/powerpc32/configure: Likewise.
6314 * sysdeps/sparc/configure: Likwise.
6315 * sysdeps/i386/configure: Likewise.
6317 * elf/dl-open.c: Comment fixes.
6319 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6321 * Makefile [CXX] (check-data): Remove.
6322 [CXX] (c++-types.data): New vpath directive.
6323 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6324 vpath. Do not allow for C++ type data being missing.
6325 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6326 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6327 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6328 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6329 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6330 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6331 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6334 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6337 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6340 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6343 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6346 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6349 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6352 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6355 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6356 definitions to architecture-specific files.
6360 * sysdeps/i386/tls-macros.h: New file.
6361 * sysdeps/powerpc/tls-macros.h: Likewise.
6362 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6363 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6364 * sysdeps/sh/tls-macros.h: Likewise.
6365 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6366 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6367 * sysdeps/x86_64/tls-macros.h: Likewise.
6369 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6371 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6372 zero value for regular exit case.
6374 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6375 (__start_context): Preserve zero value for regular exit case.
6377 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6378 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6380 * manual/setjmp.texi (setcontext): Clarify normal process
6381 termination when uc_link is the null pointer.
6382 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6385 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6387 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6388 preprocessor. Test for each exception mask separately.
6390 2012-07-16 Andreas Jaeger <aj@suse.de>
6392 * po/ru.po: Update from translation team.
6394 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6396 * conform/data/string.h-data (NULL): Use macro-constant. Require
6398 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6399 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6400 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6401 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6404 2012-07-13 Andreas Jaeger <aj@suse.de>
6406 * po/fr.po: Update from translation team.
6408 2012-07-12 Marek Polacek <polacek@redhat.com>
6411 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6412 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6415 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6419 Change to 2.4.1 where previously 2.4.0.
6420 * sysdeps/unix/sysv/linux/configure: Regenerated.
6421 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6422 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6424 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6425 (__ASSUME_AT_CLKTCK): Remove.
6426 (__ASSUME_AT_PAGESIZE): Likewise.
6427 (__ASSUME_AT_XID): Likewise.
6428 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6429 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6430 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6432 (HAVE_AUX_PAGESIZE): Likewise.
6433 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6434 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6435 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6437 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6441 the temporary buffer used to invoke __gethostbyname2_r,
6442 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6443 host_data / struct gaih_addrtuple.
6444 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6445 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6446 header file nss/nsswitch.h.
6447 * nss/nsswitch.h (global scope): Add definition of implementation
6448 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6449 resolv/nss_dns/dns-host.c).
6451 2012-07-11 Andreas Jaeger <aj@suse.de>
6453 * po/fr.po: Update from translation team.
6455 * po/sv.po: Update from translation team
6456 * po/fr.po: Another update from translation team.
6458 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6460 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6461 for subnormals or multiply small sinh result by itself.
6462 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6465 2012-07-11 David S. Miller <davem@davemloft.net>
6467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6469 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6472 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6473 (INTERNAL_MARK): Shift it here.
6475 2012-07-10 Marek Polacek <polacek@redhat.com>
6478 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6479 libc_cv_asm_global_directive with .globl.
6480 * configure: Regenerated.
6481 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6483 * sysdeps/i386/configure: Regenerated.
6484 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6486 * sysdeps/x86_64/configure: Regenerated.
6487 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6488 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6489 * elf/tst-unique2mod2.c: Likewise.
6490 * elf/tst-unique2mod1.c: Likewise.
6491 * elf/tst-unique1mod2.c: Likewise.
6492 * elf/tst-unique1mod1.c: Likewise.
6493 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6494 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6495 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6496 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6497 * sysdeps/mach/sysdep.h: Likewise.
6498 * sysdeps/i386/sysdep.h: Likewise.
6499 * sysdeps/i386/i386-mcount.S: Likewise.
6500 * sysdeps/x86_64/_mcount.S: Likewise.
6501 * sysdeps/x86_64/sysdep.h: Likewise.
6502 * sysdeps/sh/_mcount.S: Likewise.
6503 * sysdeps/sh/sysdep.h: Likewise.
6504 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6505 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6506 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6507 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6508 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6509 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6510 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6511 * locale/localeinfo.h: Likewise.
6512 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6513 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6515 2012-07-09 Roland McGrath <roland@hack.frob.com>
6518 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6520 * manual/message.texi (The Uniforum approach): Likewise.
6521 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6522 (glibc iconv Implementation): Likewise.
6524 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6527 * math/s_clog.c (__clog): Avoid scaling a value down where that
6528 could result in underflow.
6529 * math/s_clog10.c (__clog10): Likewise.
6530 * math/s_clog10f.c (__clog10f): Likewise.
6531 * math/s_clog10l.c (__clog10l): Likewise.
6532 * math/s_clogf.c (__clogf): Likewise.
6533 * math/s_clogl.c (__clogl): Likewise.
6534 * math/libm-test.inc (clog_test): Add more tests.
6535 (clog10_test): Likewise.
6536 * sysdeps/i386/fpu/libm-test-ulps: Update.
6537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6539 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6542 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6543 by 7 not 8 to examine high bit of fractional part.
6546 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6547 for call to __mcount_internal.
6548 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6549 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6550 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6552 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6555 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6556 approximation for values within 0x1p-13f of an odd multiple of
6558 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6559 exception. Add more tests.
6560 * sysdeps/i386/fpu/libm-test-ulps: Update.
6563 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6564 inputs and return -1 for them. Do not check for +Inf in case not
6566 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6567 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6569 and return -1 for them. Do not check for +Inf in case not
6571 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6573 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6574 and return -1 for them. Do not check for +Inf in case not
6576 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6578 * sysdeps/i386/fpu/libm-test-ulps: Update.
6579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6581 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6583 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6585 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6589 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6590 could result in spurious underflow. Scale down values above
6591 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6592 * math/s_csqrtf.c (__csqrtf): Likewise.
6593 * math/s_csqrtl.c (__csqrtl): Likewise.
6594 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6596 * sysdeps/i386/fpu/libm-test-ulps: Update.
6597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6599 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6601 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6603 * catgets/xopen-msg.awk: New file.
6604 * catgets/xopen-msg.sed: Removed.
6606 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6608 * intl/po2test.awk: New file.
6609 * intl/po2test.sed: Removed.
6611 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6614 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6615 or multiply small sinh result by itself.
6616 * math/s_ctanf.c (__ctanf): Likewise.
6617 * math/s_ctanh.c (__ctanh): Likewise.
6618 * math/s_ctanhf.c (__ctanhf): Likewise.
6619 * math/s_ctanhl.c (__ctanhl): Likewise.
6620 * math/s_ctanl.c (__ctanl): Likewise.
6621 * math/libm-test.inc (ctan_test_tonearest): New function.
6622 (ctan_test_towardzero): Likewise.
6623 (ctan_test_downward): Likewise.
6624 (ctan_test_upward): Likewise.
6625 (ctanh_test_tonearest): Likewise.
6626 (ctanh_test_towardzero): Likewise.
6627 (ctanh_test_downward): Likewise.
6628 (ctanh_test_upward): Likewise.
6629 (main): Call these new functions.
6630 * sysdeps/i386/fpu/libm-test-ulps: Update.
6631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6633 2012-07-03 Mike Frysinger <vapier@gentoo.org>
6635 * .gitignore: Delete /ports entry.
6637 2012-07-03 Andreas Jaeger <aj@suse.de>
6639 * po/bg.po: Update from translation team.
6640 * po/cs.po: Likewise.
6641 * po/de.po: Likewise.
6642 * po/hr.po: Likewise.
6643 * po/nl.pl: Likewise.
6644 * po/pl.po: Likewise.
6645 * po/vi.po: Likewise.
6647 2012-07-03 Joseph Myers <joseph@codesourcery.com>
6649 * Makeconfig [!+link] (+link-before-libc): New variable.
6650 [!+link] (+link-after-libc): Likewise.
6651 [!+link] (+link-tests): Likewise.
6652 [!+link] (+link): Define in terms of $(+link-before-libc) and
6653 $(+link-after-libc).
6654 [!+link-static] (+link-static-before-libc): New variable.
6655 [!+link-static] (+link-static-after-libc): Likewise.
6656 [!+link-static] (+link-static-tests): Likewise.
6657 [!+link-static] (+link-static): Define in terms of
6658 $(+link-static-before-libc) and $(+link-static-after-libc).
6659 [build-shared] (link-libc-before-gnulib): New variable.
6660 [build-shared] (link-libc-tests): Likewise.
6661 [build-shared] (link-libc): Define in terms of
6662 $(link-libc-before-gnulib).
6663 [!build-shared] (link-libc-tests): New variable.
6664 (link-libc-static-tests): New variable.
6665 [!gnulib] (gnulib-arch): New variable.
6666 [!gnulib] (gnulib-tests): Likewise.
6667 [!gnulib] (static-gnulib-arch): Likewise.
6668 [!gnulib] (static-gnulib-tests): Likewise.
6669 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
6670 Define with "=" instead of ":=".
6671 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
6672 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
6673 * Rules (binaries-all-notests): New variable.
6674 (binaries-all-tests): Likewise.
6675 (binaries-static-notests): Likewise.
6676 (binaries-static-tests): Likewise.
6677 (binaries-all): Define using $(binaries-all-notests) and
6678 $(binaries-all-tests).
6679 (binaries-static): Define using $(binaries-static-notests) and
6680 $(binaries-static-tests).
6681 (binaries-shared-tests): New variable.
6682 (binaries-shared-notests): Likewise.
6683 (binaries-shared): Remove variable.
6684 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
6685 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
6686 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
6687 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
6688 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
6689 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
6690 * elf/Makefile (sln-modules): New variable.
6691 (extra-objs): Add $(sln-modules:=.o).
6692 (ldconfig-modules): Add static-stubs.
6693 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
6694 * elf/static-stubs.c: New file.
6697 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
6698 by 7 not 8 to examine high bit of fractional part. Use volatile
6699 variables when splitting into final array of floats if
6700 __FLT_EVAL_METHOD__ != 0.
6701 * math/libm-test.inc (cos_test): Add another test.
6702 (sin_test): Likewise.
6703 * sysdeps/i386/fpu/libm-test-ulps: Update.
6706 * math/libm-test.inc (cosh_test): Add more tests.
6708 * version.h (RELEASE): Set to "development".
6709 (VERSION): Set to "2.16.90".
6711 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
6713 * NEWS: Update copyright. Remove last-updated date.
6714 Mention math library bug fixes and timezone data changes.
6715 * README: Mention GNU/Hurd, x32, and HPPA support status.
6717 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
6719 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
6721 2012-06-27 Andreas Jaeger <aj@suse.de>
6723 * manual/contrib.texi (Contributors): Add Samuel Thibault.
6725 2012-06-25 Andreas Jaeger <aj@suse.de>
6727 * sysdeps/s390/fpu/libm-test-ulps: Update.
6729 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
6730 Thomas Schwinge <thomas@codesourcery.com>
6732 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
6733 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
6734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
6737 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
6739 * sysdeps/mach/start.c: Remove file.
6740 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
6741 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
6742 * sysdeps/sh/init-first.c: Likewise.
6744 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
6745 registers for frame unwinding purposes, add CFI directives.
6746 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6747 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
6748 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
6751 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
6752 __fortify_fail returning.
6753 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
6755 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
6756 sysdeps/sh/____longjmp_chk.S.
6757 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
6758 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
6759 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
6760 (gen-as-const-headers): Append sigaltstack-offsets.sym.
6762 * sysdeps/sh/abort-instr.h: New file.
6763 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
6764 process in case exit returns.
6766 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
6767 initialize the GOT register before use.
6769 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
6770 calculation of ARGC > 4.
6772 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
6773 meaningful names to some local labels.
6775 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6776 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6778 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
6779 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
6780 (__arch_compare_and_exchange_val_16_acq): Likewise.
6781 (__arch_compare_and_exchange_val_32_acq): Likewise.
6782 (atomic_exchange_and_add): Fix gUSA sequence.
6783 (atomic_add): Likewise.
6784 (atomic_add_negative): Likewise.
6785 (atomic_add_zero): Likewise.
6786 (atomic_bit_test_set): Likewise.
6788 2012-06-22 Andreas Schwab <schwab@redhat.com>
6791 * include/link.h (struct link_map): Add l_free_initfini.
6792 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
6794 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
6795 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
6796 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
6799 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
6801 * configure.in: Use AC_LANG_SOURCE.
6802 * configure: Regenerate.
6804 2012-06-22 Roland McGrath <roland@hack.frob.com>
6806 * configure.in (libc_cv_localstatedir): New substituted variable.
6807 * configure: Regenerated.
6808 * config.make.in (localstatedir): New variable, substituted from
6809 libc_cv_localstatedir.
6810 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
6811 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
6812 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
6813 * sysdeps/gnu/configure: Regenerated.
6815 2012-06-21 Jeff Law <law@redhat.com>
6818 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
6819 free. Simplify list management for _LIBC case.
6821 2012-06-21 Joseph Myers <joseph@codesourcery.com>
6824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
6825 Clear sign bit of 64-bit integer value before comparing against
6828 * sysdeps/mach/configure: Regenerated.
6830 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
6833 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
6835 2012-06-21 Jeff Law <law@redhat.com>
6838 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
6839 uint16_t for elements in the "seen" array to avoid char overflows.
6840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6841 * elf/dl-open.c (dl_open_worker): Likewise.
6843 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
6845 * scripts/list-sources.sh: Scan PORTS for translations.
6846 * po/libc.pot: Regenerated.
6848 2012-06-21 Andreas Jaeger <aj@suse.de>
6851 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
6853 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
6854 * bits/byteswap-16.h (__bswap_16): Likewise.
6855 * bits/byteswap.h (__bswap_constant_16): Likewise.
6857 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
6860 * sysdeps/i386/fpu_control.h: Removed.
6861 * sysdeps/x86_64/fpu_control.h: Moved to ...
6862 * sysdeps/x86/fpu_control.h: Here.
6864 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
6865 (_FPU_SETCW): Likewise.
6867 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
6870 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
6871 * sysdeps/x86/fpu/bits/mathinline.h: This.
6872 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
6876 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
6877 functions if __x86_64__ is defined.
6879 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
6881 * string/endian.h: Add !__ASSEMBLER__ condition for including
6882 conversion interfaces.
6884 2012-06-15 Joseph Myers <joseph@codesourcery.com>
6887 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
6888 of ABS(x) in calculating zero to negative powers other than odd
6890 * math/libm-test.inc (pow_test): Add more tests.
6892 2012-06-15 Andreas Jaeger <aj@suse.de>
6894 * manual/contrib.texi (Contributors): Update entry of Liubov
6895 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
6898 2012-06-15 Cyril Hrubis <metan@ucw.cz>
6900 * string/string.h: Add __wur to GNU version of strerror_r.
6902 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
6905 * string/Makefile (tests): Add tst-strtok_r.
6906 * string/tst-strtok_r.c: New file.
6907 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
6908 RAX_LP/RDX_LP on SAVE_PTR.
6910 2012-06-14 Roland McGrath <roland@hack.frob.com>
6912 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
6914 2012-06-14 Joseph Myers <joseph@codesourcery.com>
6916 * libm_test.inc (csqrt_test): Allow more spurious underflow
6918 (j0_test): Likewise.
6919 (j1_test): Likewise.
6920 (y0_test): Likewise.
6921 (y1_test): Likewise.
6923 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
6925 * po/Makefile (libc.pot): Use UTF-8 charset.
6927 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6930 Suppress sign-conversion warning from FD_SET.
6931 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
6932 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
6933 not unsigned long int.
6934 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
6936 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
6940 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
6941 __extern_always_inline instead of __extern_inline.
6942 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
6943 (__signbit): Likewise.
6944 (__signbitl): Support C++ namespace.
6945 (lrintf): New inline function.
6947 (llrintf): Likewise.
6959 (nearbyint): Likewise.
6960 (nearbyintf): Likewise.
6962 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
6964 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
6965 non-default versions.
6967 2012-06-11 Roland McGrath <roland@hack.frob.com>
6970 * manual/argp.texi (Argp): Reword argp_parse description slightly.
6972 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
6974 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
6975 (FE_UPWARD, FE_DOWNWARD): Don't define.
6976 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
6977 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6979 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
6981 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
6982 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6984 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6987 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
6988 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
6989 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
6991 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
6994 * sysdeps/i386/fpu/bits/fenv.h: Removed.
6995 * sysdeps/i386/fpu/Implies: New file.
6996 * sysdeps/x86_64/fpu/Implies: Likewise.
6997 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
6998 * sysdeps/x86/fpu/bits/fenv.h: This.
7000 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7003 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7006 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7007 character 0xffff that matches the last element of the
7010 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7015 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7017 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7018 values higher than 25.6283.
7020 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7023 subnormal exponent extraction and add some __builtin_expect.
7024 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7025 Fix for subnormal mantissa calculation.
7027 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7029 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7030 cpu2 is -1 and errno is not ENOSYS.
7032 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7035 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7036 * sysdeps/x86/bits/string.h: This.
7037 * sysdeps/x86_64/bits/string.h: Removed.
7039 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7040 if not compiling for x86-64, but compiling for >= i486.
7042 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7043 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7045 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7046 New macro from Linux kernel 3.4.0.
7047 (FP_XSTATE_MAGIC2): Likewise.
7048 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7049 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7050 (struct _fpx_sw_bytes): New struct.
7051 (struct _xsave_hdr): Likewise.
7052 (struct _ymmh_state): Likewise.
7053 (struct _xstate): Likewise.
7055 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7056 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7057 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7058 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7059 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7060 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7062 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7063 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7064 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7065 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7066 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7067 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7069 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7072 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7073 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7074 (sysdep_headers): Include sys/platform/ppc.h.
7075 * sysdeps/powerpc/test-gettimebase.c: Test for
7076 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7077 * manual/Makefile (appendices): Include platform.texi.
7078 * manual/contrib.texi (Contributors): Update @node pointers.
7079 * manual/maint.texi (Maintenance): Likewise.
7080 (Platform): New node.
7081 * manual/platform.texi: New file. Document the new features.
7083 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7084 Jakub Jelinek <jakub@redhat.com>
7087 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7088 where __builtin_expect is unavailable.
7090 2012-06-03 David S. Miller <davem@davemloft.net>
7092 * stdlib/longlong.h: Updated from GCC.
7094 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7097 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7098 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7101 (GLIBC_2.16): Likewise.
7103 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7105 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7107 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7110 (default-abi): New variable.
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7114 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7116 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7121 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7122 definition. Document in comment.
7124 2012-06-01 David S. Miller <davem@davemloft.net>
7126 * stdlib/longlong.h: Updated from GCC.
7128 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7131 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7132 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7133 sys/debugreg.h sys/io.h here.
7134 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7135 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7137 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7138 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7139 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7140 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7141 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7142 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7144 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7145 Define only if __x86_64__ is defined.
7147 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7150 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7151 Use int64_t for variable i.
7152 * math/libm-test.inc (fmod_test): Add more tests.
7154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7155 z computation is not scheduled after fetestexcept.
7156 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7157 Use math_force_eval instead of asm to ensure calculation scheduled
7158 before exception test.
7159 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7160 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7162 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7164 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7165 computation is not scheduled after fetestexcept.
7167 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7170 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7171 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7173 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7175 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7176 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7178 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7181 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7183 (__WCHAR_MIN): Support __WORDSIZE == 64.
7184 (__WCHAR_MAX): Likewise.
7186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7187 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7191 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7194 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7195 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7197 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7198 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7200 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7201 Defined to 1 if __x86_64__ isn't defined.
7202 (_STAT_VER_LINUX_OLD): New.
7203 (st_atime): Remove duplicate.
7204 (st_mtime): Likewise.
7205 (st_ctime): Likewise.
7207 2012-05-31 David S. Miller <davem@davemloft.net>
7209 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7212 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7214 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7218 * elf/dl-reloc.c: Include <_itoa.h>.
7219 (_dl_reloc_bad_type): Remove use of INTUSE.
7220 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7221 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7222 * stdio-common/psiginfo.c (psiginfo): Likewise.
7223 * stdio-common/psignal.c (psignal): Likewise.
7224 * string/strsignal.c (strsignal): Likewise.
7225 * include/signal.h (_sys_siglist): Declare hidden proto.
7226 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7227 INTVARDEF with libc_hidden_data_def.
7228 * stdio-common/itoa-udigits.c: Likewise.
7229 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7230 (_itoa_lower_digits_internal): Remove declaration.
7231 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7232 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7233 (_sys_sigabbrev_internal): Remove aliases.
7234 (_sys_siglist): Define hidden alias.
7236 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7241 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7244 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7245 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7247 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7248 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7249 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7250 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7251 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7252 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7254 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7255 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7256 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7268 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7270 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7271 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7272 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7273 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7274 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7275 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7277 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7278 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7280 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7281 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7285 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7287 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7288 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7290 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7292 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7293 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7294 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7296 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7298 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7300 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7302 * math/math.h (M_El): Use two more decimal places.
7303 (M_LOG2El): Likewise.
7304 (M_LOG10El): Likewise.
7306 (M_LN10l): Likewise.
7308 (M_PI_2l): Likewise.
7309 (M_PI_4l): Likewise.
7310 (M_1_PIl): Likewise.
7311 (M_2_PIl): Likewise.
7312 (M_2_SQRTPIl): Likewise.
7313 (M_SQRT2l): Likewise.
7314 (M_SQRT1_2l): Likewise.
7316 2012-05-31 David S. Miller <davem@davemloft.net>
7318 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7319 values between float registers.
7320 * sysdeps/sparc/sparc64/memset.S: Likewise.
7321 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7323 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7325 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7326 -D_FORTIFY_SOURCE=1.
7327 (CPPFLAGS-tst-longjmp_chk.c): Define.
7328 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7329 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7330 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7331 CFLAGS-tst-wchar-h.c.
7333 2012-05-31 Marek Polacek <polacek@redhat.com>
7336 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7337 __endmntent_internal): Remove declaration.
7338 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7339 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7340 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7342 2012-05-30 David S. Miller <davem@davemloft.net>
7344 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7345 (___Q_simulate_exceptions): Use real FP ops rather than writing
7347 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7350 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7353 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7354 * sysdeps/x86/bits/xtitypes.h: This.
7356 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7357 * sysdeps/x86/bits/wordsize.h: This.
7359 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7360 * sysdeps/x86/bits/huge_vall.h: This.
7362 * sysdeps/i386/bits/select.h: Removed.
7363 * sysdeps/x86_64/bits/select.h: Renamed to ...
7364 * sysdeps/x86/bits/select.h: This.
7366 * sysdeps/i386/bits/setjmp.h: Removed.
7367 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7368 * sysdeps/x86/bits/setjmp.h: This.
7370 * sysdeps/i386/bits/mathdef.h: Removed.
7371 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7372 * sysdeps/x86/bits/mathdef.h: This.
7374 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7377 * include/sys/socket.h (__connect_internal)
7378 (__libc_sa_len_internal): Remove declaration.
7379 (__connect, __libc_sa_len): Declare hidden_proto.
7380 (SA_LEN): Remove use of INTUSE.
7381 * socket/connect.c: Add libc_hidden_def.
7382 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7383 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7384 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7386 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7387 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7388 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7389 of adding _internal alias.
7391 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7394 * sysdeps/i386/bits/link.h: Removed.
7395 * sysdeps/i386/bits/linkmap.h: Likewise.
7396 * sysdeps/x86_64/bits/link.h: Renamed to ...
7397 * sysdeps/x86/bits/link.h: This.
7398 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7399 * sysdeps/x86/bits/linkmap.h: This.
7401 * sysdeps/i386/bits/endian.h: Removed.
7402 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7403 * sysdeps/x86/bits/endian.h: This.
7405 * sysdeps/i386/bits/byteswap.h: Removed.
7406 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7407 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7408 * sysdeps/x86/bits/byteswap.h: This.
7409 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7410 * sysdeps/x86/bits/byteswap-16.h: This.
7411 * sysdeps/i386/Implies: Add x86.
7412 * sysdeps/x86_64/Implies: Likewise.
7414 2012-05-30 David S. Miller <davem@davemloft.net>
7416 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7417 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7419 (FP_TRAPPING_EXCEPTIONS): Define.
7420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7421 (FP_TRAPPING_EXCEPTIONS): Define.
7422 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7423 subnormals only when inexact has been signalled or underflow
7424 exceptions are enabled.
7425 (_FP_PACK_CANONICAL): Likewise.
7427 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7431 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7433 2012-05-30 Richard Henderson <rth@twiddle.net>
7435 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7436 with #ifndef NOT_IN_libc.
7438 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7439 marked to avoid plt entry.
7441 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7444 * Makeconfig (default-abi): New macro.
7445 (abi-includes): Likewise.
7446 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7447 $(abi-$(default-abi)-lib-soname) for soname if defined.
7448 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7450 * Makefile (installed-stubs): Likewise.
7451 * include/stubs-biarch.h: Removed.
7452 * scripts/lib-names.awk: Only handle one library at a time.
7453 * scripts/soversions.awk: Remove WORDSIZE support.
7454 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7456 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7458 (syscall-list-default-condition): Likewise.
7459 (syscall-list-default-condition): Likewise.
7460 (syscall-list-includes): Likewise.
7461 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7462 syscall-list-* with abi-*. Handle undefined abi-variants.
7463 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7464 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7465 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7466 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7467 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7468 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7470 (syscall-list-32-options): Likewise.
7471 (syscall-list-32-condition): Likewise.
7472 (syscall-list-64-options): Likewise.
7473 (syscall-list-64-condition): Likewise.
7474 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7476 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7479 (abi-64-ld-soname): New macro.
7480 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7481 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7484 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7485 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7487 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7489 * sysdeps/unix/sysv/linux/kernel-features.h
7490 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7491 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7492 include <kernel-features.h>.
7493 [!__NR_ftruncate64]: Remove conditional code.
7494 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7495 [__NR_ftruncate64]: Make code unconditional.
7496 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7497 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7498 include <kernel-features.h>.
7499 [!__NR_ftruncate64]: Remove conditional code.
7500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7501 [__NR_ftruncate64]: Make code unconditional.
7502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7504 include <kernel-features.h>.
7505 [!__NR_ftruncate64]: Remove conditional code.
7506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7507 [__NR_ftruncate64]: Make code unconditional.
7508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7510 include <kernel-features.h>.
7511 [!__NR_ftruncate64]: Remove conditional code.
7512 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7513 [__NR_ftruncate64]: Make code unconditional.
7514 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7516 * configure.in (libc_cv_fpie): Weaken to a compile test using
7518 * configure: Regenerated.
7520 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7535 2012-05-27 David S. Miller <davem@davemloft.net>
7537 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7539 (__Q_simulate_exceptions): Return void. Change to simulate
7540 exceptions by writing into the %fsr.
7541 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7542 (__Qp_handle_exceptions): Likewise.
7544 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7545 __Qp_handle_exceptions.
7546 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7547 __Qp_handle_exceptions.
7548 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7549 as unused and give dummy FP_RND_NEAREST initializer.
7550 (FP_INHIBIT_RESULTS): Define.
7551 (___Q_simulate_exceptions): Update declaration.
7552 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7554 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7555 as unused and give dummy FP_RND_NEAREST initializer.
7556 (__Qp_handle_exceptions): Update declaration.
7557 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7560 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7562 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7563 the temporary FPU control word.
7564 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7565 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7566 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7567 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7568 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7569 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7570 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7571 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7572 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7573 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7574 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7576 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7578 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7581 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7583 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7584 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7585 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7586 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7588 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7589 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7592 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7594 * po/h.po: Update from translation team.
7596 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7598 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7600 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7601 handling of denormals.
7602 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7603 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7607 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7611 2012-05-26 Marek Polacek <polacek@redhat.com>
7614 * math/libm-test.inc (fma_test): Don't always expect underflow
7617 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7620 * elf/tst-execstack.c: Include stackinfo.h.
7621 (do_test): Adjust test case to ensure that pthread_getattr_np
7622 behaviour remains the same after marking stack executable.
7624 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7626 * sysdeps/unix/sysv/linux/kernel-features.h
7627 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
7628 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
7630 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7631 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7632 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
7634 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
7635 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
7637 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
7639 * configure.in: Define the default includes to being none.
7640 * configure: Regenerated.
7642 2012-05-25 Roland McGrath <roland@hack.frob.com>
7644 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
7645 * sysdeps/x86_64/setjmp.S: Likewise.
7646 * sysdeps/i386/bsd-setjmp.S: Likewise.
7647 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7648 * sysdeps/i386/setjmp.S: Likewise.
7649 * sysdeps/i386/__longjmp.S: Likewise.
7650 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
7651 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
7653 * include/stap-probe.h: New file.
7654 * configure.in: Handle --enable-systemtap.
7655 * configure: Regenerated.
7656 * config.h.in (USE_STAP_PROBE): New #undef.
7657 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
7658 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
7659 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7661 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7665 to 2.4.0 where earlier.
7666 * sysdeps/unix/sysv/linux/configure: Regenerated.
7667 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7668 <kernel-features.h>.
7669 [__ASSUME_32BITUIDS]: Make code unconditional.
7670 [!__ASSUME_32BITUIDS]: Remove conditional code.
7671 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
7672 <kernel-features.h>.
7673 [__ASSUME_32BITUIDS]: Make code unconditional.
7674 [!__ASSUME_32BITUIDS]: Remove conditional code.
7675 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
7676 [__ASSUME_32BITUIDS]: Make code unconditional.
7677 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
7678 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
7679 <kernel-features.h>.
7680 [__ASSUME_32BITUIDS]: Make code unconditional.
7681 [!__ASSUME_32BITUIDS]: Remove conditional code.
7682 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
7683 <kernel-features.h>.
7684 [__ASSUME_32BITUIDS]: Make code unconditional.
7685 [!__ASSUME_32BITUIDS]: Remove conditional code.
7686 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
7687 <kernel-features.h>.
7688 [__ASSUME_32BITUIDS]: Make code unconditional.
7689 [!__ASSUME_32BITUIDS]: Remove conditional code.
7690 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
7691 <kernel-features.h>.
7692 [__ASSUME_32BITUIDS]: Make code unconditional.
7693 [!__ASSUME_32BITUIDS]: Remove conditional code.
7694 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7695 <kernel-features.h>.
7696 [__ASSUME_32BITUIDS]: Make code unconditional.
7697 [!__ASSUME_32BITUIDS]: Remove conditional code.
7698 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7699 <kernel-features.h>.
7700 [__ASSUME_32BITUIDS]: Make code unconditional.
7701 [!__ASSUME_32BITUIDS]: Remove conditional code.
7702 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
7703 <kernel-features.h>.
7704 [__ASSUME_32BITUIDS]: Make code unconditional.
7705 [!__ASSUME_32BITUIDS]: Remove conditional code.
7706 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7707 <kernel-features.h>.
7708 [__ASSUME_32BITUIDS]: Make code unconditional.
7709 [!__ASSUME_32BITUIDS]: Remove conditional code.
7710 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7711 <kernel-features.h>.
7712 [__ASSUME_32BITUIDS]: Make code unconditional.
7713 [!__ASSUME_32BITUIDS]: Remove conditional code.
7714 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
7715 <kernel-features.h>.
7716 [__ASSUME_32BITUIDS]: Make code unconditional.
7717 [!__ASSUME_32BITUIDS]: Remove conditional code.
7718 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
7719 <kernel-features.h>.
7720 [__NR_setresgid] (__setresgid): Do not declare.
7721 [__ASSUME_32BITUIDS]: Make code unconditional.
7722 [!__ASSUME_32BITUIDS]: Remove conditional code.
7723 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
7724 <kernel-features.h>.
7725 [__NR_setresuid] (__setresuid): Do not declare.
7726 [__ASSUME_32BITUIDS]: Make code unconditional.
7727 [!__ASSUME_32BITUIDS]: Remove conditional code.
7728 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
7729 <kernel-features.h>.
7730 [__ASSUME_32BITUIDS]: Make code unconditional.
7731 [!__ASSUME_32BITUIDS]: Remove conditional code.
7732 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
7733 <kernel-features.h>.
7734 [__ASSUME_32BITUIDS]: Make code unconditional.
7735 [!__ASSUME_32BITUIDS]: Remove conditional code.
7736 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
7737 <kernel-features.h>.
7738 [__ASSUME_32BITUIDS]: Make code unconditional.
7739 [!__ASSUME_32BITUIDS]: Remove conditional code.
7740 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
7741 <kernel-features.h>.
7742 [__ASSUME_32BITUIDS]: Make code unconditional.
7743 [!__ASSUME_32BITUIDS]: Remove conditional code.
7744 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
7745 <kernel-features.h>.
7746 [__ASSUME_32BITUIDS]: Make code unconditional.
7747 [!__ASSUME_32BITUIDS]: Remove conditional code.
7748 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
7749 <kernel-features.h>.
7750 [__ASSUME_32BITUIDS]: Make code unconditional.
7751 [!__ASSUME_32BITUIDS]: Remove conditional code.
7752 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
7753 <kernel-features.h>.
7754 [__ASSUME_32BITUIDS]: Make code unconditional.
7755 [!__ASSUME_32BITUIDS]: Remove conditional code.
7756 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
7757 <kernel-features.h>.
7758 [__ASSUME_32BITUIDS]: Make code unconditional.
7759 [!__ASSUME_32BITUIDS]: Remove conditional code.
7760 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
7761 <kernel-features.h>.
7762 [__ASSUME_32BITUIDS]: Make code unconditional.
7763 [!__ASSUME_32BITUIDS]: Remove conditional code.
7764 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7765 <kernel-features.h>.
7766 [__ASSUME_32BITUIDS]: Make code unconditional.
7767 [!__ASSUME_32BITUIDS]: Remove conditional code.
7768 * sysdeps/unix/sysv/linux/kernel-features.h
7769 (__ASSUME_SETRESUID_SYSCALL): Remove.
7770 (__ASSUME_SETRESGID_SYSCALL): Likewise.
7771 (__ASSUME_32BITUIDS): Likewise.
7772 (__ASSUME_LDT_WORKS): Likewise.
7773 (__ASSUME_O_DIRECTORY): Likewise.
7774 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
7775 architecture but not kernel version.
7776 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7777 (__ASSUME_MMAP2_SYSCALL): Likewise.
7778 (__ASSUME_STAT64_SYSCALL): Likewise.
7779 (__ASSUME_IPC64): Likewise.
7780 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
7781 <kernel-features.h>.
7782 [__ASSUME_32BITUIDS]: Make code unconditional.
7783 [!__ASSUME_32BITUIDS]: Remove conditional code.
7784 * sysdeps/unix/sysv/linux/opendir.c: Do not include
7785 <kernel-features.h>.
7786 [__ASSUME_O_DIRECTORY]: Make code unconditional.
7787 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
7788 132096]: Remove conditional code.
7789 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
7790 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7791 <kernel-features.h>.
7792 [__ASSUME_32BITUIDS]: Make code unconditional.
7793 [!__ASSUME_32BITUIDS]: Remove conditional code.
7794 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7795 <kernel-features.h>.
7796 [__ASSUME_32BITUIDS]: Make code unconditional.
7797 [!__ASSUME_32BITUIDS]: Remove conditional code.
7798 * sysdeps/unix/sysv/linux/setegid.c: Do not include
7799 <kernel-features.h>.
7800 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
7802 (__setresgid): Do not declare.
7803 [__ASSUME_32BITUIDS]: Make code unconditional.
7804 [!__ASSUME_32BITUIDS]: Remove conditional code.
7805 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
7806 <kernel-features.h>.
7807 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
7809 (__setresuid): Do not declare.
7810 [__ASSUME_32BITUIDS]: Make code unconditional.
7811 [!__ASSUME_32BITUIDS]: Remove conditional code.
7812 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7813 <kernel-features.h>.
7814 [__ASSUME_32BITUIDS]: Make code unconditional.
7815 [!__ASSUME_32BITUIDS]: Remove conditional code.
7816 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
7817 <kernel-features.h>.
7818 [__ASSUME_32BITUIDS]: Make code unconditional.
7819 [!__ASSUME_32BITUIDS]: Remove conditional code.
7821 2012-05-25 Richard Henderson <rth@twiddle.net>
7823 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
7824 dl_hwcap to ifunc resolver.
7825 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
7827 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
7828 dl_hwcap to ifunc resolver.
7829 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
7831 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7834 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
7835 for |x| <= 2**-26, not 2**-57.
7836 * math/libm-test.inc (acos_test): Do not allow spurious underflow
7839 2012-05-24 Jeff Law <law@redhat.com>
7841 * stdio-common/Makefile (tests): Add bug25.
7842 * stdio-common/bug25.c: New test.
7844 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
7847 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
7848 multiple of MALLOC_ALIGNMENT in size.
7849 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
7851 2012-05-24 Joseph Myers <joseph@codesourcery.com>
7853 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
7855 (FILENAME_MAX): Use macro-int-constant.
7856 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
7857 (_IOFBF): Use macro-int-constant.
7860 (SEEK_CUR): Likewise.
7861 (SEEK_END): Likewise.
7862 (SEEK_SET): Likewise.
7863 (TMP_MAX): Likewise.
7864 (EOF): Use macro-int-constant. Require < 0.
7865 (NULL): Use macro-constant. Require == 0.
7866 (stdin): Require type to be FILE *.
7869 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
7871 (EXIT_SUCCESS): Likewise.
7872 (NULL): Use macro-constant. Require == 0.
7873 (RAND_MAX): Use macro-int-constant.
7874 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
7875 [C99-based standards] (strtof): Require function.
7876 [C99-based standards] (strtold): Likewise.
7877 [C99-based standards] (strtoll): Likewise.
7878 [C99-based standards] (strtoull): Likewise.
7879 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7880 [ISO || ISO99 || ISO11] (limits.h): Likewise.
7881 [ISO || ISO99 || ISO11] (math.h): Likewise.
7882 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
7883 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7884 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7886 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
7889 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
7890 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
7891 * intl/dgettext.c (DCGETTEXT): Likewise.
7892 * intl/gettext.c (DCGETTEXT): Likewise.
7893 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
7894 * posix/regex_internal.h (gettext): Likewise.
7895 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
7897 * include/argz.h (__argz_count_internal)
7898 (__argz_stringify_internal): Remove declaration.
7899 (__argz_count, __argz_stringify): Declare hidden proto.
7900 * intl/dcgettext.c: Remove use of INTDEF.
7901 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
7902 * string/argz-stringify.c: Likewise.
7903 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7904 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7905 Declare hidden proto.
7906 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
7907 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
7908 Declare hidden proto.
7909 * include/stdio.h (__asprintf_internal): Don't declare.
7910 (__asprintf): Don't define as macro. Declare hidden proto.
7911 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
7912 (__fsetlocking): Declare hidden proto.
7913 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
7914 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
7916 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
7917 (_IO_setlinebuf): Remove use of INTUSE.
7918 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
7919 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
7920 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
7922 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
7923 (_IO_do_flush): Remove use of INTUSE.
7924 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
7925 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
7926 (_IO_adjust_column, _IO_least_wmarker)
7927 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
7928 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
7929 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
7930 (_IO_default_doallocate, _IO_wdefault_doallocate)
7931 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
7932 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
7933 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
7934 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
7935 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
7936 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
7937 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
7938 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
7939 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
7940 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
7941 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
7942 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
7943 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
7945 (_IO_flush_all_internal, _IO_adjust_column_internal)
7946 (_IO_default_uflow_internal, _IO_default_finish_internal)
7947 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
7948 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
7949 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
7950 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
7951 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
7952 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
7953 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
7954 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
7955 (_IO_file_close_internal, _IO_file_close_it_internal)
7956 (_IO_file_underflow_internal, _IO_file_overflow_internal)
7957 (_IO_file_init_internal, _IO_file_attach_internal)
7958 (_IO_file_fopen_internal, _IO_file_read_internal)
7959 (_IO_file_sync_internal, _IO_file_seek_internal)
7960 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
7961 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
7962 (_IO_str_underflow_internal, _IO_str_overflow_internal)
7963 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
7964 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
7965 (_IO_list_all_internal, _IO_link_in_internal)
7966 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
7967 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
7968 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
7969 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
7970 (_IO_do_write_internal, _IO_padn_internal)
7971 (_IO_getline_info_internal, _IO_getline_internal)
7972 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
7973 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
7974 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
7975 (_IO_vfscanf_internal, _IO_vfprintf_internal)
7976 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
7977 (_IO_init_internal, _IO_un_link_internal): Don't declare.
7978 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
7979 with libc_hidden_ver, remove use of INTUSE.
7980 * libio/genops.c: Likewise.
7981 * libio/freopen.c: Likewise.
7982 * libio/freopen64.c: Likewise.
7983 * libio/iofclose.c: Likewise.
7984 * libio/iofdopen.c: Likewise.
7985 * libio/iofflush.c: Likewise.
7986 * libio/iofflush_u.c: Likewise.
7987 * libio/iofgets.c: Likewise.
7988 * libio/iofgets_u.c: Likewise.
7989 * libio/iofopen.c: Likewise.
7990 * libio/iofopncook.c: Likewise.
7991 * libio/iofread.c: Likewise.
7992 * libio/iofread_u.c: Likewise.
7993 * libio/ioftell.c: Likewise.
7994 * libio/iofwrite.c: Likewise.
7995 * libio/iogetline.c: Likewise.
7996 * libio/iogets.c: Likewise.
7997 * libio/iogetwline.c: Likewise.
7998 * libio/iopadn.c: Likewise.
7999 * libio/iopopen.c: Likewise.
8000 * libio/ioseekoff.c: Likewise.
8001 * libio/ioseekpos.c: Likewise.
8002 * libio/iosetbuffer.c: Likewise.
8003 * libio/iosetvbuf.c: Likewise.
8004 * libio/ioungetc.c: Likewise.
8005 * libio/ioungetwc.c: Likewise.
8006 * libio/iovdprintf.c: Likewise.
8007 * libio/iovsprintf.c: Likewise.
8008 * libio/iovsscanf.c: Likewise.
8009 * libio/memstream.c: Likewise.
8010 * libio/obprintf.c: Likewise.
8011 * libio/oldfileops.c: Likewise.
8012 * libio/oldiofclose.c: Likewise.
8013 * libio/oldiofdopen.c: Likewise.
8014 * libio/oldiofopen.c: Likewise.
8015 * libio/oldiopopen.c: Likewise.
8016 * libio/oldstdfiles.c: Likewise.
8017 * libio/putc.c: Likewise.
8018 * libio/setbuf.c: Likewise.
8019 * libio/setlinebuf.c: Likewise.
8020 * libio/stdfiles.c: Likewise.
8021 * libio/strops.c: Likewise.
8022 * libio/vasprintf.c: Likewise.
8023 * libio/vscanf.c: Likewise.
8024 * libio/vsnprintf.c: Likewise.
8025 * libio/vswprintf.c: Likewise.
8026 * libio/wfiledoalloc.c: Likewise.
8027 * libio/wfileops.c: Likewise.
8028 * libio/wgenops.c: Likewise.
8029 * libio/wmemstream.c: Likewise.
8030 * libio/wstrops.c: Likewise.
8031 * libio/__fpurge.c: Likewise.
8032 * libio/__fsetlocking.c: Likewise.
8033 * assert/assert.c: Likewise.
8034 * debug/fgets_chk.c: Likewise.
8035 * debug/fgets_u_chk.c: Likewise.
8036 * debug/fread_chk.c: Likewise.
8037 * debug/fread_u_chk.c: Likewise.
8038 * debug/gets_chk.c: Likewise.
8039 * debug/obprintf_chk.c: Likewise.
8040 * debug/vasprintf_chk.c: Likewise.
8041 * debug/vdprintf_chk.c: Likewise.
8042 * debug/vsnprintf_chk.c: Likewise.
8043 * debug/vsprintf_chk.c: Likewise.
8044 * malloc/mtrace.c: Likewise.
8045 * misc/error.c: Likewise.
8046 * misc/syslog.c: Likewise.
8047 * stdio-common/asprintf.c: Likewise.
8048 * stdio-common/fxprintf.c: Likewise.
8049 * stdio-common/getw.c: Likewise.
8050 * stdio-common/isoc99_fscanf.c: Likewise.
8051 * stdio-common/isoc99_scanf.c: Likewise.
8052 * stdio-common/isoc99_vfscanf.c: Likewise.
8053 * stdio-common/isoc99_vscanf.c: Likewise.
8054 * stdio-common/isoc99_vsscanf.c: Likewise.
8055 * stdio-common/printf-prs.c: Likewise.
8056 * stdio-common/printf_fp.c: Likewise.
8057 * stdio-common/printf_fphex.c: Likewise.
8058 * stdio-common/printf_size.c: Likewise.
8059 * stdio-common/putw.c: Likewise.
8060 * stdio-common/scanf.c: Likewise.
8061 * stdio-common/sprintf.c: Likewise.
8062 * stdio-common/tmpfile.c: Likewise.
8063 * stdio-common/vfprintf.c: Likewise.
8064 * stdio-common/vfscanf.c: Likewise.
8065 * stdlib/strfmon_l.c: Likewise.
8066 * sunrpc/openchild.c: Likewise.
8067 * sunrpc/xdr_stdio.c: Likewise.
8068 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8069 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8071 2012-05-24 Roland McGrath <roland@hack.frob.com>
8073 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8075 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8076 in the third column, to generate for the shared library an IFUNC
8077 that uses _dl_vdso_vsym.
8078 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8079 * Makeconfig (object-suffixes-noshared): New variable.
8081 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8082 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8083 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8084 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8087 * include/sys/time.h (__gettimeofday): Remove macro.
8088 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8089 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8091 (__gettimeofday): Add libc_hidden_def.
8092 (gettimeofday): Add libc_hidden_weak.
8093 * sysdeps/mach/gettimeofday.c: Likewise.
8094 * sysdeps/posix/gettimeofday.c: Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8096 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8098 (__gettimeofday_internal): Remove strong_alias.
8099 (__gettimeofday): Add libc_hidden_def.
8100 (gettimeofday): Add libc_hidden_weak.
8101 * sysdeps/unix/syscalls.list (gettimeofday):
8102 Remove __gettimeofday_internal alias.
8104 2012-05-24 Daniel Jacobowitz <drow@false.org>
8105 H.J. Lu <hongjiu.lu@intel.com>
8108 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8109 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8110 (largebin_index_32_big): New.
8111 (largebin_index): Use it for 16-byte alignment.
8112 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8113 correction with front_misalign.
8115 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8117 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8143 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8144 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8146 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8150 * math/libm-test.inc (exp_test): Add test from bug 14036.
8151 (pow_test): Add test from bug 10846.
8153 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8155 (special_function): Do not include flags in test name.
8156 (parse_args): Likewise.
8157 * sysdeps/i386/fpu/libm-test-ulps: Update.
8158 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8159 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8160 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8163 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8165 * math/libm-test.inc ("Philosophy"): Update comment about
8167 (UNDERFLOW_EXCEPTION): New macro.
8168 (UNDERFLOW_EXCEPTION_OK): Likewise.
8169 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8170 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8171 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8172 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8173 (INVALID_EXCEPTION_OK): Update value.
8174 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8175 (OVERFLOW_EXCEPTION_OK): Likewise.
8176 (IGNORE_ZERO_INF_SIGN): Likewise.
8177 (test_exceptions): Handle underflow exceptions.
8178 (acos_test): Update for underflow exception expectations.
8179 (cexp_test): Likewise.
8180 (clog_test): Likewise.
8181 (clog10_test): Likewise.
8182 (csqrt_test): Likewise.
8183 (ctan_test): Likewise.
8184 (ctanh_test): Likewise.
8185 (exp_test): Likewise.
8186 (exp10_test): Likewise.
8187 (exp2_test): Likewise.
8188 (expm1_test): Likewise.
8189 (fma_test): Likewise.
8190 (j0_test): Likewise.
8191 (jn_test): Likewise.
8192 (nexttoward_test): Likewise.
8193 (pow_test): Likewise.
8194 (scalbn_test): Likewise.
8195 (scalbln_test): Likewise.
8196 (tan_test): Likewise.
8197 (y1_test): Likewise.
8198 * sysdeps/i386/fpu/libm-test-ulps: Update.
8199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8201 2012-05-23 David S. Miller <davem@davemloft.net>
8203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8204 (__libc_sigaction): Remove unused local variables.
8206 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8208 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8210 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8212 mktime: avoid signed integer overflow
8213 * time/mktime.c (__mktime_internal): Do not mishandle the case
8214 where diff == INT_MIN.
8216 mktime: simplify computation of average
8217 * time/mktime.c (ranged_convert): Use new time_t_avg function
8218 instead of rolling our own (probably-slower) code.
8220 mktime: do not assume signed right shift propagates sign bit
8221 * time/mktime.c (isdst_differ): New static function.
8222 (__mktime_internal): No need to normalize tm_isdst now.
8223 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8226 mktime: merge another wrapv change from gnulib
8227 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8228 from some compilers.
8230 mktime: remove incorrect attempt at unusual arithmetics
8231 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8232 The code didn't really work on such machines anyway.
8233 (TYPE_MINIMUM): Assume two's complement.
8234 (twos_complement_arithmetic): Verify that long_int and time_t
8235 are two's complement (or unsigned, in the latter case).
8237 mktime: check signed shifts on long_int and time_t, too
8238 * time/mktime.c (SHR): Check that shifts work as desired
8239 on the types long_int and time_t too, as SHR is used on
8242 mktime: do not assume 'long' is wide enough
8243 * time/mktime.c (verify): Move decl up.
8244 (long_int): New type.
8245 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8246 to remove assumption in the code that 'long' is wide enough to
8247 store year values. This assumption is not true on x32 and on
8248 some non-glibc platforms.
8250 mktime: merge wrapv change from gnulib
8251 * time/mktime.c (WRAPV): New macro.
8252 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8253 (guess_time_tm, __mktime_internal): Do not assume that signed
8254 integer overflow wraps around; modern compilers generate code
8255 where this assumption is no longer valid.
8257 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8259 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8260 Replace "jmp L(pseudo_end)" with "ret".
8261 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8264 2012-05-23 Andreas Jaeger <aj@suse.de>
8266 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8267 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8269 2012-05-23 Andreas Jaeger <aj@suse.de>
8270 Maximilian Attems <max@stro.at>
8272 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8275 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8278 code so that pseudo_end is just ret and the stack pointer is
8279 correct also for static library in error case.
8281 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8283 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8284 move to syscalls.list.
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8290 * manual/install.texi (Running make install): Do not mention Linux
8291 kernel version for which pt_chown is not needed.
8292 (Linux): Do not mention problems with nscd with 2.0 kernels.
8293 * INSTALL: Regenerated.
8295 2012-05-23 Andreas Jaeger <aj@suse.de>
8297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8298 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8300 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8302 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8304 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8305 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8306 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8307 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8308 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8309 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8310 * sysdeps/unix/sysv/linux/bits/in.h
8311 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8313 2012-05-22 Roland McGrath <roland@hack.frob.com>
8315 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8316 (PREPARE_VERSION): Just use assert instead, it will be elided
8317 under [NDEBUG] anyway.
8319 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8321 * sysdeps/unix/sysv/linux/Makefile: Include
8322 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8323 (sysdep_routines): Remove sysctl.
8324 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8325 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8326 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8327 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8328 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8330 2012-05-22 Andreas Jaeger <aj@suse.de>
8332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8333 that pseudo_end is just ret and the stack pointer is correct also
8334 for static library in error case.
8336 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8339 * nss/nsswitch.c (defconfig_entries): New variable.
8340 (__nss_database_lookup): Don't leak defconfig entries.
8341 (nss_parse_service_list): Don't leak on error paths.
8342 (free_database_entries): New function.
8343 (free_defconfig): New function.
8344 (free_mem): Move common code to free_database_entries.
8346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8348 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8350 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8352 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8353 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8356 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8357 (INTERNAL_SYSCALL_TYPES): Likewise.
8358 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8359 (LOAD_REGS_TYPES_[1-6]): Likewise.
8360 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8361 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8363 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8365 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8366 copysignl for GLIBC_2_0.
8367 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8368 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8370 logbl for GLIBC_2_0.
8371 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8372 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8374 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8376 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8377 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8379 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8382 * time/mktime.c: Update copyright years.
8384 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8386 mktime: merge comment-quoting-style change from gnulib
8387 * time/mktime.c: Quote 'like this' in comments.
8388 The GNU coding standards suggest that we no longer quote `like this',
8389 as "`" and "'" are typically rendered asymmetrically nowadays.
8390 The typical gnulib style is to quote 'like this' when quoting
8391 code, and "like this" when quoting English.
8393 * time/mktime.c (compile-command): Add "-I.".
8395 mktime: merge mktime-internal.h change from gnulib
8396 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8398 mktime: merge time_r change from gnulib
8399 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8401 mktime: merge DEBUG change from gnulib
8402 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8403 case system <time.h> has a #define.
8405 mktime: merge <sys/types.h> change from gnulib
8406 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8407 since <time.t> is now guaranteed to define time_t.
8409 mktime: merge HAVE_CONFIG_H change from gnulib
8410 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8412 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8417 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8419 (struct rusage): Use anonymous union to pad each field to
8422 2012-05-21 David S. Miller <davem@davemloft.net>
8424 * Makefules (o-iterator): Remove .s cases.
8425 (compile-command.s): Delete.
8426 (COMPILE.s): Delete.
8427 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8429 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8431 * configure.in (libc_cv_predef_stack_protector): Only consider
8432 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8433 * configure: Regenerated.
8435 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8438 New macro. Use R*LP on int and pointer.
8439 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8440 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8441 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8442 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8444 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8445 [__WORDSIZE_TIME64_COMPAT32] instead of
8446 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8447 (struct utmp): Likewise.
8448 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8449 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8451 (__WORDSIZE_TIME64_COMPAT32): This.
8452 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8453 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8454 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8455 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8456 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8457 (__WORDSIZE_TIME64_COMPAT32): New macro.
8459 2012-05-21 Andreas Jaeger <aj@suse.de>
8461 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8462 only if [SHARED]. Add prototype for __wcschr_ia32.
8464 2012-05-21 Roland McGrath <roland@hack.frob.com>
8466 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8467 of %rbp unmolested in the jmp_buf while mangling the low bits.
8468 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8469 unmolested high bits of %rbp while demangling the low bits.
8470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8472 2012-05-21 Andreas Jaeger <aj@suse.de>
8474 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8475 * sunrpc/svc_simple.c: Use it for registerrpc.
8476 * sunrpc/xcrypt.c: Use it for passwd2des.
8478 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8480 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8482 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8483 Don't define if [__SYSCALL_WORDSIZE != 32].
8484 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8487 2012-05-21 Bruno Haible <bruno@clisp.org>
8488 Andreas Jaeger <aj@suse.de>
8490 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8491 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8492 inptr and inend for must_buffer_ch.
8493 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8494 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8495 * stdio-common/Makefile (tests): Remove bug15.
8496 (bug15-ENV): Remove macro.
8497 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8500 2012-05-19 Andreas Jaeger <aj@suse.de>
8501 Roland McGrath <roland@hack.frob.com>
8503 * manual/contrib.texi: Completely rewritten. It contains now an
8504 alphabetical list of contributors and their contributions.
8506 2012-05-21 Richard Henderson <rth@twiddle.net>
8508 * misc/getauxval.c (__getauxval): Use unsigned long int.
8509 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8510 (getauxval): Use unsigned long int.
8512 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8514 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8516 2012-05-21 Roland McGrath <roland@hack.frob.com>
8518 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8519 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8520 __alignof__ (long double).
8522 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8526 2012-05-20 Richard Henderson <rth@twiddle.net>
8528 * misc/getauxval.c: New file.
8529 * misc/sys/auxv.h: New file.
8530 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8531 (routines): Add getauxval.
8532 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8533 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8534 * elf/dl-sysdep.c (_dl_auxv): Remove.
8535 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8536 * elf/dl-support.c (_dl_auxv): New variable.
8537 (_dl_aux_init): Initialize it.
8538 * manual/startup.texi (Auxiliary Vector): New node.
8539 * sysdeps/generic/bits/hwcap.h: New file.
8540 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8541 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8542 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8543 * sysdeps/sparc/sysdep.h: ... here. Include it.
8544 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8545 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8551 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8557 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8561 2012-05-19 David S. Miller <davem@davemloft.net>
8563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8565 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8568 * math/s_ccosh.c: Include <float.h>
8569 (__ccosh): Avoid internal overflow calculating sinh and cosh
8570 values before multiplying by sin and cos values.
8571 * math/s_ccoshf.c: Likewise.
8572 * math/s_ccoshl.c: Likewise.
8573 * math/s_csin.c: Likewise.
8574 * math/s_csinf.c: Likewise.
8575 * math/s_csinl.c: Likewise.
8576 * math/s_csinh.c: Likewise.
8577 * math/s_csinhf.c: Likewise.
8578 * math/s_csinhl.c: Likewise.
8579 * math/libm-test.inc (ccos_test): Add more tests.
8580 (ccosh_test): Likewise.
8581 (csin_test): Likewise.
8582 (csinh_test): Likewise.
8583 * sysdeps/i386/fpu/libm-test-ulps: Update.
8584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8586 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8588 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8589 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8591 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8593 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8595 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8596 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8597 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8598 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8599 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8600 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8601 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8602 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8603 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8604 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8605 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8606 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8607 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8608 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8609 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8610 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8611 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8612 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8613 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8614 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8615 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8616 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8617 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8618 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8619 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8620 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8621 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8622 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8623 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8624 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8625 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8627 2012-05-18 Andreas Jaeger <aj@suse.de>
8629 * csu/.gitignore: Delete.
8631 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8633 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
8634 (timex): Use __syscall_slong_t.
8636 2012-05-18 Andreas Jaeger <aj@suse.de>
8637 Carlos O'Donell <carlos_odonell@mentor.com>
8639 * manual/install.texi (Configuring and compiling): Update
8640 description about files modified in the source directory.
8641 * INSTALL: Regenerated.
8643 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8645 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
8646 value. Use "or" to set return value to -1.
8647 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
8648 negate return value.
8650 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8652 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
8653 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
8654 failure if the compiler has Graphite support disabled.
8655 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
8657 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
8658 CFLAGS-memmove.c): Likewise.
8659 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
8662 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
8664 * sysdeps/x86_64/x32/_itoa.h: New file.
8666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
8667 getdents system call only if kernel and user dirents have the
8668 same d_ino and d_off.
8670 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8671 LLONG_MAX != LONG_MAX.
8672 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8673 (_fitoa_word): Likewise.
8675 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
8677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
8678 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
8679 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
8681 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
8682 include <bits/wordsize.h>. Check __x86_64__ instead of
8684 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
8685 if __x86_64__ is defined. Use anonymous union on fpstate.
8687 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
8690 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
8692 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8693 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
8694 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
8695 Refer to _rtld_local_ro instead of _rtld_global_ro.
8696 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
8698 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
8700 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
8702 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
8703 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
8704 of _rtld_global, and rtld_progname instead of _dl_argv[0].
8706 * sysdeps/powerpc/powerpc32/dl-machine.c
8707 (__elf_machine_runtime_setup) [PROF]: Don't reference
8710 2012-05-18 Andreas Jaeger <aj@suse.de>
8712 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
8713 function only available for GCCs before 3.4 since GCC 3.4
8714 introduced a builtin.
8716 (llrintf): Likewise.
8724 (nearbyint): Likewise.
8725 (nearbyintf): Likewise.
8731 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8733 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
8734 on both fields and cast pointer to __syscall_ulong_t.
8736 * bits/types.h (__fsword_t): New type.
8737 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
8738 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
8739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8740 (__FSWORD_T_TYPE): Likewise.
8741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8742 (__FSWORD_T_TYPE): Likewise.
8743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8744 (__FSWORD_T_TYPE): Likewise.
8745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
8746 (__FSWORD_T_TYPE): Likewise.
8747 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
8748 __SWORD_TYPE with __fsword_t.
8749 (statfs64): Likewise.
8751 2012-05-17 David S. Miller <davem@davemloft.net>
8753 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
8755 2012-05-17 Andreas Jaeger <aj@suse.de>
8757 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
8760 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8762 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
8764 2012-05-17 Andreas Jaeger <aj@suse.de>
8766 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
8769 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8771 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
8773 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
8775 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
8776 * sysdeps/x86_64/tst-mallocalign1.c: New file.
8778 2012-05-17 Andreas Jaeger <aj@suse.de>
8779 Carlos O'Donell <carlos_odonell@mentor.com>
8782 * sysdeps/x86_64/multiarch/init-arch.h
8783 (bit_YMM_Usable): Rename to...
8784 (bit_AVX_Usable): ... this.
8785 (bit_FMA4_Usable): New macro.
8786 (bit_XMM_state): New macro.
8787 (bit_YMM_state): New macro.
8788 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
8789 [__ASSEMBLER__] (index_AVX_Usable): ... this.
8790 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
8791 (CPUID_OSXSAVE): New macro.
8792 (CPUID_AVX): New macro.
8793 (CPUID_FMA4): New macro.
8794 (index_YMM_Usable): Rename to...
8795 (index_AVX_Usable): ... this.
8796 (HAS_AVX): Use HAS_ARCH_FEATURE.
8797 (HAS_FMA4): Likewise.
8798 (HAS_YMM_USABLE): Remove.
8799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8800 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
8802 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
8803 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
8804 * sysdeps/x86_64/multiarch/Makefile: Likewise.
8805 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
8806 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
8808 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
8810 * math/libm-test.c: Support platforms without multiple rounding modes.
8811 * math/bug-nextafter.c: Support platforms without FP exceptions.
8812 * math/bug-nexttoward.c: Likewise.
8813 * math/test-fenv.c: Likewise.
8814 * math/test-misc.c: Likewise.
8815 * stdlib/bug-getcontext.c: Likewise.
8817 2012-05-17 Andreas Jaeger <aj@suse.de>
8819 * manual/examples/search.c (critter_cmp): Change signature to
8821 * manual/string.texi (Collation Functions): Likewise.
8823 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8825 * bits/types.h: Fold copyright years.
8826 * bits/typesizes.h: Likewise.
8827 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
8828 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8829 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
8830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
8831 * time/time.h: Likewise.
8833 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8836 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
8837 in instead of returning them. Return void.
8838 (__libc_mallinfo): Accumulate over all arenas.
8839 (__malloc_stats): Adjust for change in int_mallinfo interface.
8841 2012-05-16 Roland McGrath <roland@hack.frob.com>
8844 * configure.in (NM): Add AC_CHECK_TOOL for it.
8845 (libc_extra_cflags): New substituted variable.
8846 Check for -fstack-protector being used implicitly.
8847 * configure: Regenerated.
8848 * config.make.in (config-extra-cflags): New variable,
8849 gets @libc_extra_cflags@.
8850 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
8853 * configure.in: Check for _FORTIFY_SOURCE being predefined.
8854 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
8855 * configure: Regenerated.
8856 * config.make.in (CPPUNDEFS): New substituted variable.
8857 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
8858 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
8859 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
8861 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8863 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
8864 (mq_attr): Use __syscall_slong_t.
8866 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8868 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
8869 Check __x86_64__ instead of __WORDSIZE.
8870 (_STAT_VER_LINUX): Likewise.
8871 (stat): Check __x86_64__ instead of __WORDSIZE. Use
8872 __syscall_ulong_t and __syscall_slong_t.
8875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8877 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
8879 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8881 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
8883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8885 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
8888 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
8889 include <bits/wordsize.h>. Check __x86_64__ instead of
8891 (greg_t): Use "__extension__ long long int" if __x86_64__ is
8893 (mcontext_t): Replace "unsigned long" with "unsigned long long".
8895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
8896 include <bits/wordsize.h>. Check __x86_64__ instead of
8898 (user_regs_struct): Use "__extension__ unsigned long long"
8899 instead of "unsigned long" if __x86_64__ is defined.
8900 (user): Likewise. Pad after pointer field if __ILP32__ is
8903 2012-05-16 Joseph Myers <joseph@codesourcery.com>
8905 * configure.in (makeinfo): Require version 4.5 or later. Allow
8907 * configure: Regenerated.
8908 * manual/install.texi (texinfo): Increase version requirement to
8910 * INSTALL: Regenerated.
8912 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
8914 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
8916 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
8918 * sysdeps/x86_64/x32/ffs.c: New file.
8920 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
8922 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
8923 defined. Use __syscall_ulong_t.
8924 (shminfo): Use __syscall_ulong_t.
8925 (shm_info): Likewise.
8927 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
8930 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
8932 (msgqnum_t): Use __syscall_ulong_t.
8933 (msglen_t): Likewise.
8934 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
8937 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
8938 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8940 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
8942 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
8943 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
8945 * sysvipc/sys/msg.h (msgbuf): Replace long int with
8948 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
8949 include <bits/wordsize.h>. Check __x86_64__ instead of
8952 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
8953 "unsigned long long int" if __x86_64__ is defined.
8954 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
8956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
8957 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8958 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
8960 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
8962 (GET_PC): Cast to uintptr_t first.
8963 (GET_FRAME): Likewise.
8964 (GET_STACK): Likewise.
8966 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
8967 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
8968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
8969 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
8970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
8971 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
8972 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
8973 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
8976 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
8977 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
8978 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8979 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
8980 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
8981 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
8982 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
8984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
8985 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
8986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
8987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
8988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
8989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
8990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
8991 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
8992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
8993 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
8994 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
8996 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
8998 * Makerules (+depfiles): Also collect depfiles from .oS in
9000 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9001 .oS, $(libnldbl-routines)).
9003 * Makerules (native-compile-mkdep-flags): Define.
9004 * sunrpc/Makefile (extra-objs): Add $(addprefix
9005 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9006 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9007 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9008 calling $(make-target-directory).
9010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9012 * bits/types.h (__snseconds_t): Removed.
9013 * time/time.h (struct timespec): Replace __snseconds_t with
9015 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9016 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9019 (__SNSECONDS_T_TYPE): Likewise.
9020 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9021 (__SNSECONDS_T_TYPE): Likewise.
9022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9023 (__SNSECONDS_T_TYPE): Likewise.
9025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9027 * sysdeps/mach/hurd/bits/typesizes.h
9028 (__SYSCALL_SLONG_TYPE): New macro.
9029 (__SYSCALL_ULONG_TYPE): Likewise.
9031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9033 * bits/types.h (__syscall_slong_t): New type.
9034 (__syscall_ulong_t): Likewise.
9036 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9037 (__SYSCALL_ULONG_TYPE): Likewise.
9038 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9039 (__SYSCALL_SLONG_TYPE): Likewise.
9040 (__SYSCALL_ULONG_TYPE): Likewise.
9041 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9042 (__SYSCALL_SLONG_TYPE): Likewise.
9043 (__SYSCALL_ULONG_TYPE): Likewise.
9044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9045 (__SYSCALL_SLONG_TYPE): Likewise.
9046 (__SYSCALL_ULONG_TYPE): Likewise.
9048 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9050 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9051 Add sigaltstack-offsets.sym.
9052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9053 <sigaltstack-offsets.h>.
9054 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9055 longjmp_msg pointer.
9056 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9057 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9059 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9061 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9063 * elf/stackguard-macros.h: Remove file.
9064 * sysdeps/generic/stackguard-macros.h: New file.
9065 * sysdeps/i386/stackguard-macros.h: Likewise.
9066 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9067 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9068 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9069 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9070 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9071 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9072 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9073 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9074 <elf/stackguard-macros.h>.
9077 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9078 __aligned__ in attribute.
9079 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9080 (gregset_t): Likewise.
9082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9084 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9085 * sysdeps/x86_64/64/Implies-after: Here. New file.
9086 * sysdeps/x86_64/x32/Implies-after: New file.
9088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9090 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9091 and access return value for _dl_profile_fixup. Use R10_LP to
9094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9096 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9100 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9101 * sysdeps/x86_64/x32/sysdep.h: New file.
9103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9105 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9106 * sysdeps/x86_64/setjmp.S: Likewise.
9108 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9111 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9112 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9113 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9114 remove unused global constant.
9116 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9118 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9119 include of <not-cancel.h>.
9121 2012-05-15 Roland McGrath <roland@hack.frob.com>
9123 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9125 2012-05-15 Jeff Law <law@redhat.com>
9126 Andreas Jaeger <aj@suse.de>
9129 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9131 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9132 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9133 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9134 code changing __hst_map_handle.map.
9136 2012-05-15 Roland McGrath <roland@hack.frob.com>
9138 * configure.in (sysnames): Look for Implies-before and Implies-after
9140 * configure: Regenerated.
9142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9144 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9145 8-byte data alignment with LP_SIZE alignment.
9147 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9149 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9152 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9154 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9158 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9159 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9160 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9162 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9166 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9167 (stackinfo_sub_sp): Likewise.
9169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9176 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9184 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9186 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9190 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9191 into R11_LP and load __x86_64_shared_cache_size_half into
9194 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9196 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9199 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9201 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9203 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9205 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9207 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9208 powerpc32/power7/fpu/s_logb.c via #include.
9209 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9210 powerpc32/power7/fpu/s_logbf.c via #include.
9211 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9212 powerpc32/power7/fpu/s_logbl.c via #include.
9214 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9216 * README.libm: Remove file.
9218 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9220 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9221 count for x32. Use R*_LP and omit operand-size suffix.
9223 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9225 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9226 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9227 * sysdeps/x86_64/x32/shlib-versions: New file.
9229 2012-05-14 Roland McGrath <roland@hack.frob.com>
9231 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9232 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9233 Use _dl_fatal_printf instead.
9235 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9237 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9238 set if not set by the user. Do not allow for being unset.
9239 * sysdeps/unix/sysv/linux/configure: Regenerated.
9241 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9244 the `q' suffix from lea and replace .quad with ASM_ADDR.
9246 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9249 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9251 (PTR_DEMANGLE): Likewise.
9253 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9255 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9257 (ASM_ADDR): Likewise.
9275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9277 * sysdeps/x86_64/x32/dl-machine.h: New file.
9279 2012-05-14 Andreas Jaeger <aj@suse.de>
9281 * manual/Makefile (subdir): Remove export of subdir.
9282 (all): Remove target.
9283 (.PHONY): Remove all from list.
9284 (mkinstalldirs): Remove.
9285 (.PHONY): Remove installdirs from list.
9286 ($(inst_infodir)/libc.info): Use make-target-directory.
9287 (installdirs): Remove.
9289 (glibc-targets): Remove.
9292 ($(objpfx)stubs ../po/manual.pot): Remove.
9293 ($(objpfx)stamp%): Remove.
9294 (make-target-directory): Remove.
9295 (subdir_install): Remove.
9303 * manual/.gitignore: Remove, it's not needed anymore.
9304 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9306 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9308 (texis): Renamed to $(objpfx)texis.
9309 (texis-path): New, contains path to generated files.
9310 (chapters.%): Use texis-path for complete path, add extra argument
9312 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9313 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9314 (summary,texi, stamp-summary): Use complete path of
9315 files. Generate files in build dir.
9316 (dir-add.texi): Build in build dir.
9317 (libm-err.texi,stamp-libm-err): Likewise.
9318 (version.texi, stamp-version): Likewise.
9319 (.%c.texi): Likewise.
9320 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9321 (mostlyclean): Remove target.
9322 (realclean): Remove target.
9323 (generated): Add new variable with contents from mostlyclean and
9324 realclean, remove entries duplicated in common-mostlyclean, add
9325 stamp-libm-err and stamp-version.
9326 (generated-dirs): Add libc directory.
9327 ($(inst_infodir)/libc.info): Install files from build dir.
9329 * manual/install.texi (Configuring and compiling): Adjust since
9330 the info files are not part of the tar ball anymore.
9332 2012-05-14 Andreas Jaeger <aj@suse.de>
9334 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9337 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9340 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9341 to 2.2.0 where earlier.
9342 * sysdeps/unix/sysv/linux/configure: Regenerated.
9343 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9344 Remove conditional code.
9345 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9346 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9347 Remove conditional code.
9348 [!__NR_lchown]: Likewise.
9349 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9350 [__NR_lchown]: Likewise.
9351 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9352 comment referencing __ASSUME_LCHOWN_SYSCALL.
9353 * sysdeps/unix/sysv/linux/i386/sigaction.c
9354 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9355 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9356 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9357 Remove conditional code.
9358 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9359 (__protocol_available): Remove #if 0 code.
9360 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9362 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9363 * sysdeps/unix/sysv/linux/kernel-features.h
9364 (__ASSUME_GETCWD_SYSCALL): Don't define.
9365 (__ASSUME_REALTIME_SIGNALS): Likewise.
9366 (__ASSUME_PREAD_SYSCALL): Likewise.
9367 (__ASSUME_PWRITE_SYSCALL): Likewise.
9368 (__ASSUME_POLL_SYSCALL): Likewise.
9369 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9370 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9372 (__ASSUME_SIOCGIFNAME): Don't define.
9373 (__ASSUME_MSG_NOSIGNAL): Likewise.
9374 (__ASSUME_SENDFILE): Define unconditionally.
9375 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9376 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9378 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9379 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9380 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9381 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9382 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9383 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9384 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9386 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9387 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9389 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9390 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9392 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9393 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9395 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9396 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9398 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9401 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9402 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9407 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9408 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9409 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9410 Remove conditional code.
9411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9412 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9413 Remove conditional code.
9414 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9415 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9416 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9417 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9418 Remove conditional code.
9419 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9420 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9421 Remove conditional code.
9422 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9423 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9424 Remove conditional code.
9425 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9426 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9427 Remove conditional code.
9428 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9429 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9430 Remove conditional code.
9431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9432 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9433 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9434 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9435 * sysdeps/unix/sysv/linux/sigaction.c
9436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9438 * sysdeps/unix/sysv/linux/sigpending.c
9439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9441 * sysdeps/unix/sysv/linux/sigprocmask.c
9442 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9443 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9444 * sysdeps/unix/sysv/linux/sigsuspend.c
9445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9447 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9448 (__libc_missing_rt_sigs): Remove.
9449 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9450 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9451 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9452 Remove conditional code.
9453 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9454 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9456 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9457 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9458 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9459 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9461 2012-05-14 Andreas Jaeger <aj@suse.de>
9463 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9464 it's not used in glibc.
9465 (__coshm1): Likewise.
9466 (__acosh1p): Likewise.
9469 * manual/string.texi (Copying and Concatenation): Add missing
9470 variable in concat example.
9471 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9477 __builtin_clzl with __builtin_clzll.
9479 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9482 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9485 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9487 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9488 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9489 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9490 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9492 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9494 * NEWS: Update ia64 info.
9496 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9498 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9501 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9503 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9504 * sysdeps/unix/syscalls.list (dup3): Likewise.
9505 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9506 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9508 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9510 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9511 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9513 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9515 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9517 (TLS_IE): Use mov/add instead of movq/addq to load thread
9519 (TLS_GD_PREFIX): New.
9522 2012-05-11 David S. Miller <davem@davemloft.net>
9524 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9525 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9526 (_FPU_SETCW): Likewise.
9528 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9530 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9533 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9536 * iconvdata/gb18030.c: Update tables.
9537 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9538 characters specially.
9539 (BODY for TO_LOOP): Add encoding of missing ranges.
9541 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9544 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9545 * sysdeps/mach/hurd/dup3.c: Likewise.
9546 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9547 * sysdeps/powerpc/memmove.c:: Likewise.
9549 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9552 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9554 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9556 * elf/elf.h (R_X86_64_RELATIVE64): New.
9557 (R_X86_64_NUM): Updated.
9558 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9559 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9560 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9561 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9562 tst-quad1pie tst-quad2pie
9563 (modules-names): Add tst-quadmod1 tst-quadmod2.
9564 ($(objpfx)tst-quad1): New dependency.
9565 ($(objpfx)tst-quad2): Likewise.
9566 ($(objpfx)tst-quad1pie): Likewise.
9567 ($(objpfx)tst-quad2pie): Likewise.
9568 * sysdeps/x86_64/tst-quad1.c: New file.
9569 * sysdeps/x86_64/tst-quad1pie.c: New file.
9570 * sysdeps/x86_64/tst-quad2.c: Likewise.
9571 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9572 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9573 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9574 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9575 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9577 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9580 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9581 * streams/stropts.h (t_scalar_t): Define type.
9583 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9584 (_PATH_PRESERVE): Set to "/var/lib".
9585 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9587 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9590 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9591 if __dir_mkfile succeeded.
9593 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9594 checking for _hurd_dtablesize. Unlock it right after having
9595 finished _hurd_dtable allocation.
9597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9599 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9600 * sysdeps/mach/hurd/configure: Regenerated.
9601 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9602 special-casing to...
9603 * sysdeps/gnu/configure.in: ... this new file.
9604 * sysdeps/unix/sysv/linux/configure: Regenerated.
9605 * sysdeps/gnu/configure: New generated file.
9607 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9608 for Linux: use nsec instead of usec, as well as:
9609 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9610 members of type struct timespec.
9611 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9613 (struct stat64): Likewise.
9614 (_STATBUF_ST_NSEC): New macro.
9615 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9617 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9618 __strtoul_internal rather than strtoul.
9620 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9622 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9625 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9627 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
9628 which preserves existing values.
9629 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
9631 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9633 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
9634 TIMEOUT values. Return EINVAL for NFDS values either negative or
9635 greater than FD_SETSIZE.
9637 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9639 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
9640 allocated, call __vm_protect to finish enabling the existing space, and
9641 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
9642 allocate the remainder.
9644 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9646 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
9647 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
9649 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9651 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
9652 sysdeps/mach/hurd/readlink.c.
9654 * posix/tst-sysconf.c (posix_options): Only use
9655 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
9656 _POSIX_SYNCHRONIZED_IO when they are defined
9657 * sysdeps/mach/hurd/bits/posix_opt.h:
9658 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
9659 (_XOPEN_REALTIME): Undefine macro.
9660 (_XOPEN_REALTIME_THREADS): Undefine macro.
9661 (_XOPEN_SHM): Undefine macro.
9662 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
9664 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
9666 (_POSIX_ASYNC_IO): Undefine macro.
9667 (_POSIX_PRIORITIZED_IO): Undefine macro.
9668 (_POSIX_SPIN_LOCKS): Define macro to -1.
9670 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
9671 SA_NODEFER, SA_RESETHAND.
9672 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
9673 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
9676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9678 * elf/Makefile (pldd-modules): Define unconditionally.
9680 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9682 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
9684 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9686 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
9687 Return ENOENT when name is empty.
9688 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
9690 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9692 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
9694 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
9696 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9698 Fix mlock in all cases except non-readable pages.
9699 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
9700 instead of VM_PROT_ALL as parameter to __vm_wire function.
9702 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
9703 (__mkdir): When path is `/', just fail with EEXIST.
9704 * sysdeps/mach/hurd/mkdirat.c: Likewise.
9706 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9708 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
9709 <sys/uio.h> (for writev).
9710 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
9711 and <sys/param.h> (for MIN).
9713 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9715 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
9716 REQUESTED_TIME. Properly set the remaining time and return EINTR
9719 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9721 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
9722 Depend on against $(link-rpcuserlibs).
9724 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9726 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
9727 (__libc_stack_end): Do not use attribute_relro.
9728 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
9729 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
9730 to libthread-provided value.
9731 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
9734 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9737 * bits/libc-lock.h (__libc_once_get): New macro.
9738 * sysdeps/mach/bits/libc-lock.h: Likewise.
9739 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
9740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
9741 instead of using implementation details.
9743 * libio/fileops.c: Unconditionally include <kernel-features.h>.
9744 * libio/freopen.c: Likewise.
9745 * libio/freopen64.c: Likewise.
9746 * misc/syslog.c: Likewise.
9747 * nscd/connections.c: Likewise.
9748 * nscd/netgroupcache.c: Likewise.
9749 * sysdeps/posix/getcwd.c: Likewise.
9751 2012-05-10 Roland McGrath <roland@hack.frob.com>
9753 * math/w_ilogbf.c: Add #include <limits.h>.
9755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9757 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
9758 path instead of returning without unlocking.
9760 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
9761 immediate-write ioctls.
9762 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
9764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9766 * sysdeps/mach/hurd/i386/init-first.c (init): Use
9767 __builtin_frame_address instead of making assumptions about the
9768 location of the return address relative to DATA. Force early load of
9770 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
9771 __builtin_frame_address.
9774 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
9775 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
9776 implement dup3 and do some further code clean-ups.
9777 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
9778 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
9780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9782 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
9784 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
9785 HURD_CRITICAL_END around holding _hurd_dtable_lock.
9786 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
9787 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
9788 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
9791 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
9792 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
9793 when handler == SIG_ERR, not when handler != SIG_ERR.
9795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9797 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
9798 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
9801 accept4 for GNU Hurd.
9802 * include/sys/socket.h (__libc_accept4): New prototype.
9803 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
9804 to implement __libc_accept4.
9805 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
9807 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
9809 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
9810 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
9811 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
9814 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9816 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
9818 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9820 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
9821 assertion on O_CLOEXEC flag.
9822 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
9823 * hurd/intern-fd.c: Likewise.
9824 * hurd/port2fd.c: Likewise.
9826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9829 * bits/in.h (IPV6_PKTINFO): Define new macro.
9830 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
9832 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9837 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
9838 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9839 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
9840 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
9843 * math/libm-test.inc (logb_test) : Additional logb tests.
9845 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
9846 Andreas Jaeger <aj@suse.de>
9848 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
9849 * configure: Regenerated.
9850 * config.h.in (LINK_OBSOLETE_RPC): New macro.
9851 * config.make.in (link-obsolete-rpc): New substituted variable.
9852 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9853 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
9854 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9855 (shared-only-routines): Don't set it under [link-obsolete-rpc],
9856 so that libc.a contains the symbols.
9857 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
9858 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
9859 * sunrpc/auth_none.c: Likewise.
9860 * sunrpc/auth_unix.c: Likewise.
9861 * sunrpc/authdes_prot.c: Likewise.
9862 * sunrpc/authuxprot.c: Likewise.
9863 * sunrpc/clnt_gen.c: Likewise.
9864 * sunrpc/clnt_perr.c: Likewise.
9865 * sunrpc/clnt_raw.c: Likewise.
9866 * sunrpc/clnt_simp.c: Likewise.
9867 * sunrpc/clnt_tcp.c: Likewise.
9868 * sunrpc/clnt_udp.c: Likewise.
9869 * sunrpc/clnt_unix.c: Likewise.
9870 * sunrpc/des_crypt.c: Likewise.
9871 * sunrpc/des_soft.c: Likewise.
9872 * sunrpc/get_myaddr.c: Likewise.
9873 * sunrpc/key_call.c: Likewise.
9874 * sunrpc/key_prot.c: Likewise.
9875 * sunrpc/netname.c: Likewise.
9876 * sunrpc/pm_getmaps.c: Likewise.
9877 * sunrpc/pm_getport.c: Likewise.
9878 * sunrpc/pmap_clnt.c: Likewise.
9879 * sunrpc/pmap_prot.c: Likewise.
9880 * sunrpc/pmap_prot2.c: Likewise.
9881 * sunrpc/pmap_rmt.c: Likewise.
9882 * sunrpc/publickey.c: Likewise.
9883 * sunrpc/rpc_cmsg.c: Likewise.
9884 * sunrpc/rpc_common.c: Likewise.
9885 * sunrpc/rpc_dtable.c: Likewise.
9886 * sunrpc/rpc_prot.c: Likewise.
9887 * sunrpc/rpc_thread.c: Likewise.
9888 * sunrpc/rtime.c: Likewise.
9889 * sunrpc/svc.c: Likewise.
9890 * sunrpc/svc_auth.c: Likewise.
9891 * sunrpc/svc_raw.c: Likewise.
9892 * sunrpc/svc_run.c: Likewise.
9893 * sunrpc/svc_tcp.c: Likewise.
9894 * sunrpc/svc_udp.c: Likewise.
9895 * sunrpc/svc_unix.c: Likewise.
9896 * sunrpc/svcauth_des.c: Likewise.
9897 * sunrpc/xcrypt.c: Likewise.
9898 * sunrpc/xdr.c: Likewise.
9899 * sunrpc/xdr_array.c: Likewise.
9900 * sunrpc/xdr_float.c: Likewise.
9901 * sunrpc/xdr_intXX_t.c: Likewise.
9902 * sunrpc/xdr_mem.c: Likewise.
9903 * sunrpc/xdr_rec.c: Likewise.
9904 * sunrpc/xdr_ref.c: Likewise.
9905 * sunrpc/xdr_sizeof.c: Likewise.
9906 * sunrpc/xdr_stdio.c: Likewise.
9908 2012-05-10 Roland McGrath <roland@hack.frob.com>
9910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
9911 change. Update copyright years.
9913 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9915 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
9917 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
9918 Joseph Myers <joseph@codesourcery.com>
9919 Paul Pluzhnikov <ppluzhnikov@google.com>
9922 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
9924 [cross-compiling] (extra-libs): Likewise.
9925 [cross-compiling] (extra-libs-others): Likewise.
9926 [cross-compiling] (librpcsvc-routines): Likewise.
9927 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
9928 [cross-compiling] (omit-deps): Likewise.
9929 (sunrpc-CPPFLAGS): New variable.
9930 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
9931 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
9932 (cross-rpcgen-objs): New variable.
9933 (extra-objs): Append $(cross-rpcgen-objs).
9934 ($(cross-rpcgen-objs)): New rule.
9935 ($(objpfx)cross-rpcgen): Likewise.
9936 (rpcgen-cmd): Define to use $(built-program-file). Expand
9938 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
9939 ($(objpfx)x%.stmp): Likewise.
9940 * sunrpc/proto.h [IS_IN_build] (_): Define.
9941 [IS_IN_build] (_libc_intl_domainname): Likewise.
9943 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9945 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
9946 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
9947 and R_X86_64_TPOFF64.
9949 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9951 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
9952 sysdeps/unix/sysv/syscalls.list.
9955 * sysdeps/unix/sysv/syscalls.list: Remove file.
9957 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
9960 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
9961 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
9962 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
9963 (__LC_IDENTIFICATION): Make these macros useful in #if
9964 expressions, as required by C99.
9966 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
9968 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
9969 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
9972 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
9974 * stdlib/longlong.h: Updated from GCC.
9976 2012-05-09 Andreas Jaeger <aj@suse.de>
9978 * nscd/nscd.c (run_modes): Make named enum, reorder so that
9979 default is first entry.
9980 (run_mode): Set type.
9981 (main): Remove informal message about syslog.
9982 (options): Fix typo.
9985 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
9988 (llrintf): Likewise.
9992 (nearbyint): Likewise.
9993 (nearbyintf): Likewise.
9995 2012-05-09 Andreas Jaeger <aj@suse.de>
9996 Pedro Alves <palves@redhat.com>
9998 * nscd/nscd.c (run_mode): Use enum.
9999 (main): Cleanup coding style issue.
10001 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10002 Andreas Jaeger <aj@suse.de>
10004 * nscd/nscd.c (go_background): Replaced with...
10005 (run_mode): ... this.
10006 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10007 (options): Add -F --foreground.
10008 (main): Implement it.
10009 (parse_opt): Parse it.
10011 2012-05-09 Andreas Jaeger <aj@suse.de>
10014 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10015 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10016 -Wconversion warning.
10017 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10020 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10022 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10024 (LC_ALL): Use macro-int-constant.
10025 (LC_COLLATE): Likewise.
10026 (LC_CTYPE): Likewise.
10027 (LC_MESSAGES): Likewise.
10028 (LC_MONETARY): Likewise.
10029 (LC_NUMERIC): Likewise.
10030 (LC_TIME): Likewise.
10031 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10032 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10033 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10034 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10036 [C99-based standards] (float_t): Expect type.
10037 [C99-based standards] (double_t): Expect type.
10038 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10040 [C99-based standards] (HUGE_VALL): Likewise.
10041 [C99-based standards] (INFINITY): Likewise.
10042 [C99-based standards] (NAN): Likewise.
10043 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10044 [C99-based standards] (FP_NAN): Likewise.
10045 [C99-based standards] (FP_NORMAL): Likewise.
10046 [C99-based standards] (FP_SUBNORMAL): Likewise.
10047 [C99-based standards] (FP_ZERO): Likewise.
10048 [C99-based standards] (FP_FAST_FMA): Use
10049 optional-macro-int-constant. Specify type. Require == 1.
10050 [C99-based standards] (FP_FAST_FMAF): Likewise.
10051 [C99-based standards] (FP_FAST_FMAL): Likewise.
10052 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10053 [C99-based standards] (FP_ILOGBNAN): Likewise.
10054 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10056 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10057 [C99-based standards] (math_errhandling): Specify type.
10058 [ISO99 || ISO11] (signgam): Do not allow.
10059 [non-C99-based standards] (copysignf): Do not allow.
10060 [non-C99-based standards] (exp2f): Likewise.
10061 [non-C99-based standards] (log2f): Likewise.
10062 [non-C99-based standards] (modff): Allow.
10063 [non-C99-based standards] (erff): Do not allow.
10064 [non-C99-based standards] (erfcf): Likewise.
10065 [non-C99-based standards] (gammaf): Likewise.
10066 [non-C99-based standards] (hypotf): Likewise.
10067 [non-C99-based standards] (j0f): Likewise.
10068 [non-C99-based standards] (j1f): Likewise.
10069 [non-C99-based standards] (jnf): Likewise.
10070 [non-C99-based standards] (lgammaf): Likewise.
10071 [non-C99-based standards] (tgammaf): Likewise.
10072 [non-C99-based standards] (y0f): Likewise.
10073 [non-C99-based standards] (y1f): Likewise.
10074 [non-C99-based standards] (ynf): Likewise.
10075 [non-C99-based standards] (isnanf): Likewise.
10076 [non-C99-based standards] (acoshf): Likewise.
10077 [non-C99-based standards] (asinhf): Likewise.
10078 [non-C99-based standards] (atanhf): Likewise.
10079 [non-C99-based standards] (cbrtf): Likewise.
10080 [non-C99-based standards] (expm1f): Likewise.
10081 [non-C99-based standards] (ilogbf): Likewise.
10082 [non-C99-based standards] (log1pf): Likewise.
10083 [non-C99-based standards] (logbf): Likewise.
10084 [non-C99-based standards] (nextafterf): Likewise.
10085 [non-C99-based standards] (remainderf): Likewise.
10086 [non-C99-based standards] (rintf): Likewise.
10087 [non-C99-based standards] (scalbf): Likewise.
10088 [non-C99-based standards] (copysignl): Likewise.
10089 [non-C99-based standards] (exp2l): Likewise.
10090 [non-C99-based standards] (log2l): Likewise.
10091 [non-C99-based standards] (modfl): Allow.
10092 [non-C99-based standards] (erfl): Do not allow.
10093 [non-C99-based standards] (erfcl): Likewise.
10094 [non-C99-based standards] (gammal): Likewise.
10095 [non-C99-based standards] (hypotl): Likewise.
10096 [non-C99-based standards] (j0l): Likewise.
10097 [non-C99-based standards] (j1l): Likewise.
10098 [non-C99-based standards] (jnl): Likewise.
10099 [non-C99-based standards] (lgammal): Likewise.
10100 [non-C99-based standards] (tgammal): Likewise.
10101 [non-C99-based standards] (y0l): Likewise.
10102 [non-C99-based standards] (y1l): Likewise.
10103 [non-C99-based standards] (ynl): Likewise.
10104 [non-C99-based standards] (isnanl): Likewise.
10105 [non-C99-based standards] (acoshl): Likewise.
10106 [non-C99-based standards] (asinhl): Likewise.
10107 [non-C99-based standards] (atanhl): Likewise.
10108 [non-C99-based standards] (cbrtl): Likewise.
10109 [non-C99-based standards] (expm1l): Likewise.
10110 [non-C99-based standards] (ilogbl): Likewise.
10111 [non-C99-based standards] (log1pl): Likewise.
10112 [non-C99-based standards] (logbl): Likewise.
10113 [non-C99-based standards] (nextafterl): Likewise.
10114 [non-C99-based standards] (remainderl): Likewise.
10115 [non-C99-based standards] (rintl): Likewise.
10116 [non-C99-based standards] (scalbl): Likewise.
10117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10118 [non-C99-based standards] (FP_*): Do not allow.
10119 [C99-based standards] (FP_*): Change to
10120 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10121 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10123 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10124 (SIG_ERR): Likewise.
10125 [X/Open-based standards] (SIG_HOLD): Likewise.
10126 (SIG_IGN): Likewise.
10127 (SIGABRT): Use macro-int-constant. Specify type. Require
10129 (SIGFPE): Likewise.
10130 (SIGILL): Likewise.
10131 (SIGINT): Likewise.
10132 (SIGSEGV): Likewise.
10133 (SIGTER): Likewise.
10134 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10135 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10136 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10137 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10138 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10139 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10140 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10141 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10142 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10143 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10144 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10145 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10146 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10147 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10148 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10149 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10150 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10151 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10152 [X/Open-based standards] (SIGTRAP): Likewise.
10153 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10154 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10155 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10156 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10157 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10160 2012-05-08 Ian Wienand <ianw@vmware.com>
10163 * time/tzset.c (__tzset_parse_tz): Update default rules for
10164 daylight time changes in the Energy Policy Act of 2005.
10166 2012-05-09 Andreas Jaeger <aj@suse.de>
10169 * elf/ldconfig.c (parse_conf): Change string to make clear that
10170 ldconfig only issued a warning if ld.so.conf does not exist.
10172 2012-05-08 David S. Miller <davem@davemloft.net>
10174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10175 movxtod instead of popping the value on the stack.
10177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10179 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10181 * config.h.in: Add HAVE_ARM_PCS_VFP.
10183 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10186 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10187 checking but the checks are disabled for any reason.
10189 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10191 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10192 and ELF64_R_TYPE with ELFW(R_TYPE).
10194 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10196 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10197 (ulimit): Likewise.
10199 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10200 (settimeofday): Likewise.
10202 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10204 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10205 a struct th_u2 inside the union, and move tu_block/tu_code into
10206 a new th_u3 union of tu_block/tu_code inside of that. Move
10207 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10208 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10209 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10210 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10211 (th_stuff): Change to th_u1.tu_stuff.
10213 (th_msg): Change to th_u1.th_u2.tu_data.
10215 2012-05-07 David S. Miller <davem@davemloft.net>
10217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10220 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10221 (SETUP_PIC_REG): Use it.
10222 (SETUP_PIC_REG_LEAF): Use it.
10224 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10228 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10230 (EXPL_FINITE): Likewise.
10231 (FLDLOG): Likewise.
10232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10233 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10235 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10237 (EXPL_FINITE): Likewise.
10238 (FLDLOG): Likewise.
10239 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10240 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10242 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10243 test of -max_value argument for long double.
10244 * sysdeps/i386/fpu/libm-test-ulps: Update.
10245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10247 2012-05-06 David S. Miller <davem@davemloft.net>
10249 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10250 quad soft-float symbols whose references which are compiler
10252 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10254 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10260 (EXPL_FINITE): Likewise.
10261 (FLDLOG): Likewise.
10264 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10265 Adjust comments for base varying.
10266 (__expl_finite): Change alias to EXPL_FINITE.
10267 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10269 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10270 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10271 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10272 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10273 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10275 (EXPL_FINITE): Likewise.
10276 (FLDLOG): Likewise.
10279 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10280 Adjust comments for base varying.
10281 (__expl_finite): Change alias to EXPL_FINITE.
10282 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10287 * math/libm-test.inc (check_float_internal): Correct ulp
10288 calculation for subnormal expected results.
10290 2012-05-06 Andreas Jaeger <aj@suse.de>
10292 * Makeconfig (+math-flags): New, set to -frounding-math.
10293 (+cflags): Add +math-flags so that all of glibc gets compiled with
10296 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10298 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10300 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10306 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10307 (__ieee754_expl): Allow for and saturate large arguments.
10308 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10309 (u_threshold): Likewise.
10310 (__exp): Call __ieee754_exp before checking for overflow and
10312 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10313 (u_threshold): Likewise.
10314 (__expf): Call __ieee754_expf before checking for overflow and
10316 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10317 (u_threshold): Likewise.
10318 (__expl): Call __ieee754_expl before checking for overflow and
10320 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10321 (__ieee754_expl): Allow for and saturate large arguments.
10322 * math/libm-test.inc (exp_test): Add another test. Do not allow
10323 missing overflow exception on overflow.
10324 (expm1_test): Do not allow missing overflow exception on overflow.
10326 * sysdeps/i386/fpu/e_expl.c: Move to ...
10327 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10328 rather than using inline asm.
10329 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10330 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10331 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10333 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10336 (signal): Likewise.
10340 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10342 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10343 sysdeps/unix/common/syscalls.list.
10344 (fchmod): Likewise.
10345 (fchown): Likewise.
10346 (ftruncate): Likewise.
10347 (getrusage): Likewise.
10348 (gettimeofday): Likewise.
10349 (setpgid): Likewise.
10350 (setregid): Likewise.
10351 (setreuid): Likewise.
10352 (sigaction): Likewise.
10353 (truncate): Likewise.
10354 (vhangup): Likewise.
10355 * sysdeps/unix/common/syscalls.list: Remove file.
10356 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10357 * sysdeps/unix/sysv/linux/Implies: Likewise.
10359 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10367 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10370 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10373 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10376 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10379 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10382 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10385 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10389 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10395 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10396 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10400 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10404 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10406 * sysdeps/unix/common/bits/dirent.h: Remove file.
10407 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10409 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10410 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10411 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10412 * sysdeps/unix/bsd/isatty.c: Likewise.
10413 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10414 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10415 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10417 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10421 long double comparison inaccuracies.
10422 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10425 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10427 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10430 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10433 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10434 nonzero digits before rounding a hex value.
10435 * stdlib/tst-strtod.c (tests): Add another test.
10437 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10439 * sysdeps/s390/fpu/libm-test-ulps: Update.
10441 2012-05-03 Andreas Jaeger <aj@suse.de>
10443 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10444 does not get optimized out.
10445 (malloc_opt_barrier): New.
10447 2012-05-03 Andreas Jaeger <aj@suse.de>
10448 Roland McGrath <roland@hack.frob.com>
10450 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10451 intermediate file deletion.
10452 (generated): Add .symlist files.
10454 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10457 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10458 Redirect under this condition.
10459 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10460 [__USE_GNU] (__dprintf_chk): Not under this condition.
10461 [__USE_GNU] (__vdprintf_chk): Likewise.
10462 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10463 under this condition.
10464 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10465 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10466 [__USE_XOPEN2K8] (vdprintf): Likewise.
10467 [__USE_GNU] (__dprintf_chk): Not under this condition.
10468 [__USE_GNU] (__vdprintf_chk): Likewise.
10469 [__USE_GNU] (dprintf): Likewise.
10470 [__USE_GNU] (vdprintf): Likewise.
10472 2012-05-03 Roland McGrath <roland@hack.frob.com>
10474 * elf/Makefile (common-generated): Set this instead of generated for
10475 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10476 $(all-built-dso)-derived lists.
10478 2012-05-03 Andreas Jaeger <aj@suse.de>
10480 * sysdeps/i386/fpu/libm-test-ulps: Update.
10483 * FAQ.in: Likewise.
10484 * scripts/gen-FAQ.pl: Likewise.
10485 * manual/install.texi (Installation): Point to online location of
10487 * Makefile (files-for-dist): Remove FAQ.
10490 2012-05-02 Allan McRae <allan@archlinux.org>
10492 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10493 (LDFLAGS-reldepmod5.so): Likewise.
10494 (LDFLAGS-reldep6mod1.so): Likewise.
10495 (LDFLAGS-reldep6mod4.so): Likewise.
10496 (LDFLAGS-reldep8mod3.so): Likewise.
10497 (LDFLAGS-unload4mod1.so): Likewise.
10498 (LDFLAGS-unload4mod2.so): Likewise.
10499 (LDFLAGS-tst-initorder): Likewise.
10500 (LDFLAGS-tst-initordera2.so): Likewise.
10501 (LDFLAGS-tst-initordera3.so): Likewise.
10502 (LDFLAGS-tst-initordera4.so): Likewise.
10503 (LDFLAGS-tst-initorderb2.so): Likewise.
10504 (LDFLAGS-noload): Likewise.
10505 (LDFLAGS-next): Likewise.
10506 (LDFLAGS-order2mod1.so): Likewise.
10507 (LDFLAGS-order2mod2.so): Likewise.
10508 (LDFLAGS-tst-initorder2): Likewise.
10509 (LDFLAGS-tst-initorder2a.so): Likewise.
10510 (LDFLAGS-tst-initorder2b.so): Likewise.
10511 (LDFLAGS-tst-initorder2c.so): Likewise.
10512 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10514 2012-05-02 David S. Miller <davem@davemloft.net>
10516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10518 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10521 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10523 2012-05-02 Andreas Jaeger <aj@suse.de>
10525 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10526 since we manipulate rounding mode.
10527 (CPPFLAGS-test-idouble.c): Likewise.
10528 (CPPFLAGS-test-ifloat.c): Likewise.
10529 (CFLAGS-test-ldouble.c): Likewise.
10530 (CFLAGS-test-double.c): Likewise.
10531 (CFLAGS-test-float.c): Likewise.
10532 (CFLAGS-test-misc.c): Likewise.
10533 (CFLAGS-test-test-fenv.c): Likewise.
10535 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10539 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10540 comparisons to determine direction to adjust input.
10542 2012-05-01 Roland McGrath <roland@hack.frob.com>
10544 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10545 output to the target.
10547 * scripts/localplt.awk: New file.
10548 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10549 (check-localplt-CFLAGS): Variable removed.
10550 ($(all-built-dso:=.jmprel)): New static pattern rule.
10551 (generated): Add those targets.
10552 (localplt-built-dso): New variable.
10553 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10555 * elf/check-localplt.c: File removed.
10557 * scripts/check-execstack.awk: New file.
10558 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10559 (check-execstack-CFLAGS): Variable removed.
10560 ($(objpfx)check-execstack.h): Target removed.
10561 ($(objpfx)execstack-default): New target.
10562 (generated): Add that instead of check-execstack.h.
10563 ($(all-built-dso:=.phdr)): New static pattern rule.
10564 (generated): Add those targets.
10565 * elf/check-execstack.c: File removed.
10567 * scripts/check-textrel.awk: New file.
10568 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10569 (check-textrel-CFLAGS): Variable removed.
10570 (all-built-dso): Use := to define.o
10571 ($(all-built-dso:=.dyn)): New static pattern rule.
10572 (generated): Add those targets.
10573 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10574 * config.make.in (READELF): New substituted variable.
10575 * elf/check-textrel.c: File removed.
10577 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10579 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10581 * conform/data/ctype.h-data [C99-based standards] (isblank):
10583 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10584 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10585 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10586 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10587 Specify type. Require positive value.
10588 (EILSEQ): Likewise.
10589 (ERANGE): Likewise.
10590 [ISO || POSIX] (EILSEQ): Do not expect.
10591 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10592 Specify type. Require positive value.
10593 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10597 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10598 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10599 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10600 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10601 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10602 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10603 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10604 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10605 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10606 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10607 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10608 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10609 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10610 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10611 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10612 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10613 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10614 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10615 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10616 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10617 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10618 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10619 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10620 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10621 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10622 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10623 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10624 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10625 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10626 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10627 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
10628 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
10629 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
10630 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
10631 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
10632 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
10633 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
10634 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
10635 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
10636 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
10637 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
10638 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
10639 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
10640 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
10641 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
10642 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
10643 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
10644 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
10645 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
10646 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
10647 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
10648 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
10649 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
10650 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
10651 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
10652 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
10653 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
10654 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
10655 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
10656 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
10657 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
10658 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
10659 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
10660 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
10661 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
10662 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
10663 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
10664 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
10665 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
10666 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
10667 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
10668 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
10669 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
10671 (FLT_ROUNDS): Expect as macro, not constant.
10672 (FLT_MANT_DIG): Use macro-int-constant.
10673 (DBL_MANT_DIG): Likewise.
10674 (LDBL_MANT_DIG): Likewise.
10675 (FLT_DIG): Likewise.
10676 (DBL_DIG): Likewise.
10677 (LDBL_DIG): Likewise.
10678 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
10679 (DBL_MIN_EXP): Likewise.
10680 (LDBL_MIN_EXP): Likewise.
10681 (FLT_MAX_EXP): Use macro-int-constant.
10682 (DBL_MAX_EXP): Likewise.
10683 (LDBL_MAX_EXP): Likewise.
10684 (FLT_MAX_10_EXP): Likewise.
10685 (DBL_MAX_10_EXP): Likewise.
10686 (LDBL_MAX_10_EXP): Likewise.
10687 (FLT_MAX): Use macro-constant.
10688 (DBL_MAX): Likewise.
10689 (LDBL_MAX): Likewise.
10690 (FLT_EPSILON): Use macro-constant. Give upper bound.
10691 (DBL_EPSILON): Likewise.
10692 (LDBL_EPSILON): Likewise.
10693 (FLT_MIN): Likewise.
10694 (DBL_MIN): Likewise.
10695 (LDBL_MIN): Likewise.
10696 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
10697 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
10698 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
10699 [ISO11] (FLT_HAS_SUBNORM): Likewise.
10700 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
10701 [ISO11] (DBL_DECIMAL_DIG): Likewise.
10702 [ISO11] (FLT_DECIMAL_DIG): Likewise.
10703 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
10704 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
10705 [ISO11] (FLT_TRUE_MIN): Likewise.
10706 [ISO11] (LDBL_TRUE_MIN): Likewise.
10707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10708 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
10709 (SCHAR_MIN): Use macro-int-constant. Specify type.
10710 (SCHAR_MAX): Likewise.
10711 (UCHAR_MAX): Likewise.
10712 (CHAR_MIN): Likewise.
10713 (CHAR_MAX): Likewise.
10714 (MB_LEN_MAX): Use macro-int-constant.
10715 (SHRT_MIN): Use macro-int-constant. Specify type.
10716 (SHRT_MAX): Likewise.
10717 (USHRT_MAX): Likewise.
10718 (INT_MAX): Likewise.
10719 (INT_MIN): Use macro-int-constant. Specify type. Make upper
10721 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
10723 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10725 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
10726 bound negative. Suffix upper bound with "L".
10727 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
10729 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
10731 [C99-based standards] (LLONG_MAX): Likewise.
10732 [C99-based standards] (ULLONG_MAX): Likewise.
10733 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
10735 [ISO11] (max_align_t): Require type.
10736 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10738 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
10739 from $CFLAGS, without defining away __attribute__ calls.
10740 (checknamespace): Use $CFLAGS_namespace.
10742 * conform/conformtest.pl (@keywords): Only include C99 keywords
10743 for standards based on C99 or C11.
10745 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
10747 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
10750 * conform/conformtest.pl: Handle "macro-int-constant" and test for
10751 usability of symbols in #if.
10753 * conform/conformtest.pl: If macro or constant types start
10754 "promoted:", expect the symbol to be of the following type
10755 promoted by the integer promotions.
10757 * conform/conformtest.pl: Parse all "constant" and "macro" lines
10758 in one place. Also handle "macro-constant".
10760 * conform/conformtest.pl: Only accept expected macro values with
10761 "==". Parse all "macro" lines in one place.
10762 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
10764 * conform/conformtest.pl: Handle braced types on "constant" lines
10765 instead of handling "typed-constant".
10766 * conform/data/signal.h-data: Use "constant" instead of
10769 * conform/conformtest.pl: Handle "optional-" at start of lines in
10770 one place rather than duplicating several cases. Handle each
10771 format of "macro" line with initial "optional-".
10773 * conform/conformtest.pl: Only accept expected constant or
10774 optional-constant values with "==". Parse all "constant" lines in
10775 one place. Parse all "optional-constant" lines in one place.
10776 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
10777 * conform/data/fmtmsg.h-data: Likewise.
10778 * conform/data/netinet/in.h-data: Likewise.
10779 * conform/data/tar.h-data: Likewise.
10780 * conform/data/limits.h-data: Use "==" form on "constant" and
10781 "optional-constant" lines.
10783 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
10784 Use -std=c99 for XOPEN2K.
10785 (@knownproblems): Remove.
10786 (newtoken): Don't check %isknown.
10788 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
10789 Do not expect macro.
10790 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
10791 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
10792 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
10793 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
10794 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
10795 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
10796 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
10797 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
10798 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
10799 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
10800 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
10801 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
10802 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
10803 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
10804 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
10805 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
10806 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
10807 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
10808 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
10809 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
10810 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
10812 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
10813 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
10814 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
10815 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
10816 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
10817 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
10818 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
10819 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
10820 [XPG3] (acosh): Likewise.
10821 [XPG3] (asinh): Likewise.
10822 [XPG3] (atanh): Likewise.
10823 [XPG3] (cbrt): Likewise.
10824 [XPG3] (expm1): Likewise.
10825 [XPG3] (ilogb): Likewise.
10826 [XPG3] (log1p): Likewise.
10827 [XPG3] (logb): Likewise.
10828 [XPG3] (nextafter): Likewise.
10829 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
10830 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
10831 [XPG3] (remainder): Likewise.
10832 [XPG3] (rint): Likewise.
10833 [XPG3 || XPG4 || UNIX98] (round): Likewise.
10834 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
10835 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
10836 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
10837 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
10838 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
10839 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
10840 [UNIX98 || XOPEN2K] (scalb): Expect.
10841 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
10842 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
10843 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
10844 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
10845 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
10846 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
10847 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
10848 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
10849 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
10850 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
10851 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
10852 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
10853 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
10854 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
10855 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
10856 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
10857 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
10858 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
10859 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
10860 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
10861 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
10862 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
10863 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
10864 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
10865 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
10866 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
10867 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
10868 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
10869 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
10870 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
10871 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
10872 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
10873 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
10874 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
10875 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
10876 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
10877 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
10878 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
10879 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
10880 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
10881 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
10882 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
10883 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
10884 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
10885 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
10886 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
10887 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
10888 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
10889 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
10890 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
10891 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
10892 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
10893 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
10894 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
10895 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
10896 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
10897 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
10898 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
10899 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
10900 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
10901 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
10902 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
10903 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
10904 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
10905 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
10906 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
10907 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
10908 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
10909 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
10910 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
10911 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
10912 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
10913 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
10914 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
10915 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
10916 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
10917 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
10918 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
10919 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
10920 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
10921 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
10922 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
10923 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
10924 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
10925 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
10926 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
10927 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
10928 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
10929 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
10930 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
10931 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
10932 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
10933 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
10934 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
10935 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
10936 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
10937 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
10938 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
10939 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
10940 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
10941 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
10942 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
10943 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
10944 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
10945 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
10946 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
10947 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
10948 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
10949 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
10950 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
10951 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
10952 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
10953 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
10954 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
10955 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
10956 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
10957 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
10958 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
10959 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
10960 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
10961 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
10962 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
10963 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
10964 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
10965 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
10966 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
10967 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
10968 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
10969 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
10970 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
10971 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
10972 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
10973 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
10974 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
10975 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
10976 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
10977 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
10979 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
10980 _XOPEN_SOURCE_EXTENDED for XPG4.
10982 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
10984 * Makeconfig (localtime): Remove variable.
10985 (inst_localtime-file): Likewise.
10987 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11008 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11012 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11013 comparisons to determine direction to adjust input.
11014 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11015 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11020 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11022 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11023 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11025 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11027 * math/libm-test.inc (nexttoward_test): Add more tests.
11029 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11032 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11033 in version GLIBC_2.1, not GLIBC_2.0.
11034 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11037 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11040 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11042 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11043 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11044 * math/libm-test.inc (acos_test): Add more tests.
11045 (asin_test): Likewise.
11046 * sysdeps/i386/fpu/libm-test-ulps: Update.
11047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11050 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11052 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11053 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11054 * math/libm-test.inc (acos_test_tonearest): New function.
11055 (acos_test_towardzero): Likewise.
11056 (acos_test_downward): Likewise.
11057 (acos_test_upward): Likewise.
11058 (asin_test_tonearest): Likewise.
11059 (asin_test_towardzero): Likewise.
11060 (asin_test_downward): Likewise.
11061 (asin_test_upward): Likewise.
11062 (main): Call the new functions.
11063 * sysdeps/i386/fpu/libm-test-ulps: Update.
11064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11068 * math/e_exp10.c: Include <float.h>.
11069 (__ieee754_exp10): Handle underflow here rather than multiplying
11070 large negative argument by M_LN10.
11071 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11073 * math/e_exp10l.c: Include <float.h>.
11074 (__ieee754_exp10l): Handle underflow here rather than multiplying
11075 large negative argument by M_LN10l.
11076 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11077 spurious overflow exception on underflow.
11079 2012-04-29 Marek Polacek <polacek@redhat.com>
11081 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11082 (__fortify_function): New macro.
11083 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11084 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11085 __extern_always_inline.
11086 * libio/bits/stdio2.h: Likewise.
11087 * libio/bits/stdio.h: Likewise.
11088 * string/string.h: Likewise.
11089 * string/bits/string3.h: Likewise.
11090 * include/stdio.h: Likewise.
11091 * stdlib/bits/stdlib.h: Likewise.
11092 * stdlib/stdlib.h: Likewise.
11093 * rt/bits/mqueue2.h: Likewise.
11094 * rt/mqueue.h: Likewise.
11095 * posix/bits/unistd.h: Likewise.
11096 * posix/unistd.h: Likewise.
11097 * io/bits/poll2.h: Likewise.
11098 * io/bits/fcntl2.h: Likewise.
11099 * io/fcntl.h: Likewise.
11100 * io/sys/poll.h: Likewise.
11101 * misc/bits/syslog.h: Likewise.
11102 * misc/bits/syslog-ldbl.h: Likewise.
11103 * misc/sys/syslog.h: Likewise.
11104 * socket/bits/socket2.h: Likewise.
11105 * socket/sys/socket.h: Likewise.
11106 * debug/tst-chk1.c: Likewise.
11107 * wcsmbs/bits/wchar2.h: Likewise.
11108 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11109 * wcsmbs/wchar.h: Likewise.
11111 2012-04-29 Andreas Jaeger <aj@suse.de>
11113 * Makerules (tests): Remove enable-check-abi protection.
11114 (check-abi-warn): Remove.
11115 (check-abi-%): Remove check-abi-warn usage.
11117 * configure.in: Remove check-abi configure option.
11118 * configure: Regenerated.
11119 * config.make.in (enable-check-abi): Remove.
11121 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11124 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11125 double functions to double *_finite functions.
11128 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11129 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11131 * stdio-common/Makefile (tests): Add tst-sprintf3.
11132 * stdio-common/tst-sprintf3.c: New file.
11134 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11135 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11137 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11139 * conform/conformtest.pl: Remove duplicate typed-constant
11142 2012-04-28 David S. Miller <davem@davemloft.net>
11144 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11145 (check-abi-%): Remove AWK script prerequisite and explicit
11147 (check-abi): Rewrite to just diff the symlist with the abilist.
11148 (config-tls, config-abi-config): Delete, no longer used.
11149 (update-abi-%): Remove AWK script and explicit abilist directory.
11150 (update-abi): Rewrite to simply compare and conditionally copy the
11151 symlist and the sysdep abilist file. Remove update-abi-config
11153 * abilist/ld.abilist: Remove.
11154 * abilist/libBrokenLocale.abilist: Remove.
11155 * abilist/libanl.abilist: Remove.
11156 * abilist/libcrypt.abilist: Remove.
11157 * abilist/libdl.abilist: Remove.
11158 * abilist/librt.abilist: Remove.
11159 * abilist/libthread_db.abilist: Remove.
11160 * abilist/libutil.abilist: Remove.
11161 * scripts/extract-abilist.awk: Remove.
11162 * scripts/merge-abilist.awk: Remove.
11163 * sysdeps/generic/libcidn.abilist: New file.
11164 * sysdeps/generic/libnss_compat.abilist: New file.
11165 * sysdeps/generic/libnss_db.abilist: New file.
11166 * sysdeps/generic/libnss_dns.abilist: New file.
11167 * sysdeps/generic/libnss_files.abilist: New file.
11168 * sysdeps/generic/libnss_hesiod.abilist: New file.
11169 * sysdeps/generic/libnss_nis.abilist: New file.
11170 * sysdeps/generic/libnss_nisplus.abilist: New file.
11171 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11172 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11173 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11176 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11177 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11178 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11179 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11180 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11181 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11182 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11183 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11185 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11186 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11187 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11188 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11190 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11191 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11192 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11195 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11197 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11198 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11199 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11201 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11222 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11304 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11305 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11306 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11309 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11310 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11311 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11312 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11313 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11314 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11315 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11316 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11317 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11369 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11371 * conform/conformtest.pl: Fix typo in handling typed-constant from
11374 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11376 * README: Cut down references to pre-2.6 Linux kernels and
11377 Linuxthreads. Update lists of configurations in libc and ports
11378 and sort alphabetically. Say "or newer" with Linux kernel version
11381 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11383 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11386 * math/libm-test.inc (logb_test_downward): New test to expose
11387 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11390 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11393 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11395 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11396 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11398 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11400 * sysdeps/unix/i386/brk.S: Remove file.
11401 * sysdeps/unix/i386/dl-brk.S: Likewise.
11402 * sysdeps/unix/i386/pipe.S: Likewise.
11403 * sysdeps/unix/i386/sigreturn.S: Likewise.
11404 * sysdeps/unix/i386/syscall.S: Likewise.
11405 * sysdeps/unix/i386/vfork.S: Likewise.
11406 * sysdeps/unix/i386/wait.S: Likewise.
11408 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11409 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11411 * configure.in (arm*-none*): Do not allow without
11412 --enable-hacker-mode.
11413 (netbsd*): Remove case setting base_os.
11414 (386bsd*): Likewise.
11415 (freebsd*): Likewise.
11418 (sunos*): Likewise.
11419 (ultrix*): Likewise.
11420 (newsos*): Likewise.
11421 (dynix*): Likewise.
11427 (minix*): Likewise.
11428 (irix4*): Likewise.
11429 (irix6*): Likewise.
11430 (solaris[2-9]*): Likewise.
11432 * configure: Regenerated.
11434 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11437 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11438 overflow or cancellation in calculating denominator.
11439 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11441 down expression to avoid unexpected rounding in newer GCCs.
11442 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11444 2012-04-26 David S. Miller <davem@davemloft.net>
11446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11447 long-double compat symbols.
11448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11462 2012-04-25 David S. Miller <davem@davemloft.net>
11464 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11465 HWCAP_* values only after the memory barriers have been defined.
11466 (atomic_full_barrier): Define.
11467 (atomic_read_barrier): Define.
11468 (atomic_write_barrier): Define.
11470 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11472 * shlib-versions: Add libgcc_s version information.
11473 * sysdeps/generic/libgcc_s.h: Remove.
11474 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11476 * sysdeps/gnu/unwind-resume.c: Likewise.
11477 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11479 2012-04-25 David S. Miller <davem@davemloft.net>
11481 * sysdeps/unix/sparc/brk.S: Delete.
11482 * sysdeps/unix/sparc/dl-brk.S: Delete.
11483 * sysdeps/unix/sparc/pipe.S: Delete.
11484 * sysdeps/unix/sparc/sysdep.S: Delete.
11485 * sysdeps/unix/sparc/sysdep.h: Delete.
11486 * sysdeps/unix/sparc/vfork.S: Delete.
11487 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11488 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11489 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11490 ret_ERRVAL, r0, r1, MOVE): Define.
11491 (JUMPTARGET): Remove.
11492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11493 sysdeps/unix/sparc/sysdep.h
11494 (ENTRY, END): Remove.
11495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11497 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11499 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11500 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11503 * timezone/README: Update upstream location and email address for
11505 * timezone/zdump.c: Update from tzcode 2012b.
11506 * timezone/zic.c: Likewise.
11508 * configure.in (libc_cv_as_needed): Remove test.
11509 * configure: Regenerated.
11510 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11511 conditional definition.
11512 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11513 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11514 * config.make.in (have-as-needed): Remove variable.
11516 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11517 Paul Pluzhnikov <ppluzhnikov@google.com>
11519 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11522 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11524 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11525 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11526 * sysdeps/sh/strlen.S: Likewise.
11528 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11530 * sysdeps/unix/fork.S: Remove file.
11531 * sysdeps/unix/i386/fork.S: Likewise.
11532 * sysdeps/unix/sparc/fork.S: Likewise.
11534 * sysdeps/unix/system.c: Remove file.
11535 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11537 * sysdeps/unix/getegid.S: Remove file.
11538 * sysdeps/unix/geteuid.S: Likewise.
11540 2012-04-24 Roland McGrath <roland@hack.frob.com>
11542 * scripts/check-localplt.awk: New file.
11543 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11545 * scripts/data/localplt-generic.data: Add a comment.
11547 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11548 NODE when __dir_mkfile failed.
11549 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11550 Reported by Ludovic Courtès <ludo@gnu.org>.
11552 2012-04-24 Andreas Jaeger <aj@suse.de>
11554 * Makerules (common-clean): Also remove gen-as-const-headers
11557 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11559 * Makerules (native-compile): Do not change working directory for
11560 build. Use $(OUTPUT_OPTION) in command.
11561 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11563 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11566 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11567 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11568 * math/libm-test.inc (floor_test): Add more tests.
11569 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11571 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11573 * sysdeps/unix/getdents.c: Remove file.
11574 * sysdeps/unix/sysv/getdents.c: Likewise.
11575 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11577 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11578 sysdeps/unix/mman/syscalls.list.
11580 (mprotect): Likewise.
11582 (munmap): Likewise.
11583 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11584 * sysdeps/unix/mman/syscalls.list: Remove.
11585 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11587 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11588 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11589 * configure: Regenerated.
11590 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11591 $(libgcc_s_suffix).
11592 * config.make.in (libgcc_s_suffix): Remove variable.
11594 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11596 * sysdeps/unix/sysv/gethostname.c: Move to ...
11597 * sysdeps/posix/gethostname.c: ... here.
11599 * sysdeps/unix/execve.S: Remove file.
11601 * sysdeps/unix/_exit.S: Remove file.
11603 2012-04-23 Andreas Jaeger <aj@suse.de>
11606 * manual/Makefile: Remove make dist support, there's no
11607 need for a stand-alone documentation tar ball.
11608 (TEXI2DVI): Define always, it's not in Makeconfig.
11611 (edition): Removed.
11612 (glibc-doc-$(edition).tar): Removed
11616 (ETAGS): Remove, it's in Makeconfig.
11617 (move-if-change): Remove, it's in Makeconfig.
11619 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
11622 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11623 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11624 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11625 (strtod_l, strtof_l, strtold_l): Remove __wur.
11626 It is not necessarily an error to ignore strtol's return value.
11627 One can reliably look at the stored endptr to decide whether
11628 the number had valid syntax.
11630 2012-04-21 Andreas Jaeger <aj@suse.de>
11633 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
11635 2012-04-21 Joseph Myers <joseph@codesourcery.com>
11637 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
11638 * sysdeps/unix/sysv/Versions: Remove file.
11640 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
11643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11645 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
11648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
11649 version from __vm86.
11651 2012-04-20 Joseph Myers <joseph@codesourcery.com>
11653 * sysdeps/unix/common/lxstat.c: Remove file.
11654 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
11656 * sysdeps/unix/sysv/Makefile: Remove file.
11658 * sysdeps/unix/sysv/direct.h: Remove file.
11660 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
11661 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
11662 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
11663 * sysdeps/unix/sysv/bits/signum.h: Likewise.
11664 * sysdeps/unix/sysv/bits/stat.h: Likewise.
11665 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
11666 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
11668 * sysdeps/unix/sysv/setrlimit.c: Remove file.
11670 * sysdeps/unix/xmknod.c: Remove file.
11671 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
11673 * sysdeps/unix/sysv/settimeofday.c: Remove file.
11675 * sysdeps/unix/sysv/i386/time.S: Remove file.
11677 * sysdeps/unix/fxstat.c: Remove file.
11678 * sysdeps/unix/xstat.c: Likewise.
11679 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
11681 * sysdeps/unix/sysv/sigaction.c: Remove file.
11683 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
11684 (sysdep_headers): Remove variable.
11685 [termio.h not in sysdep_headers] (generated): Likewise.
11686 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
11687 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
11688 * sysdeps/unix/sysv/tcdrain.c: Likewise.
11689 * sysdeps/unix/sysv/tcflow.c: Likewise.
11690 * sysdeps/unix/sysv/tcflush.c: Likewise.
11691 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
11692 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
11693 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
11694 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
11695 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
11697 * sysdeps/unix/siglist.c: Remove file.
11699 * sysdeps/unix/getppid.S: Remove file.
11701 * sysdeps/unix/mkdir.c: Remove file.
11702 * sysdeps/unix/rmdir.c: Likewise.
11704 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11706 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
11708 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
11709 errlist-compat value.
11711 2012-04-18 David S. Miller <davem@davemloft.net>
11713 * sysdeps/generic/memcopy.h (reg_char): Delete.
11714 * debug/strcat_chk.c: Use char, not reg_char.
11715 * debug/strcpy_chk.c: Likewise.
11716 * debug/strncat_chk.c: Likewise.
11717 * debug/strncpy_chk.c: Likewise.
11718 * string/memchr.c: Likewise.
11719 * string/memrchr.c: Likewise.
11720 * string/rawmemchr.c: Likewise.
11721 * string/strcat.c: Likewise.
11722 * string/strchr.c: Likewise.
11723 * string/strchrnul.c: Likewise.
11724 * string/strcmp.c: Likewise.
11725 * string/strcpy.c: Likewise.
11726 * string/strncat.c: Likewise.
11727 * string/strncmp.c: Likewise.
11728 * string/strncpy.c: Likewise.
11730 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11732 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
11733 __builtin_memcopy is called when src and dest ranges are known to not
11736 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
11739 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
11740 fwd_align_merge macro call.
11741 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
11742 bwd_align_merge macro call.
11743 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11745 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
11747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
11748 bwd_align_merge macros.
11749 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
11750 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
11751 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11753 2012-04-18 David S. Miller <davem@davemloft.net>
11755 * sysdeps/sparc/sparc64/memcopy.h: Delete.
11757 2012-04-18 Andreas Jaeger <aj@suse.de>
11760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
11761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
11762 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
11765 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
11766 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11768 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
11769 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
11770 Adjust for changed ldbl-128 files.
11772 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
11773 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
11774 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
11776 2012-04-17 David S. Miller <davem@davemloft.net>
11778 * sysdeps/sparc/sparc32/memcopy.h: Delete.
11780 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
11782 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
11783 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
11784 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
11785 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
11786 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11787 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
11789 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11792 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
11793 * math/libm-test.inc: Add ilogb errno and exception tests.
11794 * math/w_ilogb.c: New file: ilogb wrapper.
11795 * math/w_ilogbf.c: New file: ilogbf wrapper.
11796 * math/w_ilogbl.c: New file: ilogbl wrapper.
11797 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
11798 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
11799 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
11800 exception being thrown with 0.0 as argument.
11801 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
11802 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
11803 exception being thrown with 0.0 as argument.
11804 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
11805 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11806 exception being thrown with 0.0 as argument.
11807 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
11808 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
11809 exception being thrown with 0.0 as argument.
11810 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
11811 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
11812 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
11813 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
11814 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
11815 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
11816 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
11817 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
11818 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
11820 2012-04-17 Petr Baudis <pasky@ucw.cz>
11822 * include/sys/uio.h: Change __vector to __iovec to avoid clash
11825 2012-04-16 Marek Polacek <polacek@redhat.com>
11827 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
11829 2012-04-16 Marek Polacek <polacek@redhat.com>
11831 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
11832 operands of fdivp instruction.
11834 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11836 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
11837 * elf/tst-auditmod3b.c: Likewise.
11838 * elf/tst-auditmod4b.c: Likewise.
11839 * elf/tst-auditmod5b.c: Likewise.
11840 * elf/tst-auditmod6b.c: Likewise.
11841 * elf/tst-auditmod6c.c: Likewise.
11842 * elf/tst-auditmod7b.c: Likewise.
11843 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11844 * sysdeps/x86_64/preconfigure.in: Likewise.
11845 * sysdeps/x86_64/preconfigure: Regenerated.
11847 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
11849 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
11852 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
11854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11855 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
11857 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
11860 * locale/iso-639.def: Fix gl language name. Spotted by
11863 2012-04-12 Roland McGrath <roland@hack.frob.com>
11866 * libio/libio.h (__io_write_fn): Update comment.
11868 2012-04-12 Petr Baudis <pasky@ucw.cz>
11871 * stdio.texi (Hook Functions): The user provided writer function
11872 is not allowed to return -1.
11874 2012-04-11 David S. Miller <davem@davemloft.net>
11876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11878 2012-04-11 Mike Frysinger <vapier@gentoo.org>
11880 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
11881 Add a leading slash to rtkaio.
11883 2012-04-11 Jim Meyering <meyering@redhat.com>
11886 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
11887 It is not necessarily an error to ignore fwrite's return
11888 value. One can reliably use ferror to test for errors after
11891 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11893 * bits/types.h (__snseconds_t): New type.
11894 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
11896 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
11897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11898 (__SNSECONDS_T_TYPE): Likewise.
11899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11900 (__SNSECONDS_T_TYPE): Likewise.
11901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11902 (__SNSECONDS_T_TYPE): Likewise.
11904 2012-04-10 Andreas Jaeger <aj@suse.de>
11907 * manual/time.texi (Processor Time): Return type of times is
11908 elapsed real time since an arbitrary point in the past.
11909 (CPU Time): Move CLK_TCK from here...
11910 (Processor Time): ...to here. Correct description.
11911 * manual/conf.texi (Constants for Sysconf): Correct description of
11914 2012-04-10 David S. Miller <davem@davemloft.net>
11917 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
11918 where the is a gap between DT_REL(A) and DT_JMPREL.
11920 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
11922 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
11923 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11924 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
11926 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11928 * elf/dl-support.c (_dl_inhibit_cache): New variable.
11929 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
11930 (dl_main): Handle --inhibit-cache.
11931 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
11933 * elf/dl-load.c (_dl_map_object): Use it.
11934 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
11936 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11939 * sysdeps/i386/fpu/e_powl.S (p78): New object.
11940 (__ieee754_powl): Saturate large exponents rather than testing for
11941 overflow of y*log2(x).
11942 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11943 * math/libm-test.inc (pow_test): Do not permit spurious overflow
11947 * math/s_ctan.c: Include <float.h>.
11948 (__ctan): Avoid internal overflow or cancellation in calculating
11950 * math/s_ctanf.c: Likewise.
11951 * math/s_ctanl.c: Likewise.
11952 * math/s_ctanh.c: Likewise.
11953 * math/s_ctanhf.c: Likewise.
11954 * math/s_ctanhl.c: Likewise.
11955 * math/libm-test.inc (ctan_test): Add more tests.
11956 (ctanh_test): Likewise.
11957 * sysdeps/i386/fpu/libm-test-ulps: Update.
11958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11960 2012-04-09 Andreas Jaeger <aj@suse.de>
11963 * manual/filesys.texi (Directory Entries): Mention that d_namlen
11964 is an optional BSD extension.
11967 * manual/stdio.texi (Opening Streams): Document additional fopen
11970 2012-04-09 Roland McGrath <roland@hack.frob.com>
11972 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
11973 %eax without telling the compiler.
11975 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
11978 * manual/install.texi: Use sourceware.org.
11980 2012-04-09 Joseph Myers <joseph@codesourcery.com>
11983 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
11984 (__ieee754_pow): Generate overflow and underflow using huge*huge
11985 and tiny*tiny rather than just returning constant infinity or zero
11986 for large exponents.
11987 * math/libm-test.inc (pow_test): Require overflow exceptions for
11988 applicable cases of large exponents.
11991 * sysdeps/i386/fpu/e_pow.S (p10): New object.
11992 (__ieee754_pow): Use iterative multiplication algorithm only for
11993 integer exponents with absolute value below 1024. Check for odd
11994 integer exponents when using algorithm for real exponents.
11995 * math/libm-test.inc (pow_test): Add more tests.
11996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11998 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12001 * math/libm-test.inc (exp_test): Do not allow overflow exception
12004 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12007 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12008 instead of __kernel_standard_f.
12010 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12012 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12013 * sysdeps/x86_64/memset_chk.S: Likewise.
12015 2012-04-08 Andreas Jaeger <aj@suse.de>
12018 * manual/startup.texi (Environment Access): Describe return value
12019 for putenv and setenv.
12022 * manual/filesys.texi (Directory Entries): Add description for
12026 * manual/filesys.texi (Directory Entries): Clarify that it's file
12027 system not operating system in the description of DT_UNKNOWN.
12030 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12032 2012-04-08 Stephen Compall <s11@member.fsf.org>
12035 * manual/llio.texi (Opening and Closing Files): Add cross
12036 reference to explain mode argument.
12038 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12040 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12041 * sysdeps/x86_64/memset_chk.S: Likewise.
12043 2012-04-07 David S. Miller <davem@davemloft.net>
12045 * elf/elf.h (R_SPARC_WDISP10): Define.
12046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12048 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12049 R_SPARC_SIZE64 and R_SPARC_H34.
12051 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12053 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12054 conditions and remove no longer applicable assertion.
12056 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12058 * bits/byteswap.h: Include <features.h>.
12059 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12060 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12062 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12064 * bits/byteswap.h (__bswap_16): Removed.
12065 Include <bits/byteswap-16.h> to get __bswap_16.
12066 * sysdeps/i386/bits/byteswap.h: Likewise.
12067 * sysdeps/s390/bits/byteswap.h: Likewise.
12068 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12069 * bits/byteswap-16.h: New file.
12070 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12071 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12072 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12073 * string/Makefile (headers): Add bits/byteswap-16.h.
12075 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12078 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12080 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12081 * nss/tst-nss-static.c: New.
12083 2012-04-06 Robert Millan <rmh@gnu.org>
12086 * manual/llio.texi (File Position Primitive): lseek
12087 refers to WHENCE when it really means OFFSET.
12089 2012-04-06 Andreas Jaeger <aj@suse.de>
12091 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12092 strncmp declarations.
12094 * abilist/libc.abilist: Add __poll and __ppoll.
12096 2012-04-05 David S. Miller <davem@davemloft.net>
12098 * scripts/check-local-headers.sh: Accept a host triplet in the
12099 path matched by the exclude regexp.
12101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12103 * sysdeps/powerpc/powerpc32/dl-machine.h
12104 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12105 * sysdeps/s390/s390-32/dl-machine.h
12106 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12107 * sysdeps/sparc/sparc32/dl-machine.h
12108 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12109 * sysdeps/sparc/sparc64/dl-machine.h
12110 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12112 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12114 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12115 undefined symbol errors.
12117 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12120 2012-04-05 Michael Matz <matz@suse.de>
12123 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12125 2012-04-05 Andreas Jaeger <aj@suse.de>
12128 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12131 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12133 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12134 which ROUND is no valid rounding mode.
12136 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12138 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12140 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12142 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12145 an exception using FPU order intentionally.
12147 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12149 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12150 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12151 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12152 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12154 2012-04-05 Simon Josefsson <simon@josefsson.org>
12157 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12158 EINVAL when BUFLEN is too smal.
12160 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12163 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12164 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12166 2012-04-03 Andreas Jaeger <aj@suse.de>
12169 * manual/setjmp.texi (System V contexts): Fix sentence.
12172 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12173 New macro for this case.
12174 [!__GNUC__] (__bswap_64): New inline function for this case.
12175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12176 * bits/byteswap.h: Likewise.
12177 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12178 ull, guard with __GLIBC_HAVE_LONG_LONG.
12180 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12181 __GLIBC_HAVE_LONG_LONG.
12183 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12184 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12186 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12189 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12190 inptr and inend, rather than using last_ch.
12192 2012-04-02 David S. Miller <davem@davemloft.net>
12194 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12195 * stdio-common/printf-parse.h (read_int): Change return type to
12196 'int', return -1 on INT_MAX overflow.
12197 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12198 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12199 overflows INT_MAX. Check for overflow of in-format-string precision
12200 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12201 SIZE_MAX not INT_MAX for integer overflow test.
12202 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12203 skip the construct in the format string but do not record anything.
12204 * stdio-common/bug22.c: Adjust to test both width/prevision
12205 INT_MAX overflow as well as total length INT_MAX overflow. Check
12206 explicitly for proper errno values.
12208 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12210 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12212 * string/test-strcmp.c [! WIDE]: Likewise.
12213 * time/tst-mktime2.c: Likewise for INT_MAX.
12214 * string/test-string.h: #include <sys/param.h> for MIN.
12216 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12217 * sysdeps/i386/init-first.c (init): Likewise.
12218 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12219 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12220 * sysdeps/sh/init-first.c (init): Likewise.
12222 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12224 * po/ru.po: Update from translation team.
12225 * po/vi.po: Likewise.
12227 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12229 * resolv/nss_dns/dns-host.c: Merge copyright years.
12231 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12233 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12234 Optimize memcpy with prefetch if
12235 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12236 src, dst pointers have unequal 16 byte alignments.
12238 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12241 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12242 from a CNAME entry and return the minimum ttl for the query.
12243 (gaih_getanswer_slice): Likewise.
12245 2012-03-30 Jeff Law <law@redhat.com>
12247 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12249 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12250 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12252 * resolv/nss_dns/dns-host.c: Update copyright year.
12254 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12256 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12257 requests to save a system call. Fix check that all bytes are sent.
12259 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12260 comments for sendmmsg.
12262 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12265 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12266 with only 1 character between 0x0041 and 0x01b0.
12267 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12268 * wcsmbs/tst-mbsnrtowcs.c: New file.
12270 2012-03-29 David S. Miller <davem@davemloft.net>
12272 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12273 small copies by hand.
12275 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12278 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12279 _nss_compat_initgroups_dyn): Fall back to malloc/free
12280 for large group memberships.
12282 2012-03-28 David S. Miller <davem@davemloft.net>
12284 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12285 that branches into memcpy.
12286 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12287 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12288 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12289 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12292 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12293 implementation too.
12294 * sysdeps/sparc/mempcpy.S: New file.
12296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12297 the IFUNC routine in the libc case.
12298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12300 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12301 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12302 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12303 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12304 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12305 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12306 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12307 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12309 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12310 loop to 256 bytes instead of 64 bytes and fix test signedness.
12312 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12313 * sysdeps/sparc/sparc32/Makefile: rather than here...
12314 * sysdeps/sparc/sparc64/Makefile: and here.
12316 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12318 * malloc/mallocbug.c: Avoid warnings about unused variables.
12320 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12323 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12324 in the right place. Discard and retry query if response is
12325 larger than input buffer size.
12327 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12332 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12333 x for large integer exponent.
12334 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12335 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12336 sign of result as needed afterwards.
12337 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12338 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12339 result for underflowing pow the same as for overflow.
12340 (__kernel_standard_l): Handle powl overflow and underflow here
12341 rather than calling __kernel_standard.
12342 * math/libm-test.inc (pow_test): Add more tests.
12357 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12358 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12359 (__kernel_standard_l): New function.
12360 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12362 * math/w_acosl.c (__acosl): Likewise.
12363 * math/w_asinl.c (__asinl): Likewise.
12364 * math/w_atan2l.c (__atan2l): Likewise.
12365 * math/w_atanhl.c (__atanhl): Likewise.
12366 * math/w_coshl.c (__coshl): Likewise.
12367 * math/w_exp10l.c (__exp10l): Likewise.
12368 * math/w_exp2l.c (__exp2l): Likewise.
12369 * math/w_fmodl.c (__fmodl): Likewise.
12370 * math/w_hypotl.c (__hypotl): Likewise.
12371 * math/w_j0l.c (__j0l, __y0l): Likewise.
12372 * math/w_j1l.c (__j1l, __y1l): Likewise.
12373 * math/w_jnl.c (__jnl, __ynl): Likewise.
12374 * math/w_lgammal.c (__lgammal): Likewise.
12375 * math/w_log10l.c (__log10l): Likewise.
12376 * math/w_log2l.c (__log2l): Likewise.
12377 * math/w_logl.c (__logl): Likewise.
12378 * math/w_powl.c (__powl): Likewise.
12379 * math/w_remainderl.c (__remainderl): Likewise.
12380 * math/w_scalbl.c (sysv_scalbl): Likewise.
12381 * math/w_sinhl.c (__sinhl): Likewise.
12382 * math/w_sqrtl.c (__sqrtl): Likewise.
12383 * math/w_tgammal.c (__tgammal): Likewise.
12384 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12385 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12386 * math/libm-test.inc (acos_test): Add more tests.
12387 (acosh_test): Likewise.
12388 (asin_test): Likewise.
12389 (atanh_test): Likewise.
12390 (exp_test): Likewise.
12391 (exp10_test): Likewise.
12392 (exp2_test): Likewise.
12393 (expm1_test): Likewise.
12394 (lgamma_test): Likewise.
12395 (log_test): Likewise.
12396 (log10_test): Likewise.
12397 (log1p_test): Likewise.
12398 (log2_test): Likewise.
12399 (pow_test): Do not allow some spurious overflow exceptions.
12400 (sqrt_test): Add more tests.
12401 (tgamma_test): Likewise.
12402 (y0_test): Likewise.
12403 (y1_test): Likewise.
12404 (yn_test): Likewise.
12406 2012-03-27 Anton Blanchard <anton@samba.org>
12408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12410 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12411 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12414 2012-03-27 David S. Miller <davem@davemloft.net>
12416 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12418 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12419 have-as-vis3 check.
12421 2012-03-27 Andreas Jaeger <aj@suse.de>
12423 * sysdeps/x86_64/elf/configure.in: Moved to ...
12424 * sysdeps/x86_64/configure.in: ... here.
12425 * sysdeps/x86_64/elf/start.S: Moved to ...
12426 * sysdeps/x86_64/start.S: ... here.
12427 * sysdeps/x86_64/elf/configure: Delete.
12429 * sysdeps/x86_64/configure.in: Merge contents from
12430 sysdeps/i386/configure.in (without i686 check).
12432 * sysdeps/i386/elf/Versions: Merge into ...
12433 * sysdeps/i386/Versions: ... this.
12434 * sysdeps/i386/elf/Versions: Delete file.
12435 * sysdeps/i386/elf/start.S: Moved to ...
12436 * sysdeps/i386/start.S: ...here.
12437 * sysdeps/i386/elf/configure.in: Merge into...
12438 * sysdeps/i386/configure.in: ...here.
12439 * sysdeps/i386/elf/configure.in: Delete file.
12440 * sysdeps/i386/elf/configure: Delete file.
12442 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12443 * debug/backtracesyms.c: ... here.
12444 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12445 * debug/backtracesymsfd.c: ... here.
12446 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12447 * sysdeps/generic/ifunc-sel.h: ... here.
12449 * sysdeps/unix/i386/start.c: Delete file.
12450 * sysdeps/unix/sparc/start.c: Delete file.
12451 * sysdeps/unix/start.c: Delete file.
12453 * sysdeps/sh/elf/configure.in: Moved to ...
12454 * sysdeps/sh/configure.in: ... here.
12455 * sysdeps/sh/elf/start.S: Moved to ...
12456 * sysdeps/sh/start.S: ... here.
12457 * sysdeps/sh/elf/configure: Delete file.
12459 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12460 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12461 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12462 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12463 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12464 * sysdeps/powerpc/powerpc64/start.S: here.
12465 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12466 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12467 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12468 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12469 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12471 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12472 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12473 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12474 * sysdeps/powerpc/powerpc32/start.S: ... here.
12475 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12476 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12477 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12479 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12480 * sysdeps/powerpc/ifunc-sel.h: ... here.
12481 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12482 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12484 * sysdeps/sparc/elf/configure.in: Moved to ...
12485 * sysdeps/sparc/configure.in: ... here.
12486 * sysdeps/sparc/elf/configure: Delete file.
12487 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12488 * sysdeps/sparc/sparc32/start.S: ... here.
12489 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12490 * sysdeps/sparc/sparc64/start.S: ... here.
12491 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12492 * sysdeps/sparc/sparc32/Makefile: ... this.
12493 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12494 * sysdeps/sparc/sparc64/Makefile: ... this.
12496 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12497 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12498 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12499 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12500 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12501 * sysdeps/s390/s390-32/setjmp.S: ... here.
12502 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12503 * sysdeps/s390/s390-32/configure.in: ... here.
12504 * sysdeps/s390/s390-32/elf/configure: Delete file.
12505 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12506 * sysdeps/s390/s390-32/start.S: ... here.
12508 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12509 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12510 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12511 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12512 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12513 * sysdeps/s390/s390-64/setjmp.S: ... here.
12514 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12515 * sysdeps/s390/s390-64/configure.in: ... here
12516 * sysdeps/s390/s390-64/elf/configure: Delete file.
12517 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12518 * sysdeps/s390/s390-64/start.S: ... here.
12519 * sysdeps/s390/s390-64/elf/configure: Delete.
12521 * configure.in: Remove support for elf directories in sysdeps.
12523 * configure: Regenerated.
12524 * sysdeps/i386/configure: Regenerated.
12525 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12526 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12527 * sysdeps/s390/s390-32/configure: Regenerated.
12528 * sysdeps/s390/s390-64/configure: Regenerated.
12529 * sysdeps/sh/configure: Regenerated.
12530 * sysdeps/sparc/configure: Regenerated.
12531 * sysdeps/x86_64/configure: Regenerated.
12533 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12537 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12538 denormal result into account.
12540 2012-03-25 Roland McGrath <roland@hack.frob.com>
12542 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12543 Reported by Allan McRae <allan@archlinux.org>.
12545 2012-03-23 Jeff Law <law@redhat.com>
12547 * nss/getnssent.c (__nss_getent): Fix typo.
12549 2012-03-23 David S. Miller <davem@davemloft.net>
12551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12553 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12555 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12556 to pad to uint64_t for each field.
12557 (dl_tls_index): Replace unsigned long with uint64_t.
12559 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12560 Paul Pluzhnikov <ppluzhnikov@google.com>
12563 * grp/Makefile (otherlibs): Don't set it.
12564 * inet/Makefile (otherlibs): Likewise.
12565 * login/Makefile (otherlibs): Likewise.
12566 * nscd/Makefile (otherlibs): Likewise.
12567 * posix/Makefile (otherlibs): Likewise.
12568 * pwd/Makefile (otherlibs): Likewise.
12569 * rt/Makefile (otherlibs): Likewise.
12570 * sunrpc/Makefile (otherlibs): Likewise.
12571 * nss/Makefile (otherlibs): Likewise.
12572 Add libnss_files to routines and static-only-routines.
12573 ($(objpfx)getent): Remove rule.
12574 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12575 static-only-routines.
12577 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12580 * math/s_cexp.c: Include <float.h>.
12581 (__cexp): Handle exp result overflowing not necessarily
12582 overflowing both real and imaginary parts of result.
12583 * math/s_cexpf.c: Likewise.
12584 * math/s_cexpl.c: Likewise.
12585 * math/libm-test.inc (cexp_test): Add more tests.
12586 * sysdeps/i386/fpu/libm-test-ulps: Update.
12587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12589 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12591 * include/link.h (ELFW): New macro.
12592 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12593 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12595 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12597 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12600 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12602 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12604 (struct La_x32_retval): Likewise.
12606 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12608 * sysdeps/x86_64/preconfigure.in: New file.
12609 * sysdeps/x86_64/preconfigure: New generated file.
12611 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12614 * math/e_exp2l.c: Include <float.h>.
12615 (__ieee754_exp2l): Handle overflow and underflow cases
12616 separately. Only pass fractional part of argument to
12618 * math/libm-test.inc (exp2_test): Add more tests.
12620 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12621 negating x to take absolute value.
12622 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12627 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
12628 computing low part if x was negated.
12629 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12631 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12633 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
12634 la_x32_gnu_pltexit.
12635 (pltexit): Cast int_retval to ptrdiff_t.
12636 * elf/tst-auditmod3b.c: Likewise.
12637 * elf/tst-auditmod4b.c: Likewise.
12638 * elf/tst-auditmod5b.c: Likewise.
12639 * elf/tst-auditmod6b.c: Likewise.
12640 * elf/tst-auditmod6c.c: Likewise.
12641 * elf/tst-auditmod7b.c: Likewise.
12643 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
12644 and x32_gnu_pltexit.
12646 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
12647 __ELF_NATIVE_CLASS.
12648 (La_x32_regs): New macro.
12649 (La_x32_retval): Likewise.
12650 (la_x32_gnu_pltenter): New function prototype.
12651 (la_x32_gnu_pltexit): Likewise.
12653 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
12655 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
12658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12660 * configure.in (libc_cv_cc_nofma): Check for option to disable
12661 generation of FMA instructions.
12662 * configure: Regenerate.
12663 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
12664 * sysdeps/ieee754/dbl-64/Makefile: New file.
12665 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
12666 Remove brandred-fma4.
12667 (CFLAGS-brandred-fma4.c): Remove.
12668 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
12669 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
12671 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
12674 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12676 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12677 LLONG_MAX != LONG_MAX.
12678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12679 (_fitoa_word): Likewise.
12680 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
12681 LLONG_MAX != LONG_MAX.
12682 * stdio-common/_itowa.h: Include <_itoa.h>.
12683 (_itowa_word): Use _ITOA_WORD_TYPE on value.
12684 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
12685 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
12686 only if not defined.
12687 (_ITOA_WORD_TYPE): Likewise.
12688 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12689 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
12691 2012-03-21 David S. Miller <davem@davemloft.net>
12693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12695 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
12697 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
12698 of x86_64 when setting libc_cv_slibdir, libdir and
12700 * sysdeps/unix/sysv/linux/configure: Regenerated.
12702 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12704 * manual/lang.texi (Old Varargs): Remove section.
12705 (How Variadic): Update menu.
12706 (va_start): Do not mention varargs.h.
12708 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12709 Joseph Myers <joseph@codesourcery.com>
12711 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
12713 * configure: Regenerated.
12715 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
12717 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
12718 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
12721 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12724 * Makefile (files-for-dist): Remove NOTES.
12725 (NOTES): Remove rule.
12726 * README: Don't refer to NOTES.
12727 * manual/creature.texi: Don't include macros.texi.
12728 * manual/intro.texi (creature.texi): Remove comment referring to
12731 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
12732 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
12733 * configure: Regenerated.
12734 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
12735 LIBC_TRY_CC_OPTION.
12736 (libc_cv_as_i686): Likewise.
12737 (libc_cv_cc_avx): Likewise.
12738 (libc_cv_cc_sse2avx): Likewise.
12739 (libc_cv_cc_fma4): Likewise.
12740 (libc_cv_cc_novzeroupper): Likewise.
12741 * sysdeps/i386/configure: Regenerated.
12744 * sysdeps/i386/fpu/s_cexp.S: Remove.
12745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
12746 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
12747 * math/libm-test.inc (cexp_test): Add more tests.
12748 * sysdeps/i386/fpu/libm-test-ulps: Update.
12749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12751 2012-03-21 Allan McRae <allan@archlinux.org>
12753 * timezone/Makefile: Do not install iso3166.tab and zone.tab
12755 2012-03-21 Joseph Myers <joseph@codesourcery.com>
12758 * math/w_exp2.c: Do not include <float.h>.
12759 (o_threshold, u_threshold): Remove.
12760 (__exp2): Calculate result before checking finiteness and calling
12762 * math/w_exp2f.c: Likewise.
12763 * math/w_exp2l.c: Likewise.
12764 * math/libm-test.inc (exp2_test): Require overflow exception for
12768 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
12769 range of signed 64-bit integers before using fistpll. Remove
12770 checks for whether integers fit in mantissa bits.
12771 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
12772 the range of signed 32-bit integers before using fistpl. Remove
12773 checks for whether integers fit in mantissa bits.
12774 * sysdeps/i386/fpu/e_powl.S (p64): New object.
12775 (__ieee754_powl): Test for y outside the range of signed 64-bit
12776 integers before using fistpll. Reduce 64-bit values to 63-bit
12778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
12779 divide-by-zero is raised for zero to large negative powers.
12780 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
12781 (__ieee754_powl): Test for y outside the range of signed 64-bit
12782 integers before using fistpll. Reduce 64-bit values to 63-bit
12784 * math/libm-test.inc (pow_test): Add more tests.
12786 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12788 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
12789 <stdio-common/_itoa.h>.
12790 * debug/segfault.c: Likewise.
12791 * elf/dl-cache.c: Likewise.
12792 * elf/dl-minimal.c: Likewise.
12793 * elf/dl-misc.c: Likewise.
12794 * elf/dl-sysdep.c: Likewise.
12795 * elf/dl-version.c: Likewise.
12796 * elf/rtld.c: Likewise.
12797 * hurd/hurdsock.c: Likewise.
12798 * hurd/lookup-retry.c: Likewise.
12799 * malloc/malloc.c: Likewise.
12800 * malloc/mtrace.c: Likewise.
12801 * nscd/nscd_getgr_r.c: Likewise.
12802 * nscd/nscd_getpw_r.c: Likewise.
12803 * nscd/nscd_getserv_r.c: Likewise.
12804 * posix/getopt_init.c: Likewise.
12805 * posix/wordexp.c: Likewise.
12806 * stdio-common/_itoa.c: Likewise.
12807 * stdio-common/printf_fphex.c: Likewise.
12808 * stdio-common/vfprintf.c: Likewise.
12809 * string/_strerror.c: Likewise.
12810 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
12811 * sysdeps/i386/i686/hp-timing.h: Likewise.
12812 * sysdeps/mach/_strerror.c: Likewise.
12813 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
12814 * sysdeps/mach/hurd/sethostid.c: Likewise.
12815 * sysdeps/mach/hurd/xmknodat.c: Likewise.
12816 * sysdeps/mach/xpg-strerror.c: Likewise.
12817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12818 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12819 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
12820 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
12821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12822 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
12823 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12824 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12825 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
12826 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
12827 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
12828 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12829 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
12830 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12831 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12832 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
12833 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
12834 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
12835 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12836 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
12839 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
12841 * stdio-common/_itoa.h: Moved to ...
12842 * sysdeps/generic/_itoa.h: Here.
12844 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
12846 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
12847 instead of "_itoa.h" and "_itowa.h".
12848 * stdio-common/vfprintf.: Likewise.
12850 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
12854 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
12855 (__signbit): Likwise.
12856 (llrintf): Likwise.
12859 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
12861 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
12864 2012-03-20 Joseph Myers <joseph@codesourcery.com>
12866 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
12867 OVERFLOW_EXCEPTION_OK.
12868 * math/libm-test.inc ("Philosophy"): Update comment about
12870 (OVERFLOW_EXCEPTION): Define.
12871 (OVERFLOW_EXCEPTION_OK): Likewise.
12872 (INVALID_EXCEPTION_OK): Renumber.
12873 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12874 (IGNORE_ZERO_INF_SIGN): Likewise.
12875 (test_exceptions): Handle FE_OVERFLOW.
12876 (exp10_test): Expect overflow exceptions.
12877 (exp2_test): Likewise.
12878 (expm1_test): Likewise.
12879 (nextafter_test): Likewise.
12880 (pow_test): Likewise.
12881 (scalbn_test): Likewise.
12882 (scalbln_test): Likewise.
12884 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12886 * sysdeps/x86_64/bits/atomic.h
12887 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
12889 (atomic_exchange_acq): Likewise.
12890 (__arch_exchange_and_add_body): Likewise.
12891 (__arch_add_body): Likewise.
12892 (atomic_add_negative): Likewise.
12893 (atomic_add_zero): Likewise.
12895 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12897 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
12898 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
12900 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12902 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
12903 Check __x86_64__ instead of __WORDSIZE.
12905 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12907 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
12909 2012-03-19 David S. Miller <davem@davemloft.net>
12911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12913 * sysdeps/sparc/fpu/fenv_private.h: New file.
12914 * sysdeps/sparc/fpu/math_private.h: Use it.
12915 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
12917 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
12918 (libc_feholdexcept_setroundl): Remove.
12919 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
12921 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
12922 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
12924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12926 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
12927 int64_t instead of long int.
12928 (INSERT_WORDS64): Likwise.
12930 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
12932 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
12933 _Unwind_GetCFA return to _Unwind_Ptr first.
12935 2012-03-19 Joseph Myers <joseph@codesourcery.com>
12938 * math/s_clog.c: Include <float.h>.
12939 (__clog): Scale large or subnormal inputs.
12940 * math/s_clogf.c: Likewise.
12941 * math/s_clogl.c: Likewise.
12942 * math/s_clog10.c: Include <float.h>.
12943 (M_LOG10_2): Define.
12944 (__clog10): Scale large or subnormal inputs.
12945 * math/s_clog10f.c: Likewise.
12946 * math/s_clog10l.c: Likewise.
12947 * math/libm-test.inc (clog_test): Add more tests.
12948 (clog10_test): Likewise.
12949 * sysdeps/i386/fpu/libm-test-ulps: Update.
12950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12953 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
12955 * math/libm-test.inc (atan2_test): Add another test.
12957 * Makerules (common-objdir-compile): Remove.
12958 * sysdeps/unix/Makefile (config-generated): Do not add
12959 $(unix-generated) to variable.
12960 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
12961 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
12963 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
12965 [generic bits/local_lim.h] (before-compile): Do not append to
12967 [generic bits/local_lim.h] (common-generated): Likewise.
12968 [generic sys/param.h] (before-compile): Do not append to variable.
12969 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
12970 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
12971 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
12972 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
12974 [generic sys/param.h] (sys/param.h-includes): Remove variable.
12975 [generic sys/param.h] (sys/param.h-includes): Remove rule.
12976 [generic sys/param.h] ($(addprefix
12977 $(common-objpfx),$(sys/param.h-includes))): Likewise.
12978 [generic sys/param.h] (common-generated): Do not append to
12980 [generic sys/param.h] (sysdep_headers): Likewise.
12981 [generic bits/errno.h] (before-compile): Do not append to
12983 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
12985 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
12986 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
12987 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
12988 [generic bits/errno.h] (common-generated): Do not append to
12990 [generic bits/ioctls.h] (before-compile): Do not append to
12992 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
12994 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
12995 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
12996 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
12998 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
12999 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13000 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13001 [generic bits/ioctls.h] (common-generated): Do not append to
13003 [generic sys/syscall.h] (syscall.h): Remove variable.
13004 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13006 [generic sys/syscall.h] (before-compile): Do not append to
13008 [generic sys/syscall.h] (common-generated): Likewise.
13009 * sysdeps/unix/errnos-tmpl.c: Remove file.
13010 * sysdeps/unix/errnos.awk: Likewise.
13011 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13012 * sysdeps/unix/ioctls.awk: Likewise.
13013 * sysdeps/unix/mk-local_lim.c: Likewise.
13014 * sysdeps/unix/snarf-ioctls: Likewise.
13016 2012-03-19 Richard Henderson <rth@twiddle.net>
13018 * sysdeps/i386/fpu/fenv_private.h: New file.
13019 * sysdeps/i386/fpu/math_private.h: Use it.
13020 (math_opt_barrier, math_force_eval): Remove.
13021 (libc_feholdexcept_setround_53bit): Remove.
13022 (libc_feupdateenv_53bit): Remove.
13023 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13024 (math_opt_barrier, math_force_eval): Remove.
13025 (libc_feholdexcept): Remove.
13026 (libc_feholdexcept_setround): Remove.
13027 (libc_fetestexcept, libc_fesetenv): Remove.
13028 (libc_feupdateenv_test): Remove.
13029 (libc_feupdateenv, libc_feholdsetround): Remove.
13030 (libc_feresetround): Remove.
13032 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13033 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13035 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13036 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13037 (libc_feupdateenv_testl): New.
13038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13039 (libc_feupdateenv_testf): New.
13040 (libc_feupdateenv): Use libc_feupdateenv_test.
13041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13044 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13045 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13046 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13047 (libc_feresetround_noex): New.
13048 (libc_feresetround_noexf): New.
13049 (libc_feresetround_noexl): New.
13050 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13051 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13052 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13053 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13055 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13056 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13058 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13059 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13060 SET_RESTORE_ROUND_NOEX.
13061 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13062 SET_RESTORE_ROUND_NOEXF.
13063 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13064 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13065 (libc_feholdsetroundf): New.
13066 (libc_feresetround, libc_feresetroundf): New.
13068 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13069 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13070 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13072 * sysdeps/generic/math_private.h: Include <fenv.h>.
13073 (default_libc_feholdexcept): New.
13074 (default_libc_feholdexcept_setround): New.
13075 (default_libc_fesetenv, default_libc_feupdateenv): New.
13076 (libc_feholdexcept): Only define if undefined.
13077 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13078 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13079 (libc_feholdexcept_setroundl): Likewise.
13080 (libc_feholdexcept_setround_53bit): Likewise.
13081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13082 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13083 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13084 (libc_feupdateenv_53bit): Likewise.
13085 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13086 (libc_feholdexcept): Convert from macro to inline function.
13087 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13088 (libc_fesetenv, libc_feupdateenv): Likewise.
13090 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13091 not previously defined.
13092 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13093 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13094 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13095 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13096 * sysdeps/ieee754/flt-32/math_private.h: New file.
13097 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13098 math_private.h below SET_FLOAT_WORD.
13099 (__isnan, __isinf_ns, __finite): Remove.
13100 (__isnanf, __isinf_nsf, __finitef): Remove.
13102 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13106 2012-03-17 David S. Miller <davem@davemloft.net>
13109 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13112 2012-03-16 David S. Miller <davem@davemloft.net>
13114 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13118 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13120 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13121 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13122 sysdep_routines when subdir is sysvipc.
13123 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13124 __getshmlba helper.
13126 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13128 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13130 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13133 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13135 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13136 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13137 (__lround): Renamed to ...
13138 (__llround): This. Replace long int with long long int.
13139 Define lround functions as aliases of llround functions.
13140 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13144 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13145 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13146 adresses to uintptr_t. Replace "long int" and "unsigned long
13147 int" with "greg_t" on va_arg.
13149 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13151 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13152 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13154 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13155 Move e_machine check before EI_CLASS check. Handle x32
13156 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13157 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13158 SKIP_EM_IA_64 and include
13159 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13161 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13162 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13163 (add_system_dir): New macro.
13165 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13166 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13168 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13179 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13181 * math/w_j0f.c (j0f): Likewise.
13183 * math/w_j0l.c (__j0l): Likewise.
13185 * math/w_j1.c (j1): Likewise.
13187 * math/w_j1f.c (j1f): Likewise.
13189 * math/w_j1l.c (__j1l): Likewise.
13191 * math/w_jn.c (jn): Likewise.
13193 * math/w_jnf.c (jnf): Likewise.
13195 * math/w_jnl.c (__jnl): Likewise.
13197 * math/libm-test.inc (j0_test): Add more tests.
13198 (j1_test): Likewise.
13199 (jn_test): Likewise. Add trailing semicolon to existing test.
13200 (y0_test): Likewise.
13201 (y1_test): Likewise.
13202 * sysdeps/i386/fpu/libm-test-ulps: Update.
13203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13207 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13208 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13209 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13210 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13211 (__tanl): Set errno for infinite argument.
13212 * sysdeps/i386/fpu/mptan.c: Remove.
13213 * sysdeps/i386/fpu/s_tan.S: Likewise.
13214 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13215 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13216 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13217 * math/libm-test.inc (tan_test): Add more tests and enable more
13218 tests for double and long double.
13219 * sysdeps/i386/fpu/libm-test-ulps: Update.
13220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13222 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13224 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13225 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13227 2012-03-16 Roland McGrath <roland@hack.frob.com>
13229 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13230 * configure.in: Use it for both main tree and add-ons.
13231 * configure: Regenerated.
13233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13235 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13237 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13243 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13244 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13245 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13246 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13247 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13249 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13251 != 0 for prec == 2.
13252 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13253 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13254 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13255 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13256 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13257 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13258 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13259 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13260 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13261 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13262 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13263 * math/libm-test.inc (cos_test): Add more tests and enable more
13264 tests for long double.
13265 (sin_test): Likewise.
13266 (sincos_test): Likewise.
13267 * sysdeps/i386/fpu/libm-test-ulps: Update.
13268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13270 2012-03-16 David S. Miller <davem@davemloft.net>
13272 * sysdeps/sparc/fpu/math_private.h: New file.
13274 2012-03-15 David S. Miller <davem@davemloft.net>
13276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13290 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13291 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13293 * sysdeps/sparc/sparc-ifunc.h: New file.
13294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13320 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13322 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13323 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13328 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13339 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13341 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13345 2012-03-15 Andreas Jaeger <aj@suse.de>
13348 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13349 ieee754/flt-32 implementation for sin, cos and sincos.
13350 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13351 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13352 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13353 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13354 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13355 ieee754/flt-32 implementation for tan.
13357 * math/libm-test.inc (cos_test): Enable some large input tests for
13359 (sin_test): Likewise.
13360 (sincos_test): Likewise.
13361 (tan_test): Add tests for large input.
13363 * sysdeps/i386/fpu/libm-test-ulps: Update.
13365 2012-03-15 Andreas Jaeger <aj@suse.de>
13368 * math/libm-test.inc (cos_test): Add more test cases.
13369 (sin_test): Likewise.
13370 (sincos_test): Likewise.
13372 2012-03-15 Andreas Jaeger <aj@suse.de>
13375 * math/libm-test.inc (cos_test): Add a test case for large input
13377 (sin_test): Likewise.
13378 (sincos_test): Likewise.
13380 2012-03-15 Andreas Jaeger <aj@suse.de>,
13381 Joseph Myers <joseph@codesourcery.com>
13384 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13385 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13386 * sysdeps/i386/fpu/branred.c: Likewise.
13387 * sysdeps/i386/fpu/dosincos.c: Likewise.
13388 * sysdeps/i386/fpu/mpa.c: Likewise.
13389 * sysdeps/i386/fpu/s_cos.S: Likewise.
13390 * sysdeps/i386/fpu/s_sin.S: Likewise.
13391 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13392 * sysdeps/i386/fpu/sincos32.c: Likewise.
13394 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13396 (libc_feupdateenv_53bit): Define.
13397 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13399 (libc_feupdateenv_53bit): Define.
13401 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13402 53 bit (without extend i386 double precision).
13404 * math/libm-test.inc (sincos_test): Add tests for large input.
13408 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13410 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13414 2012-03-15 David S. Miller <davem@davemloft.net>
13416 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13417 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13418 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13419 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13443 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13444 fmin/fmax sysdep routines.
13445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13447 2012-03-14 David S. Miller <davem@davemloft.net>
13449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13450 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13453 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13454 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13455 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13456 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13463 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13464 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13465 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13469 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13472 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13474 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13475 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13476 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13477 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13521 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13526 * sysdeps/sparc/configure.in: New file.
13527 * sysdeps/sparc/configure: Generate.
13528 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13529 * configure: Regenerate.
13530 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13531 * config.make.in (have-as-vis3): New.
13532 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13533 available use -Av9d instead of -Av9a.
13534 * sysdeps/sparc/sparc64/Makefile: Likewise.
13535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13547 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13548 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13550 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13551 fzeros/fnegs to load 0x80000000 into a float register instead of
13553 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13555 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13557 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13559 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13560 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13561 ($(inst_includedir)/bits/syscall.h): Remove rule.
13562 ($(objpfx)bits/syscall.d): Include instead of
13563 $(objpfx)syscall-list.d.
13564 (generated): Change syscall-list.h and syscall-list.d to
13565 bits/syscall.h and bits/syscall.d.
13567 2012-03-14 Roland McGrath <roland@hack.frob.com>
13570 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13572 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13575 * math/s_csqrt.c: Include <float.h>.
13576 (__csqrt): Scale large or subnormal inputs.
13577 * math/s_csqrtf.c: Likewise.
13578 * math/s_csqrtl.c: Likewise.
13579 * math/libm-test.inc (csqrt_test): Add more tests.
13580 * sysdeps/i386/fpu/libm-test-ulps: Update.
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13584 * math/libm-test.inc (hypot_test): Add more tests.
13586 2012-03-13 David S. Miller <davem@davemloft.net>
13589 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13590 double-precision for the calculation instead of scaling.
13592 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13595 manipulate bits before adding and subtracting TWO52[sx].
13596 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13597 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13599 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13601 2012-03-13 David S. Miller <davem@davemloft.net>
13603 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13604 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13606 rtld-global-offsets.h
13607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13609 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13612 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13614 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13615 'err' in the ifdef scope in which it is actually used.
13617 * nss/nss_db/db-init.c: Include string.h
13619 2012-03-12 David S. Miller <davem@davemloft.net>
13621 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13622 masking out of the most significant byte of random value used.
13623 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13624 Fix coding style in previous change.
13626 * sysdeps/unix/sysv/linux/kernel-features.h
13627 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
13628 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
13630 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
13633 2012-03-11 David S. Miller <davem@davemloft.net>
13635 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13636 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
13637 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
13638 for 'resultvar' otherwise things get truncated on 64-bit.
13640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13641 Fix masking out of the most significant byte of random value used.
13643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13645 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
13647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13649 2012-03-09 David S. Miller <davem@davemloft.net>
13651 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
13652 variables with appropriate CPP guards.
13653 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
13654 frame pointer, not the stack pointer. Correct layout comments. Fix test
13655 on resulting framesize and the management of the outregs buffer for pltexit.
13656 Preserve floating point return values across _dl_call_pltexit call.
13657 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
13658 framesize and the management of the outregs buffer for pltexit.
13659 Preserve floating point return values across _dl_call_pltexit
13661 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
13662 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
13663 (print_exit): Fix format string for return register value.
13665 2012-03-10 Joseph Myers <joseph@codesourcery.com>
13667 * sunrpc/Makefile (others): Add rpcgen.
13668 ($(objpfx)rpcgen): Remove special build rule and dependency on
13670 * sunrpc/rpcgen.c: New file.
13672 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
13675 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
13676 * stdio-common/bug-vfprintf-nargs.c: Likewise.
13677 * sysdeps/i386/crti.S: Likewise.
13678 * sysdeps/i386/crtn.S: Likewise.
13679 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
13680 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
13681 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
13682 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
13683 * sysdeps/sh/crti.S: Likewise.
13684 * sysdeps/sh/crtn.S: Likewise.
13685 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13688 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
13690 * locale/programs/locfile-kw.gperf: Likewise.
13691 * locale/programs/charmap-kw.h: Regenerated.
13692 * locale/programs/locfile-kw.h: Likewise.
13695 * intl/plural.y: Replace FSF snail mail address with URL.
13696 * intl/plural.c: Regenerated.
13698 2012-03-09 Richard Henderson <rth@twiddle.net>
13700 * include/math_private.h: Remove file.
13701 * math/math_private.h: Move file ...
13702 * sysdeps/generic/math_private.h: ... here.
13704 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
13705 * sysdeps/powerpc/fpu/math_private.h: Likewise.
13706 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13708 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
13709 and <math_private.h>.
13710 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13711 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13712 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13713 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13714 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13715 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
13716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13719 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13721 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13722 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13724 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13729 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13730 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13731 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13732 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13735 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13740 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13741 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13742 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13744 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13746 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13747 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13748 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13750 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
13751 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13752 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13753 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13754 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
13797 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13798 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13799 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13800 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13801 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13802 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13803 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13804 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13805 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13806 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13807 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13808 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13809 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13810 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13811 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13812 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13813 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13814 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13815 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13816 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13817 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13818 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13819 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13820 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13821 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13822 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13823 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13824 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
13825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13826 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13827 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13828 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13830 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13831 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13832 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13833 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
13834 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13835 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13836 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
13837 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
13838 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13839 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
13840 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
13841 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13842 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13843 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
13844 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
13845 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13846 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13847 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13848 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
13849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13850 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13851 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13852 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13853 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
13854 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
13855 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13856 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13857 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13858 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13859 * sysdeps/ieee754/k_standard.c: Likewise.
13860 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13861 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13862 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13863 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13864 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13865 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13866 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13867 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13868 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13869 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13871 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13872 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13873 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13874 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13875 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13884 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13885 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13886 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13887 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13888 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13889 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13890 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13891 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13892 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13894 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13895 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13896 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13897 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
13898 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
13899 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13900 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13901 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13902 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13903 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13904 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13905 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13911 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13912 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13913 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13915 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13916 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
13917 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
13918 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13919 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13920 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13921 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13922 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13926 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13927 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13928 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13929 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13930 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13972 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13973 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13975 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13989 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13992 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13993 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13994 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13996 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
13997 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13998 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13999 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14000 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14001 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14002 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14003 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14004 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14005 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14006 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14007 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14008 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14009 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14010 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14011 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14013 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14014 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14015 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14016 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14017 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14018 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14019 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14020 * sysdeps/ieee754/s_lib_version.c: Likewise.
14021 * sysdeps/ieee754/s_matherr.c: Likewise.
14022 * sysdeps/ieee754/s_signgam.c: Likewise.
14023 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14024 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14025 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14026 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14027 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14028 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14029 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14030 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14031 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14032 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14033 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14034 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14035 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14036 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14037 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14038 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14040 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14041 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14042 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14043 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14045 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14047 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14048 * sunrpc/rpc_main.c: Likewise.
14049 * sunrpc/rpc_svcout.c: Likewise.
14051 2012-03-09 David S. Miller <davem@davemloft.net>
14053 * include/math_private.h: New file.
14055 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14057 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14058 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14059 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14060 from <bits/socket_type.h>.
14061 (enum __socket_type): Don't define here.
14062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14064 bits/socket_type.h.
14067 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14068 checking __USE_GNU.
14070 * Makerules ($(inst_includedir)/%.h): New rule.
14071 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14072 (install-others): Remove variable setting.
14073 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14075 2012-03-08 Richard Henderson <rth@twiddle.net>
14077 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14078 from macro to inline function; merge with the
14079 !__LIBC_INTERNAL_MATH_INLINES version.
14080 (__ieee754_sqrtf): Likewise.
14082 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14083 to inline function.
14084 (__rintf, __floor, __floorf): Likewise.
14086 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14087 macro to inline function.
14088 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14091 not <math/math_private.h>.
14093 2012-03-08 David S. Miller <davem@davemloft.net>
14095 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14097 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14099 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14101 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14103 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14104 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14106 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14108 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14109 be defined individually, they must be defined as a block. Define
14110 S for printing a string instead of hidint the different by using a
14111 macro for adding the 'l'.
14112 * stdio-common/tst-fphex-wide.c: Adjust.
14114 2012-03-07 Marek Polacek <polacek@redhat.com>
14116 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14118 2012-03-08 Marek Polacek <polacek@redhat.com>
14121 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14122 * stdio-common/tst-fphex.c: Define a few macros to make the
14123 test reusable. Use them.
14124 * stdio-common/tst-fphex-wide.c: New file.
14126 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14129 * manual/macros.texi (gnusystems): New macro.
14130 (nongnusystems): Likewise.
14131 (gnulinuxhurdsystems): Likewise.
14132 (gnuhurdsystems): Likewise..
14133 (gnulinuxsystems): Likewise.
14134 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14135 variants of the GNU system, not "GNU system".
14136 * manual/conf.texi: Likewise.
14137 * manual/errno.texi: Likewise. Update example of errno macro
14139 * manual/filesys.texi: Likewise.
14140 (getumask): Document as specific to GNU/Hurd.
14141 * manual/install.texi: Likewise. Reword some references to
14143 * manual/intro.texi: Likewise.
14144 * manual/io.texi: Likewise.
14145 (File Name Portability): Detail which constraints are inapplicable
14146 to all GNU systems and which are only inapplicable to GNU/Hurd.
14147 * manual/job.texi: Likewise.
14148 * manual/llio.texi: Likewise.
14149 (O_NOCTTY): Document as present on GNU/Linux.
14150 * manual/maint.texi: Likewise.
14151 * manual/memory.texi: Likewise.
14152 * manual/pattern.texi: Likewise.
14153 * manual/pipe.texi: Likewise.
14154 * manual/process.texi: Likewise.
14155 * manual/resource.texi: Likewise.
14156 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14158 * manual/setjmp.texi: Likewise.
14159 * manual/signal.texi: Likewise.
14160 * manual/startup.texi: Likewise.
14161 * manual/stdio.texi: Likewise.
14162 * manual/terminal.texi: Likewise.
14163 (ONLCR): Document as POSIX.
14164 (OXTABS): Document availability on GNU/Linux as XTABS.
14165 (ONOEOT): Document availability separately from other bits.
14166 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14167 * manual/time.texi: Likewise.
14168 * manual/users.texi: Likewise.
14169 * INSTALL: Regenerated.
14170 * sysdeps/gnu/errlist.c: Regenerated.
14172 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14173 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14174 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14176 * configure: Regenerated.
14178 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14180 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14181 default includes instead of AC_HEADER_CHECK.
14182 * sysdeps/i386/configure: Regenerated.
14185 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14186 * math/s_cacoshf.c (__cacoshf): Likewise.
14187 * math/s_cacoshl.c (__cacoshl): Likewise.
14188 * math/s_casinh.c (__casinh): Set signs of result from argument.
14189 * math/s_casinhf.c (__casinhf): Likewise.
14190 * math/s_casinhl.c (__casinhl): Likewise.
14191 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14192 (casinh_test): Add more tests.
14193 * sysdeps/i386/fpu/libm-test-ulps: Update.
14194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14196 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14198 * po/zh_TW.po: Update from translation team.
14200 * login/Makefile (distribute): Remove variable.
14201 * catgets/Makefile: Likewise.
14202 * mach/Makefile: Likewise.
14203 * malloc/Makefile: Likewise.
14204 * misc/Makefile: Likewise.
14205 * iconv/Makefile: Likewise.
14206 * nscd/Makefile: Likewise.
14207 * hurd/Makefile: Likewise.
14208 * manual/Makefile: Likewise.
14209 * locale/Makefile: Likewise.
14210 * intl/Makefile: Likewise.
14211 * conform/Makefile: Likewise.
14212 * nss/Makefile: Likewise.
14213 * time/Makefile: Likewise.
14214 * soft-fp/Makefile: Likewise.
14215 * dirent/Makefile: Likewise.
14216 * gmon/Makefile: Likewise.
14217 * po/Makefile: Likewise.
14218 * rt/Makefile: Likewise.
14219 * socket/Makefile: Likewise.
14220 * math/Makefile: Likewise.
14221 * signal/Makefile: Likewise.
14222 * debug/Makefile: Likewise.
14223 * elf/Makefile: Likewise.
14224 * timezone/Makefile: Likewise.
14225 * stdlib/Makefile: Likewise.
14226 * iconvdata/Makefile: Likewise.
14227 * sunrpc/Makefile: Likewise.
14228 * io/Makefile: Likewise.
14229 * argp/Makefile: Likewise.
14230 * inet/Makefile: Likewise.
14231 * hesiod/Makefile: Likewise.
14232 * grp/Makefile: Likewise.
14233 * csu/Makefile: Likewise.
14234 * wctype/Makefile: Likewise.
14235 * crypt/Makefile: Likewise.
14236 * libio/Makefile: Likewise.
14237 * string/Makefile: Likewise.
14238 * nis/Makefile: Likewise.
14239 * resolv/Makefile: Likewise.
14240 * stdio-common/Makefile: Likewise.
14241 * wcsmbs/Makefile: Likewise.
14242 * dlfcn/Makefile: Likewise.
14243 * posix/Makefile: Likewise.
14246 * timezone/Makefile: Don't install timezone files, just the programs
14249 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14251 * nss/databases.def: Add missing gshadow entry.
14253 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14255 2012-03-06 Marek Polacek <polacek@redhat.com>
14258 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14259 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14260 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14261 * stdio-common/tst-long-dbl-fphex.c: New file.
14263 2012-03-06 David S. Miller <davem@davemloft.net>
14265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14266 (set_obp_int): New function.
14267 (get_obp_int): New function.
14268 (__get_clockfreq_via_dev_openprom): Likewise.
14269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14270 Avoid unused variable warnings on 'val' and use builtin_expect.
14271 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14273 (INLINE_CLONE_SYSCALL): Likewise.
14275 2012-03-05 David S. Miller <davem@davemloft.net>
14277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14279 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14284 only for |x| >= 40.
14285 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14287 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14290 Replace gettimeofday with __vdso_gettimeofday.
14292 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14293 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14294 __vdso_clock_gettime and __vdso_getcpu.
14296 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14297 time with __vdso_time.
14299 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14301 * manual/lang.texi (size_t): Note types to which size_t may be
14302 equivalent with the GNU C Library, but do not describe when
14303 differences between them are significant.
14305 2012-03-05 Andreas Jaeger <aj@suse.de>
14307 * sysdeps/i386/fpu/libm-test-ulps: Update.
14309 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14312 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14313 (__ieee754_pow): Save and restore rounding mode and use
14314 round-to-nearest for main computations.
14315 * math/libm-test.inc (pow_test_tonearest): New function.
14316 (pow_test_towardzero): Likewise.
14317 (pow_test_downward): Likewise.
14318 (pow_test_upward): Likewise.
14319 (main): Call the new functions.
14320 * sysdeps/i386/fpu/libm-test-ulps: Update.
14321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14324 * math/libm-test.inc (cosh_test_tonearest): New function.
14325 (cosh_test_towardzero): Likewise.
14326 (cosh_test_downward): Likewise.
14327 (cosh_test_upward): Likewise.
14328 (sinh_test_tonearest): Likewise.
14329 (sinh_test_towardzero): Likewise.
14330 (sinh_test_downward): Likewise.
14331 (sinh_test_upward): Likewise.
14332 (main): Call the new functions.
14333 * sysdeps/i386/fpu/libm-test-ulps: Update.
14334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14336 2012-03-05 Tom de Vries <tom@codesourcery.com>
14338 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14339 default stack guard is set in last bytes.
14340 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14342 2012-03-05 Kees Cook <keescook@chromium.org>
14344 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14347 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14348 possibly allocate from heap instead of stack.
14349 * stdio-common/bug-vfprintf-nargs.c: New file.
14350 * stdio-common/Makefile (tests): Add nargs overflow test.
14352 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14356 2012-03-03 Marek Polacek <polacek@redhat.com>
14358 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14359 * math/math_private.h: Likewise.
14360 * stdlib/tst-strtod.c: Likewise.
14361 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14362 * sysdeps/x86_64/bits/atomic.h: Likewise.
14364 2012-03-02 David S. Miller <davem@davemloft.net>
14366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14370 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14371 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14372 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14373 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14375 2012-03-02 Roland McGrath <roland@hack.frob.com>
14378 * manual/examples/README: New file, says the example source files
14379 can be used under GPL>=2.
14380 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14381 line containing just "*/".
14382 * manual/examples/add.c: Add copyright header (GPL>=2).
14383 * manual/examples/argp-ex1.c: Likewise.
14384 * manual/examples/argp-ex2.c: Likewise.
14385 * manual/examples/argp-ex3.c: Likewise.
14386 * manual/examples/argp-ex4.c: Likewise.
14387 * manual/examples/atexit.c: Likewise.
14388 * manual/examples/db.c: Likewise.
14389 * manual/examples/dir.c: Likewise.
14390 * manual/examples/dir2.c: Likewise.
14391 * manual/examples/execinfo.c: Likewise.
14392 * manual/examples/filecli.c: Likewise.
14393 * manual/examples/filesrv.c: Likewise.
14394 * manual/examples/fmtmsgexpl.c: Likewise.
14395 * manual/examples/genpass.c: Likewise.
14396 * manual/examples/inetcli.c: Likewise.
14397 * manual/examples/inetsrv.c: Likewise.
14398 * manual/examples/isockad.c: Likewise.
14399 * manual/examples/longopt.c: Likewise.
14400 * manual/examples/memopen.c: Likewise.
14401 * manual/examples/memstrm.c: Likewise.
14402 * manual/examples/mkfsock.c: Likewise.
14403 * manual/examples/mkisock.c: Likewise.
14404 * manual/examples/mygetpass.c: Likewise.
14405 * manual/examples/pipe.c: Likewise.
14406 * manual/examples/popen.c: Likewise.
14407 * manual/examples/rprintf.c: Likewise.
14408 * manual/examples/search.c: Likewise.
14409 * manual/examples/select.c: Likewise.
14410 * manual/examples/setjmp.c: Likewise.
14411 * manual/examples/sigh1.c: Likewise.
14412 * manual/examples/sigusr.c: Likewise.
14413 * manual/examples/stpcpy.c: Likewise.
14414 * manual/examples/strdupa.c: Likewise.
14415 * manual/examples/strftim.c: Likewise.
14416 * manual/examples/strncat.c: Likewise.
14417 * manual/examples/subopt.c: Likewise.
14418 * manual/examples/swapcontext.c: Likewise.
14419 * manual/examples/termios.c: Likewise.
14420 * manual/examples/testopt.c: Likewise.
14421 * manual/examples/testpass.c: Likewise.
14422 * manual/examples/timeval_subtract.c: Likewise.
14425 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14427 * manual/timeval_subtract.c.texi: ... here, new file.
14429 2012-03-02 David S. Miller <davem@davemloft.net>
14431 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14433 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14436 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14437 (__sin): Save and restore rounding mode and use round-to-nearest
14438 for all computations.
14439 (__cos): Save and restore rounding mode and use round-to-nearest
14440 for all computations.
14441 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14443 (tan): Save and restore rounding mode and use round-to-nearest for
14445 * math/libm-test.inc (cos_test_tonearest): New function.
14446 (cos_test_towardzero): Likewise.
14447 (cos_test_downward): Likewise.
14448 (cos_test_upward): Likewise.
14449 (sin_test_tonearest): Likewise.
14450 (sin_test_towardzero): Likewise.
14451 (sin_test_downward): Likewise.
14452 (sin_test_upward): Likewise.
14453 (tan_test_tonearest): Likewise.
14454 (tan_test_towardzero): Likewise.
14455 (tan_test_downward): Likewise.
14456 (tan_test_upward): Likewise.
14457 (main): Call the new functions.
14458 * sysdeps/i386/fpu/libm-test-ulps: Update.
14459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14462 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14463 small n, then large n, before computing and testing k+n.
14464 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14467 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14469 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14470 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14471 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14472 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14476 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14477 * math/libm-test.inc (scalbn_test): Add more tests.
14478 (scalbln_test): Likewise.
14480 * manual/filesys.texi (mode_t): Describe constraints on size and
14481 signedness, not exact equivalence to a particular type.
14483 (ino64_t): Likewise.
14485 (nlink_t): Likewise.
14486 (blkcnt_t): Likewise.
14487 (blkcnt64_t): Likewise.
14488 * manual/llio.texi (off_t): Likewise.
14491 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14492 (__ieee754_exp): Save and restore rounding mode and use
14493 round-to-nearest for all computations.
14494 * math/libm-test.inc (exp_test_tonearest): New function.
14495 (exp_test_towardzero): Likewise.
14496 (exp_test_downward): Likewise.
14497 (exp_test_upward): Likewise.
14498 (main): Call the new functions.
14499 * sysdeps/i386/fpu/libm-test-ulps: Update.
14500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14502 2012-03-01 Chris Demetriou <cgd@google.com>
14504 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14505 have predictable order.
14507 2012-03-01 David S. Miller <davem@davemloft.net>
14509 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14511 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14512 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14513 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14514 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14516 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14517 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14518 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14520 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14521 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14522 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14523 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14524 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14529 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14530 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14532 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14533 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14534 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14535 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14536 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14539 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14540 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14541 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14542 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14543 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14544 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14545 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14546 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14548 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14549 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14550 * sysdeps/sparc/elf/configure: Regenerated.
14552 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14554 * configure.in (AS, LD): Require binutils 2.20 or later.
14555 * configure: Regenerated.
14556 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14557 as required minimum version.
14558 * INSTALL: Regenerated.
14562 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14563 before squaring exponent.
14564 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14565 bottom long double and 27 bits of top long double before squaring
14567 * math/libm-test.inc (erfc_test): Add more tests.
14568 * sysdeps/i386/fpu/libm-test-ulps: Update.
14569 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14572 2012-03-01 Kai Tietz <ktietz@redhat.com>
14574 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14575 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14576 containing bit-fields.
14577 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14578 * soft-fp/single.h (_FP_UNION_S): Likewise.
14579 * soft-fp/double.h (_FP_UNION_D): Likewise.
14581 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14584 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14585 not include ../strcmp.S.
14586 [USE_AS_STRNCASECMP_L]: Likewise.
14587 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14588 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14589 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14590 (__strncasecmp_l_ia32): Define as alias to
14591 __strncasecmp_l_nonascii.
14594 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14595 * sysdeps/i386/fpu/libm-test-ulps: Update.
14596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14598 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14601 2012-02-29 Jeff Law <law@redhat.com>
14603 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14604 out of bounds read.
14606 2012-02-29 Marek Polacek <polacek@redhat.com>
14609 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14610 * elf/Makefile: Add rules to run tst-unused-dep.out.
14612 2012-02-28 David S. Miller <davem@davemloft.net>
14614 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14615 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14616 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14617 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14618 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14619 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14621 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14623 * math/libm-test.inc (llround_test): Move one test from
14624 lround_test. Use TEST_f_L in moved test.
14625 (lround_test): Move misplaced test to llround_test. Add testcase
14628 2012-02-28 Ulrich Drepper <drepper@gmail.com>
14630 * sysdeps/x86_64/fpu/e_expf.S: New file.
14631 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
14633 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
14636 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
14637 of remain_len that may cause incomplete multi-byte character and
14639 * posix/bug-regex33.c: New file.
14640 * posix/Makefile (tests): Add bug-regex33.
14642 2012-02-28 Joseph Myers <joseph@codesourcery.com>
14644 * manual/macros.texi: New file.
14645 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
14646 * manual/libc.texinfo: Include macros.texi.
14647 * manual/creatute.texi: Likewise.
14648 * manual/install.texi: Likewise.
14649 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
14650 @glibcadj{} in references to the GNU C Library.
14651 * manual/charset.texi: Likewise.
14652 * manual/conf.texi: Likewise.
14653 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
14654 when not using those macros.
14655 * manual/creature.texi: Likewise.
14656 * manual/crypt.texi: Likewise.
14657 * manual/errno.texi: Likewise.
14658 * manual/filesys.texi: Likewise.
14659 * manual/header.texi: Likewise.
14660 * manual/install.texi: Likewise.
14661 * manual/intro.texi: Likewise.
14662 * manual/io.texi: Likewise.
14663 * manual/job.texi: Likewise.
14664 * manual/lang.texi: Likewise.
14665 * manual/libc.texiinfo: Likewise.
14666 * manual/llio.texi: Likewise.
14667 * manual/locale.texi: Likewise.
14668 * manual/maint.texi: Likewise.
14669 * manual/math.texi: Likewise.
14670 * manual/memory.texi: Likewise.
14671 * manual/message.texi: Likewise.
14672 * manual/nss.texi: Likewise.
14673 * manual/pattern.texi: Likewise.
14674 * manual/process.texi: Likewise.
14675 * manual/resource.texi: Likewise.
14676 * manual/search.texi: Likewise.
14677 * manual/setjmp.texi: Likewise.
14678 * manual/signal.texi: Likewise.
14679 * manual/socket.texi: Likewise.
14680 * manual/startup.texi: Likewise.
14681 * manual/stdio.texi: Likewise.
14682 * manual/string.texi: Likewise.
14683 * manual/sysinfo.texi: Likewise.
14684 * manual/syslog.texi: Likewise.
14685 * manual/terminal.texi: Likewise.
14686 * manual/time.texi: Likewise.
14687 * manual/users.texi: Likewise.
14688 * INSTALL: Regenerated.
14689 * NOTES: Regenerated.
14690 * sysdeps/gnu/errlist.c: Regenerated.
14692 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
14694 * include/dirent.h: Include <dirstream.h> before
14697 2012-02-28 David S. Miller <davem@davemloft.net>
14699 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
14700 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
14701 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
14702 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
14704 2012-02-27 David S. Miller <davem@davemloft.net>
14706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
14707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
14708 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
14709 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
14711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
14712 frame pointer instead of stack pointer relative arg slot.
14713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14714 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14715 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14717 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
14720 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
14722 2012-02-27 David S. Miller <davem@davemloft.net>
14724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
14725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
14726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
14728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
14729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
14730 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
14731 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
14733 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14735 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
14736 later. Allow versions 5-9.
14737 * configure: Regenerated.
14738 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
14739 required minimum version and 4.6 as recommended version. Do not
14740 mention bugs in GCC 2.7 and 2.8.
14741 * INSTALL: Regenerated.
14743 2012-02-27 David S. Miller <davem@davemloft.net>
14745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
14746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
14747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
14748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
14749 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
14750 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
14751 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
14752 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
14754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
14755 manipulate bits before adding and subtracting TWO112[sx].
14756 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14758 2012-02-27 Roland McGrath <roland@hack.frob.com>
14761 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
14762 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
14763 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
14764 being in POSIX, because they are in 1003.1-2008.
14766 * rt/tst-aio.c: Include <fcntl.h>.
14767 * rt/tst-aio7.c: Likewise.
14768 * rt/tst-aio64.c: Likewise.
14770 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
14772 2012-02-27 Joseph Myers <joseph@codesourcery.com>
14774 * manual/install.texi (--with-headers): Describe headers as
14775 interface headers, not private headers.
14776 (Specific advice for GNU/Linux systems): Describe use of headers
14777 from "make headers_install", not private headers from older
14779 * INSTALL: Regenerated.
14780 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
14782 * sysdeps/unix/sysv/linux/configure: Regenerated.
14784 * manual/llio.texi (fclean): Remove documentation.
14786 * manual/Makefile (libc-texi-generated): New variable. Include
14788 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
14789 $(libc-texi-generated), not duplicated list of files.
14790 (version.texi, stamp-version): New rules.
14791 (realclean): Remove $(libc-texi-generated), not individual files
14792 from that list. Do not remove dir-add.texinfo.
14793 * manual/libc.texinfo: Comment out uses of edition numbers and
14794 references to printed manual. Remove last-updated dates.
14795 (EDITION): Comment out.
14797 (VERSION, UPDATED): Remove.
14798 (version.texi): Include.
14800 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
14802 * sysdeps/posix/spawni.c: Include <signal.h>.
14803 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
14804 * sysdeps/pthread/aio_fsync.c: Likewise.
14806 2012-02-26 Ulrich Drepper <drepper@gmail.com>
14808 * conform/Makefile (tests): Run only when not cross-compiling and
14809 when fast-check is not defined.
14811 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
14812 * conform/data/limits.h-data: Fixes for POSIX2008.
14813 * conform/run-conformtest.sh: Run all tests.
14814 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
14816 * include/bits/dlfcn.h: Likewise.
14817 * include/langinfo.h: Likewise.
14818 * include/monetary.h: Likewise.
14819 * include/sys/poll.h: Likewise.
14821 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
14823 * posix/spawn.h: Define __need_sigset_t.
14824 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
14825 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
14826 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
14827 to get sigevent_t only.
14828 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
14829 only for __USE_GNU.
14830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
14832 process_vm_writev only for __USE_GNU.
14833 * termios/termios.h: Declare tcgetsid also for POSIX2008.
14835 * conform/Makefile: For now ignore errors from run-conformtest.
14836 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
14837 POSIX to avoid namespace pollution. Don't prepend headers.
14838 * conform/data/aio.h-data: Fixes for POSIX testing.
14839 * conform/data/fcntl.h-data: Likewise.
14840 * conform/data/glob.h-data: Likewise.
14841 * conform/data/grp.h-data: Likewise.
14842 * conform/data/pthread.h-data: Likewise.
14843 * conform/data/pwd.h-data: Likewise.
14844 * conform/data/signal.h-data: Likewise.
14845 * conform/data/spawn.h-data: Likewise.
14846 * conform/data/stdio.h-data: Likewise.
14847 * conform/data/stdlib.h-data: Likewise.
14848 * conform/data/stropts.h-data: Likewise.
14849 * conform/data/sys/mman.h-data: Likewise.
14850 * conform/data/sys/stat.h-data: Likewise.
14851 * conform/data/sys/types.h-data: Likewise.
14852 * conform/data/sys/wait.h-data: Likewise.
14853 * conform/data/time.h-data: Likewise.
14854 * conform/data/unistd.h-data: Likewise.
14855 * conform/data/utime.h-data: Likewise.
14857 * io/sys/stat.h: fchmod was always in POSIX.
14858 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
14859 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
14860 * rt/aio.h: Define __need_timespec before including <time.h>.
14861 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
14862 struct. Add forward declaration of pthread_attr_t and use it in
14864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14866 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
14867 always remove CLK_TCK definition.
14869 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
14871 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
14873 2012-02-25 Ulrich Drepper <drepper@gmail.com>
14875 * conform/run-conformtest.sh: New file.
14876 * conform/Makefile: Run run-conformtest for tests.
14877 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
14880 * conform/data/uchar.h-data: New file.
14881 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
14882 * conform/data/arpa/inet.h-data: Likewise.
14883 * conform/data/assert.h-data: Likewise.
14884 * conform/data/complex.h-data: Likewise.
14885 * conform/data/cpio.h-data: Likewise.
14886 * conform/data/ctype.h-data: Likewise.
14887 * conform/data/dirent.h-data: Likewise.
14888 * conform/data/dlfcn.h-data: Likewise.
14889 * conform/data/errno.h-data: Likewise.
14890 * conform/data/fcntl.h-data: Likewise.
14891 * conform/data/float.h-data: Likewise.
14892 * conform/data/fmtmsg.h-data: Likewise.
14893 * conform/data/fnmatch.h-data: Likewise.
14894 * conform/data/ftw.h-data: Likewise.
14895 * conform/data/glob.h-data: Likewise.
14896 * conform/data/grp.h-data: Likewise.
14897 * conform/data/iconv.h-data: Likewise.
14898 * conform/data/inttypes.h-data: Likewise.
14899 * conform/data/langinfo.h-data: Likewise.
14900 * conform/data/libgen.h-data: Likewise.
14901 * conform/data/limits.h-data: Likewise.
14902 * conform/data/locale.h-data: Likewise.
14903 * conform/data/math.h-data: Likewise.
14904 * conform/data/monetary.h-data: Likewise.
14905 * conform/data/mqueue.h-data: Likewise.
14906 * conform/data/ndbm.h-data: Likewise.
14907 * conform/data/net/if.h-data: Likewise.
14908 * conform/data/netdb.h-data: Likewise.
14909 * conform/data/netinet/in.h-data: Likewise.
14910 * conform/data/nl_types.h-data: Likewise.
14911 * conform/data/poll.h-data: Likewise.
14912 * conform/data/pthread.h-data: Likewise.
14913 * conform/data/pwd.h-data: Likewise.
14914 * conform/data/regex.h-data: Likewise.
14915 * conform/data/sched.h-data: Likewise.
14916 * conform/data/search.h-data: Likewise.
14917 * conform/data/semaphore.h-data: Likewise.
14918 * conform/data/setjmp.h-data: Likewise.
14919 * conform/data/signal.h-data: Likewise.
14920 * conform/data/spawn.h-data: Likewise.
14921 * conform/data/stdarg.h-data: Likewise.
14922 * conform/data/stdio.h-data: Likewise.
14923 * conform/data/stdlib.h-data: Likewise.
14924 * conform/data/string.h-data: Likewise.
14925 * conform/data/strings.h-data: Likewise.
14926 * conform/data/stropts.h-data: Likewise.
14927 * conform/data/sys/ipc.h-data: Likewise.
14928 * conform/data/sys/mman.h-data: Likewise.
14929 * conform/data/sys/msg.h-data: Likewise.
14930 * conform/data/sys/resource.h-data: Likewise.
14931 * conform/data/sys/select.h-data: Likewise.
14932 * conform/data/sys/sem.h-data: Likewise.
14933 * conform/data/sys/shm.h-data: Likewise.
14934 * conform/data/sys/socket.h-data: Likewise.
14935 * conform/data/sys/stat.h-data: Likewise.
14936 * conform/data/sys/statvfs.h-data: Likewise.
14937 * conform/data/sys/time.h-data: Likewise.
14938 * conform/data/sys/timeb.h-data: Likewise.
14939 * conform/data/sys/times.h-data: Likewise.
14940 * conform/data/sys/types.h-data: Likewise.
14941 * conform/data/sys/uio.h-data: Likewise.
14942 * conform/data/sys/un.h-data: Likewise.
14943 * conform/data/sys/utsname.h-data: Likewise.
14944 * conform/data/sys/wait.h-data: Likewise.
14945 * conform/data/syslog.h-data: Likewise.
14946 * conform/data/tar.h-data: Likewise.
14947 * conform/data/termios.h-data: Likewise.
14948 * conform/data/utime.h-data: Likewise.
14949 * conform/data/utmpx.h-data: Likewise.
14950 * conform/data/varargs.h-data: Likewise.
14951 * conform/data/wchar.h-data: Likewise.
14952 * conform/data/wctype.h-data: Likewise.
14953 * conform/data/wordexp.h-data: Likewise.
14955 * include/stropts.h: New file.
14956 * include/uchar.h: New file.
14957 * include/aio.h: Changes to allow conformtest.pl to use the headers.
14958 * include/assert.h: Likewise.
14959 * include/ctype.h: Likewise.
14960 * include/dirent.h: Likewise.
14961 * include/dlfcn.h: Likewise.
14962 * include/fcntl.h: Likewise.
14963 * include/fnmatch.h: Likewise.
14964 * include/glob.h: Likewise.
14965 * include/grp.h: Likewise.
14966 * include/libio.h: Likewise.
14967 * include/locale.h: Likewise.
14968 * include/math.h: Likewise.
14969 * include/net/if.h: Likewise.
14970 * include/netdb.h: Likewise.
14971 * include/netinet/in.h: Likewise.
14972 * include/pthread.h: Likewise.
14973 * include/pwd.h: Likewise.
14974 * include/regex.h: Likewise.
14975 * include/sched.h: Likewise.
14976 * include/search.h: Likewise.
14977 * include/setjmp.h: Likewise.
14978 * include/signal.h: Likewise.
14979 * include/stdio.h: Likewise.
14980 * include/stdlib.h: Likewise.
14981 * include/string.h: Likewise.
14982 * include/sys/cdefs.h: Likewise.
14983 * include/sys/mman.h: Likewise.
14984 * include/sys/msg.h: Likewise.
14985 * include/sys/resource.h: Likewise.
14986 * include/sys/select.h: Likewise.
14987 * include/sys/socket.h: Likewise.
14988 * include/sys/stat.h: Likewise.
14989 * include/sys/statvfs.h: Likewise.
14990 * include/sys/time.h: Likewise.
14991 * include/sys/times.h: Likewise.
14992 * include/sys/uio.h: Likewise.
14993 * include/sys/utsname.h: Likewise.
14994 * include/sys/wait.h: Likewise.
14995 * include/termios.h: Likewise.
14996 * include/time.h: Likewise.
14997 * include/ulimit.h: Likewise.
14998 * include/unistd.h: Likewise.
14999 * include/utime.h: Likewise.
15000 * include/wchar.h: Likewise.
15001 * include/wctype.h: Likewise.
15002 * include/wordexp.h: Likewise.
15004 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15006 * time/time.h: TIME_UTC must be a macro.
15007 Make timespec_get available for ISO C11 only as well.
15009 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15011 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15012 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15014 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15016 * configure.in: Use -o not -a in test for unsupported multi-arch.
15018 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15020 * manual/texinfo.tex: Update to version 2012-01-19.16.
15022 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15024 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15026 2012-02-24 Roland McGrath <roland@hack.frob.com>
15029 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15030 * manual/fdl-1.3.texi: New file.
15031 * manual/fdl-1.1.texi: File removed.
15034 * manual/libc.texinfo (FDL_VERSION): New @set.
15035 Use it for mention of FDL in cover text.
15036 (Documentation License): Use it in @include file name.
15038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15039 Roland McGrath <roland@hack.frob.com>
15042 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15043 not LONG_LONG_MAX and LONG_LONG_MIN.
15044 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15045 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15047 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15049 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15053 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15054 manipulate bits before adding and subtracting TWO23[sx].
15055 * math/libm-test.inc (nearbyint_test): Add more tests.
15057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15060 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15061 bits before adding and subtracting TWO23[sx].
15062 * math/libm-test.inc (rint_test): Add more tests.
15063 (rint_test_tonearest): Likewise.
15064 (rint_test_towardzero): Likewise.
15065 (rint_test_downward): Likewise.
15066 (rint_test_upward: Likewise.
15068 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15071 * include/stdc-predef.h: New file. Extracted from features.h.
15072 * include/features.h: Include stdc-predef.h.
15073 * Makefile (headers): Add stdc-predef.h.
15074 * CONFORMANCE (Compiler limitations): Update.
15076 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15078 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15080 2012-02-21 David S. Miller <davem@davemloft.net>
15082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15083 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15085 2012-02-20 David S. Miller <davem@davemloft.net>
15087 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15088 using a normal save/restore sequence, rather than allocating a
15089 dummy stack frame just to store a frame pointer and restore.
15090 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15092 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15094 * manual/install.texi: Fix stray word in line-wrapped comment.
15096 2012-02-20 David S. Miller <davem@davemloft.net>
15098 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15099 both binutils and gcc support GOTDATA.
15101 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15102 "rd %pc" in the PIC register setup sequences.
15104 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15105 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15106 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15107 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15108 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15111 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15112 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15113 (SYSCALL_ERROR_HANDLER): Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15115 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15117 (SYSCALL_ERROR_HANDLER): Likewise.
15119 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15120 (HAVE_GCC_GOTDATA): New.
15121 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15122 relocation support in both binutils and gcc.
15123 * sysdeps/sparc/elf/configure: Regenerate.
15125 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15126 * sysdeps/sparc/sparc32/elf/configure: Delete.
15127 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15128 * sysdeps/sparc/sparc64/elf/configure: Delete.
15129 * sysdeps/sparc/elf/configure.in: New file.
15130 * sysdeps/sparc/elf/configure: Generate.
15132 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15133 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15134 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15135 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15136 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15138 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15140 * manual/install.texi: Do not mention specific glibc version
15142 * manual/libc.texinfo (VERSION, UPDATED): Update.
15143 (@copying): Use @copyright{} and range of years.
15145 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15148 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15149 [crti.S not in sysdirs] (generated): Do not append.
15150 [crti.S not in sysdirs] (omit-deps): Likewise.
15151 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15152 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15153 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15154 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15155 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15157 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15158 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15159 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15160 * csu/defs.awk: Remove file.
15161 * sysdeps/generic/initfini.c: Likewise.
15162 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15164 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15167 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15169 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15170 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15173 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15174 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15176 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15177 (__EPOLL_PACKED): Define to empty if not defined by
15179 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15183 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15185 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15186 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15187 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15188 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15190 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15194 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15196 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15198 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15199 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15200 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15203 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15205 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15206 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15208 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15210 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15211 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15213 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15215 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15218 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15220 * math/w_acos.c: Use non-signaling floating-point comparisons.
15221 * math/w_acosf.c: Likewise.
15222 * math/w_acosh.c: Likewise.
15223 * math/w_acoshf.c: Likewise.
15224 * math/w_acoshl.c: Likewise.
15225 * math/w_acosl.c: Likewise.
15226 * math/w_asin.c: Likewise.
15227 * math/w_asinf.c: Likewise.
15228 * math/w_asinl.c: Likewise.
15229 * math/w_atanh.c: Likewise.
15230 * math/w_atanhf.c: Likewise.
15231 * math/w_atanhl.c: Likewise.
15232 * math/w_exp2.c: Likewise.
15233 * math/w_exp2f.c: Likewise.
15234 * math/w_exp2l.c: Likewise.
15235 * math/w_j0.c: Likewise.
15236 * math/w_j0f.c: Likewise.
15237 * math/w_j0l.c: Likewise.
15238 * math/w_j1.c: Likewise.
15239 * math/w_j1f.c: Likewise.
15240 * math/w_j1l.c: Likewise.
15241 * math/w_jn.c: Likewise.
15242 * math/w_jnf.c: Likewise.
15243 * math/w_log.c: Likewise.
15244 * math/w_log10.c: Likewise.
15245 * math/w_log10f.c: Likewise.
15246 * math/w_log10l.c: Likewise.
15247 * math/w_log2.c: Likewise.
15248 * math/w_log2f.c: Likewise.
15249 * math/w_log2l.c: Likewise.
15250 * math/w_logf.c: Likewise.
15251 * math/w_logl.c: Likewise.
15252 * math/w_sqrt.c: Likewise.
15253 * math/w_sqrtf.c: Likewise.
15254 * math/w_sqrtl.c: Likewise.
15255 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15256 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15257 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15258 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15259 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15261 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15264 * manual/string.texi (strnlen): Use correct parameter name in
15265 equivalent expression.
15267 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15270 * manual/users.texi (seteuid): Consistently use neweuid for
15273 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15276 * manual/nss.texi (Services in the NSS configuration): Correct
15277 list of services in example configuration file.
15279 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15282 * manual/arith.texi: Remove statements about negative zero
15283 behaving identically to zero.
15285 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15288 * manual/install.texi: Do not document upgrading from libc5.
15290 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15293 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15295 2012-02-18 David S. Miller <davem@davemloft.net>
15297 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15298 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15299 %o7 across the call.
15300 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15303 SETUP_PIC_REG_LEAF.
15304 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15305 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15306 * sysdeps/sparc/crtn.S: Likewise.
15308 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15310 * aout/Makefile: Remove.
15312 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15315 * manual/examples/argp-ex1.c (main): Format definition in GNU
15317 * manual/examples/argp-ex2.c (main): Likewise.
15318 * manual/examples/argp-ex3.c (main): Likewise.
15319 * manual/examples/argp-ex4.c (main): Likewise.
15320 * manual/examples/longopt.c (main): Use new-style prototype
15322 * manual/examples/strncat.c (main): Specify return type and use
15323 (void) for arguments.
15324 * manual/examples/subopt.c (main): Use char **argv argument.
15326 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15329 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15332 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15335 * manual/string.texi (strchr): Change when strchrnul is
15338 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15341 * manual/locale.texi (setlocale): Document LOCPATH.
15343 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15346 * manual/process.texi (execle): Move @dots{} before last argument.
15348 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15351 * manual/charset.texi (Generic Charset Conversion): Fix typo
15352 (LC_TYPE -> LC_CTYPE).
15354 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15357 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15358 (scalbnf): Likewise.
15359 (scalbnl): Likewise.
15360 (scalbln): Likewise.
15361 (scalblnf): Likewise.
15362 (scalblnl): Likewise.
15363 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15364 (vwarnx): Likewise.
15367 * manual/filesys.texi (telldir): Use braces around return type.
15368 * manual/llio.texi (mmap): Add space after comma.
15369 (mmap64): Likewise.
15370 * manual/math.texi (jn): Use @var{} on parameter names.
15376 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15378 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15380 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15381 (sched_get_priority_max): Likewise.
15382 * manual/signal.texi (sigvec): Add space after comma.
15383 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15385 (if_indextoname): Likewise.
15386 (if_freenameindex): Likewise.
15387 (sendto): Use ',' instead of '.' in prototype.
15388 * manual/startup.texi (syscall): Use @dots{} instead of literal
15390 * manual/stdio.texi (__fpending): Separate initial words of
15391 paragraph from @deftypefun line.
15392 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15394 (vsyslog): Use @var{} on parameter names.
15395 * manual/terminal.texi (stty): Use @var{} on parameter names.
15396 * manual/users.texi (getutmp): Use @var{} on parameter names.
15397 (getutmpx): Likewise.
15399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15402 * manual/stdio.texi (fopen): Fix typos in description of
15405 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15408 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15409 get clock_id definition.
15411 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15414 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15415 (madvise): Cast every argument to void on its own.
15417 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15420 * manual/startup.texi (Exit Status): Fix typo.
15422 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15425 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15426 * manual/examples/argp-ex2.c: Likewise.
15427 * manual/examples/argp-ex3.c: Likewise.
15429 2012-02-16 Richard Henderson <rth@redhat.com>
15431 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15432 * sysdeps/s390/s390-32/initfini.c: Remove.
15433 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15434 * sysdeps/s390/s390-64/initfini.c: Remove.
15436 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15438 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15439 compiler output for sysdeps/generic/initfini.c.
15440 * sysdeps/sh/elf/initfini.c: Remove file.
15442 2012-02-16 David S. Miller <davem@davemloft.net>
15445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15447 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15448 * sysdeps/sparc/crti.S: New file.
15449 * sysdeps/sparc/crtn.S: New file.
15450 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15451 * sysdeps/sparc/sparc64/Makefile: Likewise.
15453 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15456 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15458 2012-02-15 Roland McGrath <roland@hack.frob.com>
15461 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15463 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15464 (write, read, close): Likewise.
15465 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15467 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15469 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15470 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15471 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15472 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15474 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15478 2012-02-14 Marek Polacek <polacek@redhat.com>
15480 * sysdeps/x86_64/crti.S: New file.
15481 * sysdeps/x86_64/crtn.S: New file.
15482 * sysdeps/x86_64/elf/initfini.c: Remove file.
15484 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15486 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15487 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15488 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15489 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15491 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15495 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15497 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15498 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15499 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15500 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15502 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15506 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15508 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15509 __feraiseexcept instead of feraiseexcept.
15511 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15512 nanosleep invocations.
15513 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15514 strings, and add error checking for a nanosleep invocations.
15516 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15518 Replace FSF snail mail address with URLs, as per GNU coding standards.
15519 Most of the snail mail addresses were wrong anyway, and omitting
15520 them makes the source code easier to maintain. Almost all of the
15521 changes are to license notices and to locale LC_IDENTIFICATION
15522 addresses, except for this one:
15523 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15524 not its snail mail address.
15526 2012-02-09 Richard Henderson <rth@twiddle.net>
15528 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15529 of kernel-features.h.
15531 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15533 2012-02-08 Marek Polacek <polacek@redhat.com>
15535 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15536 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15537 * sysdeps/gnu/_G_config.h: Likewise.
15538 * sysdeps/generic/_G_config.h: Likewise.
15540 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15542 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15546 * sysdeps/powerpc/powerpc32/crti.S: New file.
15547 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15548 * sysdeps/powerpc/powerpc64/crti.S: New file.
15549 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15551 * Makeconfig (have-initfini): Don't set.
15552 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15553 * configure.in (nopic_initfini): Don't substitute.
15554 * config.h.in (HAVE_INITFINI): Don't #undef.
15555 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15556 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15558 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15560 Support crti.S and crtn.S provided directly by architectures.
15561 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15562 [crti.S in sysdirs] (omit-deps): Likewise.
15563 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15564 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15565 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15566 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15567 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15568 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15569 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15570 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15571 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15572 compiler output for sysdeps/generic/initfini.c.
15573 * sysdeps/i386/elf/Makefile: Remove file.
15574 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15576 2012-02-07 Marek Polacek <polacek@redhat.com>
15578 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15579 * sysdeps/gnu/_G_config.h: Likewise.
15580 * sysdeps/mach/hurd/_G_config.h: Likewise.
15582 2012-02-07 Marek Polacek <polacek@redhat.com>
15584 * math/Makefile (tests): Add tst-CMPLX2.
15585 * math/tst-CMPLX2.c: New file.
15587 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15589 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15591 * math/libm-test.inc (jn_test): Add missing L suffix.
15593 2012-02-06 Marek Polacek <polacek@redhat.com>
15595 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15596 * sysdeps/i386/fpu/e_powf.S: Likewise.
15597 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15598 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15600 * sysdeps/i386/fpu/e_pow.S: Likewise.
15601 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15603 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15604 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15605 * sysdeps/i386/fpu/e_log2.S: Likewise.
15606 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15608 * sysdeps/i386/fpu/e_powl.S: Likewise.
15609 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15611 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15612 * sysdeps/i386/fpu/e_logl.S: Likewise.
15613 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15614 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15615 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15616 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15617 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15618 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15619 * sysdeps/i386/fpu/e_log.S: Likewise.
15620 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15621 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15622 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15623 * sysdeps/i386/fpu/e_logf.S: Likewise.
15624 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15625 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15626 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15627 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15628 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
15629 * sysdeps/i386/fpu/e_log10.S: Likewise.
15630 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15631 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15632 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15633 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15634 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15635 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15636 * sysdeps/i386/asm-syntax.h: Likewise.
15637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15638 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15639 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15640 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
15641 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
15642 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15643 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15644 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15645 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15646 * sysdeps/powerpc/sysdep.h: Likewise.
15647 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
15648 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15650 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15653 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
15655 2012-02-06 Joseph Myers <joseph@codesourcery.com>
15657 * sysdeps/i386/sysdep.h: Include <features.h>.
15658 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
15661 2012-02-05 Joseph Myers <joseph@codesourcery.com>
15663 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
15665 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
15668 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15670 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
15671 (SETUP_PIC_REG): Use GET_PC_THUNK.
15672 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
15675 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15677 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
15678 for non-PIC compilation.
15679 (SETUP_PIC_REG): Add .p2align directive.
15680 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
15681 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
15682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15684 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15685 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15686 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
15687 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15688 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15689 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15690 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15691 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15692 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15693 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15694 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15695 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15696 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15697 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15698 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15699 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15700 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15701 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15704 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15706 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15708 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15709 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15710 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15711 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15712 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15715 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15716 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15717 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15718 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15719 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15720 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15722 2012-02-03 Joseph Myers <joseph@codesourcery.com>
15724 * math/tst-CMPLX.c: Include <stdio.h>.
15726 2012-01-31 Joseph Myers <joseph@codesourcery.com>
15728 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
15730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
15731 * sysdeps/sparc/bits/mathdef.h: Likewise.
15733 2012-01-31 Marek Polacek <polacek@redhat.com>
15735 * libio/libio.h: Don't define _PARAMS.
15736 * locale/programs/config.h: Don't define PARAMS.
15737 * stdlib/strtol_l.c: Likewise.
15738 (__strtol_l): Remove PARAMS from the prototype.
15740 2012-01-31 Ulrich Drepper <drepper@gmail.com>
15742 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
15743 names. Just use the correct names. Remove unnecessary wrapper
15745 * malloc/arena.c: Likewise.
15746 * malloc/hooks.c: Likewise.
15748 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
15749 ARENA_TEST says not to. Simplify test for creation of a new arena.
15750 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
15752 2012-01-30 Ulrich Drepper <drepper@gmail.com>
15754 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
15756 (update_get_addr): New function.
15757 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
15758 GET_ADDR_MODULE parameter.
15760 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15762 * crypt/cert.c: Remove __STDC__ conditionals.
15763 * crypt/crypt-entry.c: Likewise.
15764 * crypt/crypt_util.c: Likewise.
15765 * libio/filedoalloc.c: Likewise.
15766 * libio/fileops.c: Likewise.
15767 * libio/genops.c: Likewise.
15768 * libio/iofclose.c: Likewise.
15769 * libio/iofdopen.c: Likewise.
15770 * libio/iofopen.c: Likewise.
15771 * libio/iofopen64.c: Likewise.
15772 * libio/iogetdelim.c: Likewise.
15773 * libio/iopopen.c: Likewise.
15774 * libio/obprintf.c: Likewise.
15775 * libio/oldfileops.c: Likewise.
15776 * libio/oldiofclose.c: Likewise.
15777 * libio/oldiofdopen.c: Likewise.
15778 * libio/oldiofopen.c: Likewise.
15779 * libio/oldiopopen.c: Likewise.
15780 * libio/wfiledoalloc.c: Likewise.
15781 * libio/wgenops.c: Likewise.
15782 * locale/programs/xmalloc.c: Likewise.
15783 * misc/syslog.c: Likewise.
15784 * stdio-common/xbug.c: Likewise.
15785 * string/memchr.c: Likewise.
15786 * string/memcmp.c: Likewise.
15787 * string/memrchr.c: Likewise.
15788 * string/rawmemchr.c: Likewise.
15789 * sysdeps/posix/getcwd.c: Likewise.
15790 * time/strftime_l.c: Likewise.
15792 2012-01-30 Joseph Myers <joseph@codesourcery.com>
15794 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
15795 * config.make.in (config-cflags-sse2avx): Define.
15796 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
15799 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
15801 * scripts/config.guess: Update from upstream config git repository.
15802 * scripts/config.sub: Likewise.
15804 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
15806 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
15808 (R_TILEPRO_*, R_TILEGX_*): New macros.
15810 * scripts/firstversions.awk: Fix bug in version range handling.
15812 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
15814 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
15816 * include/sys/epoll.h: New file.
15817 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
15820 2012-01-28 Ulrich Drepper <drepper@gmail.com>
15822 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
15823 Avoid unnecessary __WORDSIZE == 64 test.
15824 (fmaxf): Use VEX format if possible.
15829 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
15830 * math/math_private.h: Remove libc_fegetround* and
15832 * sysdeps/i386/configure.in: Check for -msse2avx.
15833 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
15834 also if SSE2AVX is defined.
15835 Remove libc_fegetround* and libc_fesetround*.
15836 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
15837 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
15838 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
15840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15846 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
15848 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
15852 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15854 2012-01-27 Ulrich Drepper <drepper@gmail.com>
15857 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
15859 * Makeconfig (libm): Define.
15860 * elf/Makefile: Add rules to build and run tst-relsort1.
15861 * elf/tst-relsort1.c: New file.
15862 * elf/tst-relsort1mod1.c: New file.
15863 * elf/tst-relsort1mod2.c: New file.
15865 2012-01-27 Joseph Myers <joseph@codesourcery.com>
15867 * math/s_ldexp.c: Remove __STDC__ conditionals.
15868 * math/s_ldexpf.c: Likewise.
15869 * math/s_ldexpl.c: Likewise.
15870 * math/s_nextafter.c: Likewise.
15871 * math/s_nexttowardf.c: Likewise.
15872 * math/s_significand.c: Likewise.
15873 * math/s_significandf.c: Likewise.
15874 * math/s_significandl.c: Likewise.
15875 * math/w_jnl.c: Likewise.
15876 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15877 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15878 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15879 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15880 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15881 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15882 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
15883 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15884 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15888 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15890 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15891 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15893 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15895 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15896 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15898 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15899 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15900 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15901 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15902 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15903 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15904 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15907 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15910 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15911 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15912 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15913 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15914 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15915 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15916 * sysdeps/ieee754/k_standard.c: Likewise.
15917 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15918 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15919 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15920 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15921 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15922 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15927 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15928 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15930 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15931 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15932 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15933 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15934 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15939 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15940 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15941 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15946 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15947 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15948 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
15949 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15950 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15952 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15959 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15964 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15965 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15966 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15967 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
15968 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15969 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15970 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15971 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15972 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15973 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
15974 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15975 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15976 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15978 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15980 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15986 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15987 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15989 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15992 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15993 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15994 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15995 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15996 * sysdeps/ieee754/s_matherr.c: Likewise.
15997 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15998 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16002 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16004 * crypt/md5.h: Remove __STDC__ conditionals.
16005 * libio/libioP.h: Likewise.
16006 * locale/programs/config.h: Likewise.
16007 * sysdeps/generic/sysdep.h: Likewise.
16008 * sysdeps/i386/asm-syntax.h: Likewise.
16009 * sysdeps/s390/asm-syntax.h: Likewise.
16010 * sysdeps/unix/sysdep.h: Likewise.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16014 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16016 * libio/libio.h: Remove __STDC__ conditionals.
16017 * malloc/obstack.h: Likewise.
16018 * math/complex.h: Likewise.
16019 * math/math.h: Likewise.
16020 * sysdeps/generic/_G_config.h: Likewise.
16021 * sysdeps/gnu/_G_config.h: Likewise.
16022 * sysdeps/mach/hurd/_G_config.h: Likewise.
16023 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16024 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16025 * sysdeps/sparc/bits/mathdef.h: Likewise.
16027 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16031 Clean up HAS_* macros.
16032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16033 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16035 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16037 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16038 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16039 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16040 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16041 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16043 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16045 * elf/tst-unique3.cc (gets): Remove declaration.
16046 * elf/tst-unique3lib.cc (gets): Likewise.
16047 * elf/tst-unique3lib2.cc (gets): Likewise.
16048 * elf/tst-unique4.cc (gets): Likewise.
16050 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16052 * include/stdio.h: Add C++ protection. Add gets declarations and
16054 * debug/tst-chk1.c: Don't declare gets here.
16055 * stdio-common/tst-gets.c: Likewise.
16057 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16059 * posix/glob: Remove directory.
16061 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16063 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16065 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16067 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16068 of the non-standard EPFNOSUPPORT.
16070 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16072 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16073 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16074 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16076 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16078 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16080 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16082 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16084 * nscd/grpcache.c (cache_addgr): Likewise.
16085 * nscd/hstcache.c (cache_addhst): Likewise.
16086 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16087 * nscd/pwdcache.c (cache_addpw): Likewise.
16088 * nscd/servicescache.c (cache_addserv): Likewise.
16090 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16092 * malloc/malloc.c: Various cleanups.
16093 * malloc/hooks.c: Likewise.
16095 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16096 * stdlib/bug-fmtmsg1.c: New file.
16098 * stdlib/fmtmsg.c (init): Add missing unlock.
16099 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16101 2012-01-12 Marek Polacek <polacek@redhat.com>
16103 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16106 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16108 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16109 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16110 macro to ensure uniqueness of label name.
16111 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16112 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16114 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16116 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16118 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16119 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16123 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16125 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16127 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16128 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16129 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16131 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16133 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16134 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16136 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16138 * math/bits/math-finite.h: Add ldexp support.
16140 2012-01-10 Marek Polacek <polacek@redhat.com>
16142 * locale/programs/localedef.h (show_archive_content): Add noreturn
16145 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16147 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16149 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16151 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16153 * io/Makefile (headers): Add bits/poll2.h.
16155 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16158 typo #include statement.
16160 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16162 * include/sys/cdefs.h: Define __attribute_alloc_size.
16163 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16164 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16165 * elf/pldd.c: Likewise.
16166 * iconv/iconv_charmap.c: Likewise.
16167 * iconv/iconvconfig.c: Likewise.
16168 * iconv/strtab.c: Likewise.
16169 * locale/programs/locale.c: Likewise.
16170 * locale/programs/localedef.h: Likewise.
16171 * locale/programs/simple-hash.c: Likewise.
16172 * nscd/nscd.h: Likewise.
16173 * nss/makedb.c: Likewise.
16174 * sysdeps/generic/ldconfig.h: Likewise.
16175 * locale/programs/localedef.c: Remove xmalloc prototype.
16176 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16178 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16180 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16183 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16185 * math/Makefile (tests): Add tst-CMPLX.
16186 * math/tst-CMPLX.c: New file.
16188 * math/complex.h (CMPLXL): Fix typo.
16190 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16191 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16193 * debug/tst-chk1.c: Add poll and ppoll tests.
16194 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16195 * include/sys/poll.h: Add hidden proto for ppoll.
16196 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16197 * sysdeps/mach/hurd/ppoll.c: Likewise.
16198 * io/ppoll.c: Likewise.
16199 * debug/poll_chk.c: New file.
16200 * debug/ppoll_chk.c: New file.
16201 * include/bits/poll2.h: New file.
16202 * io/bits/poll2.h: New file.
16205 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16207 * configure.in: static is always set to yes. Remove.
16208 * config.make.in: Don't set build-static.
16209 * Makeconfig: Remove use of build-static.
16210 * dlfcn/Makefile: Likewise.
16211 * elf/Makefile: Likewise.
16212 * math/Makefile: Likewise.
16213 * misc/Makefile: Likewise.
16214 * nptl/Makefile: Likewise.
16215 * sysdeps/mach/hurd/Makefile: Likewise.
16217 * configure.in: PWD_P is not used anymore.
16218 * config.make.in: Remove PWD_P entry.
16220 * configure.in: Remove last remnants of RANLIB.
16221 No need to check for signed size_t anymore.
16222 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16224 Remove __builtin_expect test because we require at least gcc 3.4.
16225 * aclocal.m4: Likewise.
16227 * wcsmbs/mbrtoc16.c: Implement using towc function.
16228 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16229 * wcsmbs/wcsmbsload.c: Likewise.
16230 * iconv/gconv_simple.c: Likewise.
16231 * iconv/gconv_int.h: Likewise.
16232 * iconv/gconv_builtin.h: Likewise.
16233 * iconv/iconv_prog.c: Remove CHAR16 handling.
16235 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16237 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16239 * configure.in: Remove --with-elf and --enable-bounded options.
16240 Dont set base_machine for ia64. More non-ELF conditions removed.
16241 Remove testing and setting of leading underscore information.
16242 * config.make.in (build-bounded): Set to no.
16243 * config.h.in: Remove NO_UNDERSCORES entry.
16244 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16246 * csu/start.c: Remove !NO_UNDERSCORE code.
16247 * locale/localeinfo.h: Likewise.
16248 * sysdeps/generic/machine-gmon.h: Likewise.
16249 * sysdeps/generic/sysdep.h: Likewise.
16250 * sysdeps/i386/sysdep.h: Likewise.
16251 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16252 * sysdeps/mach/sysdep.h: Likewise.
16253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16255 * sysdeps/sh/sysdep.h: Likewise.
16256 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16257 * sysdeps/unix/i386/sysdep.S: Likewise.
16258 * sysdeps/unix/sparc/start.c: Likewise.
16259 * sysdeps/unix/sparc/sysdep.S: Likewise.
16260 * sysdeps/unix/sparc/sysdep.h: Likewise.
16261 * sysdeps/unix/start.c: Likewise.
16262 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16263 * sysdeps/x86_64/sysdep.h: Likewise.
16265 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16268 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16270 * argp/argp-fmtstream.h: Use const instead __const.
16271 * argp/argp.h: Likewise.
16272 * assert/assert.h: Likewise.
16273 * bits/fenv.h: Likewise.
16274 * bits/sched.h: Likewise.
16275 * bits/sigset.h: Likewise.
16276 * bits/sigthread.h: Likewise.
16277 * catgets/nl_types.h: Likewise.
16278 * conform/data/pthread.h-data: Likewise.
16279 * crypt/crypt-private.h: Likewise.
16280 * crypt/crypt.h: Likewise.
16281 * crypt/crypt_util.c: Likewise.
16282 * ctype/ctype.h: Likewise.
16283 * debug/execinfo.h: Likewise.
16284 * debug/mbsnrtowcs_chk.c: Likewise.
16285 * debug/mbsrtowcs_chk.c: Likewise.
16286 * debug/wcsnrtombs_chk.c: Likewise.
16287 * debug/wcsrtombs_chk.c: Likewise.
16288 * debug/wcstombs_chk.c: Likewise.
16289 * dirent/dirent.h: Likewise.
16290 * dlfcn/dlfcn.h: Likewise.
16291 * elf/neededtest4.c: Likewise.
16292 * grp/grp.h: Likewise.
16293 * gshadow/gshadow.h: Likewise.
16294 * iconv/gconv.h: Likewise.
16295 * iconv/gconv_int.h: Likewise.
16296 * iconv/gconv_simple.c: Likewise.
16297 * iconv/iconv.h: Likewise.
16298 * iconv/loop.c: Likewise.
16299 * iconv/skeleton.c: Likewise.
16300 * include/aio.h: Likewise.
16301 * include/aliases.h: Likewise.
16302 * include/argz.h: Likewise.
16303 * include/arpa/inet.h: Likewise.
16304 * include/assert.h: Likewise.
16305 * include/dirent.h: Likewise.
16306 * include/dlfcn.h: Likewise.
16307 * include/execinfo.h: Likewise.
16308 * include/fcntl.h: Likewise.
16309 * include/fenv.h: Likewise.
16310 * include/glob.h: Likewise.
16311 * include/grp.h: Likewise.
16312 * include/libintl.h: Likewise.
16313 * include/mntent.h: Likewise.
16314 * include/netdb.h: Likewise.
16315 * include/pwd.h: Likewise.
16316 * include/rpc/netdb.h: Likewise.
16317 * include/sched.h: Likewise.
16318 * include/search.h: Likewise.
16319 * include/shadow.h: Likewise.
16320 * include/signal.h: Likewise.
16321 * include/stdio.h: Likewise.
16322 * include/stdlib.h: Likewise.
16323 * include/string.h: Likewise.
16324 * include/sys/socket.h: Likewise.
16325 * include/sys/stat.h: Likewise.
16326 * include/sys/statfs.h: Likewise.
16327 * include/sys/statvfs.h: Likewise.
16328 * include/sys/syslog.h: Likewise.
16329 * include/sys/time.h: Likewise.
16330 * include/sys/uio.h: Likewise.
16331 * include/time.h: Likewise.
16332 * include/unistd.h: Likewise.
16333 * include/utmp.h: Likewise.
16334 * include/wchar.h: Likewise.
16335 * include/wctype.h: Likewise.
16336 * inet/aliases.h: Likewise.
16337 * inet/arpa/inet.h: Likewise.
16338 * inet/netinet/ether.h: Likewise.
16339 * inet/netinet/in.h: Likewise.
16340 * intl/libintl.h: Likewise.
16341 * io/bits/fcntl2.h: Likewise.
16342 * io/fcntl.h: Likewise.
16343 * io/ftw.h: Likewise.
16344 * io/sys/poll.h: Likewise.
16345 * io/sys/stat.h: Likewise.
16346 * io/sys/statfs.h: Likewise.
16347 * io/sys/statvfs.h: Likewise.
16348 * io/utime.h: Likewise.
16349 * libio/bits/stdio.h: Likewise.
16350 * libio/bits/stdio2.h: Likewise.
16351 * libio/libio.h: Likewise.
16352 * libio/libioP.h: Likewise.
16353 * libio/stdio.h: Likewise.
16354 * locale/lc-ctype.c: Likewise.
16355 * locale/locale.h: Likewise.
16356 * login/utmp.h: Likewise.
16357 * malloc/arena.c: Likewise.
16358 * malloc/malloc.c: Likewise.
16359 * malloc/malloc.h: Likewise.
16360 * malloc/mcheck.c: Likewise.
16361 * malloc/mtrace.c: Likewise.
16362 * math/bits/mathcalls.h: Likewise.
16363 * math/fenv.h: Likewise.
16364 * math/math_private.h: Likewise.
16365 * misc/bits/error.h: Likewise.
16366 * misc/bits/syslog.h: Likewise.
16367 * misc/err.h: Likewise.
16368 * misc/error.h: Likewise.
16369 * misc/fstab.h: Likewise.
16370 * misc/mntent.h: Likewise.
16371 * misc/regexp.h: Likewise.
16372 * misc/search.h: Likewise.
16373 * misc/sgtty.h: Likewise.
16374 * misc/sys/mman.h: Likewise.
16375 * misc/sys/syslog.h: Likewise.
16376 * misc/sys/uio.h: Likewise.
16377 * misc/sys/xattr.h: Likewise.
16378 * misc/ttyent.h: Likewise.
16379 * nis/rpcsvc/ypclnt.h: Likewise.
16380 * nss/nss.h: Likewise.
16381 * posix/bits/unistd.h: Likewise.
16382 * posix/fnmatch.h: Likewise.
16383 * posix/glob.h: Likewise.
16384 * posix/sched.h: Likewise.
16385 * posix/spawn.h: Likewise.
16386 * posix/sys/wait.h: Likewise.
16387 * posix/unistd.h: Likewise.
16388 * posix/wordexp.h: Likewise.
16389 * pwd/pwd.h: Likewise.
16390 * resolv/netdb.h: Likewise.
16391 * resource/sys/resource.h: Likewise.
16392 * rt/aio.h: Likewise.
16393 * rt/bits/mqueue2.h: Likewise.
16394 * rt/mqueue.h: Likewise.
16395 * shadow/shadow.h: Likewise.
16396 * signal/signal.h: Likewise.
16397 * socket/send.c: Likewise.
16398 * socket/sendto.c: Likewise.
16399 * socket/sys/socket.h: Likewise.
16400 * stdio-common/printf.h: Likewise.
16401 * stdlib/bits/stdlib.h: Likewise.
16402 * stdlib/fmtmsg.h: Likewise.
16403 * stdlib/monetary.h: Likewise.
16404 * stdlib/stdlib.h: Likewise.
16405 * stdlib/ucontext.h: Likewise.
16406 * streams/stropts.h: Likewise.
16407 * string/argz.h: Likewise.
16408 * string/bits/string2.h: Likewise.
16409 * string/string.h: Likewise.
16410 * string/strings.h: Likewise.
16411 * sunrpc/rpc/auth.h: Likewise.
16412 * sunrpc/rpc/auth_des.h: Likewise.
16413 * sunrpc/rpc/clnt.h: Likewise.
16414 * sunrpc/rpc/netdb.h: Likewise.
16415 * sunrpc/rpc/pmap_clnt.h: Likewise.
16416 * sunrpc/rpc/xdr.h: Likewise.
16417 * sysdeps/generic/inttypes.h: Likewise.
16418 * sysdeps/generic/net/if.h: Likewise.
16419 * sysdeps/generic/sys/swap.h: Likewise.
16420 * sysdeps/gnu/net/if.h: Likewise.
16421 * sysdeps/gnu/utmpx.h: Likewise.
16422 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16423 * sysdeps/i386/i486/bits/string.h: Likewise.
16424 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16425 * sysdeps/s390/bits/string.h: Likewise.
16426 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16427 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16428 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16429 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16430 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16431 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16432 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16433 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16434 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16435 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16436 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16437 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16438 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16439 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16440 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16441 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16442 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16444 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16445 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16446 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16448 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16449 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16450 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16451 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16452 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16453 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16454 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16456 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16457 * sysvipc/sys/ipc.h: Likewise.
16458 * sysvipc/sys/msg.h: Likewise.
16459 * sysvipc/sys/sem.h: Likewise.
16460 * sysvipc/sys/shm.h: Likewise.
16461 * termios/termios.h: Likewise.
16462 * time/sys/time.h: Likewise.
16463 * time/time.h: Likewise.
16464 * wcsmbs/bits/wchar2.h: Likewise.
16465 * wcsmbs/uchar.h: Likewise.
16466 * wcsmbs/wchar.h: Likewise.
16467 * wctype/wctype.h: Likewise.
16470 * Makeconfig: Remove all but ELF support including AIX support.
16471 * Makerules: Likewise.
16472 * config.h.in: Likewise.
16473 * config.make.in: Likewise.
16474 * configure: Likewise.
16475 * configure.in: Likewise.
16476 * csu/Makefile: Likewise.
16477 * csu/version.c: Likewise.
16478 * debug/Makefile: Likewise.
16479 * dlfcn/Makefile: Likewise.
16480 * elf/Makefile: Likewise.
16481 * extra-lib.mk: Likewise.
16482 * iconv/Makefile: Likewise.
16483 * include/libc-symbols.h: Likewise.
16484 * include/shlib-compat.h: Likewise.
16485 * resolv/Makefile: Likewise.
16486 * resolv/res_libc.c: Likewise.
16487 * rt/Makefile: Likewise.
16488 * sysdeps/i386/asm-syntax.h: Likewise.
16489 * sysdeps/i386/sysdep.h: Likewise.
16490 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16491 * sysdeps/mach/sysdep.h: Likewise.
16492 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16493 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16494 * sysdeps/s390/asm-syntax.h: Likewise.
16495 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16496 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16497 * sysdeps/sh/sysdep.h: Likewise.
16498 * sysdeps/unix/sparc/sysdep.h: Likewise.
16499 * sysdeps/wordsize-32/divdi3.c: Likewise.
16500 * sysdeps/x86_64/sysdep.h: Likewise.
16502 * argp/Versions: Remove _argp_unlock_xxx.
16505 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16506 * abilist/libBrokenLocale.abilist: Likewise.
16507 * abilist/libanl.abilist: Likewise.
16508 * abilist/libc.abilist: Likewise.
16509 * abilist/libcrypt.abilist: Likewise.
16510 * abilist/libdl.abilist: Likewise.
16511 * abilist/libm.abilist: Likewise.
16512 * abilist/libnsl.abilist: Likewise.
16513 * abilist/libpthread.abilist: Likewise.
16514 * abilist/libresolv.abilist: Likewise.
16515 * abilist/librt.abilist: Likewise.
16516 * abilist/libthread_db.abilist: Likewise.
16517 * abilist/libutil.abilist: Likewise.
16518 * abilist/libnss_db.abilist: New file.
16520 * scripts/abilist.awk: Add support for indirect functions.
16522 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16524 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16526 * shlib-versions: Remove entries for ports architectures.
16528 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16530 * elf/stackguard-macros.h: Remove support for IA-64.
16531 * elf/tst-auditmod1.c: Likewise.
16532 * sysdeps/generic/ldsodefs.h: Likewise.
16534 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16535 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16539 * configure.in: Remove --enable-omitfp support.
16541 * config.make.in: Likewise.
16542 * Makeconfig: Likewise.
16543 * manual/install.texi: Likewise.
16545 In case anyone cares, the IA-64 architecture could move to ports.
16546 * sysdeps/ia64/*: Removed.
16547 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16548 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16551 * configure.in: Remove entries for unsupported architectures.
16554 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16555 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16557 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16558 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16559 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16560 fall back to using wcrtomb.
16561 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16562 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16564 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16565 * wcsmbs/tst-c16c32-1.c: New file.
16567 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16570 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16572 * elf/tst-unique3.cc: Add explicit declaration of gets.
16573 * elf/tst-unique3lib.cc: Likewise.
16574 * elf/tst-unique3lib2.cc: Likewise.
16575 * elf/tst-unique4.cc: Likewise.
16577 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16579 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16582 * assert/assert.h (static_assert): Don't define for C++.
16583 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16584 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16586 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16588 * iconv/loop.c (single loop): Fix assertion in storing of
16591 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16593 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16595 * posix/getconf.c: Update copyright year.
16596 * nss/getent.c: Likewise.
16597 * nss/makedb.c: Likewise.
16598 * iconv/iconvconfig.c: Likewise.
16599 * iconv/iconv_prog.c: Likewise.
16600 * elf/ldconfig.c: Likewise.
16601 * elf/pldd.c: Likewise.
16602 * elf/sotruss.ksh: Likewise.
16603 * catgets/gencat.c: Likewise.
16604 * csu/version.c: Likewise.
16605 * elf/ldd.bash.in: Likewise.
16606 * elf/sprof.c (print_version): Likewise.
16607 * locale/programs/locale.c: Likewise.
16608 * locale/programs/localedef.c: Likewise.
16609 * login/programs/pt_chown.c: Likewise.
16610 * nscd/nscd.c (print_version): Likewise.
16611 * debug/xtrace.sh: Likewise.
16612 * malloc/memusage.sh: Likewise.
16613 * malloc/mtrace.pl: Likewise.
16614 * debug/catchsegv.sh: Likewise.
16616 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16618 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16621 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16624 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16625 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16627 * iconv/gconv_int.h: Likewise.
16628 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
16629 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
16630 from libc for GLIBC_2.16.
16631 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
16632 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
16633 * wcsmbs/uchar.h: Really define mbstate_t.
16634 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
16635 * wcsmbs/c16rtomb.c: New file.
16636 * wcsmbs/mbrtoc16.c: New file.
16637 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
16638 for C/POSIX locale.
16639 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
16640 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
16642 * wcsmbs/wchar.h: Add missing __restrict.
16644 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16647 * time/Makefile (routines): Add timespec_get.
16648 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
16649 * time/time.h: Define TIME_UTC and declare timespec_get. Define
16650 timespec for ISO C11.
16651 * time/timespec_get.c: New file.
16652 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
16653 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
16656 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
16657 * stdlib/stdlib.h: Declare aligned_alloc.
16658 * Versions.def: Add GLIBC_2.16 for libc.
16659 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
16662 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
16665 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
16669 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
16672 * assert/assert.h (static_assert): Define.
16674 * version.h: Update for 2.16 development version.
16677 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
16680 * version.h (RELEASE): Bump for 2.15 release.
16681 * include/features.h (__GLIBC_MINOR__): Bump to 15.
16683 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
16684 Patch by Marek Polacek <mpolacek@redhat.com>.
16686 * bits/byteswap.h: Protect long long constants with __extension__.
16687 * sysdeps/i386/bits/byteswap.h: Likewise.
16688 * sysdeps/ia64/bits/byteswap.h: Likewise.
16689 * sysdeps/s390/bits/byteswap.h: Likewise.
16690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16692 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
16696 destination buffer.
16697 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
16699 2011-12-23 Marek Polacek <polacek@redhat.com>
16701 * elf/dl-addr.c (determine_info): Add inline keyword.
16702 * elf/tst-auditmod4b.c (check_avx): Likewise.
16703 * elf/tst-auditmod6b.c (check_avx): Likewise.
16704 * elf/tst-auditmod6c.c (check_avx): Likewise.
16705 * elf/tst-auditmod7b.c (check_avx): Likewise.
16707 2011-12-23 Ulrich Drepper <drepper@gmail.com>
16709 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
16712 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16715 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
16716 processing for last bytes.
16718 2011-08-06 Bruno Haible <bruno@clisp.org>
16721 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
16722 U+0385, not to U+1FEE.
16725 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
16726 entry for U+00A5 U+0301.
16728 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16731 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
16732 buffer for the output is too small.
16734 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
16738 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
16739 SSE flags if possible.
16741 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16744 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
16745 processing for last bytes.
16747 2011-12-22 Joseph Myers <joseph@codesourcery.com>
16749 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
16750 (syscall-list-default-options, syscall-list-default-condition)
16751 (syscall-list-includes): Define.
16752 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
16753 list of ABIs and options and #if conditions for each ABI. Do not
16754 handle common syscalls between ABIs specially.
16755 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
16757 (syscall-list-variants, syscall-list-32bit-options)
16758 (syscall-list-32bit-condition, syscall-list-64bit-options)
16759 (syscall-list-64bit-condition): Define.
16760 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
16761 (syscall-list-variants, syscall-list-32bit-options)
16762 (syscall-list-32bit-condition, syscall-list-64bit-options)
16763 (syscall-list-64bit-condition): Define.
16764 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
16766 (syscall-list-variants, syscall-list-32bit-options)
16767 (syscall-list-32bit-condition, syscall-list-64bit-options)
16768 (syscall-list-64bit-condition): Define.
16769 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
16771 (syscall-list-variants, syscall-list-32bit-options)
16772 (syscall-list-32bit-condition, syscall-list-64bit-options)
16773 (syscall-list-64bit-condition): Define.
16775 2011-12-22 Ulrich Drepper <drepper@gmail.com>
16777 * locale/iso-639.def: Add brx entry.
16780 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
16781 Proposed by Mariusz_Cukr <marcukr@op.pl>.
16783 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
16784 __feraiseexcept_renamed.
16786 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16789 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
16790 EPOLLET with unsigned values.
16791 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16792 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16794 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
16795 to large cancellation.
16796 * math/s_cacoshf.c: Likewise.
16797 * math/s_cacoshl.c: Likewise.
16799 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
16803 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
16804 * math/s_cacoshf.c: Likewise.
16805 * math/s_cacoshl.c: Likewise.
16807 2011-12-21 Ulrich Drepper <drepper@gmail.com>
16810 * iconv/gconv.h: Define __GCONV_SWAP.
16811 * iconvdata/unicode.c: The swap bit must be stored in __flags.
16812 * iconvdata/utf-16.c: Likewise.
16813 * iconvdata/utf-32.c: Likewise.
16815 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
16818 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
16819 numerator after shifting it by one limb.
16821 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
16823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
16824 under [__USE_EXTERN_INLINES].
16826 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16829 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
16831 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16833 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
16834 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
16836 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
16837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
16838 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
16839 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
16840 for strncasecmp/strncasecmp_l compilation.
16841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
16842 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
16844 2011-12-08 Marek Polacek <mpolacek@redhat.com>
16847 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
16850 2011-12-17 Ulrich Drepper <drepper@gmail.com>
16853 * time/tzfile.c (__tzfile_read): Check values from file header.
16855 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16857 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
16858 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
16859 * powerpc/powerpc32/dl-start.S: Likewise.
16860 * powerpc/powerpc32/elf/start.S: Likewise.
16861 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16862 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
16863 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
16864 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
16865 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16866 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
16867 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
16868 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16869 * powerpc/powerpc32/fpu/s_round.S: Likewise.
16870 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16871 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16872 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16873 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
16874 * powerpc/powerpc32/memset.S: Likewise.
16875 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16876 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16877 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16878 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16879 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16880 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16881 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16882 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16883 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
16884 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
16885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
16886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16889 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16891 * math/libm-test.inc: Added more nearbyint tests.
16892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
16893 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
16894 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
16895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
16897 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
16899 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
16902 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16904 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
16905 Add wcscpy-ssse3 wcscpy-c.
16906 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
16907 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
16908 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
16909 * sysdeps/x86_64/wcschr.S: New file.
16910 * sysdeps/x86_64/wcsrchr.S: New file.
16911 * string/test-strcmp.c: Remove checking of wcscmp function for
16913 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
16914 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
16915 wcsrchr-sse2 wcsrchr-c.
16916 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
16917 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
16918 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
16919 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
16920 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
16921 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
16922 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
16923 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
16924 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
16925 * wcsmbc/wcschr.c (WCSCHR): New macro.
16927 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16929 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
16930 * wcsmbs/test-wcsrchr.c: New file.
16931 * string/test-strrchr.c: Add wcsrchr support.
16933 * wcsmbs/test-wcscpy.c: New file.
16934 * string/test-strcpy.c: Add wcscpy support.
16937 2011-12-10 Ulrich Drepper <drepper@gmail.com>
16939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
16942 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
16945 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
16947 2011-12-04 Ulrich Drepper <drepper@gmail.com>
16949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
16950 Minor optimizations.
16952 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
16953 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
16954 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16956 2011-12-03 Ulrich Drepper <drepper@gmail.com>
16958 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
16959 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
16960 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
16961 for gcc to avoid warnings.
16962 * inet/Makefile (tests): Add tst-checks.
16963 * inet/tst-checks.c: New file.
16965 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
16968 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
16971 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
16972 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
16974 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
16976 2011-12-02 Ulrich Drepper <drepper@gmail.com>
16978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
16981 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
16983 2011-11-29 Joseph Myers <joseph@codesourcery.com>
16985 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
16986 conditional on GCC version.
16987 (__arch_compare_and_exchange_val_8_acq)
16988 (__arch_compare_and_exchange_val_16_acq)
16989 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
16990 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
16991 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
16993 2011-12-02 Joseph Myers <joseph@codesourcery.com>
16995 * sysdeps/sh/backtrace.c: New file.
16997 2011-12-02 Andreas Schwab <schwab@redhat.com>
16999 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17002 2011-12-01 Andreas Schwab <schwab@redhat.com>
17004 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17005 falling back to utime.
17007 2011-11-30 Andreas Schwab <schwab@redhat.com>
17009 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17010 expectations for float.
17012 2011-11-29 Andreas Schwab <schwab@redhat.com>
17014 * locale/weight.h (findidx): Add parameter len.
17015 * locale/weightwc.h (findidx): Likewise.
17016 * posix/fnmatch_loop.c (FCT): Adjust caller.
17017 * posix/regcomp.c (build_equiv_class): Likewise.
17018 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17019 * posix/regexec.c (check_node_accept_bytes): Likewise.
17020 * string/strcoll_l.c (STRCOLL): Likewise.
17021 * string/strxfrm_l.c (STRXFRM): Likewise.
17023 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17025 * Makefile.in: Remove CVSOPT handling.
17026 * configure.in: Remove use of AC_REVISION.
17027 * iconvdata/Makefile (distribute): No need to filter out CVS.
17028 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17031 2011-11-16 Andreas Schwab <schwab@redhat.com>
17033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17034 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17035 [USE_AS_STRNCASECMP_L]: Likewise.
17036 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17037 NO_TLS_DIRECT_SEG_REFS.
17038 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17039 Fix argument offsets for non-PIC.
17040 [USE_AS_STRNCASECMP_L]: Likewise.
17041 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17042 NO_TLS_DIRECT_SEG_REFS.
17044 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17046 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17048 * locale/loadlocale.c (_nl_load_locale): Likewise.
17050 2011-11-15 Andreas Schwab <schwab@redhat.com>
17052 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17053 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17055 (SYSCALL_GETTIME): Set errno on error.
17057 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17058 count references to noai6ai_cached.
17060 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17062 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17064 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17065 FD_CLOEXEC for /proc/self/maps.
17067 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17068 FD_CLOEXEC for /proc/meminfo.
17070 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17073 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17074 FD_CLOEXEC for given file.
17076 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17078 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17079 FD_CLOEXEC for /etc/hosts.
17080 (_gethtent): Likewise.
17082 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17084 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17085 cancellation and set FD_CLOEXEC for /etc/netgroup.
17087 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17088 reading /etc/publickey.
17090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17091 allow cancellation when reading /etc/group.
17093 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17095 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17097 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17098 when using data file.
17100 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17102 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17103 (write_nis_obj): Use "c" and "e" in fopen.
17105 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17107 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17109 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17111 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17113 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17116 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17118 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17120 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17122 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17123 file parsing and set FD_CLOEXEC.
17125 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17127 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17129 2011-11-14 Andreas Schwab <schwab@redhat.com>
17131 * malloc/arena.c (arena_get2): Don't call reused_arena when
17132 _int_new_arena failed.
17134 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17136 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17137 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17138 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17139 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17141 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17142 to compile strcasecmp and strncasecmp.
17143 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17144 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17148 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17150 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17151 locale-defines.sym to gen-as-const-headers.
17152 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17153 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17154 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17155 to compile strcasecmp and strncasecmp.
17156 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17157 strcasecmp_l and strncasecmp_l.
17158 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17159 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17160 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17161 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17162 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17163 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17164 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17165 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17166 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17167 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17168 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17170 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17172 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17173 result of SYSDEP_GETTIME_CPU to retval.
17174 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17175 parameter list to macro. Remove trailing semicolon. Adjust users.
17177 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17180 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17182 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17184 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17185 from unused variable.
17187 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17189 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17192 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17195 * sunrpc/rpc_prot.c (rejected): Fix case value.
17197 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17198 unsigned long long int to avoid warnings in shift.
17200 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17202 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17205 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17206 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17207 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17209 * nis/nis_table.c (nis_list): Use variable of correct type for
17210 result of __follow_path call.
17212 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17214 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17215 of math functions ceil, trunc, floor, round, and sqrt, when
17216 avaliable on the platform.
17217 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17220 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17221 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17223 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17225 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17228 2011-11-11 Roland McGrath <roland@hack.frob.com>
17230 * include/unistd.h: Fix __readlink return type.
17231 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17233 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17235 * stdlib/ucontext.h: Undo last change for makecontext.
17237 2011-11-11 Andreas Schwab <schwab@redhat.com>
17239 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17241 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17242 * setjmp/setjmp.h: Mark functions as non-leaf.
17243 * setjmp/bits/setjmp2.h: Likewise.
17244 * stdlib/ucontext.h: Likewise.
17246 2011-11-10 Andreas Schwab <schwab@redhat.com>
17248 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17249 (reused_arena): Don't check arena limit.
17250 (arena_get2): Atomically check arena limit.
17252 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17254 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17255 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17260 2011-11-07 Andreas Schwab <schwab@redhat.com>
17262 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17263 handler when locking.
17265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17266 Fix size of allocated buffer.
17268 2011-11-04 Andreas Schwab <schwab@redhat.com>
17271 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17272 declarations for long double functions.
17273 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17275 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17277 2011-11-03 Andreas Schwab <schwab@redhat.com>
17279 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17282 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17285 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17287 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17289 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17291 * include/alloca.h (stackinfo_alloca_round): Define.
17292 (extend_alloca): Use it.
17293 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17294 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17297 * scripts/check-local-headers.sh: Ignore libaudit.h.
17299 * nscd/Makefile (extra-objs): Make recursively expanded.
17301 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17303 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17306 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17307 * posix/tst-rfc3484-2.c: Likewise.
17308 * posix/tst-rfc3484-3.c: Likewise.
17310 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17312 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17314 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17315 process_vm_writev from libc using GLIBC_2.15 version.
17317 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17319 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17321 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17324 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17327 * nss/getent.c (initgroups_keys): Show error message in case no group
17330 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17331 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17332 __bump_nl_timestamp.
17333 * nscd/connections (nscd_init): When host database is served open
17334 netlink socket and request notification about configuration changes.
17335 (main_loop_poll): Track netlink file descriptor and bump timestamp
17336 in case data becomes available.
17337 (main_loop_epoll): Likewise.
17338 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17339 (database_pers_head): Add extra_data fileds.
17340 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17342 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17344 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17345 in6ai data, call __free_in6ai.
17346 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17347 Add -DHAVE_NETLINK.
17348 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17349 interface information. Reuse previous data if netlink timestamp
17351 (__bump_nl_timestamp): New function.
17352 (__free_in6ai): New function.
17354 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17356 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17357 close_not_cancel_no_status here.
17358 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17360 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17363 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17366 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17367 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17368 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17370 2011-07-03 Andreas Jaeger <aj@suse.de>
17373 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17374 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17375 * math/libm-test.inc (sin_test): Add test case.
17377 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17380 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17381 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17383 * elf/chroot_canon.c (chroot_canon): Cleanups.
17385 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17388 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17389 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17391 * string/test-strchr.c: Make usable for strchrnul testing.
17392 * string/test-strchrnul.c: New file.
17393 * string/Makefile (strop-tests): Add strchrnul.
17395 * po/it.po: Update from translation team.
17396 * po/es.po: Likewise.
17398 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17400 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17401 the three constants needed as parameters. Drop the others.
17402 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17403 __m128i_strloadu_tolower.
17404 Create and initialize variable zero and use it in all the places
17405 where _mm_setzero_si128 was used.
17407 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17408 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17409 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17410 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17412 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17413 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17414 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17415 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17416 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17417 __mpranred, __mptan.
17418 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17419 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17420 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17421 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17422 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17423 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17425 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17428 2011-10-28 Andreas Schwab <schwab@redhat.com>
17430 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17431 redefine if SHARED.
17432 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17435 wide char related routines to wcsmbs subdir.
17437 2011-10-27 Andreas Schwab <schwab@redhat.com>
17440 * misc/sys/cdefs.h (__THROWNL): Define.
17441 * posix/unistd.h: Use __THREADNL instead of __THREAD
17442 for memory synchronization functions.
17444 2011-10-26 Roland McGrath <roland@hack.frob.com>
17447 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17449 * manual/stdio.texi (Obstack Streams): Node removed.
17451 2011-10-26 Andreas Schwab <schwab@redhat.com>
17453 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17454 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17457 * math/math_private.h (math_force_eval): Allow non-addressable
17459 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17461 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17463 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17464 file is not needed.
17466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17467 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17468 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17469 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17471 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17472 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17473 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17475 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17476 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17477 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17478 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17479 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17480 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17481 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17482 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17483 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17484 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17485 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17486 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17487 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17488 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17489 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17490 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17491 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17492 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17493 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17495 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17496 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17499 place. Use VEX encoding when compiling for AVX.
17501 2011-10-25 Andreas Schwab <schwab@redhat.com>
17503 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17504 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17506 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17508 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17510 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17511 useless if() expression.
17512 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17513 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17515 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17517 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17518 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17519 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17520 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17521 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17522 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17523 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17524 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17525 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17527 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17528 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17529 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17530 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17532 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17534 2011-10-25 Andreas Schwab <schwab@redhat.com>
17536 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17538 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17540 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17542 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17543 .text section. Avoid duplicate constants.
17544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17546 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17547 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17552 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17553 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17554 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17555 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17556 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17557 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17558 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17559 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17560 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17562 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17564 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17565 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17566 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17567 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17568 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17569 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17570 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17571 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17572 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17573 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17574 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17575 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17576 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17577 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17578 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17579 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17580 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17581 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17582 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17583 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17584 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17585 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17586 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17588 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17590 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17592 * sysdeps/x86_64/dla.h: Move to ...
17593 * sysdeps/x86_64/fpu/dla.h: ...here.
17594 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17595 situations. Use __builtin_fma only for gcc 4.6 and up.
17597 * config.make.in: Add have-mfma4 entry.
17598 * configure.in: Substitute libc_cv_cc_fma4.
17599 * math/Makefile (dbl-only-routines): Add sincostab.
17600 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17601 Use __sincostab not sincos.
17602 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17609 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17610 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17611 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17612 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17614 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17615 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17617 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17618 define aliases when function name is a macro.
17619 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17620 sysdeps/ieee754/dbl-64/sincos.tbl.
17621 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17622 fma4-enabled routines.
17623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17627 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
17628 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
17629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
17630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
17631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
17632 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
17633 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
17634 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
17635 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
17636 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
17637 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
17638 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
17639 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
17640 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
17641 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
17642 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
17643 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
17644 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
17645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
17646 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
17647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
17648 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
17649 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
17650 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
17651 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
17652 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
17654 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
17656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17659 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17660 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17665 2011-10-24 Andreas Schwab <schwab@redhat.com>
17667 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
17669 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17671 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
17673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
17675 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
17677 * string/strnlen.c: Don't define STRNLEN, reverse logic.
17678 Remove unused variable magic_bits.
17679 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
17681 * string/strnlen.c: Define and use STRNLEN macro.
17682 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
17683 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
17684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
17685 * wcsmbs/wcslen.c: Define and use WCSLEN.
17686 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
17687 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
17688 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
17689 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
17690 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
17691 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
17692 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
17694 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17697 strnlen-sse2-no-bsf.
17698 Rename strlen-no-bsf to strlen-sse2-no-bsf.
17699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
17700 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
17701 Add strnlen support.
17702 (USE_AS_STRNLEN): New macro.
17703 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
17704 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
17705 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
17706 * sysdeps/x86_64/wcslen.S: New file.
17708 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
17710 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17711 XMM-moves are used for copying on small sizes.
17713 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17715 * wcsmbs/Makefile (strop-tests): Add wcschr.
17716 * wcsmbs/test-wcschr.c: New file.
17717 * string/test-strchr.c: Update.
17718 Add wcschr support.
17721 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17723 * wcsmbs/Makefile (strop-tests): Add wcslen.
17724 * wcsmbs/test-wcslen.c: New file.
17725 * string/test-strlen.c: Update.
17726 Add wcslen support.
17729 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17731 * po/it.po: Update from translation team.
17733 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17735 * sysdeps/x86_64/wcscmp.S: Update.
17736 Fix wrong comparison semantics.
17737 wcscmp shall use signed comparison not unsigned.
17738 Don't use substraction to avoid overflow bug.
17739 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
17740 * wcsmbc/wcscmp.c: Likewise.
17741 * string/test-strcmp.c: Likewise.
17742 Add new tests to check cases with negative values.
17744 2011-10-23 Ulrich Drepper <drepper@gmail.com>
17746 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
17747 * sysdeps/x86_64/dla.h: ...here. New file.
17748 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
17749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17756 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17758 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
17760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
17761 __ynl_finite aliases.
17763 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17767 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
17769 [DLA_FMA] (EMULV): Use DLA_FMA.
17770 [DLA_FMA] (MUL12): Use EMULV.
17771 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
17772 that are not needed.
17773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17779 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17781 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
17783 * math/s_nan.c: Undef __nan.
17784 * math/s_nanf.c: Undef __nanf.
17785 * math/s_nanl.c: Undef __nanl.
17786 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
17789 2011-10-22 Ulrich Drepper <drepper@gmail.com>
17791 * math/s_catan.c: Add branch predictions.
17792 * math/s_catanf.c: Likewise.
17793 * math/s_catanh.c: Likewise.
17794 * math/s_catanhf.c: Likewise.
17795 * math/s_catanhl.c: Likewise.
17796 * math/s_catanl.c: Likewise.
17797 * math/s_cexp.c: Likewise.
17798 * math/s_cexpf.c: Likewise.
17799 * math/s_cexpl.c: Likewise.
17800 * math/s_clog.c: Likewise.
17801 * math/s_clog10.c: Likewise.
17802 * math/s_clog10f.c: Likewise.
17803 * math/s_clog10l.c: Likewise.
17804 * math/s_clogf.c: Likewise.
17805 * math/s_clogl.c: Likewise.
17806 * math/s_csqrt.c: Likewise.
17807 * math/s_csqrtf.c: Likewise.
17808 * math/s_csqrtl.c: Likewise.
17809 * math/s_ctanf.c: Likewise.
17810 * math/s_ctanh.c: Likewise.
17811 * math/s_ctanhf.c: Likewise.
17812 * math/s_ctanhl.c: Likewise.
17813 * math/s_ctanl.c: Likewise.
17815 * math/math_private.h: Define __nan, __nanf, __nanl.
17816 * math/s_cacosh.c: Include <math_private.h>.
17817 * math/s_cacoshl.c: Likewise.
17818 * math/s_casinh.c: Likewise.
17819 * math/s_casinhf.c: Likewise.
17820 * math/s_casinhl.c: Likewise.
17821 * math/s_ccos.c: Rely entire on ccosh.
17822 * math/s_ccosf.c: Rely entire on ccoshf.
17823 * math/s_ccosl.c: Rely entirely on ccoshl.
17824 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
17825 Remove tests for FE_INVALID.
17826 * math/s_ccoshf.c: Likewise.
17827 * math/s_ccoshl.c: Likewise.
17828 * math/s_csin.c: Likewise.
17829 * math/s_csinf.c: Likewise.
17830 * math/s_csinh.c Likewise.
17831 * math/s_csinhf.c: Likewise.
17832 * math/s_csinhl.c: Likewise.
17833 * math/s_csinl.c: Likewise.
17834 * math/s_ctan.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
17836 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
17837 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
17839 2011-10-21 Ulrich Drepper <drepper@gmail.com>
17841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
17842 compilation problems.
17844 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
17847 2011-10-20 Ulrich Drepper <drepper@gmail.com>
17849 * sysdeps/i386/configure.in: Test for -mfma4 option.
17850 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
17851 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
17852 COMMON_CPUID_INDEX_80000001.
17853 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
17854 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
17855 use it if FMA3 is not supported.
17856 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17858 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
17859 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
17861 2011-10-20 Andreas Schwab <schwab@redhat.com>
17864 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
17865 it would create a cycle with a link time dependency.
17867 2011-10-19 Ulrich Drepper <drepper@gmail.com>
17869 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
17871 * string/Makefile (strop-tests): Add rawmemchr.
17872 * string/test-rawmemchr.c: New file.
17874 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
17875 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
17876 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
17877 when compiling str{,n}casecmp and when AVX is available. Hook up
17878 new optimized code in initializers.
17880 2011-10-19 Andreas Schwab <schwab@redhat.com>
17882 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
17883 __feraiseexcept instead of feraiseexcept.
17885 2011-10-18 Ulrich Drepper <drepper@gmail.com>
17887 * math/math_private.h: Define defaults for libc_fetestexcept and
17889 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
17890 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
17891 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
17892 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
17893 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17894 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17895 libc_fetestexcept and libc_feupdateenv.
17897 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
17898 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
17899 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
17900 * sysdeps/x86_64/fpu/math_private.h: Define special version of
17901 libc_feholdexcept_setround.
17903 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
17904 Add s_nearbyint-c and s_nearbyintf-c.
17905 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
17906 nearbyintf inlines.
17907 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
17908 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
17909 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
17910 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
17912 * math/math_private.h: Define defaults for libc_fegetround,
17913 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
17914 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
17915 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
17916 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
17917 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
17918 standard functions.
17919 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17920 Remove comments and hacks for old compiler versions.
17921 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
17922 libc_fegetround, libc_fesetround, libc_feholdexcept, and
17923 libc_feholdexceptl.
17925 2011-10-18 Andreas Schwab <schwab@redhat.com>
17927 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
17928 (__feraiseexcept_renamed): Add __NTH.
17929 (feraiseexcept): Add __NTH. Rename local variables to fix
17930 namespace violations.
17932 2011-10-17 Ulrich Drepper <drepper@gmail.com>
17934 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
17936 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
17938 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
17939 recently added interfaces.
17940 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
17942 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
17943 about macro parameter expansion.
17945 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
17946 __NO_MATH_INLINES is defined. Cleanups.
17948 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
17949 and __floorf is target has SSE4.1.
17950 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
17951 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
17952 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
17953 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
17955 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
17957 (floorf): Likewise.
17959 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
17961 2011-10-17 Andreas Schwab <schwab@redhat.com>
17963 * misc/sys/cdefs.h: Fix last change.
17965 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
17968 2011-10-16 Ulrich Drepper <drepper@gmail.com>
17970 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
17972 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
17973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17974 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17975 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17976 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17979 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17980 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17981 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
17982 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
17983 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
17984 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
17985 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
17986 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
17987 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
17988 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
17989 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
17990 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
17991 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
17992 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
17993 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
17995 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
17996 ceil, ceilf, floor, floorf.
17998 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
17999 Perform IRELATIVE relocations last.
18001 * elf/do-rel.h: Add another parameter nrelative, replacing the
18002 local variable with the same name. Change name of the function
18003 to end in Rel or Rela (uppercase).
18004 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18005 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18006 elf_dynamic_do_##reloc function.
18008 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18010 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18011 is sufficient, at least on modern CPUs.
18013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18015 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18018 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18020 * math/bits/math-finite.h: Add entries for exp.
18021 * math/e_expl.c: Add __*_finite alias.
18022 * sysdeps/i386/fpu/e_exp.S: Likewise.
18023 * sysdeps/i386/fpu/e_expf.S: Likewise.
18024 * sysdeps/i386/fpu/e_expl.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18026 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18030 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18031 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18033 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18034 is sufficient, at least on modern CPUs.
18036 * ctype/ctype-info.c (__ctype_init): Define.
18037 * include/ctype.h (__ctype_init): Declare.
18038 (__ctype_b_loc): The variable is always initialized.
18039 (__ctype_toupper_loc): Likewise.
18040 (__ctype_tolower_loc): Likewise.
18041 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18042 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18044 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18046 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18048 * configure.in: Also look in $cxxmachine/include for C++ system
18051 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18053 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18054 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18055 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18056 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18057 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18058 (USE_AS_WMEMCMP): New macro.
18060 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18061 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18062 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18063 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18064 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18065 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18066 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18067 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18068 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18069 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18070 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18071 (USE_AS_WMEMCMP): New macro.
18072 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18073 * sysdeps/string/test-memcmp.c: Update.
18074 Fix simple_wmemcmp.
18076 * wcsmbs/wmemcmp.c: Update.
18077 (WMEMCMP): New macro.
18080 2011-10-12 Andreas Jaeger <aj@suse.de>
18083 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18085 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18087 * libio/iofwide.c (do_length): Avoid warning.
18089 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18091 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18093 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18095 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18096 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18097 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18098 * sysdeps/i386/i686/fpu/e_log.S: New file.
18099 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18100 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18102 * ctype/ctype.h: Add support for inlined isXXX functions when
18103 compiling C++ code.
18105 2011-10-14 Andreas Schwab <schwab@redhat.com>
18107 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18109 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18111 2011-10-13 Roland McGrath <roland@hack.frob.com>
18114 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18116 2011-10-13 Andreas Schwab <schwab@redhat.com>
18118 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18119 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18122 * sysdeps/x86_64/memrchr.S: Check for zero size.
18124 * string/stratcliff.c: Add memrchr tests.
18126 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18129 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18130 rawmemchr-sse2 rawmemchr-sse2-bsf.
18131 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18132 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18133 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18134 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18135 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18136 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18137 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18138 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18139 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18140 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18141 * string/memrchr.c (MEMRCHR): New macro.
18143 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18145 Add integration with gcc's -ffinite-math-only and optimize wrapper
18147 * Versions.def: Define GLIBC_2.15 version for libm.
18148 * math/Makefile (headers): Add bits/math-finite.h.
18149 * math/bits/math-finite.h: New file.
18150 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18151 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18152 * math/e_acoshl.c: Add __*_finite alias.
18153 * math/e_acosl.c: Likewise.
18154 * math/e_asinl.c: Likewise.
18155 * math/e_atan2l.c: Likewise.
18156 * math/e_atanhl.c: Likewise.
18157 * math/e_coshl.c: Likewise.
18158 * math/e_exp10.c: Likewise.
18159 * math/e_exp10f.c: Likewise.
18160 * math/e_exp10l.c: Likewise.
18161 * math/e_exp2l.c: Likewise.
18162 * math/e_fmodl.c: Likewise.
18163 * math/e_gammal_r.c: Likewise.
18164 * math/e_hypotl.c: Likewise.
18165 * math/e_j0l.c: Likewise.
18166 * math/e_j1l.c: Likewise.
18167 * math/e_jnl.c: Likewise.
18168 * math/e_lgammal_r.c: Likewise.
18169 * math/e_log10l.c: Likewise.
18170 * math/e_log2l.c: Likewise.
18171 * math/e_logl.c: Likewise.
18172 * math/e_powl.c: Likewise.
18173 * math/e_sinhl.c: Likewise.
18174 * math/e_sqrtl.c: Likewise.
18175 * math/e_scalb.c: Completely rewritten and optimized.
18176 * math/e_scalbf.c: Likewise.
18177 * math/e_scalbl.c: Likewise.
18178 * math/w_acos.c: Likewise.
18179 * math/w_acosf.c: Likewise.
18180 * math/w_acosl.c: Likewise.
18181 * math/w_acosh.c: Likewise.
18182 * math/w_acoshf.c: Likewise.
18183 * math/w_acoshl.c: Likewise.
18184 * math/w_asin.c: Likewise.
18185 * math/w_asinf.c: Likewise.
18186 * math/w_asinl.c: Likewise.
18187 * math/w_atan2.c: Likewise.
18188 * math/w_atan2f.c: Likewise.
18189 * math/w_atan2l.c: Likewise.
18190 * math/w_atanh.c: Likewise.
18191 * math/w_atanhf.c: Likewise.
18192 * math/w_atanhl.c: Likewise.
18193 * math/w_exp10.c: Likewise.
18194 * math/w_exp10f.c: Likewise.
18195 * math/w_exp10l.c: Likewise.
18196 * math/w_fmod.c: Likewise.
18197 * math/w_fmodf.c: Likewise.
18198 * math/w_fmodl.c: Likewise.
18199 * math/w_j0.c: Likewise.
18200 * math/w_j0f.c: Likewise.
18201 * math/w_j0l.c: Likewise.
18202 * math/w_j1.c: Likewise.
18203 * math/w_j1f.c: Likewise.
18204 * math/w_j1l.c: Likewise.
18205 * math/w_jn.c: Likewise.
18206 * math/w_jnf.c: Likewise.
18207 * math/w_log.c: Likewise.
18208 * math/w_logf.c: Likewise.
18209 * math/w_logl.c: Likewise.
18210 * math/w_log10.c: Likewise.
18211 * math/w_log10f.c: Likewise.
18212 * math/w_log10l.c: Likewise.
18213 * math/w_log2.c: Likewise.
18214 * math/w_log2f.c: Likewise.
18215 * math/w_log2l.c: Likewise.
18216 * math/w_pow.c: Likewise.
18217 * math/w_powf.c: Likewise.
18218 * math/w_powl.c: Likewise.
18219 * math/w_remainder.c: Likewise.
18220 * math/w_remainderf.c: Likewise.
18221 * math/w_remainderl.c: Likewise.
18222 * math/w_scalb.c: Likewise.
18223 * math/w_scalbf.c: Likewise.
18224 * math/w_scalbl.c: Likewise.
18225 * math/w_sqrt.c: Likewise.
18226 * math/w_sqrtf.c: Likewise.
18227 * math/w_sqrtl.c: Likewise.
18228 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18229 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18231 * math/math_private.h: Declare __kernel_standard_f.
18232 * math/w_cosh.c: Remove cruft and optimize a bit.
18233 * math/w_coshf.c: Likewise.
18234 * math/w_coshl.c: Likewise.
18235 * math/w_exp2.c: Likewise.
18236 * math/w_exp2f.c: Likewise.
18237 * math/w_exp2l.c: Likewise.
18238 * math/w_hypot.c: Likewise.
18239 * math/w_hypotf.c: Likewise.
18240 * math/w_hypotl.c: Likewise.
18241 * math/w_lgamma.c: Likewise.
18242 * math/w_lgamma_r.c: Likewise.
18243 * math/w_lgammaf.c: Likewise.
18244 * math/w_lgammaf_r.c: Likewise.
18245 * math/w_lgammal.c: Likewise.
18246 * math/w_lgammal_r.c: Likewise.
18247 * math/w_sinh.c: Likewise.
18248 * math/w_sinhf.c: Likewise.
18249 * math/w_sinhl.c: Likewise.
18250 * math/w_tgamma.c: Likewise.
18251 * math/w_tgammaf.c: Likewise.
18252 * math/w_tgammal.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18255 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18256 Minor optimizations. Pretty printing. Remove cruft.
18257 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18258 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18259 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18261 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18262 * sysdeps/i386/fpu/e_asin.S: Likewise.
18263 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18264 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18265 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18266 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18268 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18269 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18270 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18271 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18272 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18273 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18274 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18275 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18276 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18277 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18278 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18279 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18280 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18281 * sysdeps/i386/fpu/e_log.S: Likewise.
18282 * sysdeps/i386/fpu/e_log10.S: Likewise.
18283 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18284 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18285 * sysdeps/i386/fpu/e_log2.S: Likewise.
18286 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18287 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18288 * sysdeps/i386/fpu/e_logf.S: Likewise.
18289 * sysdeps/i386/fpu/e_logl.S: Likewise.
18290 * sysdeps/i386/fpu/e_pow.S: Likewise.
18291 * sysdeps/i386/fpu/e_powf.S: Likewise.
18292 * sysdeps/i386/fpu/e_powl.S: Likewise.
18293 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18294 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18295 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18296 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18297 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18298 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18299 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18300 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18301 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18302 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18303 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18304 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18305 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18306 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18307 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18308 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18309 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18310 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18311 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18312 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18315 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18316 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18323 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18326 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18327 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18328 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18329 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18330 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18333 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18334 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18335 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18336 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18337 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18338 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18339 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18340 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18341 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18342 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18392 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18393 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18394 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18395 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18396 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18397 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18398 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18399 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18400 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18401 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18402 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18403 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18404 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18405 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18406 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18409 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18410 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18411 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18412 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18413 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18414 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18415 (__isnanf): Likewise.
18416 (__isinf_ns): Likewise.
18417 (__isinf_nsf): Likewise.
18418 (__finite): Likewise.
18419 (__finitef): Likewise.
18420 (__ieee754_sqrt): Define as macro.
18421 (__ieee754_sqrtf): Define as macro.
18422 (__ieee754_sqrtl): Define as macro.
18423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18425 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18426 __FINITE_MATH_ONLY__ consistent.
18427 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18429 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18431 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18434 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18436 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18438 * po/ja.po: Update from translation team.
18440 2011-10-08 Roland McGrath <roland@hack.frob.com>
18442 * locale/programs/locarchive.c (prepare_address_space): New function.
18443 (create_archive, enlarge_archive, open_archive): Use it.
18445 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18446 inside [SHARED], where it is used.
18448 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18450 * nss/getent.c (netgroup_keys): Remove unused variable.
18451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18453 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18455 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18456 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18457 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18458 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18459 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18460 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18461 * math/Makefile (libm-calls): Add s_isinf_ns.
18462 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18463 * math/multc3.c: Likewise.
18464 * math/s_casin.c: Likewise.
18465 * math/s_casinf.c: Likewise.
18466 * math/s_casinl.c: Likewise.
18467 * math/s_ccos.c: Likewise.
18468 * math/s_ccosf.c: Likewise.
18469 * math/s_ccosl.c: Likewise.
18470 * math/s_ctan.c: Likewise.
18471 * math/s_ctanf.c: Likewise.
18472 * math/s_ctanh.c: Likewise.
18473 * math/s_ctanhf.c: Likewise.
18474 * math/s_ctanhl.c: Likewise.
18475 * math/s_ctanl.c: Likewise.
18476 * math/w_fmod.c: Likewise.
18477 * math/w_fmodf.c: Likewise.
18478 * math/w_fmodl.c: Likewise.
18479 * math/w_remainder.c: Likewise.
18480 * math/w_remainderf.c: Likewise.
18481 * math/w_remainderl.c: Likewise.
18482 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18483 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18486 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18487 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18488 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18489 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18491 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18493 * stdio-common/printf_fphex.c: Likewise.
18494 * stdio-common/printf_size.c: Likewise.
18496 * math/e_exp10.c: Include math_private.h using <...> not "...".
18497 * math/e_exp10f.c: Likewise.
18498 * math/e_exp10l.c: Likewise.
18499 * math/e_exp2l.c: Likewise.
18500 * math/e_j0l.c: Likewise.
18501 * math/e_j1l.c: Likewise.
18502 * math/e_jnl.c: Likewise.
18503 * math/e_lgammal_r.c: Likewise.
18504 * math/e_rem_pio2l.c: Likewise.
18505 * math/e_scalb.c: Likewise.
18506 * math/e_scalbf.c: Likewise.
18507 * math/e_scalbl.c: Likewise.
18508 * math/k_cosl.c: Likewise.
18509 * math/k_sinl.c: Likewise.
18510 * math/k_tanl.c: Likewise.
18511 * math/s_cacoshf.c: Likewise.
18512 * math/s_catan.c: Likewise.
18513 * math/s_catanf.c: Likewise.
18514 * math/s_catanh.c: Likewise.
18515 * math/s_catanhf.c: Likewise.
18516 * math/s_catanhl.c: Likewise.
18517 * math/s_catanl.c: Likewise.
18518 * math/s_ccosh.c: Likewise.
18519 * math/s_ccoshf.c: Likewise.
18520 * math/s_ccoshl.c: Likewise.
18521 * math/s_cexp.c: Likewise.
18522 * math/s_cexpf.c: Likewise.
18523 * math/s_cexpl.c: Likewise.
18524 * math/s_clog.c: Likewise.
18525 * math/s_clog10.c: Likewise.
18526 * math/s_clog10f.c: Likewise.
18527 * math/s_clog10l.c: Likewise.
18528 * math/s_clogf.c: Likewise.
18529 * math/s_clogl.c: Likewise.
18530 * math/s_csin.c: Likewise.
18531 * math/s_csinf.c: Likewise.
18532 * math/s_csinh.c: Likewise.
18533 * math/s_csinhf.c: Likewise.
18534 * math/s_csinhl.c: Likewise.
18535 * math/s_csinl.c: Likewise.
18536 * math/s_csqrt.c: Likewise.
18537 * math/s_csqrtf.c: Likewise.
18538 * math/s_csqrtl.c: Likewise.
18539 * math/s_ctan.c: Likewise.
18540 * math/s_ctanf.c: Likewise.
18541 * math/s_ctanh.c: Likewise.
18542 * math/s_ctanhf.c: Likewise.
18543 * math/s_ctanhl.c: Likewise.
18544 * math/s_ctanl.c: Likewise.
18545 * math/s_ldexp.c: Likewise.
18546 * math/s_ldexpf.c: Likewise.
18547 * math/s_ldexpl.c: Likewise.
18548 * math/s_significand.c: Likewise.
18549 * math/s_significandf.c: Likewise.
18550 * math/s_significandl.c: Likewise.
18551 * math/w_acos.c: Likewise.
18552 * math/w_acosf.c: Likewise.
18553 * math/w_acosh.c: Likewise.
18554 * math/w_acoshf.c: Likewise.
18555 * math/w_acoshl.c: Likewise.
18556 * math/w_acosl.c: Likewise.
18557 * math/w_asin.c: Likewise.
18558 * math/w_asinf.c: Likewise.
18559 * math/w_asinl.c: Likewise.
18560 * math/w_atan2.c: Likewise.
18561 * math/w_atan2f.c: Likewise.
18562 * math/w_atan2l.c: Likewise.
18563 * math/w_atanh.c: Likewise.
18564 * math/w_atanhf.c: Likewise.
18565 * math/w_atanhl.c: Likewise.
18566 * math/w_cosh.c: Likewise.
18567 * math/w_coshf.c: Likewise.
18568 * math/w_coshl.c: Likewise.
18569 * math/w_dremf.c: Likewise.
18570 * math/w_exp10.c: Likewise.
18571 * math/w_exp10f.c: Likewise.
18572 * math/w_exp10l.c: Likewise.
18573 * math/w_exp2.c: Likewise.
18574 * math/w_exp2f.c: Likewise.
18575 * math/w_fmod.c: Likewise.
18576 * math/w_fmodf.c: Likewise.
18577 * math/w_fmodl.c: Likewise.
18578 * math/w_hypot.c: Likewise.
18579 * math/w_hypotf.c: Likewise.
18580 * math/w_hypotl.c: Likewise.
18581 * math/w_j0.c: Likewise.
18582 * math/w_j0f.c: Likewise.
18583 * math/w_j0l.c: Likewise.
18584 * math/w_j1.c: Likewise.
18585 * math/w_j1f.c: Likewise.
18586 * math/w_j1l.c: Likewise.
18587 * math/w_jn.c: Likewise.
18588 * math/w_jnf.c: Likewise.
18589 * math/w_jnl.c: Likewise.
18590 * math/w_lgamma.c: Likewise.
18591 * math/w_lgamma_r.c: Likewise.
18592 * math/w_lgammaf.c: Likewise.
18593 * math/w_lgammaf_r.c: Likewise.
18594 * math/w_lgammal.c: Likewise.
18595 * math/w_lgammal_r.c: Likewise.
18596 * math/w_log.c: Likewise.
18597 * math/w_log10.c: Likewise.
18598 * math/w_log10f.c: Likewise.
18599 * math/w_log10l.c: Likewise.
18600 * math/w_log2.c: Likewise.
18601 * math/w_log2f.c: Likewise.
18602 * math/w_log2l.c: Likewise.
18603 * math/w_logf.c: Likewise.
18604 * math/w_logl.c: Likewise.
18605 * math/w_pow.c: Likewise.
18606 * math/w_powf.c: Likewise.
18607 * math/w_powl.c: Likewise.
18608 * math/w_remainder.c: Likewise.
18609 * math/w_remainderf.c: Likewise.
18610 * math/w_remainderl.c: Likewise.
18611 * math/w_scalb.c: Likewise.
18612 * math/w_scalbf.c: Likewise.
18613 * math/w_scalbl.c: Likewise.
18614 * math/w_sinh.c: Likewise.
18615 * math/w_sinhf.c: Likewise.
18616 * math/w_sinhl.c: Likewise.
18617 * math/w_sqrt.c: Likewise.
18618 * math/w_sqrtf.c: Likewise.
18619 * math/w_sqrtl.c: Likewise.
18620 * math/w_tgamma.c: Likewise.
18621 * math/w_tgammaf.c: Likewise.
18622 * math/w_tgammal.c: Likewise.
18624 * po/ja.po: Update from translation team.
18626 2011-09-29 Andreas Jaeger <aj@suse.de>
18629 * sunrpc/netname.c (netname2host): Fix logic.
18633 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
18635 * math/w_remainder.c (__remainder): Likewise.
18636 * math/w_remainderf.c (__remainderf): Likewise.
18637 * math/libm-test.inc (remainder_test): Add test cases.
18639 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18641 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
18644 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18646 * string/test-memcmp.c: Avoid unncessary #defines.
18647 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18649 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18651 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
18652 Use new sse2 version for core i3 - i7 as it's faster
18653 than sse42 version.
18654 (bit_Prefer_PMINUB_for_stringop): New.
18655 * sysdeps/x86_64/rawmemchr.S: Update.
18656 Replace with faster SSE2 version.
18657 * sysdeps/x86_64/memrchr.S: New file.
18658 * sysdeps/x86_64/memchr.S: Update.
18659 Replace with faster SSE2 version.
18661 2011-09-12 Marek Polacek <mpolacek@redhat.com>
18663 * elf/dl-load.c (lose): Add cast to avoid warning.
18665 2011-10-07 Ulrich Drepper <drepper@gmail.com>
18667 * po/ca.po: Update from translation team.
18669 * inet/getnetgrent_r.c: Hook up nscd.
18670 * nscd/Makefile (routines): Add nscd_netgroup.
18671 (nscd-modules): Add netgroupcache.
18672 (CFLAGS-netgroupcache.c): Define.
18673 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
18674 (cache_search): Add const to second parameter.
18675 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
18677 (dbs): Add netgrdb entry.
18678 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
18679 (verify_persistent_db): Handle netgrdb.
18680 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
18681 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
18683 (netgroup_response_header): Define.
18684 (innetgroup_response_header): Define.
18685 (datahead): Add netgroup_response_header and innetgroup_response_header
18687 * nscd/nscd.conf: Add entries for netgroup cache.
18688 * nscd/nscd.h (dbtype): Add netgrdb.
18689 (_PATH_NSCD_NETGROUP_DB): Define.
18690 (netgroup_iov_disabled): Declare.
18691 (xmalloc, xcalloc, xrealloc): Move declarations here.
18692 (cache_search): Adjust prototype.
18693 Add netgroup-related prototypes.
18694 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
18695 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
18696 (__nscd_innetgr): Declare.
18697 * nscd/selinux.c (perms): Use access_vector_t as element type and
18698 add netgroup-related initializers.
18699 * nscd/netgroupcache.c: New file.
18700 * nscd/nscd_netgroup.c: New file.
18701 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
18702 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
18703 For four parameters use innetgr.
18704 * nss/nss_files/files-init.c: Add definition and callback for netgr.
18705 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
18706 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
18707 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
18709 * nscd/connections.c (register_traced_file): Don't register file
18710 for disabled databases.
18712 2011-10-06 Ulrich Drepper <drepper@gmail.com>
18714 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
18716 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
18717 from tree and freeing node.
18719 2011-09-25 Jiri Olsa <jolsa@redhat.com>
18721 * nss/nsswitch.c (__nss_database_lookup): Handle
18722 nss_parse_service_list out of memory case.
18724 2011-09-15 Jiri Olsa <jolsa@redhat.com>
18726 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
18727 out of memory case.
18729 2011-10-04 Andreas Schwab <schwab@redhat.com>
18731 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
18732 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
18734 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
18735 elf_machine_rela, elf_machine_lazy_rel.
18736 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
18737 (ELF_DYNAMIC_DO_REL): Likewise.
18738 (ELF_DYNAMIC_DO_RELA): Likewise.
18739 (ELF_DYNAMIC_RELOCATE): Likewise.
18740 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
18741 to ELF_DYNAMIC_DO_REL.
18742 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
18743 (dl_main): In trace mode always set __RTLD_NOIFUNC.
18744 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
18746 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
18747 skip_ifunc, don't call ifunc function if non-zero.
18748 (elf_machine_rela): Likewise.
18749 (elf_machine_lazy_rel): Likewise.
18750 (elf_machine_lazy_rela): Likewise.
18751 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
18752 (elf_machine_lazy_rel): Likewise.
18753 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
18755 (elf_machine_lazy_rel): Likewise.
18756 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18758 (elf_machine_lazy_rel): Likewise.
18759 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
18760 (elf_machine_lazy_rel): Likewise.
18761 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
18762 (elf_machine_lazy_rel): Likewise.
18763 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18764 (elf_machine_lazy_rel): Likewise.
18765 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
18766 (elf_machine_lazy_rel): Likewise.
18767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
18768 (elf_machine_lazy_rel): Likewise.
18769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18770 (elf_machine_lazy_rel): Likewise.
18772 2011-09-28 Ulrich Drepper <drepper@gmail.com>
18774 * nss/nss_files/files-init.c (_nss_files_init): Use static
18775 initialization for all the *_traced_file variables.
18777 2011-09-28 Andreas Schwab <schwab@redhat.com>
18779 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18781 2011-09-27 Roland McGrath <roland@hack.frob.com>
18784 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
18786 2011-09-27 Andreas Schwab <schwab@redhat.com>
18788 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18789 Reread the line before reparsing it.
18791 2011-09-26 Andreas Schwab <schwab@redhat.com>
18793 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
18795 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
18796 Maxim Kuvyrkov <maxim@codesourcery.com>
18797 Joseph Myers <joseph@codesourcery.com>
18799 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
18800 if needed for __stack_chk_guard.
18802 2011-09-19 Roland McGrath <roland@hack.frob.com>
18804 * sysdeps/posix/spawni.c (script_execute): Always define it.
18805 It will be optimized away if unused.
18806 (maybe_script_execute): New function.
18807 (__spawni): Call it.
18809 * Makerules: Don't include tls.make.
18810 (config-tls): Always set to thread.
18811 * tls.make.c: File removed.
18813 2011-09-19 Mike Frysinger <vapier@gentoo.org>
18815 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
18816 * config.make.in (CPPFLAGS-config): New substituted variable.
18818 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18820 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
18823 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
18824 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
18826 2011-09-15 Roland McGrath <roland@hack.frob.com>
18828 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
18829 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
18830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18831 (CALL_FAIL): Likewise.
18832 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
18833 (CALL_FAIL): Macro removed.
18834 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
18836 2011-09-15 Ulrich Drepper <drepper@gmail.com>
18838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
18839 for __FINITE_MATH_ONLY__ == 1.
18841 2011-09-15 Andreas Schwab <schwab@redhat.com>
18843 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
18844 __ieee754_sqrt instead of sqrt.
18845 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
18846 __ieee754_sqrtf instead of sqrtf.
18847 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
18848 __floorf instead of floorf.
18849 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
18850 __floorf, __truncf instead of floorf, truncf.
18852 2011-09-14 Ulrich Drepper <drepper@gmail.com>
18854 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
18856 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
18857 __extern_always_inline.
18858 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
18861 2011-09-14 Andreas Schwab <schwab@redhat.com>
18863 * elf/rtld.c (dl_main): Also relocate in dependency order when
18864 doing symbol dependency testing.
18866 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
18868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18869 Always define `refsym'.
18871 2011-09-13 Andreas Schwab <schwab@redhat.com>
18873 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
18874 (__FD_ELT): Renamed from __FDELT.
18875 * misc/bits/select2.h (__FD_ELT): Likewise.
18876 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
18877 __FD_MASK instead of __FDELT, __FDMASK.
18878 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18880 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
18883 * elf/Makefile (gen-ldd): Fix pattern.
18885 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
18886 (init_tls): Likewise.
18888 2011-09-12 Ulrich Drepper <drepper@gmail.com>
18890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
18892 2011-09-12 Andreas Schwab <schwab@redhat.com>
18894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
18895 `struct cmsghdr *' instead of `void *'.
18896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
18899 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
18901 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
18903 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
18904 ldd_rewrite_script.
18906 2011-09-11 Ulrich Drepper <drepper@gmail.com>
18908 * configure.in: Remove --with-tls option.
18909 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
18910 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
18911 out in case it is missing.
18912 * sysdeps/ia64/elf/configure.in: Likewise.
18913 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
18914 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
18915 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
18916 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
18917 * sysdeps/sh/elf/configure.in: Likewise.
18918 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
18919 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18920 * sysdeps/x86_64/elf/configure.in: Likewise.
18921 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
18922 * sysdeps/mach/hurd/tls.h: Likewise.
18925 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
18928 * configure.in: Fix use of AC_INIT.
18930 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
18932 2011-09-10 Ulrich Drepper <drepper@gmail.com>
18934 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
18936 * malloc/hooks.c: Likewise.
18939 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
18940 variables statically.
18941 (narenas): Initialize.
18942 (list_lock): Initialize.
18943 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
18944 initializtion of main_arena and list_lock. Small cleanups.
18945 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
18946 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
18947 Add initializers to main_arena and mp_.
18948 (malloc_state): Remove pagesize member. Change all users to use
18951 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
18952 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
18953 is always initialized.
18955 * malloc/malloc.c: Removed unused configurations and dead code.
18956 * malloc/arena.c: Likewise.
18957 * malloc/hooks.c: Likewise.
18958 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
18960 * include/tls.h: Removed. USE___THREAD must always be defined.
18961 * bits/libc-tsd.h: Don't handle !USE___THREAD.
18962 * elf/dl-libc.c: Likewise.
18963 * elf/dl-tsd.c: Likewise.
18964 * include/errno.h: Likewise.
18965 * include/netdb.h: Likewise.
18966 * include/resolv.h: Likewise.
18967 * inet/herrno-loc.c: Likewise.
18968 * inet/herrno.c: Likewise.
18969 * malloc/arena.c: Likewise.
18970 * malloc/hooks.c: Likewise.
18971 * malloc/malloc.c: Likewise.
18972 * resolv/res-state.c: Likewise.
18973 * resolv/res_libc.c: Likewise.
18974 * sysdeps/i386/dl-machine.h: Likewise.
18975 * sysdeps/ia64/dl-machine.h: Likewise.
18976 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
18977 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18978 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18979 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18980 * sysdeps/sh/dl-machine.h: Likewise.
18981 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18982 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18983 * sysdeps/unix/i386/sysdep.S: Likewise.
18984 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18985 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18986 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18988 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18989 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18990 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18991 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18992 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18994 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18995 * sysdeps/x86_64/dl-machine.h: Likewise.
18996 * tls.make.c: Likewise.
18998 * configure.in: Remove --with-__thread option. Make tests for
18999 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19000 tls_model attribute fail if no support is available. Remove
19002 * Makeconfig: Adjust for dropped configure option. All features are
19004 * Makerules: Likewise.
19005 * Versions.def: Likewise.
19006 * argp/argp-fmtstream.c: Likewise.
19007 * argp/argp-fmtstream.h: Likewise.
19008 * argp/argp-help.c: Likewise.
19009 * assert/assert.c: Likewise.
19010 * config.h.in: Likewise.
19011 * config.make.in: Likewise.
19012 * configure: Likewise.
19013 * configure.in: Likewise.
19014 * csu/Versions: Likewise.
19015 * csu/init.c: Likewise.
19016 * elf/tst-audit2.c: Likewise.
19017 * elf/tst-tls10.c: Likewise.
19018 * elf/tst-tls10.h: Likewise.
19019 * elf/tst-tls11.c: Likewise.
19020 * elf/tst-tls12.c: Likewise.
19021 * elf/tst-tls14.c: Likewise.
19022 * elf/tst-tlsmod11.c: Likewise.
19023 * elf/tst-tlsmod12.c: Likewise.
19024 * elf/tst-tlsmod13.c: Likewise.
19025 * elf/tst-tlsmod13a.c: Likewise.
19026 * elf/tst-tlsmod14a.c: Likewise.
19027 * elf/tst-tlsmod15b.c: Likewise.
19028 * elf/tst-tlsmod16a.c: Likewise.
19029 * elf/tst-tlsmod16b.c: Likewise.
19030 * elf/tst-tlsmod7.c: Likewise.
19031 * elf/tst-tlsmod8.c: Likewise.
19032 * elf/tst-tlsmod9.c: Likewise.
19033 * gmon/gmon.c: Likewise.
19034 * grp/fgetgrent_r.c: Likewise.
19035 * grp/putgrent.c: Likewise.
19036 * hurd/fopenport.c: Likewise.
19037 * include/libc-symbols.h: Likewise.
19038 * include/tls.h: Likewise.
19039 * intl/gettextP.h: Likewise.
19040 * intl/loadinfo.h: Likewise.
19041 * locale/global-locale.c: Likewise.
19042 * locale/localeinfo.h: Likewise.
19043 * mach/devstream.c: Likewise.
19044 * malloc/arena.c: Likewise.
19045 * malloc/set-freeres.c: Likewise.
19046 * misc/err.c: Likewise.
19047 * misc/getttyent.c: Likewise.
19048 * misc/mntent_r.c: Likewise.
19049 * posix/getopt.c: Likewise.
19050 * posix/wordexp.c: Likewise.
19051 * pwd/fgetpwent_r.c: Likewise.
19052 * resolv/Versions: Likewise.
19053 * resolv/res_hconf.c: Likewise.
19054 * shadow/fgetspent_r.c: Likewise.
19055 * shadow/putspent.c: Likewise.
19056 * stdio-common/printf_fphex.c: Likewise.
19057 * stdio-common/tmpfile.c: Likewise.
19058 * stdlib/abort.c: Likewise.
19059 * stdlib/fmtmsg.c: Likewise.
19060 * sunrpc/auth_unix.c: Likewise.
19061 * sunrpc/clnt_perr.c: Likewise.
19062 * sunrpc/clnt_tcp.c: Likewise.
19063 * sunrpc/clnt_udp.c: Likewise.
19064 * sunrpc/clnt_unix.c: Likewise.
19065 * sunrpc/openchild.c: Likewise.
19066 * sunrpc/svc_simple.c: Likewise.
19067 * sunrpc/svc_tcp.c: Likewise.
19068 * sunrpc/svc_udp.c: Likewise.
19069 * sunrpc/svc_unix.c: Likewise.
19070 * sunrpc/xdr.c: Likewise.
19071 * sunrpc/xdr_array.c: Likewise.
19072 * sunrpc/xdr_rec.c: Likewise.
19073 * sunrpc/xdr_ref.c: Likewise.
19074 * sunrpc/xdr_stdio.c: Likewise.
19076 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19078 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19080 2011-07-03 Andreas Jaeger <aj@suse.de>
19082 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19083 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19084 regenerate with gen-libm-tests.pl.
19086 2010-05-12 Petr Baudis <pasky@suse.cz>
19089 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19090 around j0() zero points by switching to j1().
19091 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19092 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19096 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19098 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19103 Patch in part by Pavel Roskin <proski@gnu.org>.
19106 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19108 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19109 Free memory block if necessary.
19112 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19113 be NULL. Don't lock in this case.
19115 2011-09-09 Roland McGrath <roland@hack.frob.com>
19117 * elf/elf.h (ELFOSABI_GNU): New macro.
19118 (ELFOSABI_LINUX): Define to that.
19120 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19122 * string/strncat.c (strncat): Undef the symbol in case it has been
19123 defined in bits/string.h.
19125 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19127 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19129 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19132 2011-08-17 Andreas Jaeger <aj@suse.de>
19134 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19136 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19137 Ian Lance Taylor <iant@google.com>
19139 * math/libm-test.inc (lround_test): New testcase.
19140 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19142 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19144 * Makefile: Remove support for automatic cvs check-ins.
19145 * Makerules: Likewise.
19146 * config.make.in: Likewise.
19147 * configure.in: Likewise.
19148 * intl/Makefile: Likewise.
19149 * locale/Makefile: Likewise.
19150 * po/Makefile: Likewise.
19151 * posix/Makefile: Likewise.
19152 * sysdeps/gnu/Makefile: Likewise.
19153 * sysdeps/mach/hurd/Makefile: Likewise.
19154 * sysdeps/sparc/sparc32/Makefile: Likewise.
19157 * posix/Makefile (bug-regex32-ENV): Define.
19158 Patch by John Stanley <jpsinthemix@verizon.net>.
19160 * misc/Makefile (headers): Add bits/select2.h.
19161 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19162 * misc/bits/select2.h: New file.
19163 * include/bits/select2.h: New file.
19164 * debug/Makefile (routines): Add fdelt_chk.
19165 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19166 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19168 * debug/fdelt_chk.c: New file.
19170 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19171 * wcsmbs/test-wmemcmp.c: Likewise.
19172 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19173 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19175 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19177 * string/Makefile (strop-tests): Add memcmp.
19178 * string/test-wmemcmp.c: New file.
19179 * string/test-memcmp.c: Add wmemcmp support.
19181 2011-09-08 Roland McGrath <roland@hack.frob.com>
19184 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19187 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19188 garbage value in a __mach_port_mod_refs call in the cases of the
19189 task-self and thread-self ports.
19191 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19193 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19195 2011-09-08 Andreas Schwab <schwab@redhat.com>
19197 * elf/dl-load.c (lose): Check for non-null L.
19199 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19201 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19203 * elf/dl-libc.c (dlerror_run): Pass back error code from
19207 * elf/dl-load.c (lose): Free l_origin if it is valid.
19209 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19211 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19212 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19213 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19214 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19215 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19216 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19218 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19220 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19221 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19222 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19223 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19224 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19225 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19226 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19227 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19228 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19229 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19231 2011-08-15 Alan Modra <amodra@gmail.com>
19234 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19235 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19236 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19237 ppc_mcount to static-only-routines.
19238 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19240 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19241 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19243 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19245 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19246 for finite and infinity parameters.
19248 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19250 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19251 and add nop instructions for throughput optimization.
19252 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19254 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19257 aligned copy for power7 with vector-scalar instructions.
19258 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19260 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19262 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19265 2011-09-07 Andreas Schwab <schwab@redhat.com>
19268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19271 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19273 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19274 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19275 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19276 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19279 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19281 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19282 Forgot to demangle the pointer.
19284 * sysdeps/i386/sysdep.h: Define atom_text_section.
19285 * sysdeps/x86_64/sysdep.h: Likewise.
19286 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19287 section with atom_text_section.
19288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19290 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19292 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19294 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19295 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19296 already be defined. Change to take two parameters and don't assign
19297 result to variable. Adjust all users.
19298 Define INTERNAL_GETTIME if not already defined.
19299 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19301 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19302 HAVE_CLOCK_GETTIME_VSYSCALL.
19303 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19306 gettimeofday vsyscall, just use time.
19308 2011-09-06 Andreas Schwab <schwab@redhat.com>
19310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19313 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19315 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19317 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19319 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19321 syscall if possible.
19323 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19325 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19326 e_ident. Don't pass to find_mapsXX.
19327 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19329 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19332 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19333 * sysdeps/x86_64/multiarch/strchr.S: Update.
19334 Check bit_slow_BSF bit.
19335 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19336 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19337 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19339 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19342 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19344 (tryshell): Define.
19345 (__spawni): Change last parameter to be flag. Test
19346 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19347 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19348 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19349 * posix/spawni.c: Likewise.
19350 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19351 * posix/spawnp.c: Likewise. Change normal version to use
19352 SPAWN_XFLAGS_USE_PATH.
19353 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19354 SPAWN_XFLAGS_TRY_SHELL.
19357 * posix/glob.h: Remove gcc 1.x support.
19360 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19362 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19365 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19367 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19368 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19369 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19374 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19376 * sysdeps/x86_64/wcscmp.S: New file.
19378 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19379 wcscmp-c wcscmp-sse2
19380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19381 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19383 * wcsmbs/wcscmp.c: Allow renaming.
19385 2011-09-05 David S. Miller <davem@davemloft.net>
19387 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19388 stack slot, rather than the struct return pointer slot.
19389 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19390 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19392 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19394 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19396 * po/ja.po: Update from translation team.
19399 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19400 kernel in 64-bit binaries.
19402 2011-09-01 David S. Miller <davem@davemloft.net>
19404 * elf/elf.h (HWCAP_SPARC_*): Move to..
19405 * sysdeps/sparc/sysdep.h: this new file and add new values.
19406 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19407 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19408 _DL_HWCAP_COUNT to 24.
19409 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19411 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19412 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19413 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19415 instead of magic constants.
19416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19418 2011-08-31 David S. Miller <davem@davemloft.net>
19420 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19421 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19422 Reimplement to do errno handling inline.
19423 (SYSCALL_ERROR_HANDLER): New macro.
19424 (__SYSCALL_STRING): Do not do errno handling in asm.
19425 (__CLONE_SYSCALL_STRING): Delete.
19426 (__INTERNAL_SYSCALL_STRING): Delete.
19427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19428 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19429 (PSEUDO): Reimplement to do errno handling inline.
19430 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19431 (SYSCALL_ERROR_HANDLER): New macro.
19432 (__SYSCALL_STRING): Do not do errno handling in asm.
19433 (__CLONE_SYSCALL_STRING): Delete.
19434 (__INTERNAL_SYSCALL_STRING): Delete.
19435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19436 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19438 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19439 (inline_syscall*): Add 'err' argument.
19440 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19441 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19442 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19443 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19445 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19446 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19448 2011-08-30 Andreas Schwab <schwab@redhat.com>
19450 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19452 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19454 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19457 2011-08-24 David S. Miller <davem@davemloft.net>
19459 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19461 2011-08-24 Andreas Schwab <schwab@redhat.com>
19463 * elf/Makefile: Add rules to build and run unload8 test.
19464 * elf/unload8.c: New file.
19465 * elf/unload8mod1.c: New file.
19466 * elf/unload8mod1x.c: New file.
19467 * elf/unload8mod2.c: New file.
19468 * elf/unload8mod3.c: New file.
19470 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19473 2011-08-23 David S. Miller <davem@davemloft.net>
19475 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19476 subtract stack bias.
19477 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19478 %sp not %fp in calculations.
19479 (_JMPBUF_UNWINDS_ADJ): Likewise.
19481 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19482 (aio_suspend): Call it to force an exception region around the
19483 AIO_MISC_WAIT() invocation.
19485 2011-08-23 Andreas Schwab <schwab@redhat.com>
19487 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19490 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19492 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19494 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19495 and <dl-machine.h>.
19496 (Elf64_FuncDesc): Remove.
19498 2011-08-22 David S. Miller <davem@davemloft.net>
19500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19501 sigaltstack check, add missing cfi directives.
19502 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19503 missing cfi directives, and sigaltstack handling.
19505 2011-08-16 Andreas Schwab <schwab@redhat.com>
19508 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19509 object is seen twice.
19510 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19512 * elf/Makefile (distribute): Add tst-initorder2.c.
19513 (tests): Add tst-initorder2.
19514 (modules-names): Add tst-initorder2a tst-initorder2b
19515 tst-initorder2c tst-initorder2d. Add rules to build them.
19516 ($(objpfx)tst-initorder2.out): New rule.
19517 * elf/tst-initorder2.c: New file.
19518 * elf/tst-initorder2.exp: New file.
19520 2011-08-22 Andreas Schwab <schwab@redhat.com>
19522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19524 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19525 dependencies back to end of function.
19527 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19528 $(elfobjdir)/ld.so.
19530 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19532 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19533 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19534 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19535 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19536 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19537 of __vdso_gettimeofday.
19538 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19539 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19541 (_libc_vdso_platform_setup): Remove initialization of
19542 __vdso_gettimeofday and __vdso_time.
19544 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19546 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19547 and fgetc_unlocked.
19548 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19551 * elf/dl-open.c (add_to_global): Report additions to the global scope
19552 for LD_DEBUG=scopes.
19553 (dl_open_worker): Also print scope of newly loaded dependencies.
19554 (_dl_show_scope): Indicate if there is no scope.
19557 * stdio-common/Makefile (tests): Add bug24.
19558 * stdio-common/bug24.c: New file.
19560 2011-08-19 Andreas Jaeger <aj@suse.de>
19563 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19564 non-existant file when using close-on-exec mode.
19566 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19569 the very first instruction.
19571 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19572 the CFI state in the end.
19573 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19574 inclusion of dl-trampoline.h.
19575 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19577 2011-08-19 Andreas Schwab <schwab@redhat.com>
19579 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19580 expectations for long double.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19583 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19585 2011-08-14 David S. Miller <davem@davemloft.net>
19587 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19588 artificual limit depends upon the system page size.
19590 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19592 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19593 * resolv/Makefile: Define CFLAGS-libresolv.
19595 2011-08-17 Andreas Schwab <schwab@redhat.com>
19597 * nss/makedb.c (compute_tables): Make variables used in nested
19600 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19602 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19603 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19604 if buffer was too small.
19606 * elf/pldd.c (main): Attach to all threads in the process.
19607 Rewrite /proc handling to use *at functions.
19609 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19611 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19612 specifies first scope to show.
19613 (dl_open_worker): Update callers. Move printing scope of new
19614 object to before the relocation.
19615 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19616 * sysdeps/generic/ldsodefs.h: Update declaration.
19618 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19619 string for the scope number.
19621 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19623 * nscd/servicescache.c (cache_addserv): Make sure written is always
19626 2011-08-14 Roland McGrath <roland@hack.frob.com>
19628 * sysdeps/i386/i486/bits/atomic.h
19629 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
19630 statement expression, so as to suppress "set but not used" warning.
19631 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
19633 * string/strncat.c (STRNCAT): Use prototype definition.
19635 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
19636 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
19638 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
19639 (localedef-modules): Add localedef.
19640 (locale-modules): Add locale.
19642 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
19643 * elf/rtld.c (dl_main): Invert order of assignment in last change,
19644 to avoid a warning.
19646 2011-08-14 David S. Miller <davem@davemloft.net>
19648 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
19649 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
19651 2011-08-13 Ulrich Drepper <drepper@gmail.com>
19653 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
19654 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
19655 * elf/rtld.c (dl_main): Set l_name of vDSO.
19656 Call _dl_show_scope when DL_DEBUG_SCOPES.
19657 (process_dl_debug): Recognize scopes flag and also set it for all.
19658 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
19659 Declare _dl_show_scope.
19661 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
19662 (do_dlopen): Pass caller_dlopen to dl_open.
19663 (__libc_dlopen_mode): Initialize caller_dlopen.
19665 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
19666 of libc. Make tolower call locale-independent. Optimize a bit by
19667 using isdigit instead of isalnum.
19668 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
19670 2011-08-12 Ulrich Drepper <drepper@gmail.com>
19672 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
19673 was a dependency or dynamically loaded.
19675 2011-08-11 Ulrich Drepper <drepper@gmail.com>
19677 * intl/l10nflist.c: Allow architecture-specific pop function.
19678 * sysdeps/x86_64/l10nflist.c: New file.
19680 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
19683 2011-08-10 Andreas Schwab <schwab@redhat.com>
19685 * include/dirent.h: Add libc_hidden_proto for scandirat and
19686 scandirat64. Don't declare __scandirat64.
19687 * dirent/scandirat.c: Add libc_hidden_def.
19688 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
19689 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
19691 2011-08-10 David S. Miller <davem@davemloft.net>
19693 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
19695 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19696 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19697 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19699 2011-08-09 Ulrich Drepper <drepper@gmail.com>
19701 * Versions.def [libc]: Add GLIBC_2.15.
19702 * dirent/Makefile (routines): Add scandirat and scandirat64.
19703 * dirent/Versions [libc]: Export scandirat and scandirat64 for
19705 * dirent/dirent.h: Declare scandirat and scandirat64.
19706 * dirent/scandirat.c: New file.
19707 * dirent/scandirat64.c: New file.
19708 * sysdeps/wordsize-64/scandirat.c: New file.
19709 * sysdeps/wordsize-64/scandirat64.c: New file.
19710 * dirent/opendir.c: Define opendirat.
19711 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
19713 * dirent/scandir64.c: Adjust for scandir.c change.
19714 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
19715 __scandirat64, and __scandir_cancel_handler.
19716 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
19717 additional parameter and use openat instead of open (outside of ld.so).
19718 Add new __opendir as wrapper around __opendirat.
19719 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
19720 here without requiring old scandirat implementation.
19722 2011-08-08 Ulrich Drepper <drepper@gmail.com>
19724 * dirent/scandir.c (cancel_handler): Renamed to
19725 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
19726 defined. Adjust users.
19727 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
19728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
19730 2011-08-04 Ulrich Drepper <drepper@gmail.com>
19732 * string/test-string.h (IMPL): Use __STRING to expand name and then
19735 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
19738 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19740 * string/Makefile: Update.
19741 (strop-tests): Append strncat.
19742 * string/test-wcscmp.c: New file.
19743 New comprehensive test for wcscmp.
19744 * string/test-strcmp.c: Update.
19745 (WIDE): New define.
19747 2011-07-22 Andreas Schwab <schwab@redhat.com>
19749 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
19752 2011-07-26 Andreas Schwab <schwab@redhat.com>
19754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19755 encoding to ACE if AI_IDN.
19757 2011-08-01 Jakub Jelinek <jakub@redhat.com>
19759 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
19760 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
19762 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19764 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
19765 Fix overflow bug in strncat.
19766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
19768 * string/test-strncat.c: Update.
19769 Add new tests for checking overflow bugs.
19771 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19773 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19774 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
19775 * sysdeps/i386/i686/multiarch/strcat.S: New file.
19776 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
19777 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
19778 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
19779 * sysdeps/i386/i686/multiarch/strncat.S: New file.
19780 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
19781 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
19783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
19784 (USE_AS_STRCAT): Define.
19785 Add strcat and strncat support.
19786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19788 2011-07-25 Andreas Schwab <schwab@redhat.com>
19790 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
19791 __n bigger than INT_MAX+1.
19792 (__strncmp_g): Likewise.
19794 2011-07-23 Ulrich Drepper <drepper@gmail.com>
19796 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
19797 * libio/stido.h: Likewise.
19799 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
19801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
19804 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
19805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19807 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
19808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19811 * scripts/test-installation.pl: Don't expect libnss_test1 to be
19814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
19816 (_dl_x86_64_save_sse): Likewise.
19818 2011-07-22 Ulrich Drepper <drepper@gmail.com>
19820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
19822 (_dl_x86_64_save_sse): Likewise.
19824 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
19826 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
19828 2011-07-21 Andreas Schwab <schwab@redhat.com>
19830 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
19832 (_dl_x86_64_save_sse): Use correct AVX check.
19834 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19836 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
19837 bug in strncpy/strncat.
19838 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
19840 2011-07-21 Ulrich Drepper <drepper@gmail.com>
19842 * string/tester.c (test_strcat): Add tests for different alignments
19843 of source and destination.
19844 (test_strncat): Likewise.
19846 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19849 * posix/glob.c (glob): Check passed in values before using them in
19850 expressions to avoid some overflows.
19851 (glob_in_dir): Likewise.
19854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
19855 check for AVX enablement so that we don't crash with old kernels and
19857 * elf/tst-audit4.c: Add same checks here.
19858 * elf/tst-audit6.c: Likewise.
19860 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
19862 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
19864 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
19866 2011-07-20 Ulrich Drepper <drepper@gmail.com>
19868 * po/cs.po: Update from translation team.
19869 * po/bg.po: Likewise.
19871 2011-07-12 Marek Polacek <mpolacek@redhat.com>
19873 * misc/sys/cdefs.h: Add support for const attribute.
19874 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
19875 to gnu_dev_{major,minor,makedev} functions.
19877 2011-07-20 Marek Polacek <mpolacek@redhat.com>
19879 * intl/dcigettext.c (get_output_charset): Add missing bracket.
19881 2011-07-20 Andreas Schwab <schwab@redhat.com>
19883 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
19886 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19888 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19889 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
19890 register in order to avoid conflicts with the soft frame pointer
19891 being held in r11 when necessary.
19892 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19893 (INTERNAL_VSYSCALL_NCS): Likewise.
19895 2011-07-14 Marek Polacek <mpolacek@redhat.com>
19897 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
19898 * elf/dl-fini.c (_dl_fini): Adjust caller.
19899 * elf/dl-close.c (_dl_close_worker): Likewise.
19900 * sysdeps/generic/ldsodefs.h: Adjust declaration.
19902 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19904 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
19905 "aux_cache->nlibs < 0".
19907 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
19908 in the reload-count case.
19910 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19913 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
19914 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
19915 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
19916 * sysdeps/x86_64/multiarch/strcat.S: New file.
19917 * sysdeps/x86_64/multiarch/strncat.S: New file.
19918 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
19919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
19920 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
19921 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
19922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
19923 (USE_AS_STRCAT): Define.
19924 Add strcat and strncat support.
19925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19926 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19927 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
19928 * string/strncat.c: Update.
19929 (USE_AS_STRNCAT): Define.
19930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19931 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
19933 * sysdeps/x86_64/multiarch/init-arch.h
19934 (bit_Prefer_PMINUB_for_stringop): New.
19935 (index_Prefer_PMINUB_for_stringop): Likewise.
19936 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
19937 bit_Prefer_PMINUB_for_stringop.
19939 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19941 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
19943 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
19944 of casting of buffer.
19945 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
19946 buffer32 and buffer64.
19947 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
19948 writes instead of casting of buffer.
19949 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
19951 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
19954 2011-07-19 Andreas Schwab <schwab@redhat.com>
19956 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
19958 2011-07-19 Ulrich Drepper <drepper@gmail.com>
19960 * nscd/nscd.c (termination_handler): Don't do anything for a database
19961 if it has not yet been initialized.
19963 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19965 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19967 2011-07-15 Marek Polacek <mpolacek@redhat.com>
19969 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
19971 2011-07-18 Ulrich Drepper <drepper@gmail.com>
19973 * po/nl.po: Update from translation team.
19974 * po/sv.po: Likewise.
19976 2011-07-16 Roland McGrath <roland@hack.frob.com>
19978 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
19979 now disallowed by GCC.
19981 * configure.in (use-default-link): Default to yes if a test -shared
19982 link meets our qualifications.
19983 * configure: Regenerated.
19985 * config.make.in (output-format): New variable.
19986 * configure.in: Check for ld --print-output-format support.
19987 * configure: Regenerated.
19988 * Makerules ($(common-objpfx)format.lds)
19989 [$(output-format) != unknown]: Just use $(output-format),
19990 instead of the linker-script munging.
19992 2011-07-14 Roland McGrath <roland@hack.frob.com>
19994 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
19995 of $(common-objpfx)shlib.lds.
19996 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
19998 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
19999 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20001 * configure.in (-z relro check): Adjust test code to add a large
20002 writable data section after it.
20003 * configure: Regenerated.
20005 2011-07-11 Roland McGrath <roland@hack.frob.com>
20007 * configure.in (-z relro check): Fix test code to make the variable
20009 * configure: Regenerated.
20011 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20013 * nscd/nscd.h (struct traced_file): Define.
20014 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20015 elements. Add traced_files.
20016 (inotify_fd): Declare.
20017 (register_traced_file): Declare.
20018 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20019 (inotify_fd): Export.
20020 (resolv_conf_descr): Remove.
20021 (nscd_init): Move inotify descriptor creation to main.
20022 Don't register files for notification here.
20023 (register_traced_file): New function.
20024 (invalidate_cache): Don't use reset_res to determine whether to call
20025 res_init, go through the list of registered files.
20026 (main_loop_poll): The inotify descriptors are now stored in the
20027 structures for the traced files.
20028 (main_loop_epoll): Likewise
20029 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20030 to __nss_disable_nscd.
20031 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20032 for a database anymore. Check the records for all the registered
20034 * nss/Makefile (libnss_files-routines): Add files-init.
20035 (libnss_db-routines): Add db-init.
20036 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20037 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20038 * nss/nss_db/db-init.c: New file.
20039 * nss/nss_files/files-init.c: New file.
20040 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20041 __nss_lookup_function.
20042 (__nss_lookup_function): Call nss_load_library.
20043 (nss_load_all_libraries): New function.
20044 (__nss_disable_nscd): Take parameter with callback function for files
20045 to register. Set is_nscd. Load all the DSOs for the NSS modules
20046 used for the cached services.
20047 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20048 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20049 options for features to all the files in nscd.
20051 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20053 2011-07-10 Roland McGrath <roland@hack.frob.com>
20055 * csu/elf-init.c (__libc_csu_init): Comment typo.
20057 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20059 * po/pl.po: Update from translation team.
20060 * po/ja.po: Likewise.
20061 * po/ru.po: Likewise.
20062 * po/ko.po: Likewise.
20063 * po/fr.po: Likewise.
20065 2011-07-09 Roland McGrath <roland@hack.frob.com>
20067 * configure.in (.ctors/.dtors header and trailer check):
20068 Use an empirical test on a built program.
20069 * configure: Regenerated.
20071 * configure.in (-z relro check): Use an empirical test on a built DSO.
20072 Detect, but do not require, on ia64.
20073 * configure: Regenerated.
20075 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20076 Update tests that use readelf to use $READELF instead.
20077 * configure: Regenerated.
20079 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20081 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20082 if the result is not used.
20084 2011-07-05 Andreas Jaeger <aj@suse.de>
20087 * stdlib/tst-strtod.c: Add testcase.
20089 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20091 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20092 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20093 The latter has a higher limit. Take additional parameter to pass to
20095 (__pathconf): Pass file to __statfs_link_max.
20096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20098 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20102 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20105 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20106 (__statfs_filesize_max): Likewise.
20107 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20109 2011-07-05 Andreas Jaeger <aj@suse.de>
20111 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20113 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20115 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20117 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20120 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20122 * Makefile (strop-tests): Add strncat.
20123 * string/test-strncat.c: New file.
20125 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20127 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20129 2011-06-21 Andreas Jaeger <aj@suse.de>
20131 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20132 Copy rule from iconvdata/Makefile.
20134 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20137 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20138 but no long options are defined, just return 'W'.
20140 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20143 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20145 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20147 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20149 (innetgr): Likewise.
20151 2011-07-05 Roland McGrath <roland@hack.frob.com>
20153 * config.make.in (install_root): Default to $(DESTDIR).
20155 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20157 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20159 2011-07-02 Roland McGrath <roland@hack.frob.com>
20161 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20163 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20164 containing directory rather than embedding absolute directory names.
20166 * scripts/check-local-headers.sh: Rewritten using awk.
20167 Match by word, not by line. Print error messages for matches.
20168 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20170 * Makerules [shlib-lds-flags empty]:
20171 ($(common-objpfx)libc_pic.opts): New target.
20172 ($(common-objpfx)libc_pic.os.clean): New target.
20173 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20175 * config.make.in (OBJCOPY): New variable.
20176 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20177 * configure: Regenerated.
20179 * config.make.in (use-default-link): New variable.
20180 * configure.in (use_default_link): Grok --with-default-link to set it.
20181 * configure: Regenerated.
20182 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20183 (shlib-lds, shlib-lds-flags): Define to empty.
20185 * Makerules (shlib-lds): New variable.
20186 (shlib-lds-flags): New variable.
20187 (build-shlib, build-moduile, build-module-asneeded): Use it.
20188 ($(common-objpfx)libc.so): Use $(shlib-lds).
20189 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20190 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20192 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20193 DT_FLAGS/DT_FLAGS_1 with zero flags.
20195 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20196 linker script munging.
20198 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20200 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20202 * crypt/sha512.c (sha512_process_block): Perform total addition using
20203 128-bit if possible.
20204 (__sha512_finish_ctx): Likewise.
20205 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20207 * crypt/sha256.c (SWAP64): Define.
20208 (sha256_process_block): Perform total addition using 64-bit if
20210 (__sha256_finish_ctx): Likewise.
20212 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20214 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20216 * nscd/hstcache.c (cache_addhst): Likewise.
20217 * nscd/grpcache.c (cache_addgr): Likewise.
20218 * nscd/aicache.c (addhstaiX): Likewise
20219 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20221 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20223 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20224 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20225 * nscd/hstcache.c (cache_addhst): Likewise.
20226 * nscd/grpcache.c (cache_addgr): Likewise.
20227 * nscd/aicache.c (addhstaiX): Likewise
20229 2011-07-01 Andreas Schwab <schwab@redhat.com>
20231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20232 domain only when needed.
20234 2011-06-30 Andreas Schwab <schwab@redhat.com>
20236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20237 is always restored.
20239 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20241 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20242 are re-adding the entry.
20243 * nscd/servicescache.c (cache_addserv): Likewise.
20245 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20247 * sysdeps/generic/dl-irel.h: fix protection against multiple
20249 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20251 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20254 * malloc/memusage.sh: Fix quoting in message.
20255 * debug/xtrace.sh: Likewise.
20257 * configure.in: Remove support for --experimental-malloc option, make
20259 * config.make.in: Likewise.
20260 * malloc/Makefile: Likewise.
20262 2011-06-27 Andreas Schwab <schwab@redhat.com>
20264 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20265 two-byte characters.
20267 2011-06-27 Roland McGrath <roland@hack.frob.com>
20269 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20270 AC_CACHE_CHECK invocation.
20271 * configure: Regenerated.
20273 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20275 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20278 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20279 bit from old_res_options.
20281 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20283 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20284 value type for setfct.
20286 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20289 __gettimeofday instead of gettimeofday.
20291 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20293 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20295 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20297 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20302 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20305 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20306 strcpy-sse2-unaligned strncpy-sse2-unaligned
20307 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20308 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20309 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20310 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20311 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20312 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20313 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20314 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20315 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20316 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20317 (STRCPY): Support SSE2 and SSSE3 versions.
20319 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20322 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20323 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20324 kernels which artificially limit size of requests.
20326 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20329 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20330 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20331 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20332 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20333 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20334 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20335 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20336 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20337 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20338 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20339 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20340 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20341 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20342 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20344 Enable unaligned load optimization for Intel Core i3, i5 and i7
20346 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20348 (index_Fast_Unaligned_Load): Define.
20349 (HAS_FAST_UNALIGNED_LOAD): Define.
20351 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20353 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20355 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20358 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20359 until it is clear that the information is realy needed.
20360 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20362 2011-06-22 Andreas Schwab <schwab@redhat.com>
20364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20366 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20368 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20369 /sys/devices/system/cpu/online if it is usable.
20371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20372 reading the information from the /proc filesystem to once a second.
20374 2011-06-21 Andreas Jaeger <aj@suse.de>
20376 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20377 NULL after inclusion of kernel headers.
20379 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20381 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20382 calls to internal_setent.
20385 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20386 addresses using gethostbyname4_r ignore IPv4 addresses.
20388 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20389 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20391 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20393 2011-06-20 David S. Miller <davem@davemloft.net>
20395 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20397 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20399 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20400 (elf_irel): Use it.
20401 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20402 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20403 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20404 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20405 * sysdeps/x86_64/dl-irel.h: Likewise.
20407 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20408 * elf/dl-sym.c: Likewise.
20410 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20412 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20413 need to dereference resplen2.
20415 2011-06-14 Andreas Schwab <schwab@redhat.com>
20417 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20419 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20421 * Makeconfig: Define vardbdir and inst_vardbdir.
20422 * nss/Makefile: Add rules to install db-Makefile.
20424 * nss/nss_db/db-XXX.c: Cleanup.
20426 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20427 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20429 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20430 * nss/makedb.c: Implement -g option to specify that value strings
20431 are generated and should not be added to table iterated over for
20433 * nss/nss_db/db-initgroups.c: New file.
20435 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20438 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20439 (internal_getgrouplist): Adjust to name change.
20440 Update use_initgroups_entry if this is not the first call.
20441 * nss/databases.def: Add initgroups entry.
20443 * nss/makedb.c (compute_tables): Check result of multiple hash table
20444 sizes to minimize maximum chain length.
20446 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20448 * Versions.def: Add entry for libnss_db.
20449 * shlib-versions: Likewise.
20450 * nss/Makefile: Add rules to build libnss_db.
20451 * nss/Versions: Add libnss_db information. Organize libnss_files
20453 * nss/db-Makefile: Add gshadow support. Change rules for the new
20454 makedb progra. Some minor improvements to generate smaller files.
20455 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20457 * nss/makedb.c: ...here.
20458 Improve database format to be smaller and require less memory at
20460 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20462 * nss/nss_db/db-netgrp.c: Likewise.
20463 * nss/nss_db/db-open.c: Likewise.
20464 * nss/nss_files/flies-XXX.x: Adjust comments.
20465 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20466 * nss/nss_files/files-grp.c: Likewise.
20467 * nss/nss_files/files-hosts.c: Likewise.
20468 * nss/nss_files/files-network.c: Likewise.
20469 * nss/nss_files/files-proto.c: Likewise.
20470 * nss/nss_files/files-pwd.c: Likewise.
20471 * nss/nss_files/files-rpc.c: Likewise.
20472 * nss/nss_files/files-service.c: Likewise.
20473 * nss/nss_files/files-sgrp.c: Likewise.
20474 * nss/nss_files/files-spwd.c: Likewise.
20475 * nss/nss_db/db-alias.c: Removed.
20476 * nss/nss_db/dummy-db.h: Removed.
20478 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20480 * nss/makedb.c: Rewritten to not use database library.
20481 * nss/Makefile: Update to build new makedb program.
20483 2011-06-14 Andreas Jaeger <aj@suse.de>
20485 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20486 memset declaration.
20488 2011-06-10 Andreas Schwab <schwab@redhat.com>
20490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20493 2011-06-10 Roland McGrath <roland@hack.frob.com>
20495 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20496 * elf/Makefile ($(objpfx)ld.so): Likewise.
20498 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20499 Don't list ld.so twice in dependencies.
20501 * posix/bug-regex31.c: Include <stdlib.h>.
20503 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20505 * nis/nss_compat/compat-spwd.c
20506 (getspent_next_nss_netgr): Remove unused variable.
20507 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20509 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20510 nonmembers" output to use the right array.
20512 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20514 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20516 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20517 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20518 * catgets/gencat.c (read_input_file): Likewise.
20519 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20521 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20522 variable definition inside #if's controlling its use.
20524 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20526 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20528 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20530 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20533 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20535 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20536 * configure: Regenerated.
20538 * Makerules: Revert last change.
20539 * elf/Makefile: Likewise.
20541 2011-06-09 Roland McGrath <roland@hack.frob.com>
20543 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20544 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20545 (reloc-link): Likewise.
20547 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20549 * elf/Makefile: Add rules to build pldd.
20550 * elf/pldd.c: New file.
20551 * elf/pldd-xx.c: New file.
20553 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20555 * version.h: Update for 2.15 development version.
20557 2011-06-07 David S. Miller <davem@davemloft.net>
20559 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20562 elf_machine_lazy_rel): Likewise.
20563 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20564 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20565 elf_machine_lazy_rel): Likewise.
20566 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20567 dl_hwcap via passed in argument.
20568 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20571 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20573 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20575 2011-06-06 Roland McGrath <roland@hack.frob.com>
20578 * manual/fdl-1.1.texi: New file, verbatim from:
20579 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20580 * manual/lgpl-2.1.texi: New file, verbatim from:
20581 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20582 * manual/Makefile (licenses): New variable, list those new file names.
20584 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20586 * manual/fdl.texi: File removed.
20587 * manual/lesser.texi: File removed.
20588 * manual/libc.texinfo (Copying, Documentation License):
20589 Use new @include file names, put @appendix directive before @include.
20591 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20594 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20595 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20596 (mq_open): Add __NTH.
20598 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20601 Assume Intel Core i3/i5/i7 processor if AVX is available.
20603 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20608 2011-05-31 Andreas Schwab <schwab@redhat.com>
20610 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20611 memory. Use alloca_account. Fix memory leak when retrying.
20613 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20615 * version.h (RELEASE): Bump for 2.14 release.
20616 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20618 * config.make.in (RANLIB): Remove entry.
20620 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20622 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20623 (libc.pot): Work around missing support for .ksh extension in xgettext.
20626 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20627 if both request failed.
20628 (send_dg): In case of server errors clear resplen or *resplen2.
20631 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
20632 when there are multiple maps.
20633 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
20634 (_dl_fini): Remove test here.
20636 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
20638 2011-05-29 Ulrich Drepper <drepper@gmail.com>
20641 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
20642 bit from old_res_options.
20643 (gaih_inet): Likewise.
20646 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
20649 * resolv/res_init.c (res_setoptions): Make the code more compact.
20652 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
20656 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
20658 * malloc/malloc.h: Mark malloc hook variables as deprecated.
20661 * malloc/malloc.h: Declare malloc hook variables as volatile.
20663 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
20667 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
20668 raise in the comment.
20669 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20670 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
20673 2011-05-28 Ulrich Drepper <drepper@gmail.com>
20676 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
20677 grow the buffers more if it already has to be sufficient.
20678 (build_wcs_upper_buffer): Likewise.
20679 * posix/regexec.c (check_matching): Likewise.
20680 (clean_state_log_if_needed): Likewise.
20681 (extend_buffers): Don't enlarge buffers beyond size of the input
20683 Patches mostly by Emil Wojak <emil@wojak.eu>.
20684 * posix/bug-regex32.c: New file.
20685 * posix/Makefile (tests): Add bug-regex32.
20687 * locale/findlocale.c (_nl_find_locale): Return right away if
20688 _nl_explode_name failed.
20689 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20691 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
20693 * debug/xtrace.sh: Unify messages.
20694 * malloc/memusage.sh: Likewise.
20697 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
20698 time symbol from vDSO. Substitute with vsyscall if not available.
20699 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
20702 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
20703 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
20704 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
20705 Add sendmmsg and internal_sendmmsg.
20706 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
20707 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
20708 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
20710 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
20711 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
20712 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
20714 2011-05-27 Ulrich Drepper <drepper@gmail.com>
20717 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
20718 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
20720 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
20724 * iconvdata/Makefile (tests): Add bug-iconv9.
20725 * iconvdata/bug-iconv9.c: New file.
20727 2011-05-27 Andreas Schwab <schwab@redhat.com>
20730 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
20732 2011-05-25 Jakub Jelinek <jakub@redhat.com>
20734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20735 (struct user_regs_struct): Change intcs field back to cs.
20737 2011-05-25 Ulrich Drepper <drepper@gmail.com>
20739 * po/ja.po: Update from translation team.
20741 2011-05-23 Ulrich Drepper <drepper@gmail.com>
20744 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
20745 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
20747 2011-05-20 Andreas Schwab <schwab@redhat.com>
20749 * stdlib/longlong.h: Update from GCC.
20751 2011-05-23 Andreas Schwab <schwab@redhat.com>
20753 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
20755 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
20756 Add parameter name.
20757 (__sysconf): Pass it down.
20759 2011-05-22 Ulrich Drepper <drepper@gmail.com>
20762 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
20764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20765 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
20766 add in in __libc_use_alloca calls. Adjust callers.
20767 (glob): Use malloc in some situations.
20769 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
20770 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
20773 2011-05-21 Ulrich Drepper <drepper@gmail.com>
20775 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
20776 and CLOCK_BOOTTIME_ALARM.
20779 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
20782 * string/_strerror.c (__strerror_r): Print negative errors as signed
20786 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
20787 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
20788 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
20790 * configure.in: Fix typo in redirection and correct removal of test
20791 files in two cases.
20794 * locale/setlocale.c (new_composite_name): Fix test to check for
20795 identical name of all categories.
20798 * libio/filedoalloc.c (local_isatty): New function.
20799 (_IO_file_doallocate): Use local_isatty.
20800 * stdio-common/perror.c (perror): In case a new stream is used
20801 forward the stream error.
20802 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
20805 2011-05-20 Ulrich Drepper <drepper@gmail.com>
20808 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
20810 * include/alloca.h (extend_alloca_account): Define.
20813 * posix/regex.h: Fix comments with documentation of user-accessible
20814 fields after compilation and describe correct free'ing of pattern
20815 after re_compile_pattern.
20816 Patch by Reuben Thomas <rrt@sc3d.org>.
20818 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
20820 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
20821 and -mno-altivec to prevent the compiler from using Altivec and/or
20822 VSX instructions when the corresponding registers are not available.
20824 2011-05-19 Andreas Schwab <schwab@redhat.com>
20826 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
20828 2011-05-19 Ulrich Drepper <drepper@gmail.com>
20830 * libio/freopen.c (freopen): Use __dup2, not dup2.
20831 * libio/freopen64.c (freopen64): Likewise.
20833 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
20836 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
20837 * math/Makefile (tests): Add test-powl.
20838 (CFLAGS-test-powl.c): Define.
20839 * math/test-powl.c: New file.
20841 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
20843 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
20845 2011-05-17 Ulrich Drepper <drepper@gmail.com>
20848 * iconvdata/gb18030.c: Update to GB18020-2005.
20850 2011-05-16 Ulrich Drepper <drepper@gmail.com>
20852 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
20853 RE_SYNTAX_POSIX_AWK): Update to match recent development.
20854 Patch by Aharon Robbins <arnold@skeeve.com>.
20857 * stdlib/putenv.c (putenv): Don't always create copy of the variable
20861 * misc/pselect.c (__pselect): Handle timeout value errors hidden
20862 through underflows.
20865 * misc/error.c (error_at_line): Ensure file_name and old_file_name
20866 point to strings before performing equality test for error_one_per_line
20870 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
20873 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
20874 (struct user_fpregs_struct): Avoid __uint*_t types.
20877 * malloc/mtrace.c (tr_where): Add additional parameter to point to
20878 symbol info. Use it instead of calling _dl_addr locally.
20879 (lock_and_info): New function.
20880 (tr_freehook): Call lock_and_info and pass symbol info as additional
20881 parameter to tr_where.
20882 (tr_mallochook): Likewise.
20883 (tr_reallochook): Likewise.
20884 (tr_memalignhook): Likewise.
20886 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
20887 used and couldn't be at all thread-safe.
20889 2011-05-15 Ulrich Drepper <drepper@gmail.com>
20891 * libio/freopen.c (freopen): Don't close old file descriptor
20892 before the new one is opened. Instead dup the new file descriptor
20893 to the old one after the new stream is created.
20894 * libio/freopen64.c (freopen64): Likewise.
20895 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
20896 * libio/fileops.c (_IO_new_file_close_it): Handle new
20897 _IO_FLAGS2_NOCLOSE flag.
20898 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
20899 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
20900 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
20901 _IO_FLAGS2_NOCLOSE flag.
20902 * include/unistd.h: Add hidden_proto for dup3.
20903 Define __have_dup3.
20904 * io/dup3.c: Define hidden symbol.
20905 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
20908 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
20909 when an incomplete long option is used.
20910 * posix/tst-getopt_long1.c: New file.
20911 * posix/Makefile (tests): Add tst-getopt_long1.
20914 * scripts/config.guess: Update from autoconf-2.68.
20915 * scripts/config.sub: Likewise.
20918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
20920 (has_cpuclock): ...this. New function.
20921 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
20922 macro here based on has_cpuclock code.
20925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20926 First byte (not low byte) is now always NUL.
20927 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
20929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20930 Use non-cancelable interfaces.
20933 * locale/iso-639.def: Add entry for Sorani.
20936 * include/stdlib.h: Move include protection to the right place.
20937 Define abort_msg_s. Declare __abort_msg with it.
20938 * stdlib/abort.c (__abort_msg): Adjust type.
20939 * assert/assert.c (__assert_fail_base): New function. Majority
20940 of code from __assert_fail. Allocate memory for __abort_msg with
20942 (__assert_fail): Now call __assert_fail_base.
20943 * assert/assert-perr.c: Remove bulk of implementation. Use
20944 __assert_fail_base.
20945 * include/assert.hL Declare __assert_fail_base.
20946 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
20948 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
20950 2011-05-14 Ulrich Drepper <drepper@gmail.com>
20954 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
20955 until all modules are registered in the DTV.
20956 * elf/Makefile: Add rules to build and run tst-tls19.
20957 * elf/tst-tls19.c: New file.
20958 * elf/tst-tls19mod1.c: New file.
20959 * elf/tst-tls19mod2.c: New file.
20960 * elf/tst-tls19mod3.c: New file.
20961 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
20964 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
20968 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
20969 two-byte sequence errors.
20970 * iconvdata/Makefile (tests): Add bug-iconv8.
20971 * iconvdata/bug-iconv8.c: New file.
20974 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
20977 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
20980 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
20981 (dummy_getcfa): New function.
20982 (init): Get _Unwind_GetCFA address, use dummy if not found.
20983 (backtrace_helper): In recursion check, also check whether CFA changes.
20984 (__backtrace): Completely initialize arg.
20986 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
20987 storing incomplete byte sequence in state object. Avoid testing for
20988 guaranteed too small input if we know there is enough data available.
20990 2011-05-11 Andreas Schwab <schwab@redhat.com>
20992 * Makeconfig (+link-pie): Indent.
20993 * Rules (binaries-pie): Define if $(have-fpie) and
20995 (binaries-shared): Also filter out $(binaries-pie).
20996 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
20997 * nscd/Makefile (others-pie): Add nscd.
20998 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
20999 ($(objpfx)nscd): Remove command override.
21000 * login/Makefile (others-pie): Add pt_chown.
21001 ($(objpfx)pt_chown): Remove command override.
21002 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21003 remove command overrides.
21005 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21007 * libio/tst_putwc.c: Fix error messages.
21010 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21011 currently writing and seek to current position when not.
21012 * libio/Makefile (tests): Add bug-fclose1.
21013 * libio/bug-fclose1.c: New file.
21015 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21018 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21019 don't set DF_1_NODELETE here.
21020 (do_lookup_x): When entering new entry test for copy relocation
21021 and if necessary set DF_1_NODELETE flag.
21022 * elf/tst-unique4.cc: New file.
21023 * elf/tst-unique4.h: New file.
21024 * elf/tst-unique4lib.cc: New file.
21025 * elf/Makefile: Add rules to build and run tst-unique4.
21026 Patch by Piotr Bury <pbury@goahead.com>.
21028 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21031 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21034 * misc/mntent_r.c (addmntent): Flush the stream after the output
21037 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21038 (is_trusted_path_normalize): Skip initial colon. Append slash
21039 to empty buffer. Duplicate is_trusted_path code but allow
21040 constructed patch to be prefix.
21041 (is_dst): Allow $ORIGIN followed by /.
21042 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21043 Correct testing of result of is_trusted_path_normalize
21044 (decompose_rpath): Fix warning.
21046 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21049 * grp/initgroups.c (internal_getgrouplist): When we found the service
21050 list through the initgroups entry in nsswitch.conf do not always
21051 continue on a successful lookup. Don't always use the
21052 __nss_group_database value if it is set.
21053 * nss/nsswitch.conf (initgroups): Change action for successful db
21054 lookup to continue for compatibility.
21056 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21059 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21061 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21063 * iconvdata/tst-tables.sh: Likewise.
21064 * iconvdata/cp770.c: New file.
21065 * iconvdata/cp771.c: New file.
21066 * iconvdata/cp772.c: New file.
21067 * iconvdata/cp773.c: New file.
21068 * iconvdata/cp774.c: New file.
21069 * iconvdata/testdata/CP770: New file.
21070 * iconvdata/testdata/CP770..UTF8: New file.
21071 * iconvdata/testdata/CP771: New file.
21072 * iconvdata/testdata/CP771..UTF8: New file.
21073 * iconvdata/testdata/CP772: New file.
21074 * iconvdata/testdata/CP772..UTF8: New file.
21075 * iconvdata/testdata/CP773: New file.
21076 * iconvdata/testdata/CP773..UTF8: New file.
21077 * iconvdata/testdata/CP774: New file.
21078 * iconvdata/testdata/CP774..UTF8: New file.
21080 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21082 * iconvdata/gen-8bit-gap.sh: Likewise.
21083 * iconvdata/gen-8bit.sh: Likewise.
21085 * locale/iso-639.def: Add ary entry.
21088 * locale/C-translit.h.in: Add U20A1 transliteration.
21091 * locale/iso-639.def: Add wae entry.
21092 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21095 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21099 * locale/C-translit.h.in: Add entry for U20B9.
21100 Patch by pravin.d.s@gmail.com.
21102 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21105 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21106 ENAMETOOLONG use generic getcwd.
21107 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21108 in rtld. Use *stat64.
21109 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21110 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21111 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21112 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21113 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21114 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21115 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21116 __fstatat64 macros.
21117 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21118 * dirent/rewinddir.c: Add libc_hidden_def.
21119 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21120 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21122 * include/dirent.h (__alloc_dir): Add flags parameter.
21123 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21124 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21126 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21127 from fdopendir if O_CLOEXEC is already set.
21129 2011-03-15 Alan Modra <amodra@gmail.com>
21131 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21132 l_tls_firstbyte_offset non-zero. Save padding offset in
21133 l_tls_firstbyte_offset for later use.
21134 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21135 freeing static tls block.
21137 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21139 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21140 where #ifdef was intended. The intent is to prevent ARG_MAX from
21141 being defined by the kernel headers.
21143 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21146 * resolv/resolv.h: Define RES_NOTLDQUERY.
21147 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21148 no-tld-query and set RES_NOTLDQUERY.
21149 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21150 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21151 modern BIND to search name as TLD unless forbidden.
21153 2011-05-07 Petr Baudis <pasky@suse.cz>
21154 Ulrich Drepper <drepper@gmail.com>
21157 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21158 (is_trusted_path): ...to here.
21159 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21160 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21161 using is_trusted_path_normalize() in setuid scripts.
21163 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21165 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21166 __BEGIN/__END_DECLS.
21168 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21171 NSS_STATUS_NOTFOUND if no record was found.
21173 2011-05-05 Andreas Schwab <schwab@redhat.com>
21175 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21176 (headers-not-in-tirpc): Remove rpc/netdb.h
21177 * resolv/netdb.h: Revert last change.
21179 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21181 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21182 circular dependency between libgcc.a and libc.a.
21184 2011-05-05 Andreas Schwab <schwab@redhat.com>
21186 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21187 * nis/Makefile: Don't install rpcsvc/*.
21188 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21189 instead of <rpc/types.h>.
21190 (MAXHOSTNAMELEN): Define.
21192 2011-05-03 Andreas Schwab <schwab@redhat.com>
21194 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21196 2011-04-28 Maciej Babinski <mbabinski@google.com>
21199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21200 gethostbyname4_r when IPv6 results are possible.
21202 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21205 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21206 _PC_PIPE_BUF handling.
21208 2011-04-30 Bruno Haible <bruno@clisp.org>
21211 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21212 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21214 * inet/getnameinfo.c (getnameinfo): Likewise.
21216 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21218 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21219 to groups setting in database lookup.
21220 * nss/nsswitch.conf: Add initgroups entry.
21222 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21225 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21227 Patch by Eric Blake <eblake@redhat.com>.
21229 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21231 * sunrpc/Makefile (need-export-routines): Add svc_run.
21232 (routines): Remove svc_run.
21233 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21234 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21235 * sunrpc/svc_run.c (svc_run): Likewise.
21236 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21238 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21241 problem in reallocation in last patch.
21243 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21245 * sunrpc/Makefile: Move inclusion of Rules.
21247 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21249 * nss/nss_files/files-initgroups.c: New file.
21250 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21251 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21252 _nss_files_initgroups_dyn.
21254 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21256 * elf/elf.h (R_ARM_IRELATIVE): Define.
21258 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21260 * po/ru.po: Update from translation team.
21262 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21264 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21267 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21270 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21271 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21272 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21273 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21276 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21278 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21280 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21281 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21282 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21284 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21287 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21289 * stdlib/bug-getcontext.c: New file.
21290 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21292 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21294 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21295 instructions into .machine "z9-109".
21296 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21297 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21299 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21301 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21302 between environment variables and auxiliary vector.
21304 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21306 * Makefile: Add rules to build linkobj/libc.so.
21307 * include/libc-symbols.h: Define libc_hidden_nolink.
21308 * include/rpc/auth.h: Mark functions which are to be hidden.
21309 * include/rpc/auth_des.h: Likewise.
21310 * include/rpc/auth_unix.h: Likewise.
21311 * include/rpc/clnt.h: Likewise.
21312 * include/rpc/des_crypt.h: Likewise.
21313 * include/rpc/key_prot.h: Likewise.
21314 * include/rpc/pmap_clnt.h: Likewise.
21315 * include/rpc/pmap_prot.h: Likewise.
21316 * include/rpc/pmap_rmt.h: Likewise.
21317 * include/rpc/rpc_msg.h: Likewise.
21318 * include/rpc/svc.h: Likewise.
21319 * include/rpc/svc_auth.h: Likewise.
21320 * include/rpc/xdr.h: Likewise.
21321 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21322 * nss/Makefile: Likewise.
21323 * sunrpc/Makefile: Don't install headers. Build library with normal
21324 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21325 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21326 for the compat linking library. Remove use of INTDEF/INTUSE.
21327 * sunrpc/auth_none.c: Likewise.
21328 * sunrpc/auth_unix.c: Likewise.
21329 * sunrpc/authdes_prot.c: Likewise.
21330 * sunrpc/authuxprot.c: Likewise.
21331 * sunrpc/clnt_gen.c: Likewise.
21332 * sunrpc/clnt_perr.c: Likewise.
21333 * sunrpc/clnt_raw.c: Likewise.
21334 * sunrpc/clnt_simp.c: Likewise.
21335 * sunrpc/clnt_tcp.c: Likewise.
21336 * sunrpc/clnt_udp.c: Likewise.
21337 * sunrpc/clnt_unix.c: Likewise.
21338 * sunrpc/des_crypt.c: Likewise.
21339 * sunrpc/des_soft.c: Likewise.
21340 * sunrpc/get_myaddr.c: Likewise.
21341 * sunrpc/key_call.c: Likewise.
21342 * sunrpc/key_prot.c: Likewise.
21343 * sunrpc/netname.c: Likewise.
21344 * sunrpc/pm_getmaps.c: Likewise.
21345 * sunrpc/pm_getport.c: Likewise.
21346 * sunrpc/pmap_clnt.c: Likewise.
21347 * sunrpc/pmap_prot.c: Likewise.
21348 * sunrpc/pmap_prot2.c: Likewise.
21349 * sunrpc/pmap_rmt.c: Likewise.
21350 * sunrpc/publickey.c: Likewise.
21351 * sunrpc/rpc_cmsg.c: Likewise.
21352 * sunrpc/rpc_common.c: Likewise.
21353 * sunrpc/rpc_dtable.c: Likewise.
21354 * sunrpc/rpc_prot.c: Likewise.
21355 * sunrpc/rpc_thread.c: Likewise.
21356 * sunrpc/rtime.c: Likewise.
21357 * sunrpc/svc.c: Likewise.
21358 * sunrpc/svc_auth.c: Likewise.
21359 * sunrpc/svc_authux.c: Likewise.
21360 * sunrpc/svc_raw.c: Likewise.
21361 * sunrpc/svc_run.c: Likewise.
21362 * sunrpc/svc_simple.c: Likewise.
21363 * sunrpc/svc_tcp.c: Likewise.
21364 * sunrpc/svc_udp.c: Likewise.
21365 * sunrpc/svc_unix.c: Likewise.
21366 * sunrpc/svcauth_des.c: Likewise.
21367 * sunrpc/xcrypt.c: Likewise.
21368 * sunrpc/xdr.c: Likewise.
21369 * sunrpc/xdr_array.c: Likewise.
21370 * sunrpc/xdr_float.c: Likewise.
21371 * sunrpc/xdr_intXX_t.c: Likewise.
21372 * sunrpc/xdr_mem.c: Likewise.
21373 * sunrpc/xdr_rec.c: Likewise.
21374 * sunrpc/xdr_ref.c: Likewise.
21375 * sunrpc/xdr_sizeof.c: Likewise.
21376 * sunrpc/xdr_stdio.c: Likewise.
21378 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21381 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21382 * sysdeps/ia64/dl-tls.h: Likewise.
21383 * sysdeps/powerpc/dl-tls.h: Likewise.
21384 * sysdeps/s390/dl-tls.h: Likewise.
21385 * sysdeps/sh/dl-tls.h: Likewise.
21386 * sysdeps/sparc/dl-tls.h: Likewise.
21387 * sysdeps/x86_64/dl-tls.h: Likewise.
21388 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21390 2011-03-14 Andreas Schwab <schwab@redhat.com>
21392 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21393 rpath element also skip the following colon.
21394 (expand_dynamic_string_token): Add is_path parameter and pass
21395 down to DL_DST_REQUIRED and _dl_dst_substitute.
21396 (decompose_rpath): Call expand_dynamic_string_token with
21397 non-zero is_path. Ignore empty rpaths.
21398 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21401 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21406 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21409 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21410 Patch by Filipe David Manana <fdmanana@apache.org>.
21412 2011-04-07 Andreas Schwab <schwab@redhat.com>
21414 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21415 Maintain aligned stack.
21416 (CHECK_RSP): Remove unused macro.
21418 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21420 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21421 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21423 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21425 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21427 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21429 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21432 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21433 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21434 * sysdeps/x86_64/memmove.c: New file.
21435 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21436 (memcpy): Renamed to ...
21437 (__new_memcpy): This.
21438 (memcpy): Provide GLIBC_2_14 memcpy.
21439 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21440 (memcpy): Provide GLIBC_2_2_5 memcpy.
21442 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21445 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21447 2011-03-30 Andreas Schwab <schwab@redhat.com>
21449 * misc/syncfs.c: New file.
21450 * misc/Makefile (routines): Add syncfs.
21451 * posix/unistd.h: Declare syncfs.
21452 * sysdeps/unix/syscalls.list: Add syncfs.
21454 2011-04-01 Andreas Schwab <schwab@redhat.com>
21456 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21462 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21463 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21468 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21469 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21474 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21476 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21477 sync_file_range.c with -fexceptions.
21478 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21479 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21480 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21481 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21482 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21483 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21485 sync_file_range as cancellation point
21486 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21487 now a wrapper around __call_sync_file_range with cancellation handling.
21488 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21489 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21490 function name to __call_sync_file_range.
21491 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21492 Add call_sync_file_range.
21494 2011-04-01 Andreas Schwab <schwab@redhat.com>
21496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21499 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21501 * iconv/iconv.h: Fix typo in comment.
21502 * io/fcntl.h: Likewise.
21503 * libio/stdio.h: Likewise.
21504 * posix/spawn.h: Likewise.
21505 * posix/unistd.h: Likewise.
21506 * stdlib/stdlib.h: Likewise.
21507 * time/time.h: Likewise.
21508 * wcsmbs/wchar.h: Likewise.
21510 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21511 open_by_handle): Add.
21512 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21513 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21514 Augment a few comments.
21515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21520 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21523 * io/fcntl.h (AT_EMPTY_PATH): Define.
21525 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21527 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21528 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21529 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21531 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21532 * Versions.def: Add GLIBC_2.14.
21533 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21536 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21540 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21542 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21545 * string/test-strncmp.c (do_page_test): New function.
21546 (check2): Likewise.
21547 (test_main): Call check2.
21548 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21550 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21554 Handle cache information in CPU leaf 4.
21555 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21557 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21560 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21561 character representation.
21562 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21564 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21566 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21567 END(__isnan) to END(__isnanf) to match function entry point/label
21568 EALIGN(__isnanf,...).
21570 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21572 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21574 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21577 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21578 copy from the symbol referenced in the relocation to initialize the
21580 Patch by Piotr Bury <pbury@goahead.com>.
21581 * elf/Makefile: Add rules to build and tst-unique3.
21582 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21583 * elf/tst-unique3.cc: New file.
21584 * elf/tst-unique3.h: New file.
21585 * elf/tst-unique3lib.cc: New file.
21586 * elf/tst-unique3lib2.cc: New file.
21588 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21590 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21592 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21593 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21596 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21598 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21599 to-be-loaded object along a path to loader is ld.so.
21601 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21602 Ulrich Drepper <drepper@gmail.com>
21604 * sysdeps/x86_64/memset.S: After aligning destination, code
21605 branches to different locations depending on the value of
21606 misalignment, when multiarch is enabled. Fix this.
21608 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21610 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21611 Set _x86_64_preferred_memory_instruction for AMD processsors.
21612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21613 Set bit_Prefer_SSE_for_memop for AMD processors.
21615 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21617 * libio/fmemopen.c (fmemopen): Optimize a bit.
21619 2011-03-03 Andreas Schwab <schwab@redhat.com>
21621 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21623 2011-03-03 Roland McGrath <roland@redhat.com>
21625 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21627 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
21629 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
21630 __bzero_ultra1 instead of __memset_ultra1.
21632 2011-02-23 Andreas Schwab <schwab@redhat.com>
21633 Ulrich Drepper <drepper@gmail.com>
21636 * include/link.h (struct link_map): Add l_orig_initfini.
21637 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
21638 returning unsuccessfully.
21639 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
21640 close of a file loaded at startup, restore the original l_initfini
21642 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
21643 list, store the pointer.
21644 * elf/Makefile ($(objpfx)noload-mem): New rule.
21645 (noload-ENV): Define.
21646 (tests): Add $(objpfx)noload-mem.
21647 * elf/noload.c: Include <memcheck.h>.
21648 (main): Call mtrace. Close all opened handles.
21650 2011-02-17 Andreas Schwab <schwab@redhat.com>
21653 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
21654 dependencies are missing.
21656 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
21658 Fix __if_freereq crash: Unlike the generic version which uses free,
21660 * sysdeps/mach/hurd/ifreq.h: New file.
21662 2011-01-27 Petr Baudis <pasky@suse.cz>
21663 Ulrich Drepper <drepper@gmail.com>
21666 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
21667 to extend_alloca().
21668 * stdio-common/bug23.c: New file.
21669 * stdio-common/Makefile (tests): Add bug23.
21671 2010-09-28 Andreas Schwab <schwab@redhat.com>
21672 Ulrich Drepper <drepper@gmail.com>
21675 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
21676 before performing relro protection. At old place add assertion
21677 to make sure nothing changed.
21679 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
21680 Glauber de Oliveira Costa <glommer@gmail.com>
21682 * elf/elf.h: Add new ARM TLS relocs.
21684 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
21686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21687 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
21689 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
21691 * sysdeps/wordsize-64/tst-writev.c: New file.
21693 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
21695 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
21696 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
21697 insns in _dl_start to prevent a TOC reference before relocs are
21700 2011-02-15 Ulrich Drepper <drepper@gmail.com>
21703 * Makeconfig: Remove RANLIB definition.
21704 * Makerules: Don't use RANLIB.
21705 * aclocal.m4: Remove ranlib test.
21706 * configure.in: No need to check for ranlib.
21707 * elf/rtld-Rules: Don't use RANLIB.
21709 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
21711 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
21713 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
21714 inclusion protection macro.
21716 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
21717 SIGRTMIN and SIGRTMAX and print information in that case only when
21718 SIGRTMIN is defined.
21720 2011-02-11 Jakub Jelinek <jakub@redhat.com>
21722 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
21723 arginfo fn returning -1.
21725 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
21726 and thousands string is zero terminated.
21728 2011-02-03 Andreas Schwab <schwab@redhat.com>
21730 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
21731 sysdeps/unix/sysv/linux/bits/socket.h.
21733 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
21735 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
21736 (__CPU_COUNT): Remove old macros.
21737 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
21738 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
21739 (__CPU_ALLOC, __CPU_FREE): Add macros.
21740 (__sched_cpualloc, __sched_cpufree): Add declarations.
21742 2011-02-05 Ulrich Drepper <drepper@gmail.com>
21744 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
21745 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
21746 * nscd/aicache.c (addhstaiX): Return timeout of added value.
21747 (readdhstai): Return value of addhstaiX call.
21748 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
21749 (addgrbyX): Return value returned by cache_addgr.
21750 (readdgrbyname): Return value returned by addgrbyX.
21751 (readdgrbygid): Likewise.
21752 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
21753 (addpwbyX): Return value returned by cache_addpw.
21754 (readdpwbyname): Return value returned by addhstbyX.
21755 (readdpwbyuid): Likewise.
21756 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
21757 (addservbyX): Return value returned by cache_addserv.
21758 (readdservbyname): Return value returned by addservbyX:
21759 (readdservbyport): Likewise.
21760 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
21761 (addhstbyX): Return value returned by cache_addhst.
21762 (readdhstbyname): Return value returned by addhstbyX.
21763 (readdhstbyaddr): Likewise.
21764 (readdhstbynamev6): Likewise.
21765 (readdhstbyaddrv6): Likewise.
21766 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
21767 (readdinitgroups): Return value returned by addinitgroupsX.
21768 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
21769 (prune_cache): Keep track of timeout value of re-added entries.
21770 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
21771 * nscd/nscd.h: Adjust prototypes of readd* functions.
21773 2011-02-04 Roland McGrath <roland@redhat.com>
21775 * nis/nis_server.c (nis_servstate): Use the right name for 0.
21776 (nis_stats): Likewise.
21777 * nis/nis_modify.c (nis_modify): Likewise.
21778 * nis/nis_remove.c (nis_remove): Likewise.
21779 * nis/nis_add.c (nis_add): Likewise.
21781 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
21783 * posix/fnmatch_loop.c: Add some consts.
21785 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
21787 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
21790 * config.make.in (config-cflags-novzeroupper): Define.
21791 * configure.in: Substitute libc_cv_cc_novzeroupper.
21792 * elf/Makefile (AVX-CFLAGS): Define.
21793 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
21794 (CFLAGS-tst-auditmod4a.c): Likewise.
21795 (CFLAGS-tst-auditmod4b.c): Likewise.
21796 (CFLAGS-tst-auditmod6b.c): Likewise.
21797 (CFLAGS-tst-auditmod6c.c): Likewise.
21798 (CFLAGS-tst-auditmod7b.c): Likewise.
21799 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
21801 2011-02-02 Ulrich Drepper <drepper@gmail.com>
21803 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
21804 function to the callback.
21805 Patch partly by Jiri Olsa <jolsa@redhat.com>.
21807 2011-02-02 Andreas Schwab <schwab@redhat.com>
21809 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
21812 2011-01-19 Ulrich Drepper <drepper@gmail.com>
21815 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
21817 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
21819 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
21822 * elf/Makefile: Add rules to build and run new test.
21823 * elf/tst-initorder.c: New file.
21824 * elf/tst-initorder.exp: New file.
21825 * elf/tst-initordera1.c: New file.
21826 * elf/tst-initordera2.c: New file.
21827 * elf/tst-initordera3.c: New file.
21828 * elf/tst-initordera4.c: New file.
21829 * elf/tst-initorderb1.c: New file.
21830 * elf/tst-initorderb2.c: New file.
21831 * elf/tst-order-a1.c: New file.
21832 * elf/tst-order-a2.c: New file.
21833 * elf/tst-order-a3.c: New file.
21834 * elf/tst-order-a4.c: New file.
21835 * elf/tst-order-b1.c: New file.
21836 * elf/tst-order-b2.c: New file.
21837 * elf/tst-order-main.c: New file.
21838 New test case by George Gensure <werkt0@gmail.com>.
21840 2010-10-01 Andreas Schwab <schwab@redhat.com>
21842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21843 decoding ACE if AI_CANONIDN.
21845 2011-01-18 Ulrich Drepper <drepper@gmail.com>
21847 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
21849 2011-01-17 Ulrich Drepper <drepper@gmail.com>
21851 * version.h (RELEASE): Bump for 2.13 release.
21852 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
21854 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
21856 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
21858 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
21859 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21863 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
21865 * posix/getconf.c: Update copyright year.
21866 * catgets/gencat.c: Likewise.
21867 * csu/version.c: Likewise.
21868 * debug/catchsegv.sh: Likewise.
21869 * debug/xtrace.sh: Likewise.
21870 * elf/ldconfig.c: Likewise.
21871 * elf/ldd.bash.in: Likewise.
21872 * elf/sprof.c (print_version): Likewise.
21873 * iconv/iconv_prog.c: Likewise.
21874 * iconv/iconvconfig.c: Likewise.
21875 * locale/programs/locale.c: Likewise.
21876 * locale/programs/localedef.c: Likewise.
21877 * malloc/memusage.sh: Likewise.
21878 * malloc/mtrace.pl: Likewise.
21879 * nscd/nscd.c (print_version): Likewise.
21880 * nss/getent.c: Likewise.
21882 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
21883 PF_CAIF, and PF_ALG.
21884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21886 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
21888 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
21889 (modules-names): Use them.
21890 (ifunc-test-modules, ifunc-pie-tests): Define.
21891 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
21892 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
21893 (test-extras): Likewise.
21894 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
21895 $(compile-command.c).
21896 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
21897 (all-built-dso): Define.
21898 (check-textrel.out, check-execstack.out): Depend on it.
21900 * configure.in: Don't override --enable-multi-arch.
21902 2011-01-15 Ulrich Drepper <drepper@gmail.com>
21905 * nscd/hstcache.c (tryagain): Define.
21906 (cache_addhst): Return tryagain not notfound for temporary errors.
21907 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
21910 2011-01-14 Ulrich Drepper <drepper@gmail.com>
21913 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
21914 to make the syscall.
21915 * sysdeps/unix/sysv/linux/setgroups.c: New file.
21918 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
21919 and fall back to matching as normal character if the string ends before
21920 the matching ']' is found. This is what POSIX requires.
21921 * posix/testfnm.c: Adjust test result.
21922 * posix/globtest.sh: Adjust test result. Add new test.
21923 * posix/tst-fnmatch.input: Likewise.
21924 * posix/tst-fnmatch2.c: Add new test.
21926 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
21928 * elf/Makefile (check-execstack): Revert last change. Depend on
21930 (check-execstack.h): New target.
21931 (generated): Add check-execstack.h.
21932 * elf/check-execstack.c: Include "check-execstack.h".
21933 (main): Revert last change.
21934 (handle_file): Return zero if GNU_STACK is absent and
21935 DEFAULT_STACK_PERMS doesn't include PF_X.
21937 2011-01-13 Ulrich Drepper <drepper@gmail.com>
21939 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
21940 in child fails because the descriptor is already closed.
21941 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
21942 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
21943 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
21946 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
21950 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
21951 temporary buffer used to handle multi lookups locally.
21952 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
21954 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21956 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
21959 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
21961 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
21962 alignment for SSE2.
21964 2011-01-12 Ulrich Drepper <drepper@gmail.com>
21967 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
21968 characters. When rounding increased number of integer digits recompute
21970 * stdio-common/tst-grouping.c: New file.
21971 * stdio-common/Makefile: Add rules to build and run tst-grouping.
21973 2011-01-09 Ulrich Drepper <drepper@gmail.com>
21975 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
21976 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
21978 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
21980 * bits/select.h: Likewise.
21982 2011-01-08 Ulrich Drepper <drepper@gmail.com>
21984 * po/ja.po: Update from translation team.
21986 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
21989 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
21990 implementation just like for lxstat, fxstatat, et al.
21992 2010-12-27 Jim Meyering <meyering@redhat.com>
21995 * posix/regexec.c (build_trtable): Return failure indication upon
21996 calloc failure. Otherwise, re_search_internal could infloop on OOM.
21998 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22001 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22002 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22003 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22007 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22010 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22011 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22013 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22015 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22016 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22017 script has SORT_BY_INIT_PRIORITY.
22018 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22019 NO_CTORS_DTORS_SECTIONS is defined.
22020 * elf/soinit.c: Likewise.
22021 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22022 NO_CTORS_DTORS_SECTIONS is defined.
22023 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22024 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22025 * sysdeps/sh/init-first.c: Likewise.
22026 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22028 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22030 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22031 always use the slow path.
22033 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22035 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22036 similar rule which adds the sysdep directories to the header search in
22037 order to pick up the correct platform stackinfo.h.
22038 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22039 perform test if it is, otherwise return successfully without testing.
22040 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22041 DEFAULT_STACK_PERMS define in stackinfo.h.
22042 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22043 defined in stackinfo.h.
22044 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22045 DEFAULT_STACK_PERMS defined in stackinfo.h.
22046 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22047 * sysdeps/ia64/stackinfo.h: Likewise.
22048 * sysdeps/s390/stackinfo.h: Likewise.
22049 * sysdeps/sh/stackinfo.h: Likewise.
22050 * sysdeps/sparc/stackinfo.h: Likewise.
22051 * sysdeps/x86_64/stackinfo.h: Likewise.
22052 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22053 PF_X for powerpc64. Retain PF_X for powerpc32.
22055 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22057 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22059 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22060 GETDENTS_64BIT_ALIGNED.
22062 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22064 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22066 2010-12-10 Andreas Schwab <schwab@redhat.com>
22068 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22071 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22072 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22074 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22075 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22077 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22080 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22083 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22085 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22087 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22089 * po/it.po: Update from translation team.
22091 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22093 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22096 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22098 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22100 2010-11-24 Andreas Schwab <schwab@redhat.com>
22102 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22104 (gaih_getanswer_slice): Likewise.
22106 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22108 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22110 2010-05-31 Petr Baudis <pasky@suse.cz>
22113 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22114 silently even in the chroot mode.
22116 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22118 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22119 last patch a bit. Pretty printing
22121 2010-05-31 Petr Baudis <pasky@suse.cz>
22124 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22125 initialization of skip_initgroups_dyn.
22127 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22132 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22134 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22136 2010-11-11 Andreas Schwab <schwab@redhat.com>
22138 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22139 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22140 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22141 ($(objpfx)tst-fnmatch-mem): New rule.
22142 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22143 * posix/tst-fnmatch.c (main): Call mtrace.
22145 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22147 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22148 Support Intel processor model 6 and model 0x2c.
22150 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22152 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22155 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22158 * string/test-strncasecmp.c (check_result): New function.
22159 (do_one_test): Use it.
22160 (check1): New function.
22161 (test_main): Use it.
22162 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22163 Support strcasecmp and strncasecmp.
22165 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22168 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22171 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22173 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22175 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22177 * sysdeps/x86_64/multiarch/bzero.S: New file.
22178 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22179 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22180 * sysdeps/x86_64/multiarch/memset.S: New file.
22181 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22183 Set bit_Prefer_SSE_for_memop for Intel processors.
22184 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22186 (index_Prefer_SSE_for_memop): Define.
22187 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22189 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22191 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22192 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22194 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22197 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22198 (__x86_64_raw_data_cache_size_half): Likewise.
22199 (__x86_64_raw_shared_cache_size): Likewise.
22200 (__x86_64_raw_shared_cache_size_half): Likewise.
22202 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22203 (__x86_64_raw_data_cache_size_half): Likewise.
22204 (__x86_64_raw_shared_cache_size): Likewise.
22205 (__x86_64_raw_shared_cache_size_half): Likewise.
22206 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22207 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22208 and __x86_64_raw_shared_cache_size_half. Round
22209 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22210 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22211 to multiple of 256 bytes.
22213 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22217 of inacessible symlinks. Verify result of symlink before returning it.
22218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22219 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22221 2010-10-28 Erich Ritz <erichritz@gmail.com>
22223 * math/math.h (isinf): Fix typo in comment.
22225 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22227 * po/da.po: Update from translation team.
22229 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22231 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22232 is added to the list.
22234 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22235 Ulrich Drepper <drepper@gmail.com>
22237 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22238 the global list here. Move code to...
22239 (_dl_add_to_namespace_list): ...here. New function.
22240 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22241 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22242 * elf/dl-load.c (lose): Don't remove the element from the list.
22243 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22244 (_dl_map_object): Likewise.
22246 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22249 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22250 into all bytes of SSE register.
22251 Patch by Richard Li <richardpku@gmail.com>.
22253 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22256 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22259 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22261 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22262 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22263 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22264 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22269 2010-10-22 Andreas Schwab <schwab@redhat.com>
22271 * include/dlfcn.h (__RTLD_SECURE): Define.
22272 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22273 mode & __RTLD_SECURE instead.
22274 (open_path): Rename preloaded parameter to secure.
22275 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22276 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22277 * elf/dl-deps.c (openaux): Likewise.
22278 * elf/rtld.c (struct map_args): Remove is_preloaded.
22279 (map_doit): Don't use it.
22280 (dl_main): Likewise.
22281 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22282 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22284 2010-09-09 Andreas Schwab <schwab@redhat.com>
22286 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22287 (sysd-rules-targets): Remove duplicates.
22288 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22289 rtld-%.$o dependency.
22291 2010-10-18 Andreas Schwab <schwab@redhat.com>
22293 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22294 _dl_map_object do it.
22296 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22298 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22299 fast fma builtins, define the macros in the C99 standard.
22300 (FP_FAST_FMAF): Likewise.
22301 (FP_FAST_FMAL): Likewise.
22302 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22304 * bits/mathdef.h: Update copyright year.
22305 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22307 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22309 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22310 builtins, define the macros in the C99 standard.
22311 (FP_FAST_FMAF): Likewise.
22312 (FP_FAST_FMAL): Likewise.
22313 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22315 (FP_FAST_FMAF): Likewise.
22317 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22320 * math/libm-test.inc (fma_test): Some new testcases.
22321 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22322 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22323 y and infinite z. Do multiplication by C already in long double.
22324 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22326 y and infinite z. Do bitwise or of inexact bit into u.d.
22327 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22328 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22329 * sysdeps/i386/fpu/s_fma.S: Removed.
22330 * sysdeps/i386/fpu/s_fmal.S: Removed.
22332 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22335 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22337 computation is not scheduled after fetestexcept. Fix value
22338 of minimum denormal long double.
22340 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22343 * math/libm-test.inc (fma_test): Add some more tests.
22344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22347 2010-10-15 Andreas Schwab <schwab@redhat.com>
22349 * scripts/data/localplt-s390-linux-gnu.data: New file.
22350 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22352 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22355 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22356 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22358 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22360 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22362 if one of x and y is very large and the other is subnormal.
22363 * sysdeps/s390/fpu/s_fmaf.c: New file.
22364 * sysdeps/s390/fpu/s_fma.c: New file.
22365 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22366 * sysdeps/powerpc/fpu/s_fma.S: New file.
22367 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22368 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22369 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22371 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22374 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22376 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22377 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22378 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22379 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22380 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22381 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22382 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22384 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22387 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22388 * posix/bug-regex31.input: Add test case.
22390 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22392 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22393 * posix/bug-regex31.input: New file.
22396 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22397 (parse_sub_exp): Fix last change, use postorder.
22399 * posix/bug-regex31.c: New file.
22400 * posix/Makefile: Add rules to build and run bug-regex31.
22402 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22405 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22408 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22409 to have entries in sys_siglist.
22412 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22415 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22418 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22419 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22420 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22421 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22422 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22423 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22424 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22425 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22426 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22427 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22428 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22429 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22430 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22431 * math/ftestexcept.c (fetestexcept): Likewise.
22432 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22433 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22434 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22435 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22436 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22437 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22438 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22440 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22443 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22446 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22448 * string/bug-strstr1.c: New file.
22449 * string/Makefile: Add rules to build and run bug-strstr1.
22451 2010-10-05 Eric Blake <eblake@redhat.com>
22454 * string/str-two-way.h (two_way_long_needle): Always clear memory
22455 when skipping input due to the shift table.
22457 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22460 * malloc/mcheck.c: Handle large requests.
22463 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22464 for strncmp and strncasecmp.
22465 * string/stratcliff.c: Add tests for strcmp and strncmp.
22466 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22468 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22470 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22473 2010-09-30 Andreas Jaeger <aj@suse.de>
22475 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22476 (CGROUP_SUPER_MAGIC): Define.
22477 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22478 Handle btrfs and cgroup file systems.
22479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22482 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22484 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22485 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22487 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22490 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22491 trying to locate the ELF header.
22493 2010-09-27 Andreas Schwab <schwab@redhat.com>
22496 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22497 Mask out sign-bit copies when constructing f_fsid.
22499 2010-09-24 Petr Baudis <pasky@suse.cz>
22501 * debug/stack_chk_fail_local.c: Add missing licence exception.
22502 * debug/warning-nop.c: Likewise.
22504 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22506 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22507 implementing getdents64 using getdents syscall, set d_type if
22508 __ASSUME_GETDENTS32_D_TYPE.
22510 2010-09-16 Andreas Schwab <schwab@redhat.com>
22512 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22513 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22515 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22518 * posix/unistd.h: Undo change of feature selection for ftruncate from
22521 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22523 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22526 2010-09-20 Andreas Schwab <schwab@redhat.com>
22528 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22532 2010-09-14 Andreas Schwab <schwab@redhat.com>
22534 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22535 variables after CHECK_SP call.
22536 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22538 2010-09-13 Andreas Schwab <schwab@redhat.com>
22539 Ulrich Drepper <drepper@redhat.com>
22541 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22542 re-relocationg ld.so.
22543 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22544 _dl_init_paths call.
22545 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22548 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22550 * resolv/res_init.c (__res_vinit): Count the default server we added.
22552 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22553 Ulrich Drepper <drepper@redhat.com>
22556 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22557 (____longjmp_chk): Use %ebx for saving value across system call.
22560 2010-09-06 Andreas Schwab <schwab@redhat.com>
22562 * manual/Makefile: Don't mix pattern rules with normal rules.
22564 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22566 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22568 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22569 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22570 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22571 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22575 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22578 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22579 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22581 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22583 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22584 * sysdeps/x86_64/addmul_1.S: Likewise.
22585 * sysdeps/x86_64/lshift.S: Likewise.
22586 * sysdeps/x86_64/mul_1.S: Likewise.
22587 * sysdeps/x86_64/rshift.S: Likewise.
22588 * sysdeps/x86_64/sub_n.S: Likewise.
22589 * sysdeps/x86_64/submul_1.S: Likewise.
22591 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22593 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22594 Define __sched_param instead of SCHED_* and sched_param when
22595 <bits/sched.h> is included with __need_schedparam defined.
22596 * bits/sched.h [__need_schedparam]
22597 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22598 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22599 (__defined_schedparam): Define to 1.
22600 (__sched_param): New structure, identical to sched_param.
22601 (__need_schedparam): Undefine.
22603 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22605 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22606 (epoll_create1): Declare.
22608 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22610 2010-08-31 Andreas Schwab <schwab@redhat.com>
22613 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22614 shifting retval into place.
22616 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22618 * nis/rpcsvc/nis.h: Update copyright notice.
22619 * nis/rpcsvc/nis.x: Likewise.
22620 * nis/rpcsvc/nis_callback.h: Likewise.
22621 * nis/rpcsvc/nis_callback.x: Likewise.
22622 * nis/rpcsvc/nis_object.x: Likewise.
22623 * nis/rpcsvc/nis_tags.h: Likewise.
22624 * nis/rpcsvc/yp.h: Likewise.
22625 * nis/rpcsvc/yp.x: Likewise.
22626 * nis/rpcsvc/ypupd.h: Likewise.
22627 * nis/yp_xdr.c: Likewise.
22628 * nis/ypupdate_xdr.c: Likewise.
22630 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
22631 mainly the body of pmap_getport. Add parameters to specify timeouts.
22632 (pmap_getport): Use __libc_rpc_getport.
22633 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
22634 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
22635 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
22637 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
22642 2010-08-27 Roland McGrath <roland@redhat.com>
22644 * sysdeps/i386/i686/multiarch/Makefile
22645 (CFLAGS-varshift.c): New variable.
22647 2010-08-27 Ulrich Drepper <drepper@redhat.com>
22649 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
22650 * sysdeps/i386/i686/multiarch/varshift.c: New file.
22652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
22654 * sysdeps/x86_64/strlen.S: Minimal code improvement.
22656 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
22658 * sysdeps/x86_64/strlen.S: Unroll the loop.
22659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22660 strlen-sse2 strlen-sse2-bsf.
22661 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
22662 __strlen_no_bsf if bit_Slow_BSF is set.
22663 (__strlen_sse42): Removed.
22664 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
22665 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
22667 2010-08-25 Roland McGrath <roland@redhat.com>
22669 * sysdeps/x86_64/multiarch/varshift.S: File removed.
22670 * sysdeps/x86_64/multiarch/varshift.c: New file.
22671 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
22672 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
22673 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
22674 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22676 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
22678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22679 strlen-sse2 strlen-sse2-bsf.
22680 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
22681 __strlen_sse2_bsf if bit_Slow_BSF is unset.
22682 (__strlen_sse2): Removed.
22683 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
22684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
22685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22686 bit_Slow_BSF for Atom.
22687 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
22688 (index_Slow_BSF): Define.
22689 (HAS_SLOW_BSF): Define.
22691 2010-08-25 Ulrich Drepper <drepper@redhat.com>
22694 * resolv/res_init.c (__res_vinit): When no server address at all
22695 is given default to loopback.
22697 2010-08-24 Roland McGrath <roland@redhat.com>
22699 * configure.in: Remove config-name.h generation.
22700 * configure: Regenerated.
22701 * config-name.in: File removed.
22702 * scripts/config-uname.sh: New file.
22703 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
22704 ($(objdir)config-name.h): New target.
22706 * sunrpc/rpc_parse.h: Avoid nested comment.
22708 2010-08-24 Richard Henderson <rth@redhat.com>
22709 Ulrich Drepper <drepper@redhat.com>
22710 H.J. Lu <hongjiu.lu@intel.com>
22712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
22713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
22714 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
22715 Replace _mm_srli_si128 with __m128i_shift_right. Replace
22716 _mm_alignr_epi8 with _mm_loadu_si128.
22717 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
22718 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
22719 (__m128i_shift_right): Removed.
22720 * sysdeps/i386/i686/multiarch/varshift.h: New file.
22721 * sysdeps/i386/i686/multiarch/varshift.S: New file.
22722 * sysdeps/x86_64/multiarch/varshift.h: New file.
22723 * sysdeps/x86_64/multiarch/varshift.S: New file.
22725 2010-08-21 Mike Frysinger <vapier@gentoo.org>
22727 * configure.in: Move assembler checks to before sysdep dir checking.
22729 2010-08-20 Petr Baudis <pasky@suse.cz>
22731 * LICENSES: Sync the sunrpc license.
22733 2010-08-19 Ulrich Drepper <drepper@redhat.com>
22735 * sunrpc/auth_des.c: Update copyright notice once again.
22736 * sunrpc/auth_none.c: Likewise.
22737 * sunrpc/auth_unix.c: Likewise.
22738 * sunrpc/authdes_prot.c: Likewise.
22739 * sunrpc/authuxprot.c: Likewise.
22740 * sunrpc/bindrsvprt.c: Likewise.
22741 * sunrpc/clnt_gen.c: Likewise.
22742 * sunrpc/clnt_perr.c: Likewise.
22743 * sunrpc/clnt_raw.c: Likewise.
22744 * sunrpc/clnt_simp.c: Likewise.
22745 * sunrpc/clnt_tcp.c: Likewise.
22746 * sunrpc/clnt_udp.c: Likewise.
22747 * sunrpc/clnt_unix.c: Likewise.
22748 * sunrpc/des_crypt.c: Likewise.
22749 * sunrpc/des_soft.c: Likewise.
22750 * sunrpc/get_myaddr.c: Likewise.
22751 * sunrpc/getrpcport.c: Likewise.
22752 * sunrpc/key_call.c: Likewise.
22753 * sunrpc/key_prot.c: Likewise.
22754 * sunrpc/openchild.c: Likewise.
22755 * sunrpc/pm_getmaps.c: Likewise.
22756 * sunrpc/pm_getport.c: Likewise.
22757 * sunrpc/pmap_clnt.c: Likewise.
22758 * sunrpc/pmap_prot.c: Likewise.
22759 * sunrpc/pmap_prot2.c: Likewise.
22760 * sunrpc/pmap_rmt.c: Likewise.
22761 * sunrpc/rpc/auth.h: Likewise.
22762 * sunrpc/rpc/auth_unix.h: Likewise.
22763 * sunrpc/rpc/clnt.h: Likewise.
22764 * sunrpc/rpc/des_crypt.h: Likewise.
22765 * sunrpc/rpc/key_prot.h: Likewise.
22766 * sunrpc/rpc/netdb.h: Likewise.
22767 * sunrpc/rpc/pmap_clnt.h: Likewise.
22768 * sunrpc/rpc/pmap_prot.h: Likewise.
22769 * sunrpc/rpc/pmap_rmt.h: Likewise.
22770 * sunrpc/rpc/rpc.h: Likewise.
22771 * sunrpc/rpc/rpc_des.h: Likewise.
22772 * sunrpc/rpc/rpc_msg.h: Likewise.
22773 * sunrpc/rpc/svc.h: Likewise.
22774 * sunrpc/rpc/svc_auth.h: Likewise.
22775 * sunrpc/rpc/types.h: Likewise.
22776 * sunrpc/rpc/xdr.h: Likewise.
22777 * sunrpc/rpc_clntout.c: Likewise.
22778 * sunrpc/rpc_cmsg.c: Likewise.
22779 * sunrpc/rpc_common.c: Likewise.
22780 * sunrpc/rpc_cout.c: Likewise.
22781 * sunrpc/rpc_dtable.c: Likewise.
22782 * sunrpc/rpc_hout.c: Likewise.
22783 * sunrpc/rpc_main.c: Likewise.
22784 * sunrpc/rpc_parse.c: Likewise.
22785 * sunrpc/rpc_parse.h: Likewise.
22786 * sunrpc/rpc_prot.c: Likewise.
22787 * sunrpc/rpc_sample.c: Likewise.
22788 * sunrpc/rpc_scan.c: Likewise.
22789 * sunrpc/rpc_scan.h: Likewise.
22790 * sunrpc/rpc_svcout.c: Likewise.
22791 * sunrpc/rpc_tblout.c: Likewise.
22792 * sunrpc/rpc_util.c: Likewise.
22793 * sunrpc/rpc_util.h: Likewise.
22794 * sunrpc/rpcinfo.c: Likewise.
22795 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
22796 * sunrpc/rpcsvc/key_prot.x: Likewise.
22797 * sunrpc/rpcsvc/klm_prot.x: Likewise.
22798 * sunrpc/rpcsvc/mount.x: Likewise.
22799 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
22800 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
22801 * sunrpc/rpcsvc/rex.x: Likewise.
22802 * sunrpc/rpcsvc/rstat.x: Likewise.
22803 * sunrpc/rpcsvc/rusers.x: Likewise.
22804 * sunrpc/rpcsvc/sm_inter.x: Likewise.
22805 * sunrpc/rpcsvc/spray.x: Likewise.
22806 * sunrpc/rpcsvc/yppasswd.x: Likewise.
22807 * sunrpc/rtime.c: Likewise.
22808 * sunrpc/svc.c: Likewise.
22809 * sunrpc/svc_auth.c: Likewise.
22810 * sunrpc/svc_authux.c: Likewise.
22811 * sunrpc/svc_raw.c: Likewise.
22812 * sunrpc/svc_run.c: Likewise.
22813 * sunrpc/svc_simple.c: Likewise.
22814 * sunrpc/svc_tcp.c: Likewise.
22815 * sunrpc/svc_udp.c: Likewise.
22816 * sunrpc/svc_unix.c: Likewise.
22817 * sunrpc/svcauth_des.c: Likewise.
22818 * sunrpc/xcrypt.c: Likewise.
22819 * sunrpc/xdr.c: Likewise.
22820 * sunrpc/xdr_array.c: Likewise.
22821 * sunrpc/xdr_float.c: Likewise.
22822 * sunrpc/xdr_mem.c: Likewise.
22823 * sunrpc/xdr_rec.c: Likewise.
22824 * sunrpc/xdr_ref.c: Likewise.
22825 * sunrpc/xdr_sizeof.c: Likewise.
22826 * sunrpc/xdr_stdio.c: Likewise.
22828 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
22831 2010-08-19 Andreas Schwab <schwab@redhat.com>
22833 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
22835 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
22837 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
22838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
22839 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
22840 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
22841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
22842 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
22843 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
22844 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
22845 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
22846 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
22847 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
22848 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
22849 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
22850 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
22852 2010-07-26 Anton Blanchard <anton@samba.org>
22854 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
22855 * malloc/arena.c (heap_trim): Likewise.
22857 2010-08-16 Ulrich Drepper <drepper@redhat.com>
22859 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
22861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
22862 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
22864 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
22866 * sysdeps/i386/elf/Makefile: New file.
22868 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22870 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
22871 from fanotify_init.
22872 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
22873 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22875 2010-08-15 Ulrich Drepper <drepper@redhat.com>
22877 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
22879 * sysdeps/multiarch/strcmp.S: Likewise.
22881 2010-08-14 Ulrich Drepper <drepper@redhat.com>
22883 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
22884 strncase_l-nonascii.
22885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
22886 Add strncase_l-ssse3.
22887 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
22888 * sysdeps/x86_64/strcmp.S: Likewise.
22889 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
22890 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
22891 * sysdeps/x86_64/strncase.S: New file.
22892 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
22893 * sysdeps/x86_64/strncase_l.S: New file.
22894 * string/Makefile (strop-tests): Add strncasecmp.
22895 * string/test-strncasecmp.c: New file.
22897 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
22900 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
22901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
22903 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
22905 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
22907 2010-08-12 Ulrich Drepper <drepper@redhat.com>
22909 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
22910 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
22911 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
22913 2010-05-01 Alan Modra <amodra@gmail.com>
22915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
22916 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
22917 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
22918 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
22919 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
22920 tidying. Don't tail-call __sigjmp_save for static lib.
22921 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
22923 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
22924 (CALL_MCOUNT): Add eh info, and nop after bl.
22925 (TAIL_CALL_SYSCALL_ERROR): New macro.
22926 (PSEUDO_RET): Use it.
22927 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22928 Correct save location of integer regs and cr.
22929 (_dl_profile_resolve): Correct cr save location. Delete nops
22930 after bl when SHARED. Reduce cfi size a little by better
22931 placement of cfi directives.
22932 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
22933 make a stack frame. Instead use parm save area as a temp.
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
22935 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
22936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22937 Don't make a stack frame for parent, use parm save area.
22938 Increase child stack frame to 112 bytes. Don't save unused reg,
22939 and adjust reg usage. Set up cfi on error recovery and
22940 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
22941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22942 (__makecontext): Add dummy nop after jump to exit.
22943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
22944 Use correct parm save area and cr save, reduce stack frame.
22945 Correct cfi for possible PSEUDO_RET frame setup.
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
22947 Branch to local label emitted by PSEUDO_RET rather than
22950 2010-08-12 Andreas Schwab <schwab@redhat.com>
22953 * locale/programs/locale.c (print_assignment): New function.
22954 (show_locale_vars): Use it.
22956 2010-08-11 Ulrich Drepper <drepper@redhat.com>
22958 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
22960 (struct statfs64): Likewise.
22961 (_STATFS_F_FLAGS): Define.
22962 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
22963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22964 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
22965 (ST_VALID): Define locally.
22966 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
22967 __statvfs_getflags, use the provided value.
22968 * sysdeps/unix/sysv/linux/kernel-features.h: Define
22969 __ASSUME_STATFS_F_FLAGS.
22971 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
22973 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
22974 Add sys/fanotify.h.
22975 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
22976 fanotify_mask for GLIBC_2.13.
22977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
22978 fanotify_init and fanotify_mark.
22979 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
22980 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
22982 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
22984 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
22985 prlimit64 for GLIBC_2.13.
22986 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
22988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
22991 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22992 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
22993 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
22994 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
22996 * sysdeps/unix/sysv/linux/prlimit.c: New file.
22999 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23000 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23002 * nss/Makefile: Add rules to build and run tst-nss-test1.
23003 * shlib-versions: Add entry for libnss_test1.
23004 * nss/nss_test1.c: New file.
23005 * nss/tst-nss-test1.c: New file.
23007 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23008 (__nss_configure_lookup): Set appropriate entry in
23009 __nss_configure_lookup to true.
23010 * nss/nsswitch.h: Define enum with indeces of databases in
23011 databases and __nss_database_custom arrays. Declare
23012 __nss_database_custom.
23013 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23014 to avoid using nscd when custom rules are installed.
23015 * nss/getXXbyYY_r.c: Likewise.
23016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23018 * nss/nss_files/files-parse.c: Whitespace fixes.
23020 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23023 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23024 * posix/fnmatch_loop.c: Likewise.
23026 2010-07-17 Andi Kleen <ak@linux.intel.com>
23028 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23029 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23030 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23031 * Versions.def [GLIBC_2.13]: Add.
23033 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23036 Also fail if tpwd after pwuid call is NULL.
23038 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23040 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23041 when converting to ms.
23043 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23045 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23046 EOPNOTSUPP errors with ENOTTY.
23047 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23048 EOPNOTSUPP errors with ENOTTY.
23050 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23052 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23053 Add strcasecmp_l-ssse3.
23054 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23056 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23057 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23058 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23060 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23062 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23064 * string/Makefile (strop-tests): Add strcasecmp.
23065 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23066 strcasecmp_l-nonascii.
23067 (gen-as-const-headers): Add locale-defines.sym.
23068 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23069 * sysdeps/x86_64/strcasecmp.S: New file.
23070 * sysdeps/x86_64/strcasecmp_l.S: New file.
23071 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23072 * sysdeps/x86_64/locale-defines.sym: New file.
23073 * string/test-strcasecmp.c: New file.
23075 * string/test-strcasestr.c: Test both ends of the range of characters.
23076 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23078 2010-07-29 Roland McGrath <roland@redhat.com>
23081 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23083 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23085 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23088 2010-07-27 Andreas Schwab <schwab@redhat.com>
23090 * manual/memory.texi (Malloc Tunable Parameters): Document
23093 2010-07-26 Roland McGrath <roland@redhat.com>
23096 * configure.in (-fgnu89-inline check): Set and substitute
23097 gnu89_inline, not libc_cv_gnu89_inline.
23098 * configure: Regenerated.
23099 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23101 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23103 * string/test-strnlen.c: New file.
23104 * string/Makefile (strop-tests): Add strnlen.
23105 * string/tester.c (test_strnlen): Add a few more test cases.
23106 * string/tst-strlen.c: Better error reporting.
23108 * sysdeps/x86_64/strnlen.S: New file.
23110 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23112 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23113 lower-latency instructions.
23115 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23117 * string/test-strcasestr.c: New file.
23118 * string/test-strstr.c: New file.
23119 * string/Makefile (strop-tests): Add strstr and strcasestr.
23120 * string/str-two-way.h: Don't undefine MAX.
23121 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23123 2010-07-21 Andreas Schwab <schwab@redhat.com>
23125 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23126 strcasestr-nonascii.
23127 (CFLAGS-strcasestr-nonascii.c): Define.
23128 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23130 Remove unused attribute.
23132 2010-07-20 Roland McGrath <roland@redhat.com>
23134 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23135 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23136 ld.so.cache was broken. With it, there is no way to disable dsocaps
23137 like LD_HWCAP_MASK can disable hwcaps.
23139 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23141 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23143 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23145 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23146 call in strcasestr.
23147 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23148 __strcasestr_sse42_nonascii.
23149 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23150 strcasestr-nonascii.c.
23151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23153 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23155 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23156 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23157 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23158 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23160 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23162 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23165 2010-07-06 Andreas Schwab <schwab@redhat.com>
23168 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23171 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23174 _PC_PIPE_BUF using F_GETPIPE_SZ.
23176 2010-07-05 Roland McGrath <roland@redhat.com>
23178 * manual/arith.texi (Rounding Functions): Fix rint description
23179 implicit in round description.
23181 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23183 * elf/Makefile: Fix linking for a few tests to make recent linker
23186 2010-06-30 Andreas Schwab <schwab@redhat.com>
23188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23189 $(common-objpfx)libc_nonshared.a.
23191 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23193 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23194 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23195 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23196 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23197 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23198 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23199 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23200 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23215 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23216 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23217 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23218 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23219 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23220 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23221 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23222 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23223 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23224 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23225 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23226 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23242 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23244 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23245 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23246 * string/memmove.c (memmove): Renamed to ...
23247 (MEMMOVE): ...this. Default to memmove.
23248 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23249 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23252 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23253 mempcpy-ssse3-back memmove-ssse3-back.
23254 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23256 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23257 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23258 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23259 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23260 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23261 * sysdeps/x86_64/multiarch/memmove.c: New file.
23262 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23263 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23264 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23265 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23266 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23269 (index_Fast_Copy_Backward): Define.
23270 (HAS_ARCH_FEATURE): Define.
23271 (HAS_FAST_REP_STRING): Define.
23272 (HAS_FAST_COPY_BACKWARD): Define.
23274 2010-06-21 Andreas Schwab <schwab@redhat.com>
23276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23277 Restore proper fallback handling.
23279 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23282 * posix/group_member.c (__group_member): Correct checking loop.
23284 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23285 OOM in getpwuid_r correctly. Return error number when the caller
23286 should return, otherwise -1.
23287 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23288 call returning > 0 value.
23289 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23291 2010-06-07 Andreas Schwab <schwab@redhat.com>
23293 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23294 libc_nonshared.a from targets in modules-names.
23296 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23298 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23301 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23303 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23304 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23308 2010-06-02 Andreas Schwab <schwab@redhat.com>
23310 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23312 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23314 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23316 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23320 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23321 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23323 2010-06-14 Roland McGrath <roland@redhat.com>
23325 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23327 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23329 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23330 __REDIRECT followed by __THROW.
23331 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23332 * posix/getopt.h (getopt): Likewise.
23334 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23336 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23337 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23338 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23340 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23341 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23343 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23345 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23347 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23351 Properly check family and model.
23353 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23355 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23357 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23359 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23361 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23363 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23366 2010-05-19 Andreas Schwab <schwab@redhat.com>
23368 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23371 2010-05-21 Andreas Schwab <schwab@redhat.com>
23373 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23374 and internal_recvmmsg.
23375 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23376 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23377 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23378 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23380 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23381 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23382 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23384 2010-05-20 Andreas Schwab <schwab@redhat.com>
23386 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23388 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23390 POWER7 optimizations.
23391 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23392 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23394 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23396 * version.h: Update for 2.13 development version.
23398 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23401 exceptions. Return 0.
23403 2010-05-07 Roland McGrath <roland@redhat.com>
23405 * elf/ldconfig.c (main): Add a const.
23407 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23409 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23410 (args_options): Add no-idn option.
23411 (ahosts_keys_int): Add idn_flags to ai_flags.
23412 (parse_option): Handle 'i' option to clear idn_flags.
23414 * malloc/malloc.c (_int_free): Possible race in the most recently
23415 added check. Only act on the data if no current modification
23418 See ChangeLog.17 for earlier changes.