1 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2 Andreas Jaeger <aj@suse.de>
4 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5 * configure: Regenerated.
6 * config.h.in (LINK_OBSOLETE_RPC): Add.
7 * config.make.in (link-obsolete-rpc): Add.
8 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
9 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10 * sunrpc/Makefile (headers)[link-obsolete-rpc]: Add rpc headers.
11 (shared-only-routines): Do not use with link-obsolete-rpc.
12 * nis/Makefile (headers)[link-obsolete-rpc]: Add rpc headers.
13 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14 * sunrpc/auth_none.c: Likewise.
15 * sunrpc/auth_unix.c: Likewise.
16 * sunrpc/authdes_prot.c: Likewise.
17 * sunrpc/authuxprot.c: Likewise.
18 * sunrpc/clnt_gen.c: Likewise.
19 * sunrpc/clnt_perr.c: Likewise.
20 * sunrpc/clnt_raw.c: Likewise.
21 * sunrpc/clnt_simp.c: Likewise.
22 * sunrpc/clnt_tcp.c: Likewise.
23 * sunrpc/clnt_udp.c: Likewise.
24 * sunrpc/clnt_unix.c: Likewise.
25 * sunrpc/des_crypt.c: Likewise.
26 * sunrpc/des_soft.c: Likewise.
27 * sunrpc/get_myaddr.c: Likewise.
28 * sunrpc/key_call.c: Likewise.
29 * sunrpc/key_prot.c: Likewise.
30 * sunrpc/netname.c: Likewise.
31 * sunrpc/pm_getmaps.c: Likewise.
32 * sunrpc/pm_getport.c: Likewise.
33 * sunrpc/pmap_clnt.c: Likewise.
34 * sunrpc/pmap_prot.c: Likewise.
35 * sunrpc/pmap_prot2.c: Likewise.
36 * sunrpc/pmap_rmt.c: Likewise.
37 * sunrpc/publickey.c: Likewise.
38 * sunrpc/rpc_cmsg.c: Likewise.
39 * sunrpc/rpc_common.c: Likewise.
40 * sunrpc/rpc_dtable.c: Likewise.
41 * sunrpc/rpc_prot.c: Likewise.
42 * sunrpc/rpc_thread.c: Likewise.
43 * sunrpc/rtime.c: Likewise.
44 * sunrpc/svc.c: Likewise.
45 * sunrpc/svc_auth.c: Likewise.
46 * sunrpc/svc_raw.c: Likewise.
47 * sunrpc/svc_run.c: Likewise.
48 * sunrpc/svc_tcp.c: Likewise.
49 * sunrpc/svc_udp.c: Likewise.
50 * sunrpc/svc_unix.c: Likewise.
51 * sunrpc/svcauth_des.c: Likewise.
52 * sunrpc/xcrypt.c: Likewise.
53 * sunrpc/xdr.c: Likewise.
54 * sunrpc/xdr_array.c: Likewise.
55 * sunrpc/xdr_float.c: Likewise.
56 * sunrpc/xdr_intXX_t.c: Likewise.
57 * sunrpc/xdr_mem.c: Likewise.
58 * sunrpc/xdr_rec.c: Likewise.
59 * sunrpc/xdr_ref.c: Likewise.
60 * sunrpc/xdr_sizeof.c: Likewise.
61 * sunrpc/xdr_stdio.c: Likewise.
62 * sunrpc/Makefile (shared-only-routines): Remove, so that libc.a
65 2012-05-08 Ian Wienand <ianw@vmware.com>
68 * time/tzset.c (__tzset_parse_tz): Update default rules for
69 daylight time changes in the Energy Policy Act of 2005.
71 2012-05-09 Andreas Jaeger <aj@suse.de>
74 * elf/ldconfig.c (parse_conf): Change string to make clear that
75 ldconfig only issued a warning if ld.so.conf does not exist.
77 2012-05-08 David S. Miller <davem@davemloft.net>
79 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
80 movxtod instead of popping the value on the stack.
82 * sysdeps/sparc/fpu/libm-test-ulps: Update.
84 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
86 * config.h.in: Add HAVE_ARM_PCS_VFP.
88 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
91 * include/features.h: Warn if user requests __FORTIFY_SOURCE
92 checking but the checks are disabled for any reason.
94 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
96 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
97 and ELF64_R_TYPE with ELFW(R_TYPE).
99 2012-05-08 Joseph Myers <joseph@codesourcery.com>
101 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
104 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
105 (settimeofday): Likewise.
107 2012-05-08 Mike Frysinger <vapier@gentoo.org>
109 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
110 a struct th_u2 inside the union, and move tu_block/tu_code into
111 a new th_u3 union of tu_block/tu_code inside of that. Move
112 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
113 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
114 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
115 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
116 (th_stuff): Change to th_u1.tu_stuff.
118 (th_msg): Change to th_u1.th_u2.tu_data.
120 2012-05-07 David S. Miller <davem@davemloft.net>
122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
125 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
126 (SETUP_PIC_REG): Use it.
127 (SETUP_PIC_REG_LEAF): Use it.
129 2012-05-07 Joseph Myers <joseph@codesourcery.com>
133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
135 (EXPL_FINITE): Likewise.
137 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
138 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
140 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
142 (EXPL_FINITE): Likewise.
144 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
145 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
147 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
148 test of -max_value argument for long double.
149 * sysdeps/i386/fpu/libm-test-ulps: Update.
150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152 2012-05-06 David S. Miller <davem@davemloft.net>
154 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
155 quad soft-float symbols whose references which are compiler
157 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
159 2012-05-06 Joseph Myers <joseph@codesourcery.com>
163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
165 (EXPL_FINITE): Likewise.
169 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
170 Adjust comments for base varying.
171 (__expl_finite): Change alias to EXPL_FINITE.
172 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
174 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
175 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
176 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
177 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
180 (EXPL_FINITE): Likewise.
184 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
185 Adjust comments for base varying.
186 (__expl_finite): Change alias to EXPL_FINITE.
187 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
192 * math/libm-test.inc (check_float_internal): Correct ulp
193 calculation for subnormal expected results.
195 2012-05-06 Andreas Jaeger <aj@suse.de>
197 * Makeconfig (+math-flags): New, set to -frounding-math.
198 (+cflags): Add +math-flags so that all of glibc gets compiled with
201 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
203 2012-05-05 Joseph Myers <joseph@codesourcery.com>
205 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
211 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
212 (__ieee754_expl): Allow for and saturate large arguments.
213 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
214 (u_threshold): Likewise.
215 (__exp): Call __ieee754_exp before checking for overflow and
217 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
218 (u_threshold): Likewise.
219 (__expf): Call __ieee754_expf before checking for overflow and
221 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
222 (u_threshold): Likewise.
223 (__expl): Call __ieee754_expl before checking for overflow and
225 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
226 (__ieee754_expl): Allow for and saturate large arguments.
227 * math/libm-test.inc (exp_test): Add another test. Do not allow
228 missing overflow exception on overflow.
229 (expm1_test): Do not allow missing overflow exception on overflow.
231 * sysdeps/i386/fpu/e_expl.c: Move to ...
232 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
233 rather than using inline asm.
234 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
235 * sysdeps/x86_64/fpu/e_expl.S: Copy from
236 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
238 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
245 2012-05-04 Joseph Myers <joseph@codesourcery.com>
247 * sysdeps/unix/syscalls.list (adjtime): Add entry from
248 sysdeps/unix/common/syscalls.list.
251 (ftruncate): Likewise.
252 (getrusage): Likewise.
253 (gettimeofday): Likewise.
255 (setregid): Likewise.
256 (setreuid): Likewise.
257 (sigaction): Likewise.
258 (truncate): Likewise.
260 * sysdeps/unix/common/syscalls.list: Remove file.
261 * sysdeps/unix/bsd/Implies: Don't include unix/common.
262 * sysdeps/unix/sysv/linux/Implies: Likewise.
264 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
266 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
268 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
272 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
275 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
278 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
281 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
284 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
287 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
290 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
294 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
298 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
301 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
305 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
309 2012-05-04 Joseph Myers <joseph@codesourcery.com>
311 * sysdeps/unix/common/bits/dirent.h: Remove file.
312 * sysdeps/unix/common/bits/fcntl.h: Likewise.
314 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
315 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
316 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
317 * sysdeps/unix/bsd/isatty.c: Likewise.
318 * sysdeps/unix/bsd/tcdrain.c: Likewise.
319 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
320 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
322 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
326 long double comparison inaccuracies.
327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
330 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
332 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
333 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
335 2012-05-04 Joseph Myers <joseph@codesourcery.com>
338 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
339 nonzero digits before rounding a hex value.
340 * stdlib/tst-strtod.c (tests): Add another test.
342 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
344 * sysdeps/s390/fpu/libm-test-ulps: Update.
346 2012-05-03 Andreas Jaeger <aj@suse.de>
348 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
349 does not get optimized out.
350 (malloc_opt_barrier): New.
352 2012-05-03 Andreas Jaeger <aj@suse.de>
353 Roland McGrath <roland@hack.frob.com>
355 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
356 intermediate file deletion.
357 (generated): Add .symlist files.
359 2012-05-03 Joseph Myers <joseph@codesourcery.com>
362 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
363 Redirect under this condition.
364 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
365 [__USE_GNU] (__dprintf_chk): Not under this condition.
366 [__USE_GNU] (__vdprintf_chk): Likewise.
367 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
368 under this condition.
369 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
370 [__USE_XOPEN2K8] (dprintf): Define under this condition.
371 [__USE_XOPEN2K8] (vdprintf): Likewise.
372 [__USE_GNU] (__dprintf_chk): Not under this condition.
373 [__USE_GNU] (__vdprintf_chk): Likewise.
374 [__USE_GNU] (dprintf): Likewise.
375 [__USE_GNU] (vdprintf): Likewise.
377 2012-05-03 Roland McGrath <roland@hack.frob.com>
379 * elf/Makefile (common-generated): Set this instead of generated for
380 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
381 $(all-built-dso)-derived lists.
383 2012-05-03 Andreas Jaeger <aj@suse.de>
385 * sysdeps/i386/fpu/libm-test-ulps: Update.
389 * scripts/gen-FAQ.pl: Likewise.
390 * manual/install.texi (Installation): Point to online location of
392 * Makefile (files-for-dist): Remove FAQ.
395 2012-05-02 Allan McRae <allan@archlinux.org>
397 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
398 (LDFLAGS-reldepmod5.so): Likewise.
399 (LDFLAGS-reldep6mod1.so): Likewise.
400 (LDFLAGS-reldep6mod4.so): Likewise.
401 (LDFLAGS-reldep8mod3.so): Likewise.
402 (LDFLAGS-unload4mod1.so): Likewise.
403 (LDFLAGS-unload4mod2.so): Likewise.
404 (LDFLAGS-tst-initorder): Likewise.
405 (LDFLAGS-tst-initordera2.so): Likewise.
406 (LDFLAGS-tst-initordera3.so): Likewise.
407 (LDFLAGS-tst-initordera4.so): Likewise.
408 (LDFLAGS-tst-initorderb2.so): Likewise.
409 (LDFLAGS-noload): Likewise.
410 (LDFLAGS-next): Likewise.
411 (LDFLAGS-order2mod1.so): Likewise.
412 (LDFLAGS-order2mod2.so): Likewise.
413 (LDFLAGS-tst-initorder2): Likewise.
414 (LDFLAGS-tst-initorder2a.so): Likewise.
415 (LDFLAGS-tst-initorder2b.so): Likewise.
416 (LDFLAGS-tst-initorder2c.so): Likewise.
417 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
419 2012-05-02 David S. Miller <davem@davemloft.net>
421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
423 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
426 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
428 2012-05-02 Andreas Jaeger <aj@suse.de>
430 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
431 since we manipulate rounding mode.
432 (CPPFLAGS-test-idouble.c): Likewise.
433 (CPPFLAGS-test-ifloat.c): Likewise.
434 (CFLAGS-test-ldouble.c): Likewise.
435 (CFLAGS-test-double.c): Likewise.
436 (CFLAGS-test-float.c): Likewise.
437 (CFLAGS-test-misc.c): Likewise.
438 (CFLAGS-test-test-fenv.c): Likewise.
440 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
444 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
445 comparisons to determine direction to adjust input.
447 2012-05-01 Roland McGrath <roland@hack.frob.com>
449 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
450 output to the target.
452 * scripts/localplt.awk: New file.
453 * elf/Makefile ($(objpfx)check-localplt): Target removed.
454 (check-localplt-CFLAGS): Variable removed.
455 ($(all-built-dso:=.jmprel)): New static pattern rule.
456 (generated): Add those targets.
457 (localplt-built-dso): New variable.
458 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
460 * elf/check-localplt.c: File removed.
462 * scripts/check-execstack.awk: New file.
463 * elf/Makefile ($(objpfx)check-execstack): Target removed.
464 (check-execstack-CFLAGS): Variable removed.
465 ($(objpfx)check-execstack.h): Target removed.
466 ($(objpfx)execstack-default): New target.
467 (generated): Add that instead of check-execstack.h.
468 ($(all-built-dso:=.phdr)): New static pattern rule.
469 (generated): Add those targets.
470 * elf/check-execstack.c: File removed.
472 * scripts/check-textrel.awk: New file.
473 * elf/Makefile ($(objpfx)check-textrel): Target removed.
474 (check-textrel-CFLAGS): Variable removed.
475 (all-built-dso): Use := to define.o
476 ($(all-built-dso:=.dyn)): New static pattern rule.
477 (generated): Add those targets.
478 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
479 * config.make.in (READELF): New substituted variable.
480 * elf/check-textrel.c: File removed.
482 2012-05-01 Joseph Myers <joseph@codesourcery.com>
484 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
486 * conform/data/ctype.h-data [C99-based standards] (isblank):
488 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
489 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
491 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
492 Specify type. Require positive value.
495 [ISO || POSIX] (EILSEQ): Do not expect.
496 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
497 Specify type. Require positive value.
498 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
499 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
500 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
501 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
502 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
503 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
504 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
505 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
506 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
507 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
508 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
509 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
510 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
511 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
512 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
513 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
514 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
515 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
516 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
517 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
518 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
519 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
520 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
521 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
522 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
523 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
524 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
525 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
526 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
527 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
528 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
529 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
530 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
531 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
532 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
533 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
534 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
535 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
536 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
537 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
538 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
539 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
540 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
541 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
542 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
543 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
544 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
545 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
546 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
547 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
548 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
549 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
550 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
551 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
552 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
553 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
554 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
555 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
556 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
557 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
558 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
559 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
560 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
561 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
562 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
563 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
564 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
565 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
566 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
567 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
568 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
569 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
570 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
571 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
572 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
573 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
574 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
576 (FLT_ROUNDS): Expect as macro, not constant.
577 (FLT_MANT_DIG): Use macro-int-constant.
578 (DBL_MANT_DIG): Likewise.
579 (LDBL_MANT_DIG): Likewise.
582 (LDBL_DIG): Likewise.
583 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
584 (DBL_MIN_EXP): Likewise.
585 (LDBL_MIN_EXP): Likewise.
586 (FLT_MAX_EXP): Use macro-int-constant.
587 (DBL_MAX_EXP): Likewise.
588 (LDBL_MAX_EXP): Likewise.
589 (FLT_MAX_10_EXP): Likewise.
590 (DBL_MAX_10_EXP): Likewise.
591 (LDBL_MAX_10_EXP): Likewise.
592 (FLT_MAX): Use macro-constant.
594 (LDBL_MAX): Likewise.
595 (FLT_EPSILON): Use macro-constant. Give upper bound.
596 (DBL_EPSILON): Likewise.
597 (LDBL_EPSILON): Likewise.
600 (LDBL_MIN): Likewise.
601 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
602 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
603 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
604 [ISO11] (FLT_HAS_SUBNORM): Likewise.
605 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
606 [ISO11] (DBL_DECIMAL_DIG): Likewise.
607 [ISO11] (FLT_DECIMAL_DIG): Likewise.
608 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
609 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
610 [ISO11] (FLT_TRUE_MIN): Likewise.
611 [ISO11] (LDBL_TRUE_MIN): Likewise.
612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
613 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
614 (SCHAR_MIN): Use macro-int-constant. Specify type.
615 (SCHAR_MAX): Likewise.
616 (UCHAR_MAX): Likewise.
617 (CHAR_MIN): Likewise.
618 (CHAR_MAX): Likewise.
619 (MB_LEN_MAX): Use macro-int-constant.
620 (SHRT_MIN): Use macro-int-constant. Specify type.
621 (SHRT_MAX): Likewise.
622 (USHRT_MAX): Likewise.
624 (INT_MIN): Use macro-int-constant. Specify type. Make upper
626 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
628 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
630 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
631 bound negative. Suffix upper bound with "L".
632 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
634 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
636 [C99-based standards] (LLONG_MAX): Likewise.
637 [C99-based standards] (ULLONG_MAX): Likewise.
638 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
640 [ISO11] (max_align_t): Require type.
641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
643 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
644 from $CFLAGS, without defining away __attribute__ calls.
645 (checknamespace): Use $CFLAGS_namespace.
647 * conform/conformtest.pl (@keywords): Only include C99 keywords
648 for standards based on C99 or C11.
650 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
652 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
655 * conform/conformtest.pl: Handle "macro-int-constant" and test for
656 usability of symbols in #if.
658 * conform/conformtest.pl: If macro or constant types start
659 "promoted:", expect the symbol to be of the following type
660 promoted by the integer promotions.
662 * conform/conformtest.pl: Parse all "constant" and "macro" lines
663 in one place. Also handle "macro-constant".
665 * conform/conformtest.pl: Only accept expected macro values with
666 "==". Parse all "macro" lines in one place.
667 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
669 * conform/conformtest.pl: Handle braced types on "constant" lines
670 instead of handling "typed-constant".
671 * conform/data/signal.h-data: Use "constant" instead of
674 * conform/conformtest.pl: Handle "optional-" at start of lines in
675 one place rather than duplicating several cases. Handle each
676 format of "macro" line with initial "optional-".
678 * conform/conformtest.pl: Only accept expected constant or
679 optional-constant values with "==". Parse all "constant" lines in
680 one place. Parse all "optional-constant" lines in one place.
681 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
682 * conform/data/fmtmsg.h-data: Likewise.
683 * conform/data/netinet/in.h-data: Likewise.
684 * conform/data/tar.h-data: Likewise.
685 * conform/data/limits.h-data: Use "==" form on "constant" and
686 "optional-constant" lines.
688 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
689 Use -std=c99 for XOPEN2K.
690 (@knownproblems): Remove.
691 (newtoken): Don't check %isknown.
693 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
695 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
696 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
697 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
698 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
699 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
700 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
701 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
702 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
703 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
704 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
705 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
706 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
707 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
708 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
709 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
710 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
711 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
712 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
713 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
714 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
715 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
716 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
717 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
719 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
720 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
721 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
722 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
723 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
724 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
725 [XPG3] (acosh): Likewise.
726 [XPG3] (asinh): Likewise.
727 [XPG3] (atanh): Likewise.
728 [XPG3] (cbrt): Likewise.
729 [XPG3] (expm1): Likewise.
730 [XPG3] (ilogb): Likewise.
731 [XPG3] (log1p): Likewise.
732 [XPG3] (logb): Likewise.
733 [XPG3] (nextafter): Likewise.
734 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
735 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
736 [XPG3] (remainder): Likewise.
737 [XPG3] (rint): Likewise.
738 [XPG3 || XPG4 || UNIX98] (round): Likewise.
739 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
740 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
741 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
742 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
743 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
744 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
745 [UNIX98 || XOPEN2K] (scalb): Expect.
746 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
747 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
748 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
749 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
750 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
751 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
752 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
753 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
754 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
755 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
756 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
757 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
758 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
759 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
760 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
761 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
762 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
763 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
764 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
765 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
766 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
767 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
768 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
769 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
770 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
771 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
772 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
773 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
774 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
775 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
776 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
777 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
778 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
779 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
780 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
781 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
782 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
783 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
784 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
785 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
786 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
787 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
788 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
789 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
790 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
791 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
792 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
793 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
794 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
795 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
796 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
797 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
798 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
799 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
800 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
801 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
802 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
803 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
804 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
805 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
806 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
807 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
808 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
809 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
810 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
811 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
812 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
813 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
814 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
815 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
816 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
817 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
818 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
819 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
820 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
821 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
822 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
823 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
824 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
825 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
826 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
827 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
828 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
829 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
830 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
831 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
832 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
833 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
834 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
835 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
836 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
837 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
838 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
839 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
840 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
841 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
842 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
843 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
844 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
845 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
846 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
847 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
848 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
849 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
850 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
851 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
852 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
853 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
854 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
855 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
856 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
857 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
858 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
859 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
860 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
861 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
862 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
863 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
864 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
865 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
866 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
867 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
868 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
869 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
870 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
871 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
872 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
873 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
874 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
875 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
876 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
877 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
878 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
879 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
880 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
881 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
882 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
884 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
885 _XOPEN_SOURCE_EXTENDED for XPG4.
887 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
889 * Makeconfig (localtime): Remove variable.
890 (inst_localtime-file): Likewise.
892 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
913 2012-05-01 Joseph Myers <joseph@codesourcery.com>
917 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
918 comparisons to determine direction to adjust input.
919 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
920 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
921 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
923 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
927 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
928 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
930 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
932 * math/libm-test.inc (nexttoward_test): Add more tests.
934 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
938 in version GLIBC_2.1, not GLIBC_2.0.
939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
942 2012-04-30 Joseph Myers <joseph@codesourcery.com>
945 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
947 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
948 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
949 * math/libm-test.inc (acos_test): Add more tests.
950 (asin_test): Likewise.
951 * sysdeps/i386/fpu/libm-test-ulps: Update.
952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
955 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
957 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
958 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
959 * math/libm-test.inc (acos_test_tonearest): New function.
960 (acos_test_towardzero): Likewise.
961 (acos_test_downward): Likewise.
962 (acos_test_upward): Likewise.
963 (asin_test_tonearest): Likewise.
964 (asin_test_towardzero): Likewise.
965 (asin_test_downward): Likewise.
966 (asin_test_upward): Likewise.
967 (main): Call the new functions.
968 * sysdeps/i386/fpu/libm-test-ulps: Update.
969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
973 * math/e_exp10.c: Include <float.h>.
974 (__ieee754_exp10): Handle underflow here rather than multiplying
975 large negative argument by M_LN10.
976 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
978 * math/e_exp10l.c: Include <float.h>.
979 (__ieee754_exp10l): Handle underflow here rather than multiplying
980 large negative argument by M_LN10l.
981 * math/libm-test.inc (exp10_test): Add another test. Do not allow
982 spurious overflow exception on underflow.
984 2012-04-29 Marek Polacek <polacek@redhat.com>
986 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
987 (__fortify_function): New macro.
988 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
989 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
990 __extern_always_inline.
991 * libio/bits/stdio2.h: Likewise.
992 * libio/bits/stdio.h: Likewise.
993 * string/string.h: Likewise.
994 * string/bits/string3.h: Likewise.
995 * include/stdio.h: Likewise.
996 * stdlib/bits/stdlib.h: Likewise.
997 * stdlib/stdlib.h: Likewise.
998 * rt/bits/mqueue2.h: Likewise.
999 * rt/mqueue.h: Likewise.
1000 * posix/bits/unistd.h: Likewise.
1001 * posix/unistd.h: Likewise.
1002 * io/bits/poll2.h: Likewise.
1003 * io/bits/fcntl2.h: Likewise.
1004 * io/fcntl.h: Likewise.
1005 * io/sys/poll.h: Likewise.
1006 * misc/bits/syslog.h: Likewise.
1007 * misc/bits/syslog-ldbl.h: Likewise.
1008 * misc/sys/syslog.h: Likewise.
1009 * socket/bits/socket2.h: Likewise.
1010 * socket/sys/socket.h: Likewise.
1011 * debug/tst-chk1.c: Likewise.
1012 * wcsmbs/bits/wchar2.h: Likewise.
1013 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1014 * wcsmbs/wchar.h: Likewise.
1016 2012-04-29 Andreas Jaeger <aj@suse.de>
1018 * Makerules (tests): Remove enable-check-abi protection.
1019 (check-abi-warn): Remove.
1020 (check-abi-%): Remove check-abi-warn usage.
1022 * configure.in: Remove check-abi configure option.
1023 * configure: Regenerated.
1024 * config.make.in (enable-check-abi): Remove.
1026 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1029 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1030 double functions to double *_finite functions.
1033 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1034 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1036 * stdio-common/Makefile (tests): Add tst-sprintf3.
1037 * stdio-common/tst-sprintf3.c: New file.
1039 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1040 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1042 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1044 * conform/conformtest.pl: Remove duplicate typed-constant
1047 2012-04-28 David S. Miller <davem@davemloft.net>
1049 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1050 (check-abi-%): Remove AWK script prerequisite and explicit
1052 (check-abi): Rewrite to just diff the symlist with the abilist.
1053 (config-tls, config-abi-config): Delete, no longer used.
1054 (update-abi-%): Remove AWK script and explicit abilist directory.
1055 (update-abi): Rewrite to simply compare and conditionally copy the
1056 symlist and the sysdep abilist file. Remove update-abi-config
1058 * abilist/ld.abilist: Remove.
1059 * abilist/libBrokenLocale.abilist: Remove.
1060 * abilist/libanl.abilist: Remove.
1061 * abilist/libcrypt.abilist: Remove.
1062 * abilist/libdl.abilist: Remove.
1063 * abilist/librt.abilist: Remove.
1064 * abilist/libthread_db.abilist: Remove.
1065 * abilist/libutil.abilist: Remove.
1066 * scripts/extract-abilist.awk: Remove.
1067 * scripts/merge-abilist.awk: Remove.
1068 * sysdeps/generic/libcidn.abilist: New file.
1069 * sysdeps/generic/libnss_compat.abilist: New file.
1070 * sysdeps/generic/libnss_db.abilist: New file.
1071 * sysdeps/generic/libnss_dns.abilist: New file.
1072 * sysdeps/generic/libnss_files.abilist: New file.
1073 * sysdeps/generic/libnss_hesiod.abilist: New file.
1074 * sysdeps/generic/libnss_nis.abilist: New file.
1075 * sysdeps/generic/libnss_nisplus.abilist: New file.
1076 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1077 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1078 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1081 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1082 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1083 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1084 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1085 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1086 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1087 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1088 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1090 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1091 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1092 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1093 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1095 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1096 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1097 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1098 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1099 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1100 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1102 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1103 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1104 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1106 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1209 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1210 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1211 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1214 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1215 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1216 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1217 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1218 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1219 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1220 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1221 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1222 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1274 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1276 * conform/conformtest.pl: Fix typo in handling typed-constant from
1279 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1281 * README: Cut down references to pre-2.6 Linux kernels and
1282 Linuxthreads. Update lists of configurations in libc and ports
1283 and sort alphabetically. Say "or newer" with Linux kernel version
1286 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1288 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1291 * math/libm-test.inc (logb_test_downward): New test to expose
1292 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1295 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1298 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1300 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1301 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1303 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1305 * sysdeps/unix/i386/brk.S: Remove file.
1306 * sysdeps/unix/i386/dl-brk.S: Likewise.
1307 * sysdeps/unix/i386/pipe.S: Likewise.
1308 * sysdeps/unix/i386/sigreturn.S: Likewise.
1309 * sysdeps/unix/i386/syscall.S: Likewise.
1310 * sysdeps/unix/i386/vfork.S: Likewise.
1311 * sysdeps/unix/i386/wait.S: Likewise.
1313 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1314 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1316 * configure.in (arm*-none*): Do not allow without
1317 --enable-hacker-mode.
1318 (netbsd*): Remove case setting base_os.
1319 (386bsd*): Likewise.
1320 (freebsd*): Likewise.
1324 (ultrix*): Likewise.
1325 (newsos*): Likewise.
1335 (solaris[2-9]*): Likewise.
1337 * configure: Regenerated.
1339 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1342 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1343 overflow or cancellation in calculating denominator.
1344 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1346 down expression to avoid unexpected rounding in newer GCCs.
1347 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1349 2012-04-26 David S. Miller <davem@davemloft.net>
1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1352 long-double compat symbols.
1353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1367 2012-04-25 David S. Miller <davem@davemloft.net>
1369 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1370 HWCAP_* values only after the memory barriers have been defined.
1371 (atomic_full_barrier): Define.
1372 (atomic_read_barrier): Define.
1373 (atomic_write_barrier): Define.
1375 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1377 * shlib-versions: Add libgcc_s version information.
1378 * sysdeps/generic/libgcc_s.h: Remove.
1379 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1381 * sysdeps/gnu/unwind-resume.c: Likewise.
1382 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1384 2012-04-25 David S. Miller <davem@davemloft.net>
1386 * sysdeps/unix/sparc/brk.S: Delete.
1387 * sysdeps/unix/sparc/dl-brk.S: Delete.
1388 * sysdeps/unix/sparc/pipe.S: Delete.
1389 * sysdeps/unix/sparc/sysdep.S: Delete.
1390 * sysdeps/unix/sparc/sysdep.h: Delete.
1391 * sysdeps/unix/sparc/vfork.S: Delete.
1392 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1393 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1395 ret_ERRVAL, r0, r1, MOVE): Define.
1396 (JUMPTARGET): Remove.
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1398 sysdeps/unix/sparc/sysdep.h
1399 (ENTRY, END): Remove.
1400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1402 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1404 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1405 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1408 * timezone/README: Update upstream location and email address for
1410 * timezone/zdump.c: Update from tzcode 2012b.
1411 * timezone/zic.c: Likewise.
1413 * configure.in (libc_cv_as_needed): Remove test.
1414 * configure: Regenerated.
1415 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1416 conditional definition.
1417 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1418 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1419 * config.make.in (have-as-needed): Remove variable.
1421 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1422 Paul Pluzhnikov <ppluzhnikov@google.com>
1424 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1427 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1429 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1430 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1431 * sysdeps/sh/strlen.S: Likewise.
1433 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1435 * sysdeps/unix/fork.S: Remove file.
1436 * sysdeps/unix/i386/fork.S: Likewise.
1437 * sysdeps/unix/sparc/fork.S: Likewise.
1439 * sysdeps/unix/system.c: Remove file.
1440 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1442 * sysdeps/unix/getegid.S: Remove file.
1443 * sysdeps/unix/geteuid.S: Likewise.
1445 2012-04-24 Roland McGrath <roland@hack.frob.com>
1447 * scripts/check-localplt.awk: New file.
1448 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1450 * scripts/data/localplt-generic.data: Add a comment.
1452 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1453 NODE when __dir_mkfile failed.
1454 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1455 Reported by Ludovic Courtès <ludo@gnu.org>.
1457 2012-04-24 Andreas Jaeger <aj@suse.de>
1459 * Makerules (common-clean): Also remove gen-as-const-headers
1462 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1464 * Makerules (native-compile): Do not change working directory for
1465 build. Use $(OUTPUT_OPTION) in command.
1466 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1468 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1472 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1473 * math/libm-test.inc (floor_test): Add more tests.
1474 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1476 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1478 * sysdeps/unix/getdents.c: Remove file.
1479 * sysdeps/unix/sysv/getdents.c: Likewise.
1480 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1482 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1483 sysdeps/unix/mman/syscalls.list.
1485 (mprotect): Likewise.
1488 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1489 * sysdeps/unix/mman/syscalls.list: Remove.
1490 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1492 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1493 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1494 * configure: Regenerated.
1495 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1497 * config.make.in (libgcc_s_suffix): Remove variable.
1499 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1501 * sysdeps/unix/sysv/gethostname.c: Move to ...
1502 * sysdeps/posix/gethostname.c: ... here.
1504 * sysdeps/unix/execve.S: Remove file.
1506 * sysdeps/unix/_exit.S: Remove file.
1508 2012-04-23 Andreas Jaeger <aj@suse.de>
1511 * manual/Makefile: Remove make dist support, there's no
1512 need for a stand-alone documentation tar ball.
1513 (TEXI2DVI): Define always, it's not in Makeconfig.
1517 (glibc-doc-$(edition).tar): Removed
1521 (ETAGS): Remove, it's in Makeconfig.
1522 (move-if-change): Remove, it's in Makeconfig.
1524 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1527 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1528 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1529 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1530 (strtod_l, strtof_l, strtold_l): Remove __wur.
1531 It is not necessarily an error to ignore strtol's return value.
1532 One can reliably look at the stored endptr to decide whether
1533 the number had valid syntax.
1535 2012-04-21 Andreas Jaeger <aj@suse.de>
1538 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1540 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1542 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1543 * sysdeps/unix/sysv/Versions: Remove file.
1545 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1550 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1554 version from __vm86.
1556 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1558 * sysdeps/unix/common/lxstat.c: Remove file.
1559 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1561 * sysdeps/unix/sysv/Makefile: Remove file.
1563 * sysdeps/unix/sysv/direct.h: Remove file.
1565 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1566 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1567 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1568 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1569 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1570 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1571 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1573 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1575 * sysdeps/unix/xmknod.c: Remove file.
1576 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1578 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1580 * sysdeps/unix/sysv/i386/time.S: Remove file.
1582 * sysdeps/unix/fxstat.c: Remove file.
1583 * sysdeps/unix/xstat.c: Likewise.
1584 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1586 * sysdeps/unix/sysv/sigaction.c: Remove file.
1588 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1589 (sysdep_headers): Remove variable.
1590 [termio.h not in sysdep_headers] (generated): Likewise.
1591 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1592 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1593 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1594 * sysdeps/unix/sysv/tcflow.c: Likewise.
1595 * sysdeps/unix/sysv/tcflush.c: Likewise.
1596 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1597 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1598 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1599 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1600 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1602 * sysdeps/unix/siglist.c: Remove file.
1604 * sysdeps/unix/getppid.S: Remove file.
1606 * sysdeps/unix/mkdir.c: Remove file.
1607 * sysdeps/unix/rmdir.c: Likewise.
1609 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1611 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1613 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1614 errlist-compat value.
1616 2012-04-18 David S. Miller <davem@davemloft.net>
1618 * sysdeps/generic/memcopy.h (reg_char): Delete.
1619 * debug/strcat_chk.c: Use char, not reg_char.
1620 * debug/strcpy_chk.c: Likewise.
1621 * debug/strncat_chk.c: Likewise.
1622 * debug/strncpy_chk.c: Likewise.
1623 * string/memchr.c: Likewise.
1624 * string/memrchr.c: Likewise.
1625 * string/rawmemchr.c: Likewise.
1626 * string/strcat.c: Likewise.
1627 * string/strchr.c: Likewise.
1628 * string/strchrnul.c: Likewise.
1629 * string/strcmp.c: Likewise.
1630 * string/strcpy.c: Likewise.
1631 * string/strncat.c: Likewise.
1632 * string/strncmp.c: Likewise.
1633 * string/strncpy.c: Likewise.
1635 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1637 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1638 __builtin_memcopy is called when src and dest ranges are known to not
1641 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1643 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1644 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1645 fwd_align_merge macro call.
1646 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1647 bwd_align_merge macro call.
1648 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1650 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1652 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1653 bwd_align_merge macros.
1654 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1655 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1656 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1658 2012-04-18 David S. Miller <davem@davemloft.net>
1660 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1662 2012-04-18 Andreas Jaeger <aj@suse.de>
1665 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1666 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1667 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1670 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1671 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1673 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1674 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1675 Adjust for changed ldbl-128 files.
1677 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1678 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1679 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1681 2012-04-17 David S. Miller <davem@davemloft.net>
1683 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1685 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1687 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1688 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1689 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1690 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1691 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1692 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1694 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1697 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1698 * math/libm-test.inc: Add ilogb errno and exception tests.
1699 * math/w_ilogb.c: New file: ilogb wrapper.
1700 * math/w_ilogbf.c: New file: ilogbf wrapper.
1701 * math/w_ilogbl.c: New file: ilogbl wrapper.
1702 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1703 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1704 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1705 exception being thrown with 0.0 as argument.
1706 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1707 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1708 exception being thrown with 0.0 as argument.
1709 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1710 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1711 exception being thrown with 0.0 as argument.
1712 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1713 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1714 exception being thrown with 0.0 as argument.
1715 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1716 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1717 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1718 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1719 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1720 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1721 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1722 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1723 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1725 2012-04-17 Petr Baudis <pasky@ucw.cz>
1727 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1730 2012-04-16 Marek Polacek <polacek@redhat.com>
1732 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1734 2012-04-16 Marek Polacek <polacek@redhat.com>
1736 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1737 operands of fdivp instruction.
1739 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1741 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1742 * elf/tst-auditmod3b.c: Likewise.
1743 * elf/tst-auditmod4b.c: Likewise.
1744 * elf/tst-auditmod5b.c: Likewise.
1745 * elf/tst-auditmod6b.c: Likewise.
1746 * elf/tst-auditmod6c.c: Likewise.
1747 * elf/tst-auditmod7b.c: Likewise.
1748 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1749 * sysdeps/x86_64/preconfigure.in: Likewise.
1750 * sysdeps/x86_64/preconfigure: Regenerated.
1752 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1754 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1757 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1760 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1762 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1765 * locale/iso-639.def: Fix gl language name. Spotted by
1768 2012-04-12 Roland McGrath <roland@hack.frob.com>
1771 * libio/libio.h (__io_write_fn): Update comment.
1773 2012-04-12 Petr Baudis <pasky@ucw.cz>
1776 * stdio.texi (Hook Functions): The user provided writer function
1777 is not allowed to return -1.
1779 2012-04-11 David S. Miller <davem@davemloft.net>
1781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1783 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1785 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1786 Add a leading slash to rtkaio.
1788 2012-04-11 Jim Meyering <meyering@redhat.com>
1791 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1792 It is not necessarily an error to ignore fwrite's return
1793 value. One can reliably use ferror to test for errors after
1796 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1798 * bits/types.h (__snseconds_t): New type.
1799 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1801 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1803 (__SNSECONDS_T_TYPE): Likewise.
1804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1805 (__SNSECONDS_T_TYPE): Likewise.
1806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1807 (__SNSECONDS_T_TYPE): Likewise.
1809 2012-04-10 Andreas Jaeger <aj@suse.de>
1812 * manual/time.texi (Processor Time): Return type of times is
1813 elapsed real time since an arbitrary point in the past.
1814 (CPU Time): Move CLK_TCK from here...
1815 (Processor Time): ...to here. Correct description.
1816 * manual/conf.texi (Constants for Sysconf): Correct description of
1819 2012-04-10 David S. Miller <davem@davemloft.net>
1822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1823 where the is a gap between DT_REL(A) and DT_JMPREL.
1825 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1827 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1828 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1829 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1831 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1833 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1834 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1835 (dl_main): Handle --inhibit-cache.
1836 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1838 * elf/dl-load.c (_dl_map_object): Use it.
1839 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1841 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1844 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1845 (__ieee754_powl): Saturate large exponents rather than testing for
1846 overflow of y*log2(x).
1847 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1848 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1852 * math/s_ctan.c: Include <float.h>.
1853 (__ctan): Avoid internal overflow or cancellation in calculating
1855 * math/s_ctanf.c: Likewise.
1856 * math/s_ctanl.c: Likewise.
1857 * math/s_ctanh.c: Likewise.
1858 * math/s_ctanhf.c: Likewise.
1859 * math/s_ctanhl.c: Likewise.
1860 * math/libm-test.inc (ctan_test): Add more tests.
1861 (ctanh_test): Likewise.
1862 * sysdeps/i386/fpu/libm-test-ulps: Update.
1863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1865 2012-04-09 Andreas Jaeger <aj@suse.de>
1868 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1869 is an optional BSD extension.
1872 * manual/stdio.texi (Opening Streams): Document additional fopen
1875 2012-04-09 Roland McGrath <roland@hack.frob.com>
1877 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1878 %eax without telling the compiler.
1880 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1883 * manual/install.texi: Use sourceware.org.
1885 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1888 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1889 (__ieee754_pow): Generate overflow and underflow using huge*huge
1890 and tiny*tiny rather than just returning constant infinity or zero
1891 for large exponents.
1892 * math/libm-test.inc (pow_test): Require overflow exceptions for
1893 applicable cases of large exponents.
1896 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1897 (__ieee754_pow): Use iterative multiplication algorithm only for
1898 integer exponents with absolute value below 1024. Check for odd
1899 integer exponents when using algorithm for real exponents.
1900 * math/libm-test.inc (pow_test): Add more tests.
1901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1903 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1906 * math/libm-test.inc (exp_test): Do not allow overflow exception
1909 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1912 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1913 instead of __kernel_standard_f.
1915 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1917 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1918 * sysdeps/x86_64/memset_chk.S: Likewise.
1920 2012-04-08 Andreas Jaeger <aj@suse.de>
1923 * manual/startup.texi (Environment Access): Describe return value
1924 for putenv and setenv.
1927 * manual/filesys.texi (Directory Entries): Add description for
1931 * manual/filesys.texi (Directory Entries): Clarify that it's file
1932 system not operating system in the description of DT_UNKNOWN.
1935 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1937 2012-04-08 Stephen Compall <s11@member.fsf.org>
1940 * manual/llio.texi (Opening and Closing Files): Add cross
1941 reference to explain mode argument.
1943 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1945 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1946 * sysdeps/x86_64/memset_chk.S: Likewise.
1948 2012-04-07 David S. Miller <davem@davemloft.net>
1950 * elf/elf.h (R_SPARC_WDISP10): Define.
1951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1954 R_SPARC_SIZE64 and R_SPARC_H34.
1956 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1959 conditions and remove no longer applicable assertion.
1961 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1963 * bits/byteswap.h: Include <features.h>.
1964 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1965 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1967 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1969 * bits/byteswap.h (__bswap_16): Removed.
1970 Include <bits/byteswap-16.h> to get __bswap_16.
1971 * sysdeps/i386/bits/byteswap.h: Likewise.
1972 * sysdeps/s390/bits/byteswap.h: Likewise.
1973 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1974 * bits/byteswap-16.h: New file.
1975 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1976 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1977 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1978 * string/Makefile (headers): Add bits/byteswap-16.h.
1980 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1983 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1985 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1986 * nss/tst-nss-static.c: New.
1988 2012-04-06 Robert Millan <rmh@gnu.org>
1991 * manual/llio.texi (File Position Primitive): lseek
1992 refers to WHENCE when it really means OFFSET.
1994 2012-04-06 Andreas Jaeger <aj@suse.de>
1996 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1997 strncmp declarations.
1999 * abilist/libc.abilist: Add __poll and __ppoll.
2001 2012-04-05 David S. Miller <davem@davemloft.net>
2003 * scripts/check-local-headers.sh: Accept a host triplet in the
2004 path matched by the exclude regexp.
2006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2008 * sysdeps/powerpc/powerpc32/dl-machine.h
2009 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2010 * sysdeps/s390/s390-32/dl-machine.h
2011 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2012 * sysdeps/sparc/sparc32/dl-machine.h
2013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2014 * sysdeps/sparc/sparc64/dl-machine.h
2015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2017 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2019 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2020 undefined symbol errors.
2022 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2025 2012-04-05 Michael Matz <matz@suse.de>
2028 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2030 2012-04-05 Andreas Jaeger <aj@suse.de>
2033 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2036 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2039 which ROUND is no valid rounding mode.
2041 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2043 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2045 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2047 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2049 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2050 an exception using FPU order intentionally.
2052 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2054 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2055 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2056 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2057 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2059 2012-04-05 Simon Josefsson <simon@josefsson.org>
2062 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2063 EINVAL when BUFLEN is too smal.
2065 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2068 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2069 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2071 2012-04-03 Andreas Jaeger <aj@suse.de>
2074 * manual/setjmp.texi (System V contexts): Fix sentence.
2077 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2078 New macro for this case.
2079 [!__GNUC__] (__bswap_64): New inline function for this case.
2080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2081 * bits/byteswap.h: Likewise.
2082 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2083 ull, guard with __GLIBC_HAVE_LONG_LONG.
2085 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2086 __GLIBC_HAVE_LONG_LONG.
2088 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2089 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2091 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2094 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2095 inptr and inend, rather than using last_ch.
2097 2012-04-02 David S. Miller <davem@davemloft.net>
2099 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2100 * stdio-common/printf-parse.h (read_int): Change return type to
2101 'int', return -1 on INT_MAX overflow.
2102 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2103 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2104 overflows INT_MAX. Check for overflow of in-format-string precision
2105 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2106 SIZE_MAX not INT_MAX for integer overflow test.
2107 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2108 skip the construct in the format string but do not record anything.
2109 * stdio-common/bug22.c: Adjust to test both width/prevision
2110 INT_MAX overflow as well as total length INT_MAX overflow. Check
2111 explicitly for proper errno values.
2113 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2115 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2117 * string/test-strcmp.c [! WIDE]: Likewise.
2118 * time/tst-mktime2.c: Likewise for INT_MAX.
2119 * string/test-string.h: #include <sys/param.h> for MIN.
2121 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2122 * sysdeps/i386/init-first.c (init): Likewise.
2123 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2124 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2125 * sysdeps/sh/init-first.c (init): Likewise.
2127 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2129 * po/ru.po: Update from translation team.
2130 * po/vi.po: Likewise.
2132 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2134 * resolv/nss_dns/dns-host.c: Merge copyright years.
2136 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2139 Optimize memcpy with prefetch if
2140 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2141 src, dst pointers have unequal 16 byte alignments.
2143 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2146 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2147 from a CNAME entry and return the minimum ttl for the query.
2148 (gaih_getanswer_slice): Likewise.
2150 2012-03-30 Jeff Law <law@redhat.com>
2152 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2154 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2155 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2157 * resolv/nss_dns/dns-host.c: Update copyright year.
2159 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2161 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2162 requests to save a system call. Fix check that all bytes are sent.
2164 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2165 comments for sendmmsg.
2167 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2170 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2171 with only 1 character between 0x0041 and 0x01b0.
2172 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2173 * wcsmbs/tst-mbsnrtowcs.c: New file.
2175 2012-03-29 David S. Miller <davem@davemloft.net>
2177 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2178 small copies by hand.
2180 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2183 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2184 _nss_compat_initgroups_dyn): Fall back to malloc/free
2185 for large group memberships.
2187 2012-03-28 David S. Miller <davem@davemloft.net>
2189 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2190 that branches into memcpy.
2191 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2194 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2197 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2199 * sysdeps/sparc/mempcpy.S: New file.
2201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2202 the IFUNC routine in the libc case.
2203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2205 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2206 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2207 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2208 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2209 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2210 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2211 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2212 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2214 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2215 loop to 256 bytes instead of 64 bytes and fix test signedness.
2217 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2218 * sysdeps/sparc/sparc32/Makefile: rather than here...
2219 * sysdeps/sparc/sparc64/Makefile: and here.
2221 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2223 * malloc/mallocbug.c: Avoid warnings about unused variables.
2225 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2228 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2229 in the right place. Discard and retry query if response is
2230 larger than input buffer size.
2232 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2237 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2238 x for large integer exponent.
2239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2240 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2241 sign of result as needed afterwards.
2242 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2243 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2244 result for underflowing pow the same as for overflow.
2245 (__kernel_standard_l): Handle powl overflow and underflow here
2246 rather than calling __kernel_standard.
2247 * math/libm-test.inc (pow_test): Add more tests.
2262 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2263 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2264 (__kernel_standard_l): New function.
2265 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2267 * math/w_acosl.c (__acosl): Likewise.
2268 * math/w_asinl.c (__asinl): Likewise.
2269 * math/w_atan2l.c (__atan2l): Likewise.
2270 * math/w_atanhl.c (__atanhl): Likewise.
2271 * math/w_coshl.c (__coshl): Likewise.
2272 * math/w_exp10l.c (__exp10l): Likewise.
2273 * math/w_exp2l.c (__exp2l): Likewise.
2274 * math/w_fmodl.c (__fmodl): Likewise.
2275 * math/w_hypotl.c (__hypotl): Likewise.
2276 * math/w_j0l.c (__j0l, __y0l): Likewise.
2277 * math/w_j1l.c (__j1l, __y1l): Likewise.
2278 * math/w_jnl.c (__jnl, __ynl): Likewise.
2279 * math/w_lgammal.c (__lgammal): Likewise.
2280 * math/w_log10l.c (__log10l): Likewise.
2281 * math/w_log2l.c (__log2l): Likewise.
2282 * math/w_logl.c (__logl): Likewise.
2283 * math/w_powl.c (__powl): Likewise.
2284 * math/w_remainderl.c (__remainderl): Likewise.
2285 * math/w_scalbl.c (sysv_scalbl): Likewise.
2286 * math/w_sinhl.c (__sinhl): Likewise.
2287 * math/w_sqrtl.c (__sqrtl): Likewise.
2288 * math/w_tgammal.c (__tgammal): Likewise.
2289 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2290 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2291 * math/libm-test.inc (acos_test): Add more tests.
2292 (acosh_test): Likewise.
2293 (asin_test): Likewise.
2294 (atanh_test): Likewise.
2295 (exp_test): Likewise.
2296 (exp10_test): Likewise.
2297 (exp2_test): Likewise.
2298 (expm1_test): Likewise.
2299 (lgamma_test): Likewise.
2300 (log_test): Likewise.
2301 (log10_test): Likewise.
2302 (log1p_test): Likewise.
2303 (log2_test): Likewise.
2304 (pow_test): Do not allow some spurious overflow exceptions.
2305 (sqrt_test): Add more tests.
2306 (tgamma_test): Likewise.
2307 (y0_test): Likewise.
2308 (y1_test): Likewise.
2309 (yn_test): Likewise.
2311 2012-03-27 Anton Blanchard <anton@samba.org>
2313 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2319 2012-03-27 David S. Miller <davem@davemloft.net>
2321 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2323 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2326 2012-03-27 Andreas Jaeger <aj@suse.de>
2328 * sysdeps/x86_64/elf/configure.in: Moved to ...
2329 * sysdeps/x86_64/configure.in: ... here.
2330 * sysdeps/x86_64/elf/start.S: Moved to ...
2331 * sysdeps/x86_64/start.S: ... here.
2332 * sysdeps/x86_64/elf/configure: Delete.
2334 * sysdeps/x86_64/configure.in: Merge contents from
2335 sysdeps/i386/configure.in (without i686 check).
2337 * sysdeps/i386/elf/Versions: Merge into ...
2338 * sysdeps/i386/Versions: ... this.
2339 * sysdeps/i386/elf/Versions: Delete file.
2340 * sysdeps/i386/elf/start.S: Moved to ...
2341 * sysdeps/i386/start.S: ...here.
2342 * sysdeps/i386/elf/configure.in: Merge into...
2343 * sysdeps/i386/configure.in: ...here.
2344 * sysdeps/i386/elf/configure.in: Delete file.
2345 * sysdeps/i386/elf/configure: Delete file.
2347 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2348 * debug/backtracesyms.c: ... here.
2349 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2350 * debug/backtracesymsfd.c: ... here.
2351 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2352 * sysdeps/generic/ifunc-sel.h: ... here.
2354 * sysdeps/unix/i386/start.c: Delete file.
2355 * sysdeps/unix/sparc/start.c: Delete file.
2356 * sysdeps/unix/start.c: Delete file.
2358 * sysdeps/sh/elf/configure.in: Moved to ...
2359 * sysdeps/sh/configure.in: ... here.
2360 * sysdeps/sh/elf/start.S: Moved to ...
2361 * sysdeps/sh/start.S: ... here.
2362 * sysdeps/sh/elf/configure: Delete file.
2364 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2365 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2366 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2367 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2368 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2369 * sysdeps/powerpc/powerpc64/start.S: here.
2370 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2371 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2372 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2373 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2374 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2376 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2377 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2378 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2379 * sysdeps/powerpc/powerpc32/start.S: ... here.
2380 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2381 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2382 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2384 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2385 * sysdeps/powerpc/ifunc-sel.h: ... here.
2386 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2387 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2389 * sysdeps/sparc/elf/configure.in: Moved to ...
2390 * sysdeps/sparc/configure.in: ... here.
2391 * sysdeps/sparc/elf/configure: Delete file.
2392 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2393 * sysdeps/sparc/sparc32/start.S: ... here.
2394 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2395 * sysdeps/sparc/sparc64/start.S: ... here.
2396 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2397 * sysdeps/sparc/sparc32/Makefile: ... this.
2398 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2399 * sysdeps/sparc/sparc64/Makefile: ... this.
2401 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2402 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2403 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2404 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2405 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2406 * sysdeps/s390/s390-32/setjmp.S: ... here.
2407 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2408 * sysdeps/s390/s390-32/configure.in: ... here.
2409 * sysdeps/s390/s390-32/elf/configure: Delete file.
2410 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2411 * sysdeps/s390/s390-32/start.S: ... here.
2413 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2414 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2415 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2416 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2417 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2418 * sysdeps/s390/s390-64/setjmp.S: ... here.
2419 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2420 * sysdeps/s390/s390-64/configure.in: ... here
2421 * sysdeps/s390/s390-64/elf/configure: Delete file.
2422 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2423 * sysdeps/s390/s390-64/start.S: ... here.
2424 * sysdeps/s390/s390-64/elf/configure: Delete.
2426 * configure.in: Remove support for elf directories in sysdeps.
2428 * configure: Regenerated.
2429 * sysdeps/i386/configure: Regenerated.
2430 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2431 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2432 * sysdeps/s390/s390-32/configure: Regenerated.
2433 * sysdeps/s390/s390-64/configure: Regenerated.
2434 * sysdeps/sh/configure: Regenerated.
2435 * sysdeps/sparc/configure: Regenerated.
2436 * sysdeps/x86_64/configure: Regenerated.
2438 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2443 denormal result into account.
2445 2012-03-25 Roland McGrath <roland@hack.frob.com>
2447 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2448 Reported by Allan McRae <allan@archlinux.org>.
2450 2012-03-23 Jeff Law <law@redhat.com>
2452 * nss/getnssent.c (__nss_getent): Fix typo.
2454 2012-03-23 David S. Miller <davem@davemloft.net>
2456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2458 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2460 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2461 to pad to uint64_t for each field.
2462 (dl_tls_index): Replace unsigned long with uint64_t.
2464 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2465 Paul Pluzhnikov <ppluzhnikov@google.com>
2468 * grp/Makefile (otherlibs): Don't set it.
2469 * inet/Makefile (otherlibs): Likewise.
2470 * login/Makefile (otherlibs): Likewise.
2471 * nscd/Makefile (otherlibs): Likewise.
2472 * posix/Makefile (otherlibs): Likewise.
2473 * pwd/Makefile (otherlibs): Likewise.
2474 * rt/Makefile (otherlibs): Likewise.
2475 * sunrpc/Makefile (otherlibs): Likewise.
2476 * nss/Makefile (otherlibs): Likewise.
2477 Add libnss_files to routines and static-only-routines.
2478 ($(objpfx)getent): Remove rule.
2479 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2480 static-only-routines.
2482 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2485 * math/s_cexp.c: Include <float.h>.
2486 (__cexp): Handle exp result overflowing not necessarily
2487 overflowing both real and imaginary parts of result.
2488 * math/s_cexpf.c: Likewise.
2489 * math/s_cexpl.c: Likewise.
2490 * math/libm-test.inc (cexp_test): Add more tests.
2491 * sysdeps/i386/fpu/libm-test-ulps: Update.
2492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2494 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2496 * include/link.h (ELFW): New macro.
2497 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2498 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2500 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2502 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2505 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2507 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2509 (struct La_x32_retval): Likewise.
2511 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2513 * sysdeps/x86_64/preconfigure.in: New file.
2514 * sysdeps/x86_64/preconfigure: New generated file.
2516 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2519 * math/e_exp2l.c: Include <float.h>.
2520 (__ieee754_exp2l): Handle overflow and underflow cases
2521 separately. Only pass fractional part of argument to
2523 * math/libm-test.inc (exp2_test): Add more tests.
2525 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2526 negating x to take absolute value.
2527 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2532 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2533 computing low part if x was negated.
2534 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2536 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2538 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2540 (pltexit): Cast int_retval to ptrdiff_t.
2541 * elf/tst-auditmod3b.c: Likewise.
2542 * elf/tst-auditmod4b.c: Likewise.
2543 * elf/tst-auditmod5b.c: Likewise.
2544 * elf/tst-auditmod6b.c: Likewise.
2545 * elf/tst-auditmod6c.c: Likewise.
2546 * elf/tst-auditmod7b.c: Likewise.
2548 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2549 and x32_gnu_pltexit.
2551 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2553 (La_x32_regs): New macro.
2554 (La_x32_retval): Likewise.
2555 (la_x32_gnu_pltenter): New function prototype.
2556 (la_x32_gnu_pltexit): Likewise.
2558 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2565 * configure.in (libc_cv_cc_nofma): Check for option to disable
2566 generation of FMA instructions.
2567 * configure: Regenerate.
2568 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2569 * sysdeps/ieee754/dbl-64/Makefile: New file.
2570 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2571 Remove brandred-fma4.
2572 (CFLAGS-brandred-fma4.c): Remove.
2573 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2574 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2576 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2579 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2581 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2582 LLONG_MAX != LONG_MAX.
2583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2584 (_fitoa_word): Likewise.
2585 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2586 LLONG_MAX != LONG_MAX.
2587 * stdio-common/_itowa.h: Include <_itoa.h>.
2588 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2589 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2590 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2591 only if not defined.
2592 (_ITOA_WORD_TYPE): Likewise.
2593 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2594 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2596 2012-03-21 David S. Miller <davem@davemloft.net>
2598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2600 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2602 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2603 of x86_64 when setting libc_cv_slibdir, libdir and
2605 * sysdeps/unix/sysv/linux/configure: Regenerated.
2607 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2609 * manual/lang.texi (Old Varargs): Remove section.
2610 (How Variadic): Update menu.
2611 (va_start): Do not mention varargs.h.
2613 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2614 Joseph Myers <joseph@codesourcery.com>
2616 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2618 * configure: Regenerated.
2620 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2622 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2623 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2626 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2629 * Makefile (files-for-dist): Remove NOTES.
2630 (NOTES): Remove rule.
2631 * README: Don't refer to NOTES.
2632 * manual/creature.texi: Don't include macros.texi.
2633 * manual/intro.texi (creature.texi): Remove comment referring to
2636 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2637 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2638 * configure: Regenerated.
2639 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2641 (libc_cv_as_i686): Likewise.
2642 (libc_cv_cc_avx): Likewise.
2643 (libc_cv_cc_sse2avx): Likewise.
2644 (libc_cv_cc_fma4): Likewise.
2645 (libc_cv_cc_novzeroupper): Likewise.
2646 * sysdeps/i386/configure: Regenerated.
2649 * sysdeps/i386/fpu/s_cexp.S: Remove.
2650 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2651 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2652 * math/libm-test.inc (cexp_test): Add more tests.
2653 * sysdeps/i386/fpu/libm-test-ulps: Update.
2654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2656 2012-03-21 Allan McRae <allan@archlinux.org>
2658 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2660 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2663 * math/w_exp2.c: Do not include <float.h>.
2664 (o_threshold, u_threshold): Remove.
2665 (__exp2): Calculate result before checking finiteness and calling
2667 * math/w_exp2f.c: Likewise.
2668 * math/w_exp2l.c: Likewise.
2669 * math/libm-test.inc (exp2_test): Require overflow exception for
2673 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2674 range of signed 64-bit integers before using fistpll. Remove
2675 checks for whether integers fit in mantissa bits.
2676 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2677 the range of signed 32-bit integers before using fistpl. Remove
2678 checks for whether integers fit in mantissa bits.
2679 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2680 (__ieee754_powl): Test for y outside the range of signed 64-bit
2681 integers before using fistpll. Reduce 64-bit values to 63-bit
2683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2684 divide-by-zero is raised for zero to large negative powers.
2685 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2686 (__ieee754_powl): Test for y outside the range of signed 64-bit
2687 integers before using fistpll. Reduce 64-bit values to 63-bit
2689 * math/libm-test.inc (pow_test): Add more tests.
2691 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2693 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2694 <stdio-common/_itoa.h>.
2695 * debug/segfault.c: Likewise.
2696 * elf/dl-cache.c: Likewise.
2697 * elf/dl-minimal.c: Likewise.
2698 * elf/dl-misc.c: Likewise.
2699 * elf/dl-sysdep.c: Likewise.
2700 * elf/dl-version.c: Likewise.
2701 * elf/rtld.c: Likewise.
2702 * hurd/hurdsock.c: Likewise.
2703 * hurd/lookup-retry.c: Likewise.
2704 * malloc/malloc.c: Likewise.
2705 * malloc/mtrace.c: Likewise.
2706 * nscd/nscd_getgr_r.c: Likewise.
2707 * nscd/nscd_getpw_r.c: Likewise.
2708 * nscd/nscd_getserv_r.c: Likewise.
2709 * posix/getopt_init.c: Likewise.
2710 * posix/wordexp.c: Likewise.
2711 * stdio-common/_itoa.c: Likewise.
2712 * stdio-common/printf_fphex.c: Likewise.
2713 * stdio-common/vfprintf.c: Likewise.
2714 * string/_strerror.c: Likewise.
2715 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2716 * sysdeps/i386/i686/hp-timing.h: Likewise.
2717 * sysdeps/mach/_strerror.c: Likewise.
2718 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2719 * sysdeps/mach/hurd/sethostid.c: Likewise.
2720 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2721 * sysdeps/mach/xpg-strerror.c: Likewise.
2722 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2723 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2724 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2725 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2726 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2727 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2728 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2729 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2730 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2731 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2732 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2733 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2734 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2735 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2736 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2737 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2738 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2739 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2740 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2741 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2742 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2744 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2746 * stdio-common/_itoa.h: Moved to ...
2747 * sysdeps/generic/_itoa.h: Here.
2749 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2751 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2752 instead of "_itoa.h" and "_itowa.h".
2753 * stdio-common/vfprintf.: Likewise.
2755 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2759 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2760 (__signbit): Likwise.
2764 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2766 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2769 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2771 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2772 OVERFLOW_EXCEPTION_OK.
2773 * math/libm-test.inc ("Philosophy"): Update comment about
2775 (OVERFLOW_EXCEPTION): Define.
2776 (OVERFLOW_EXCEPTION_OK): Likewise.
2777 (INVALID_EXCEPTION_OK): Renumber.
2778 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2779 (IGNORE_ZERO_INF_SIGN): Likewise.
2780 (test_exceptions): Handle FE_OVERFLOW.
2781 (exp10_test): Expect overflow exceptions.
2782 (exp2_test): Likewise.
2783 (expm1_test): Likewise.
2784 (nextafter_test): Likewise.
2785 (pow_test): Likewise.
2786 (scalbn_test): Likewise.
2787 (scalbln_test): Likewise.
2789 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2791 * sysdeps/x86_64/bits/atomic.h
2792 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2794 (atomic_exchange_acq): Likewise.
2795 (__arch_exchange_and_add_body): Likewise.
2796 (__arch_add_body): Likewise.
2797 (atomic_add_negative): Likewise.
2798 (atomic_add_zero): Likewise.
2800 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2802 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2803 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2807 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2808 Check __x86_64__ instead of __WORDSIZE.
2810 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2812 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2814 2012-03-19 David S. Miller <davem@davemloft.net>
2816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2818 * sysdeps/sparc/fpu/fenv_private.h: New file.
2819 * sysdeps/sparc/fpu/math_private.h: Use it.
2820 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2823 (libc_feholdexcept_setroundl): Remove.
2824 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2829 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2831 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2832 int64_t instead of long int.
2833 (INSERT_WORDS64): Likwise.
2835 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2837 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2838 _Unwind_GetCFA return to _Unwind_Ptr first.
2840 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2843 * math/s_clog.c: Include <float.h>.
2844 (__clog): Scale large or subnormal inputs.
2845 * math/s_clogf.c: Likewise.
2846 * math/s_clogl.c: Likewise.
2847 * math/s_clog10.c: Include <float.h>.
2848 (M_LOG10_2): Define.
2849 (__clog10): Scale large or subnormal inputs.
2850 * math/s_clog10f.c: Likewise.
2851 * math/s_clog10l.c: Likewise.
2852 * math/libm-test.inc (clog_test): Add more tests.
2853 (clog10_test): Likewise.
2854 * sysdeps/i386/fpu/libm-test-ulps: Update.
2855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2858 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2860 * math/libm-test.inc (atan2_test): Add another test.
2862 * Makerules (common-objdir-compile): Remove.
2863 * sysdeps/unix/Makefile (config-generated): Do not add
2864 $(unix-generated) to variable.
2865 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2866 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2868 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2870 [generic bits/local_lim.h] (before-compile): Do not append to
2872 [generic bits/local_lim.h] (common-generated): Likewise.
2873 [generic sys/param.h] (before-compile): Do not append to variable.
2874 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2875 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2876 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2877 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2879 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2880 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2881 [generic sys/param.h] ($(addprefix
2882 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2883 [generic sys/param.h] (common-generated): Do not append to
2885 [generic sys/param.h] (sysdep_headers): Likewise.
2886 [generic bits/errno.h] (before-compile): Do not append to
2888 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2890 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2891 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2892 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2893 [generic bits/errno.h] (common-generated): Do not append to
2895 [generic bits/ioctls.h] (before-compile): Do not append to
2897 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2899 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2900 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2901 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2904 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2905 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2906 [generic bits/ioctls.h] (common-generated): Do not append to
2908 [generic sys/syscall.h] (syscall.h): Remove variable.
2909 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2911 [generic sys/syscall.h] (before-compile): Do not append to
2913 [generic sys/syscall.h] (common-generated): Likewise.
2914 * sysdeps/unix/errnos-tmpl.c: Remove file.
2915 * sysdeps/unix/errnos.awk: Likewise.
2916 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2917 * sysdeps/unix/ioctls.awk: Likewise.
2918 * sysdeps/unix/mk-local_lim.c: Likewise.
2919 * sysdeps/unix/snarf-ioctls: Likewise.
2921 2012-03-19 Richard Henderson <rth@twiddle.net>
2923 * sysdeps/i386/fpu/fenv_private.h: New file.
2924 * sysdeps/i386/fpu/math_private.h: Use it.
2925 (math_opt_barrier, math_force_eval): Remove.
2926 (libc_feholdexcept_setround_53bit): Remove.
2927 (libc_feupdateenv_53bit): Remove.
2928 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2929 (math_opt_barrier, math_force_eval): Remove.
2930 (libc_feholdexcept): Remove.
2931 (libc_feholdexcept_setround): Remove.
2932 (libc_fetestexcept, libc_fesetenv): Remove.
2933 (libc_feupdateenv_test): Remove.
2934 (libc_feupdateenv, libc_feholdsetround): Remove.
2935 (libc_feresetround): Remove.
2937 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2938 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2940 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2941 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2942 (libc_feupdateenv_testl): New.
2943 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2944 (libc_feupdateenv_testf): New.
2945 (libc_feupdateenv): Use libc_feupdateenv_test.
2946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2947 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2949 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2950 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2951 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2952 (libc_feresetround_noex): New.
2953 (libc_feresetround_noexf): New.
2954 (libc_feresetround_noexl): New.
2955 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2956 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2957 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2958 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2963 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2964 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2965 SET_RESTORE_ROUND_NOEX.
2966 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2967 SET_RESTORE_ROUND_NOEXF.
2968 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2969 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2970 (libc_feholdsetroundf): New.
2971 (libc_feresetround, libc_feresetroundf): New.
2973 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2974 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2975 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2977 * sysdeps/generic/math_private.h: Include <fenv.h>.
2978 (default_libc_feholdexcept): New.
2979 (default_libc_feholdexcept_setround): New.
2980 (default_libc_fesetenv, default_libc_feupdateenv): New.
2981 (libc_feholdexcept): Only define if undefined.
2982 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2983 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2984 (libc_feholdexcept_setroundl): Likewise.
2985 (libc_feholdexcept_setround_53bit): Likewise.
2986 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2987 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2988 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2989 (libc_feupdateenv_53bit): Likewise.
2990 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2991 (libc_feholdexcept): Convert from macro to inline function.
2992 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2993 (libc_fesetenv, libc_feupdateenv): Likewise.
2995 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2996 not previously defined.
2997 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2998 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2999 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3000 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3001 * sysdeps/ieee754/flt-32/math_private.h: New file.
3002 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3003 math_private.h below SET_FLOAT_WORD.
3004 (__isnan, __isinf_ns, __finite): Remove.
3005 (__isnanf, __isinf_nsf, __finitef): Remove.
3007 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3011 2012-03-17 David S. Miller <davem@davemloft.net>
3014 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3017 2012-03-16 David S. Miller <davem@davemloft.net>
3019 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3023 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3025 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3026 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3027 sysdep_routines when subdir is sysvipc.
3028 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3031 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3033 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3035 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3038 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3040 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3041 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3042 (__lround): Renamed to ...
3043 (__llround): This. Replace long int with long long int.
3044 Define lround functions as aliases of llround functions.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3047 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3049 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3050 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3051 adresses to uintptr_t. Replace "long int" and "unsigned long
3052 int" with "greg_t" on va_arg.
3054 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3056 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3057 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3059 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3060 Move e_machine check before EI_CLASS check. Handle x32
3061 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3062 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3063 SKIP_EM_IA_64 and include
3064 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3066 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3067 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3068 (add_system_dir): New macro.
3070 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3071 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3073 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3084 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3086 * math/w_j0f.c (j0f): Likewise.
3088 * math/w_j0l.c (__j0l): Likewise.
3090 * math/w_j1.c (j1): Likewise.
3092 * math/w_j1f.c (j1f): Likewise.
3094 * math/w_j1l.c (__j1l): Likewise.
3096 * math/w_jn.c (jn): Likewise.
3098 * math/w_jnf.c (jnf): Likewise.
3100 * math/w_jnl.c (__jnl): Likewise.
3102 * math/libm-test.inc (j0_test): Add more tests.
3103 (j1_test): Likewise.
3104 (jn_test): Likewise. Add trailing semicolon to existing test.
3105 (y0_test): Likewise.
3106 (y1_test): Likewise.
3107 * sysdeps/i386/fpu/libm-test-ulps: Update.
3108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3112 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3113 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3114 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3115 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3116 (__tanl): Set errno for infinite argument.
3117 * sysdeps/i386/fpu/mptan.c: Remove.
3118 * sysdeps/i386/fpu/s_tan.S: Likewise.
3119 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3120 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3121 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3122 * math/libm-test.inc (tan_test): Add more tests and enable more
3123 tests for double and long double.
3124 * sysdeps/i386/fpu/libm-test-ulps: Update.
3125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3127 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3129 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3130 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3132 2012-03-16 Roland McGrath <roland@hack.frob.com>
3134 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3135 * configure.in: Use it for both main tree and add-ons.
3136 * configure: Regenerated.
3138 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3140 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3142 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3144 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3148 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3149 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3150 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3151 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3154 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3157 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3158 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3159 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3160 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3161 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3162 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3163 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3164 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3165 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3166 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3167 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3168 * math/libm-test.inc (cos_test): Add more tests and enable more
3169 tests for long double.
3170 (sin_test): Likewise.
3171 (sincos_test): Likewise.
3172 * sysdeps/i386/fpu/libm-test-ulps: Update.
3173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3175 2012-03-16 David S. Miller <davem@davemloft.net>
3177 * sysdeps/sparc/fpu/math_private.h: New file.
3179 2012-03-15 David S. Miller <davem@davemloft.net>
3181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3195 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3196 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3198 * sysdeps/sparc/sparc-ifunc.h: New file.
3199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3244 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3246 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3250 2012-03-15 Andreas Jaeger <aj@suse.de>
3253 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3254 ieee754/flt-32 implementation for sin, cos and sincos.
3255 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3256 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3257 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3258 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3259 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3260 ieee754/flt-32 implementation for tan.
3262 * math/libm-test.inc (cos_test): Enable some large input tests for
3264 (sin_test): Likewise.
3265 (sincos_test): Likewise.
3266 (tan_test): Add tests for large input.
3268 * sysdeps/i386/fpu/libm-test-ulps: Update.
3270 2012-03-15 Andreas Jaeger <aj@suse.de>
3273 * math/libm-test.inc (cos_test): Add more test cases.
3274 (sin_test): Likewise.
3275 (sincos_test): Likewise.
3277 2012-03-15 Andreas Jaeger <aj@suse.de>
3280 * math/libm-test.inc (cos_test): Add a test case for large input
3282 (sin_test): Likewise.
3283 (sincos_test): Likewise.
3285 2012-03-15 Andreas Jaeger <aj@suse.de>,
3286 Joseph Myers <joseph@codesourcery.com>
3289 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3290 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3291 * sysdeps/i386/fpu/branred.c: Likewise.
3292 * sysdeps/i386/fpu/dosincos.c: Likewise.
3293 * sysdeps/i386/fpu/mpa.c: Likewise.
3294 * sysdeps/i386/fpu/s_cos.S: Likewise.
3295 * sysdeps/i386/fpu/s_sin.S: Likewise.
3296 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3297 * sysdeps/i386/fpu/sincos32.c: Likewise.
3299 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3301 (libc_feupdateenv_53bit): Define.
3302 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3304 (libc_feupdateenv_53bit): Define.
3306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3307 53 bit (without extend i386 double precision).
3309 * math/libm-test.inc (sincos_test): Add tests for large input.
3313 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3315 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3319 2012-03-15 David S. Miller <davem@davemloft.net>
3321 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3322 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3323 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3324 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3348 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3349 fmin/fmax sysdep routines.
3350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3352 2012-03-14 David S. Miller <davem@davemloft.net>
3354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3431 * sysdeps/sparc/configure.in: New file.
3432 * sysdeps/sparc/configure: Generate.
3433 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3434 * configure: Regenerate.
3435 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3436 * config.make.in (have-as-vis3): New.
3437 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3438 available use -Av9d instead of -Av9a.
3439 * sysdeps/sparc/sparc64/Makefile: Likewise.
3440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3455 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3456 fzeros/fnegs to load 0x80000000 into a float register instead of
3458 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3460 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3464 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3465 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3466 ($(inst_includedir)/bits/syscall.h): Remove rule.
3467 ($(objpfx)bits/syscall.d): Include instead of
3468 $(objpfx)syscall-list.d.
3469 (generated): Change syscall-list.h and syscall-list.d to
3470 bits/syscall.h and bits/syscall.d.
3472 2012-03-14 Roland McGrath <roland@hack.frob.com>
3475 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3477 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3480 * math/s_csqrt.c: Include <float.h>.
3481 (__csqrt): Scale large or subnormal inputs.
3482 * math/s_csqrtf.c: Likewise.
3483 * math/s_csqrtl.c: Likewise.
3484 * math/libm-test.inc (csqrt_test): Add more tests.
3485 * sysdeps/i386/fpu/libm-test-ulps: Update.
3486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3489 * math/libm-test.inc (hypot_test): Add more tests.
3491 2012-03-13 David S. Miller <davem@davemloft.net>
3494 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3495 double-precision for the calculation instead of scaling.
3497 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3499 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3500 manipulate bits before adding and subtracting TWO52[sx].
3501 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3506 2012-03-13 David S. Miller <davem@davemloft.net>
3508 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3509 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3511 rtld-global-offsets.h
3512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3514 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3517 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3519 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3520 'err' in the ifdef scope in which it is actually used.
3522 * nss/nss_db/db-init.c: Include string.h
3524 2012-03-12 David S. Miller <davem@davemloft.net>
3526 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3527 masking out of the most significant byte of random value used.
3528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3529 Fix coding style in previous change.
3531 * sysdeps/unix/sysv/linux/kernel-features.h
3532 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3533 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3535 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3538 2012-03-11 David S. Miller <davem@davemloft.net>
3540 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3541 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3542 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3543 for 'resultvar' otherwise things get truncated on 64-bit.
3545 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3546 Fix masking out of the most significant byte of random value used.
3548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3550 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3554 2012-03-09 David S. Miller <davem@davemloft.net>
3556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3557 variables with appropriate CPP guards.
3558 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3559 frame pointer, not the stack pointer. Correct layout comments. Fix test
3560 on resulting framesize and the management of the outregs buffer for pltexit.
3561 Preserve floating point return values across _dl_call_pltexit call.
3562 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3563 framesize and the management of the outregs buffer for pltexit.
3564 Preserve floating point return values across _dl_call_pltexit
3566 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3567 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3568 (print_exit): Fix format string for return register value.
3570 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3572 * sunrpc/Makefile (others): Add rpcgen.
3573 ($(objpfx)rpcgen): Remove special build rule and dependency on
3575 * sunrpc/rpcgen.c: New file.
3577 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3580 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3581 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3582 * sysdeps/i386/crti.S: Likewise.
3583 * sysdeps/i386/crtn.S: Likewise.
3584 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3585 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3586 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3587 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3588 * sysdeps/sh/crti.S: Likewise.
3589 * sysdeps/sh/crtn.S: Likewise.
3590 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3593 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3595 * locale/programs/locfile-kw.gperf: Likewise.
3596 * locale/programs/charmap-kw.h: Regenerated.
3597 * locale/programs/locfile-kw.h: Likewise.
3600 * intl/plural.y: Replace FSF snail mail address with URL.
3601 * intl/plural.c: Regenerated.
3603 2012-03-09 Richard Henderson <rth@twiddle.net>
3605 * include/math_private.h: Remove file.
3606 * math/math_private.h: Move file ...
3607 * sysdeps/generic/math_private.h: ... here.
3609 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3610 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3611 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3613 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3614 and <math_private.h>.
3615 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3616 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3617 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3618 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3619 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3666 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3668 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3669 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3670 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3671 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3672 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3673 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3674 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3675 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3676 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3678 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3679 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3680 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3681 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3683 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3684 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3685 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3687 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3688 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3693 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3697 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3698 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3699 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3700 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3701 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3702 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3703 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3704 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3705 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3706 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3707 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3708 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3709 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3710 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3711 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3712 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3713 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3714 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3715 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3716 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3717 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3718 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3719 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3720 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3721 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3722 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3723 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3724 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3725 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3726 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3727 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3728 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3729 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3730 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3731 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3732 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3733 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3734 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3735 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3736 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3738 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3741 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3742 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3743 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3744 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3745 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3746 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3747 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3748 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3749 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3750 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3751 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3752 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3753 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3754 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3755 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3756 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3757 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3758 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3759 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3760 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3761 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3762 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3763 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3764 * sysdeps/ieee754/k_standard.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3815 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3817 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3880 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3884 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3885 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3887 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3892 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3897 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3913 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3914 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3915 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3925 * sysdeps/ieee754/s_lib_version.c: Likewise.
3926 * sysdeps/ieee754/s_matherr.c: Likewise.
3927 * sysdeps/ieee754/s_signgam.c: Likewise.
3928 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3929 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3930 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3931 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3932 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3933 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3934 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3935 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3936 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3937 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3938 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3939 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3940 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3941 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3942 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3943 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3944 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3945 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3946 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3948 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3950 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3952 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3953 * sunrpc/rpc_main.c: Likewise.
3954 * sunrpc/rpc_svcout.c: Likewise.
3956 2012-03-09 David S. Miller <davem@davemloft.net>
3958 * include/math_private.h: New file.
3960 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3962 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3963 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3964 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3965 from <bits/socket_type.h>.
3966 (enum __socket_type): Don't define here.
3967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3972 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3975 * Makerules ($(inst_includedir)/%.h): New rule.
3976 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3977 (install-others): Remove variable setting.
3978 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3980 2012-03-08 Richard Henderson <rth@twiddle.net>
3982 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3983 from macro to inline function; merge with the
3984 !__LIBC_INTERNAL_MATH_INLINES version.
3985 (__ieee754_sqrtf): Likewise.
3987 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3989 (__rintf, __floor, __floorf): Likewise.
3991 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3992 macro to inline function.
3993 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3996 not <math/math_private.h>.
3998 2012-03-08 David S. Miller <davem@davemloft.net>
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4002 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4004 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4006 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4008 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4009 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4011 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4013 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4014 be defined individually, they must be defined as a block. Define
4015 S for printing a string instead of hidint the different by using a
4016 macro for adding the 'l'.
4017 * stdio-common/tst-fphex-wide.c: Adjust.
4019 2012-03-07 Marek Polacek <polacek@redhat.com>
4021 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4023 2012-03-08 Marek Polacek <polacek@redhat.com>
4026 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4027 * stdio-common/tst-fphex.c: Define a few macros to make the
4028 test reusable. Use them.
4029 * stdio-common/tst-fphex-wide.c: New file.
4031 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4034 * manual/macros.texi (gnusystems): New macro.
4035 (nongnusystems): Likewise.
4036 (gnulinuxhurdsystems): Likewise.
4037 (gnuhurdsystems): Likewise..
4038 (gnulinuxsystems): Likewise.
4039 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4040 variants of the GNU system, not "GNU system".
4041 * manual/conf.texi: Likewise.
4042 * manual/errno.texi: Likewise. Update example of errno macro
4044 * manual/filesys.texi: Likewise.
4045 (getumask): Document as specific to GNU/Hurd.
4046 * manual/install.texi: Likewise. Reword some references to
4048 * manual/intro.texi: Likewise.
4049 * manual/io.texi: Likewise.
4050 (File Name Portability): Detail which constraints are inapplicable
4051 to all GNU systems and which are only inapplicable to GNU/Hurd.
4052 * manual/job.texi: Likewise.
4053 * manual/llio.texi: Likewise.
4054 (O_NOCTTY): Document as present on GNU/Linux.
4055 * manual/maint.texi: Likewise.
4056 * manual/memory.texi: Likewise.
4057 * manual/pattern.texi: Likewise.
4058 * manual/pipe.texi: Likewise.
4059 * manual/process.texi: Likewise.
4060 * manual/resource.texi: Likewise.
4061 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4063 * manual/setjmp.texi: Likewise.
4064 * manual/signal.texi: Likewise.
4065 * manual/startup.texi: Likewise.
4066 * manual/stdio.texi: Likewise.
4067 * manual/terminal.texi: Likewise.
4068 (ONLCR): Document as POSIX.
4069 (OXTABS): Document availability on GNU/Linux as XTABS.
4070 (ONOEOT): Document availability separately from other bits.
4071 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4072 * manual/time.texi: Likewise.
4073 * manual/users.texi: Likewise.
4074 * INSTALL: Regenerated.
4075 * sysdeps/gnu/errlist.c: Regenerated.
4077 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4078 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4079 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4081 * configure: Regenerated.
4083 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4085 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4086 default includes instead of AC_HEADER_CHECK.
4087 * sysdeps/i386/configure: Regenerated.
4090 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4091 * math/s_cacoshf.c (__cacoshf): Likewise.
4092 * math/s_cacoshl.c (__cacoshl): Likewise.
4093 * math/s_casinh.c (__casinh): Set signs of result from argument.
4094 * math/s_casinhf.c (__casinhf): Likewise.
4095 * math/s_casinhl.c (__casinhl): Likewise.
4096 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4097 (casinh_test): Add more tests.
4098 * sysdeps/i386/fpu/libm-test-ulps: Update.
4099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4101 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4103 * po/zh_TW.po: Update from translation team.
4105 * login/Makefile (distribute): Remove variable.
4106 * catgets/Makefile: Likewise.
4107 * mach/Makefile: Likewise.
4108 * malloc/Makefile: Likewise.
4109 * misc/Makefile: Likewise.
4110 * iconv/Makefile: Likewise.
4111 * nscd/Makefile: Likewise.
4112 * hurd/Makefile: Likewise.
4113 * manual/Makefile: Likewise.
4114 * locale/Makefile: Likewise.
4115 * intl/Makefile: Likewise.
4116 * conform/Makefile: Likewise.
4117 * nss/Makefile: Likewise.
4118 * time/Makefile: Likewise.
4119 * soft-fp/Makefile: Likewise.
4120 * dirent/Makefile: Likewise.
4121 * gmon/Makefile: Likewise.
4122 * po/Makefile: Likewise.
4123 * rt/Makefile: Likewise.
4124 * socket/Makefile: Likewise.
4125 * math/Makefile: Likewise.
4126 * signal/Makefile: Likewise.
4127 * debug/Makefile: Likewise.
4128 * elf/Makefile: Likewise.
4129 * timezone/Makefile: Likewise.
4130 * stdlib/Makefile: Likewise.
4131 * iconvdata/Makefile: Likewise.
4132 * sunrpc/Makefile: Likewise.
4133 * io/Makefile: Likewise.
4134 * argp/Makefile: Likewise.
4135 * inet/Makefile: Likewise.
4136 * hesiod/Makefile: Likewise.
4137 * grp/Makefile: Likewise.
4138 * csu/Makefile: Likewise.
4139 * wctype/Makefile: Likewise.
4140 * crypt/Makefile: Likewise.
4141 * libio/Makefile: Likewise.
4142 * string/Makefile: Likewise.
4143 * nis/Makefile: Likewise.
4144 * resolv/Makefile: Likewise.
4145 * stdio-common/Makefile: Likewise.
4146 * wcsmbs/Makefile: Likewise.
4147 * dlfcn/Makefile: Likewise.
4148 * posix/Makefile: Likewise.
4151 * timezone/Makefile: Don't install timezone files, just the programs
4154 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4156 * nss/databases.def: Add missing gshadow entry.
4158 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4160 2012-03-06 Marek Polacek <polacek@redhat.com>
4163 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4164 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4165 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4166 * stdio-common/tst-long-dbl-fphex.c: New file.
4168 2012-03-06 David S. Miller <davem@davemloft.net>
4170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4171 (set_obp_int): New function.
4172 (get_obp_int): New function.
4173 (__get_clockfreq_via_dev_openprom): Likewise.
4174 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4175 Avoid unused variable warnings on 'val' and use builtin_expect.
4176 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4178 (INLINE_CLONE_SYSCALL): Likewise.
4180 2012-03-05 David S. Miller <davem@davemloft.net>
4182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4184 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4190 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4192 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4194 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4195 Replace gettimeofday with __vdso_gettimeofday.
4197 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4198 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4199 __vdso_clock_gettime and __vdso_getcpu.
4201 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4202 time with __vdso_time.
4204 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4206 * manual/lang.texi (size_t): Note types to which size_t may be
4207 equivalent with the GNU C Library, but do not describe when
4208 differences between them are significant.
4210 2012-03-05 Andreas Jaeger <aj@suse.de>
4212 * sysdeps/i386/fpu/libm-test-ulps: Update.
4214 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4217 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4218 (__ieee754_pow): Save and restore rounding mode and use
4219 round-to-nearest for main computations.
4220 * math/libm-test.inc (pow_test_tonearest): New function.
4221 (pow_test_towardzero): Likewise.
4222 (pow_test_downward): Likewise.
4223 (pow_test_upward): Likewise.
4224 (main): Call the new functions.
4225 * sysdeps/i386/fpu/libm-test-ulps: Update.
4226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229 * math/libm-test.inc (cosh_test_tonearest): New function.
4230 (cosh_test_towardzero): Likewise.
4231 (cosh_test_downward): Likewise.
4232 (cosh_test_upward): Likewise.
4233 (sinh_test_tonearest): Likewise.
4234 (sinh_test_towardzero): Likewise.
4235 (sinh_test_downward): Likewise.
4236 (sinh_test_upward): Likewise.
4237 (main): Call the new functions.
4238 * sysdeps/i386/fpu/libm-test-ulps: Update.
4239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4241 2012-03-05 Tom de Vries <tom@codesourcery.com>
4243 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4244 default stack guard is set in last bytes.
4245 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4247 2012-03-05 Kees Cook <keescook@chromium.org>
4249 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4252 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4253 possibly allocate from heap instead of stack.
4254 * stdio-common/bug-vfprintf-nargs.c: New file.
4255 * stdio-common/Makefile (tests): Add nargs overflow test.
4257 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4261 2012-03-03 Marek Polacek <polacek@redhat.com>
4263 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4264 * math/math_private.h: Likewise.
4265 * stdlib/tst-strtod.c: Likewise.
4266 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4267 * sysdeps/x86_64/bits/atomic.h: Likewise.
4269 2012-03-02 David S. Miller <davem@davemloft.net>
4271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4275 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4276 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4277 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4278 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4280 2012-03-02 Roland McGrath <roland@hack.frob.com>
4283 * manual/examples/README: New file, says the example source files
4284 can be used under GPL>=2.
4285 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4286 line containing just "*/".
4287 * manual/examples/add.c: Add copyright header (GPL>=2).
4288 * manual/examples/argp-ex1.c: Likewise.
4289 * manual/examples/argp-ex2.c: Likewise.
4290 * manual/examples/argp-ex3.c: Likewise.
4291 * manual/examples/argp-ex4.c: Likewise.
4292 * manual/examples/atexit.c: Likewise.
4293 * manual/examples/db.c: Likewise.
4294 * manual/examples/dir.c: Likewise.
4295 * manual/examples/dir2.c: Likewise.
4296 * manual/examples/execinfo.c: Likewise.
4297 * manual/examples/filecli.c: Likewise.
4298 * manual/examples/filesrv.c: Likewise.
4299 * manual/examples/fmtmsgexpl.c: Likewise.
4300 * manual/examples/genpass.c: Likewise.
4301 * manual/examples/inetcli.c: Likewise.
4302 * manual/examples/inetsrv.c: Likewise.
4303 * manual/examples/isockad.c: Likewise.
4304 * manual/examples/longopt.c: Likewise.
4305 * manual/examples/memopen.c: Likewise.
4306 * manual/examples/memstrm.c: Likewise.
4307 * manual/examples/mkfsock.c: Likewise.
4308 * manual/examples/mkisock.c: Likewise.
4309 * manual/examples/mygetpass.c: Likewise.
4310 * manual/examples/pipe.c: Likewise.
4311 * manual/examples/popen.c: Likewise.
4312 * manual/examples/rprintf.c: Likewise.
4313 * manual/examples/search.c: Likewise.
4314 * manual/examples/select.c: Likewise.
4315 * manual/examples/setjmp.c: Likewise.
4316 * manual/examples/sigh1.c: Likewise.
4317 * manual/examples/sigusr.c: Likewise.
4318 * manual/examples/stpcpy.c: Likewise.
4319 * manual/examples/strdupa.c: Likewise.
4320 * manual/examples/strftim.c: Likewise.
4321 * manual/examples/strncat.c: Likewise.
4322 * manual/examples/subopt.c: Likewise.
4323 * manual/examples/swapcontext.c: Likewise.
4324 * manual/examples/termios.c: Likewise.
4325 * manual/examples/testopt.c: Likewise.
4326 * manual/examples/testpass.c: Likewise.
4327 * manual/examples/timeval_subtract.c: Likewise.
4330 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4332 * manual/timeval_subtract.c.texi: ... here, new file.
4334 2012-03-02 David S. Miller <davem@davemloft.net>
4336 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4338 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4341 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4342 (__sin): Save and restore rounding mode and use round-to-nearest
4343 for all computations.
4344 (__cos): Save and restore rounding mode and use round-to-nearest
4345 for all computations.
4346 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4348 (tan): Save and restore rounding mode and use round-to-nearest for
4350 * math/libm-test.inc (cos_test_tonearest): New function.
4351 (cos_test_towardzero): Likewise.
4352 (cos_test_downward): Likewise.
4353 (cos_test_upward): Likewise.
4354 (sin_test_tonearest): Likewise.
4355 (sin_test_towardzero): Likewise.
4356 (sin_test_downward): Likewise.
4357 (sin_test_upward): Likewise.
4358 (tan_test_tonearest): Likewise.
4359 (tan_test_towardzero): Likewise.
4360 (tan_test_downward): Likewise.
4361 (tan_test_upward): Likewise.
4362 (main): Call the new functions.
4363 * sysdeps/i386/fpu/libm-test-ulps: Update.
4364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4367 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4368 small n, then large n, before computing and testing k+n.
4369 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4370 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4374 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4375 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4376 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4377 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4378 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4380 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4381 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4382 * math/libm-test.inc (scalbn_test): Add more tests.
4383 (scalbln_test): Likewise.
4385 * manual/filesys.texi (mode_t): Describe constraints on size and
4386 signedness, not exact equivalence to a particular type.
4388 (ino64_t): Likewise.
4390 (nlink_t): Likewise.
4391 (blkcnt_t): Likewise.
4392 (blkcnt64_t): Likewise.
4393 * manual/llio.texi (off_t): Likewise.
4396 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4397 (__ieee754_exp): Save and restore rounding mode and use
4398 round-to-nearest for all computations.
4399 * math/libm-test.inc (exp_test_tonearest): New function.
4400 (exp_test_towardzero): Likewise.
4401 (exp_test_downward): Likewise.
4402 (exp_test_upward): Likewise.
4403 (main): Call the new functions.
4404 * sysdeps/i386/fpu/libm-test-ulps: Update.
4405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4407 2012-03-01 Chris Demetriou <cgd@google.com>
4409 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4410 have predictable order.
4412 2012-03-01 David S. Miller <davem@davemloft.net>
4414 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4416 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4417 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4418 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4419 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4421 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4422 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4423 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4425 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4426 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4427 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4428 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4429 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4433 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4434 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4435 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4437 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4438 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4439 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4440 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4441 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4442 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4443 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4444 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4445 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4446 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4447 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4448 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4450 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4452 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4453 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4454 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4455 * sysdeps/sparc/elf/configure: Regenerated.
4457 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4459 * configure.in (AS, LD): Require binutils 2.20 or later.
4460 * configure: Regenerated.
4461 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4462 as required minimum version.
4463 * INSTALL: Regenerated.
4467 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4468 before squaring exponent.
4469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4470 bottom long double and 27 bits of top long double before squaring
4472 * math/libm-test.inc (erfc_test): Add more tests.
4473 * sysdeps/i386/fpu/libm-test-ulps: Update.
4474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4477 2012-03-01 Kai Tietz <ktietz@redhat.com>
4479 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4480 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4481 containing bit-fields.
4482 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4483 * soft-fp/single.h (_FP_UNION_S): Likewise.
4484 * soft-fp/double.h (_FP_UNION_D): Likewise.
4486 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4489 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4490 not include ../strcmp.S.
4491 [USE_AS_STRNCASECMP_L]: Likewise.
4492 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4493 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4494 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4495 (__strncasecmp_l_ia32): Define as alias to
4496 __strncasecmp_l_nonascii.
4499 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4503 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4506 2012-02-29 Jeff Law <law@redhat.com>
4508 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4511 2012-02-29 Marek Polacek <polacek@redhat.com>
4514 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4515 * elf/Makefile: Add rules to run tst-unused-dep.out.
4517 2012-02-28 David S. Miller <davem@davemloft.net>
4519 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4520 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4521 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4522 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4523 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4524 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4526 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4528 * math/libm-test.inc (llround_test): Move one test from
4529 lround_test. Use TEST_f_L in moved test.
4530 (lround_test): Move misplaced test to llround_test. Add testcase
4533 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4535 * sysdeps/x86_64/fpu/e_expf.S: New file.
4536 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4538 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4541 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4542 of remain_len that may cause incomplete multi-byte character and
4544 * posix/bug-regex33.c: New file.
4545 * posix/Makefile (tests): Add bug-regex33.
4547 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4549 * manual/macros.texi: New file.
4550 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4551 * manual/libc.texinfo: Include macros.texi.
4552 * manual/creatute.texi: Likewise.
4553 * manual/install.texi: Likewise.
4554 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4555 @glibcadj{} in references to the GNU C Library.
4556 * manual/charset.texi: Likewise.
4557 * manual/conf.texi: Likewise.
4558 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4559 when not using those macros.
4560 * manual/creature.texi: Likewise.
4561 * manual/crypt.texi: Likewise.
4562 * manual/errno.texi: Likewise.
4563 * manual/filesys.texi: Likewise.
4564 * manual/header.texi: Likewise.
4565 * manual/install.texi: Likewise.
4566 * manual/intro.texi: Likewise.
4567 * manual/io.texi: Likewise.
4568 * manual/job.texi: Likewise.
4569 * manual/lang.texi: Likewise.
4570 * manual/libc.texiinfo: Likewise.
4571 * manual/llio.texi: Likewise.
4572 * manual/locale.texi: Likewise.
4573 * manual/maint.texi: Likewise.
4574 * manual/math.texi: Likewise.
4575 * manual/memory.texi: Likewise.
4576 * manual/message.texi: Likewise.
4577 * manual/nss.texi: Likewise.
4578 * manual/pattern.texi: Likewise.
4579 * manual/process.texi: Likewise.
4580 * manual/resource.texi: Likewise.
4581 * manual/search.texi: Likewise.
4582 * manual/setjmp.texi: Likewise.
4583 * manual/signal.texi: Likewise.
4584 * manual/socket.texi: Likewise.
4585 * manual/startup.texi: Likewise.
4586 * manual/stdio.texi: Likewise.
4587 * manual/string.texi: Likewise.
4588 * manual/sysinfo.texi: Likewise.
4589 * manual/syslog.texi: Likewise.
4590 * manual/terminal.texi: Likewise.
4591 * manual/time.texi: Likewise.
4592 * manual/users.texi: Likewise.
4593 * INSTALL: Regenerated.
4594 * NOTES: Regenerated.
4595 * sysdeps/gnu/errlist.c: Regenerated.
4597 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4599 * include/dirent.h: Include <dirstream.h> before
4602 2012-02-28 David S. Miller <davem@davemloft.net>
4604 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4605 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4606 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4607 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4609 2012-02-27 David S. Miller <davem@davemloft.net>
4611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4613 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4614 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4617 frame pointer instead of stack pointer relative arg slot.
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4619 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4620 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4622 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4625 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4627 2012-02-27 David S. Miller <davem@davemloft.net>
4629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4633 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4634 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4635 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4636 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4638 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4640 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4641 later. Allow versions 5-9.
4642 * configure: Regenerated.
4643 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4644 required minimum version and 4.6 as recommended version. Do not
4645 mention bugs in GCC 2.7 and 2.8.
4646 * INSTALL: Regenerated.
4648 2012-02-27 David S. Miller <davem@davemloft.net>
4650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4654 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4655 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4656 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4657 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4659 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4660 manipulate bits before adding and subtracting TWO112[sx].
4661 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4663 2012-02-27 Roland McGrath <roland@hack.frob.com>
4666 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4667 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4668 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4669 being in POSIX, because they are in 1003.1-2008.
4671 * rt/tst-aio.c: Include <fcntl.h>.
4672 * rt/tst-aio7.c: Likewise.
4673 * rt/tst-aio64.c: Likewise.
4675 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4677 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4679 * manual/install.texi (--with-headers): Describe headers as
4680 interface headers, not private headers.
4681 (Specific advice for GNU/Linux systems): Describe use of headers
4682 from "make headers_install", not private headers from older
4684 * INSTALL: Regenerated.
4685 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4687 * sysdeps/unix/sysv/linux/configure: Regenerated.
4689 * manual/llio.texi (fclean): Remove documentation.
4691 * manual/Makefile (libc-texi-generated): New variable. Include
4693 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4694 $(libc-texi-generated), not duplicated list of files.
4695 (version.texi, stamp-version): New rules.
4696 (realclean): Remove $(libc-texi-generated), not individual files
4697 from that list. Do not remove dir-add.texinfo.
4698 * manual/libc.texinfo: Comment out uses of edition numbers and
4699 references to printed manual. Remove last-updated dates.
4700 (EDITION): Comment out.
4702 (VERSION, UPDATED): Remove.
4703 (version.texi): Include.
4705 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4707 * sysdeps/posix/spawni.c: Include <signal.h>.
4708 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4709 * sysdeps/pthread/aio_fsync.c: Likewise.
4711 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4713 * conform/Makefile (tests): Run only when not cross-compiling and
4714 when fast-check is not defined.
4716 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4717 * conform/data/limits.h-data: Fixes for POSIX2008.
4718 * conform/run-conformtest.sh: Run all tests.
4719 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4721 * include/bits/dlfcn.h: Likewise.
4722 * include/langinfo.h: Likewise.
4723 * include/monetary.h: Likewise.
4724 * include/sys/poll.h: Likewise.
4726 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4728 * posix/spawn.h: Define __need_sigset_t.
4729 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4730 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4731 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4732 to get sigevent_t only.
4733 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4736 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4737 process_vm_writev only for __USE_GNU.
4738 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4740 * conform/Makefile: For now ignore errors from run-conformtest.
4741 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4742 POSIX to avoid namespace pollution. Don't prepend headers.
4743 * conform/data/aio.h-data: Fixes for POSIX testing.
4744 * conform/data/fcntl.h-data: Likewise.
4745 * conform/data/glob.h-data: Likewise.
4746 * conform/data/grp.h-data: Likewise.
4747 * conform/data/pthread.h-data: Likewise.
4748 * conform/data/pwd.h-data: Likewise.
4749 * conform/data/signal.h-data: Likewise.
4750 * conform/data/spawn.h-data: Likewise.
4751 * conform/data/stdio.h-data: Likewise.
4752 * conform/data/stdlib.h-data: Likewise.
4753 * conform/data/stropts.h-data: Likewise.
4754 * conform/data/sys/mman.h-data: Likewise.
4755 * conform/data/sys/stat.h-data: Likewise.
4756 * conform/data/sys/types.h-data: Likewise.
4757 * conform/data/sys/wait.h-data: Likewise.
4758 * conform/data/time.h-data: Likewise.
4759 * conform/data/unistd.h-data: Likewise.
4760 * conform/data/utime.h-data: Likewise.
4762 * io/sys/stat.h: fchmod was always in POSIX.
4763 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4764 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4765 * rt/aio.h: Define __need_timespec before including <time.h>.
4766 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4767 struct. Add forward declaration of pthread_attr_t and use it in
4769 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4771 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4772 always remove CLK_TCK definition.
4774 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4776 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4778 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4780 * conform/run-conformtest.sh: New file.
4781 * conform/Makefile: Run run-conformtest for tests.
4782 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4785 * conform/data/uchar.h-data: New file.
4786 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4787 * conform/data/arpa/inet.h-data: Likewise.
4788 * conform/data/assert.h-data: Likewise.
4789 * conform/data/complex.h-data: Likewise.
4790 * conform/data/cpio.h-data: Likewise.
4791 * conform/data/ctype.h-data: Likewise.
4792 * conform/data/dirent.h-data: Likewise.
4793 * conform/data/dlfcn.h-data: Likewise.
4794 * conform/data/errno.h-data: Likewise.
4795 * conform/data/fcntl.h-data: Likewise.
4796 * conform/data/float.h-data: Likewise.
4797 * conform/data/fmtmsg.h-data: Likewise.
4798 * conform/data/fnmatch.h-data: Likewise.
4799 * conform/data/ftw.h-data: Likewise.
4800 * conform/data/glob.h-data: Likewise.
4801 * conform/data/grp.h-data: Likewise.
4802 * conform/data/iconv.h-data: Likewise.
4803 * conform/data/inttypes.h-data: Likewise.
4804 * conform/data/langinfo.h-data: Likewise.
4805 * conform/data/libgen.h-data: Likewise.
4806 * conform/data/limits.h-data: Likewise.
4807 * conform/data/locale.h-data: Likewise.
4808 * conform/data/math.h-data: Likewise.
4809 * conform/data/monetary.h-data: Likewise.
4810 * conform/data/mqueue.h-data: Likewise.
4811 * conform/data/ndbm.h-data: Likewise.
4812 * conform/data/net/if.h-data: Likewise.
4813 * conform/data/netdb.h-data: Likewise.
4814 * conform/data/netinet/in.h-data: Likewise.
4815 * conform/data/nl_types.h-data: Likewise.
4816 * conform/data/poll.h-data: Likewise.
4817 * conform/data/pthread.h-data: Likewise.
4818 * conform/data/pwd.h-data: Likewise.
4819 * conform/data/regex.h-data: Likewise.
4820 * conform/data/sched.h-data: Likewise.
4821 * conform/data/search.h-data: Likewise.
4822 * conform/data/semaphore.h-data: Likewise.
4823 * conform/data/setjmp.h-data: Likewise.
4824 * conform/data/signal.h-data: Likewise.
4825 * conform/data/spawn.h-data: Likewise.
4826 * conform/data/stdarg.h-data: Likewise.
4827 * conform/data/stdio.h-data: Likewise.
4828 * conform/data/stdlib.h-data: Likewise.
4829 * conform/data/string.h-data: Likewise.
4830 * conform/data/strings.h-data: Likewise.
4831 * conform/data/stropts.h-data: Likewise.
4832 * conform/data/sys/ipc.h-data: Likewise.
4833 * conform/data/sys/mman.h-data: Likewise.
4834 * conform/data/sys/msg.h-data: Likewise.
4835 * conform/data/sys/resource.h-data: Likewise.
4836 * conform/data/sys/select.h-data: Likewise.
4837 * conform/data/sys/sem.h-data: Likewise.
4838 * conform/data/sys/shm.h-data: Likewise.
4839 * conform/data/sys/socket.h-data: Likewise.
4840 * conform/data/sys/stat.h-data: Likewise.
4841 * conform/data/sys/statvfs.h-data: Likewise.
4842 * conform/data/sys/time.h-data: Likewise.
4843 * conform/data/sys/timeb.h-data: Likewise.
4844 * conform/data/sys/times.h-data: Likewise.
4845 * conform/data/sys/types.h-data: Likewise.
4846 * conform/data/sys/uio.h-data: Likewise.
4847 * conform/data/sys/un.h-data: Likewise.
4848 * conform/data/sys/utsname.h-data: Likewise.
4849 * conform/data/sys/wait.h-data: Likewise.
4850 * conform/data/syslog.h-data: Likewise.
4851 * conform/data/tar.h-data: Likewise.
4852 * conform/data/termios.h-data: Likewise.
4853 * conform/data/utime.h-data: Likewise.
4854 * conform/data/utmpx.h-data: Likewise.
4855 * conform/data/varargs.h-data: Likewise.
4856 * conform/data/wchar.h-data: Likewise.
4857 * conform/data/wctype.h-data: Likewise.
4858 * conform/data/wordexp.h-data: Likewise.
4860 * include/stropts.h: New file.
4861 * include/uchar.h: New file.
4862 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4863 * include/assert.h: Likewise.
4864 * include/ctype.h: Likewise.
4865 * include/dirent.h: Likewise.
4866 * include/dlfcn.h: Likewise.
4867 * include/fcntl.h: Likewise.
4868 * include/fnmatch.h: Likewise.
4869 * include/glob.h: Likewise.
4870 * include/grp.h: Likewise.
4871 * include/libio.h: Likewise.
4872 * include/locale.h: Likewise.
4873 * include/math.h: Likewise.
4874 * include/net/if.h: Likewise.
4875 * include/netdb.h: Likewise.
4876 * include/netinet/in.h: Likewise.
4877 * include/pthread.h: Likewise.
4878 * include/pwd.h: Likewise.
4879 * include/regex.h: Likewise.
4880 * include/sched.h: Likewise.
4881 * include/search.h: Likewise.
4882 * include/setjmp.h: Likewise.
4883 * include/signal.h: Likewise.
4884 * include/stdio.h: Likewise.
4885 * include/stdlib.h: Likewise.
4886 * include/string.h: Likewise.
4887 * include/sys/cdefs.h: Likewise.
4888 * include/sys/mman.h: Likewise.
4889 * include/sys/msg.h: Likewise.
4890 * include/sys/resource.h: Likewise.
4891 * include/sys/select.h: Likewise.
4892 * include/sys/socket.h: Likewise.
4893 * include/sys/stat.h: Likewise.
4894 * include/sys/statvfs.h: Likewise.
4895 * include/sys/time.h: Likewise.
4896 * include/sys/times.h: Likewise.
4897 * include/sys/uio.h: Likewise.
4898 * include/sys/utsname.h: Likewise.
4899 * include/sys/wait.h: Likewise.
4900 * include/termios.h: Likewise.
4901 * include/time.h: Likewise.
4902 * include/ulimit.h: Likewise.
4903 * include/unistd.h: Likewise.
4904 * include/utime.h: Likewise.
4905 * include/wchar.h: Likewise.
4906 * include/wctype.h: Likewise.
4907 * include/wordexp.h: Likewise.
4909 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4911 * time/time.h: TIME_UTC must be a macro.
4912 Make timespec_get available for ISO C11 only as well.
4914 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4916 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4917 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4919 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4921 * configure.in: Use -o not -a in test for unsupported multi-arch.
4923 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4925 * manual/texinfo.tex: Update to version 2012-01-19.16.
4927 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4929 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4931 2012-02-24 Roland McGrath <roland@hack.frob.com>
4934 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4935 * manual/fdl-1.3.texi: New file.
4936 * manual/fdl-1.1.texi: File removed.
4939 * manual/libc.texinfo (FDL_VERSION): New @set.
4940 Use it for mention of FDL in cover text.
4941 (Documentation License): Use it in @include file name.
4943 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4944 Roland McGrath <roland@hack.frob.com>
4947 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4948 not LONG_LONG_MAX and LONG_LONG_MIN.
4949 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4950 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4952 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4954 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4958 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4959 manipulate bits before adding and subtracting TWO23[sx].
4960 * math/libm-test.inc (nearbyint_test): Add more tests.
4962 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4965 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4966 bits before adding and subtracting TWO23[sx].
4967 * math/libm-test.inc (rint_test): Add more tests.
4968 (rint_test_tonearest): Likewise.
4969 (rint_test_towardzero): Likewise.
4970 (rint_test_downward): Likewise.
4971 (rint_test_upward: Likewise.
4973 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4976 * include/stdc-predef.h: New file. Extracted from features.h.
4977 * include/features.h: Include stdc-predef.h.
4978 * Makefile (headers): Add stdc-predef.h.
4979 * CONFORMANCE (Compiler limitations): Update.
4981 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4983 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4985 2012-02-21 David S. Miller <davem@davemloft.net>
4987 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4988 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4990 2012-02-20 David S. Miller <davem@davemloft.net>
4992 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4993 using a normal save/restore sequence, rather than allocating a
4994 dummy stack frame just to store a frame pointer and restore.
4995 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4997 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4999 * manual/install.texi: Fix stray word in line-wrapped comment.
5001 2012-02-20 David S. Miller <davem@davemloft.net>
5003 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5004 both binutils and gcc support GOTDATA.
5006 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5007 "rd %pc" in the PIC register setup sequences.
5009 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5010 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5011 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5012 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5013 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5015 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5016 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5017 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5018 (SYSCALL_ERROR_HANDLER): Likewise.
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5020 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5021 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5022 (SYSCALL_ERROR_HANDLER): Likewise.
5024 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5025 (HAVE_GCC_GOTDATA): New.
5026 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5027 relocation support in both binutils and gcc.
5028 * sysdeps/sparc/elf/configure: Regenerate.
5030 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5031 * sysdeps/sparc/sparc32/elf/configure: Delete.
5032 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5033 * sysdeps/sparc/sparc64/elf/configure: Delete.
5034 * sysdeps/sparc/elf/configure.in: New file.
5035 * sysdeps/sparc/elf/configure: Generate.
5037 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5038 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5039 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5040 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5041 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5043 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5045 * manual/install.texi: Do not mention specific glibc version
5047 * manual/libc.texinfo (VERSION, UPDATED): Update.
5048 (@copying): Use @copyright{} and range of years.
5050 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5053 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5054 [crti.S not in sysdirs] (generated): Do not append.
5055 [crti.S not in sysdirs] (omit-deps): Likewise.
5056 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5057 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5058 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5059 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5060 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5062 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5063 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5064 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5065 * csu/defs.awk: Remove file.
5066 * sysdeps/generic/initfini.c: Likewise.
5067 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5069 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5072 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5074 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5075 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5076 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5077 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5078 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5079 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5081 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5082 (__EPOLL_PACKED): Define to empty if not defined by
5084 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5085 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5088 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5090 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5091 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5092 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5093 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5095 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5099 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5101 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5103 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5104 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5105 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5108 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5110 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5111 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5113 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5115 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5116 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5118 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5120 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5123 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5125 * math/w_acos.c: Use non-signaling floating-point comparisons.
5126 * math/w_acosf.c: Likewise.
5127 * math/w_acosh.c: Likewise.
5128 * math/w_acoshf.c: Likewise.
5129 * math/w_acoshl.c: Likewise.
5130 * math/w_acosl.c: Likewise.
5131 * math/w_asin.c: Likewise.
5132 * math/w_asinf.c: Likewise.
5133 * math/w_asinl.c: Likewise.
5134 * math/w_atanh.c: Likewise.
5135 * math/w_atanhf.c: Likewise.
5136 * math/w_atanhl.c: Likewise.
5137 * math/w_exp2.c: Likewise.
5138 * math/w_exp2f.c: Likewise.
5139 * math/w_exp2l.c: Likewise.
5140 * math/w_j0.c: Likewise.
5141 * math/w_j0f.c: Likewise.
5142 * math/w_j0l.c: Likewise.
5143 * math/w_j1.c: Likewise.
5144 * math/w_j1f.c: Likewise.
5145 * math/w_j1l.c: Likewise.
5146 * math/w_jn.c: Likewise.
5147 * math/w_jnf.c: Likewise.
5148 * math/w_log.c: Likewise.
5149 * math/w_log10.c: Likewise.
5150 * math/w_log10f.c: Likewise.
5151 * math/w_log10l.c: Likewise.
5152 * math/w_log2.c: Likewise.
5153 * math/w_log2f.c: Likewise.
5154 * math/w_log2l.c: Likewise.
5155 * math/w_logf.c: Likewise.
5156 * math/w_logl.c: Likewise.
5157 * math/w_sqrt.c: Likewise.
5158 * math/w_sqrtf.c: Likewise.
5159 * math/w_sqrtl.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5161 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5162 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5163 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5166 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5169 * manual/string.texi (strnlen): Use correct parameter name in
5170 equivalent expression.
5172 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5175 * manual/users.texi (seteuid): Consistently use neweuid for
5178 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5181 * manual/nss.texi (Services in the NSS configuration): Correct
5182 list of services in example configuration file.
5184 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5187 * manual/arith.texi: Remove statements about negative zero
5188 behaving identically to zero.
5190 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5193 * manual/install.texi: Do not document upgrading from libc5.
5195 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5198 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5200 2012-02-18 David S. Miller <davem@davemloft.net>
5202 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5203 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5204 %o7 across the call.
5205 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5207 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5209 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5210 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5211 * sysdeps/sparc/crtn.S: Likewise.
5213 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5215 * aout/Makefile: Remove.
5217 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5220 * manual/examples/argp-ex1.c (main): Format definition in GNU
5222 * manual/examples/argp-ex2.c (main): Likewise.
5223 * manual/examples/argp-ex3.c (main): Likewise.
5224 * manual/examples/argp-ex4.c (main): Likewise.
5225 * manual/examples/longopt.c (main): Use new-style prototype
5227 * manual/examples/strncat.c (main): Specify return type and use
5228 (void) for arguments.
5229 * manual/examples/subopt.c (main): Use char **argv argument.
5231 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5234 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5237 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5240 * manual/string.texi (strchr): Change when strchrnul is
5243 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5246 * manual/locale.texi (setlocale): Document LOCPATH.
5248 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5251 * manual/process.texi (execle): Move @dots{} before last argument.
5253 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5256 * manual/charset.texi (Generic Charset Conversion): Fix typo
5257 (LC_TYPE -> LC_CTYPE).
5259 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5262 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5263 (scalbnf): Likewise.
5264 (scalbnl): Likewise.
5265 (scalbln): Likewise.
5266 (scalblnf): Likewise.
5267 (scalblnl): Likewise.
5268 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5272 * manual/filesys.texi (telldir): Use braces around return type.
5273 * manual/llio.texi (mmap): Add space after comma.
5275 * manual/math.texi (jn): Use @var{} on parameter names.
5281 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5283 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5285 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5286 (sched_get_priority_max): Likewise.
5287 * manual/signal.texi (sigvec): Add space after comma.
5288 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5290 (if_indextoname): Likewise.
5291 (if_freenameindex): Likewise.
5292 (sendto): Use ',' instead of '.' in prototype.
5293 * manual/startup.texi (syscall): Use @dots{} instead of literal
5295 * manual/stdio.texi (__fpending): Separate initial words of
5296 paragraph from @deftypefun line.
5297 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5299 (vsyslog): Use @var{} on parameter names.
5300 * manual/terminal.texi (stty): Use @var{} on parameter names.
5301 * manual/users.texi (getutmp): Use @var{} on parameter names.
5302 (getutmpx): Likewise.
5304 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5307 * manual/stdio.texi (fopen): Fix typos in description of
5310 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5313 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5314 get clock_id definition.
5316 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5319 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5320 (madvise): Cast every argument to void on its own.
5322 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5325 * manual/startup.texi (Exit Status): Fix typo.
5327 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5330 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5331 * manual/examples/argp-ex2.c: Likewise.
5332 * manual/examples/argp-ex3.c: Likewise.
5334 2012-02-16 Richard Henderson <rth@redhat.com>
5336 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5337 * sysdeps/s390/s390-32/initfini.c: Remove.
5338 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5339 * sysdeps/s390/s390-64/initfini.c: Remove.
5341 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5343 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5344 compiler output for sysdeps/generic/initfini.c.
5345 * sysdeps/sh/elf/initfini.c: Remove file.
5347 2012-02-16 David S. Miller <davem@davemloft.net>
5350 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5352 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5353 * sysdeps/sparc/crti.S: New file.
5354 * sysdeps/sparc/crtn.S: New file.
5355 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5356 * sysdeps/sparc/sparc64/Makefile: Likewise.
5358 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5361 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5363 2012-02-15 Roland McGrath <roland@hack.frob.com>
5366 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5368 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5369 (write, read, close): Likewise.
5370 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5372 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5374 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5375 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5376 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5377 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5379 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5383 2012-02-14 Marek Polacek <polacek@redhat.com>
5385 * sysdeps/x86_64/crti.S: New file.
5386 * sysdeps/x86_64/crtn.S: New file.
5387 * sysdeps/x86_64/elf/initfini.c: Remove file.
5389 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5391 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5392 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5393 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5394 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5396 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5400 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5402 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5403 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5404 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5405 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5407 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5408 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5411 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5413 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5414 __feraiseexcept instead of feraiseexcept.
5416 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5417 nanosleep invocations.
5418 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5419 strings, and add error checking for a nanosleep invocations.
5421 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5423 Replace FSF snail mail address with URLs, as per GNU coding standards.
5424 Most of the snail mail addresses were wrong anyway, and omitting
5425 them makes the source code easier to maintain. Almost all of the
5426 changes are to license notices and to locale LC_IDENTIFICATION
5427 addresses, except for this one:
5428 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5429 not its snail mail address.
5431 2012-02-09 Richard Henderson <rth@twiddle.net>
5433 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5434 of kernel-features.h.
5436 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5438 2012-02-08 Marek Polacek <polacek@redhat.com>
5440 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5441 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5442 * sysdeps/gnu/_G_config.h: Likewise.
5443 * sysdeps/generic/_G_config.h: Likewise.
5445 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5447 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5451 * sysdeps/powerpc/powerpc32/crti.S: New file.
5452 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5453 * sysdeps/powerpc/powerpc64/crti.S: New file.
5454 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5456 * Makeconfig (have-initfini): Don't set.
5457 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5458 * configure.in (nopic_initfini): Don't substitute.
5459 * config.h.in (HAVE_INITFINI): Don't #undef.
5460 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5461 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5463 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5465 Support crti.S and crtn.S provided directly by architectures.
5466 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5467 [crti.S in sysdirs] (omit-deps): Likewise.
5468 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5469 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5470 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5471 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5472 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5473 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5474 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5475 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5476 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5477 compiler output for sysdeps/generic/initfini.c.
5478 * sysdeps/i386/elf/Makefile: Remove file.
5479 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5481 2012-02-07 Marek Polacek <polacek@redhat.com>
5483 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5484 * sysdeps/gnu/_G_config.h: Likewise.
5485 * sysdeps/mach/hurd/_G_config.h: Likewise.
5487 2012-02-07 Marek Polacek <polacek@redhat.com>
5489 * math/Makefile (tests): Add tst-CMPLX2.
5490 * math/tst-CMPLX2.c: New file.
5492 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5494 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5496 * math/libm-test.inc (jn_test): Add missing L suffix.
5498 2012-02-06 Marek Polacek <polacek@redhat.com>
5500 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5501 * sysdeps/i386/fpu/e_powf.S: Likewise.
5502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5503 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5504 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5505 * sysdeps/i386/fpu/e_pow.S: Likewise.
5506 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5507 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5508 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5509 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5510 * sysdeps/i386/fpu/e_log2.S: Likewise.
5511 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5512 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5513 * sysdeps/i386/fpu/e_powl.S: Likewise.
5514 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5515 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5516 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5517 * sysdeps/i386/fpu/e_logl.S: Likewise.
5518 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5519 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5520 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5521 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5522 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5523 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5524 * sysdeps/i386/fpu/e_log.S: Likewise.
5525 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5526 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5527 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5528 * sysdeps/i386/fpu/e_logf.S: Likewise.
5529 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5530 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5531 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5532 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5533 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5534 * sysdeps/i386/fpu/e_log10.S: Likewise.
5535 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5536 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5537 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5538 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5539 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5540 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5541 * sysdeps/i386/asm-syntax.h: Likewise.
5542 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5543 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5544 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5545 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5546 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5547 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5548 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5549 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5550 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5551 * sysdeps/powerpc/sysdep.h: Likewise.
5552 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5553 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5555 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5558 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5560 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5562 * sysdeps/i386/sysdep.h: Include <features.h>.
5563 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5566 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5568 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5570 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5573 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5575 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5576 (SETUP_PIC_REG): Use GET_PC_THUNK.
5577 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5580 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5582 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5583 for non-PIC compilation.
5584 (SETUP_PIC_REG): Add .p2align directive.
5585 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5586 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5587 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5588 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5589 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5590 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5591 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5593 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5594 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5595 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5596 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5597 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5598 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5599 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5600 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5601 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5602 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5603 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5604 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5605 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5607 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5608 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5609 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5610 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5611 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5612 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5613 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5614 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5615 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5616 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5617 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5618 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5619 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5620 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5621 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5622 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5623 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5624 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5625 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5627 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5629 * math/tst-CMPLX.c: Include <stdio.h>.
5631 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5633 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5635 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5636 * sysdeps/sparc/bits/mathdef.h: Likewise.
5638 2012-01-31 Marek Polacek <polacek@redhat.com>
5640 * libio/libio.h: Don't define _PARAMS.
5641 * locale/programs/config.h: Don't define PARAMS.
5642 * stdlib/strtol_l.c: Likewise.
5643 (__strtol_l): Remove PARAMS from the prototype.
5645 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5647 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5648 names. Just use the correct names. Remove unnecessary wrapper
5650 * malloc/arena.c: Likewise.
5651 * malloc/hooks.c: Likewise.
5653 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5654 ARENA_TEST says not to. Simplify test for creation of a new arena.
5655 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5657 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5659 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5661 (update_get_addr): New function.
5662 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5663 GET_ADDR_MODULE parameter.
5665 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5667 * crypt/cert.c: Remove __STDC__ conditionals.
5668 * crypt/crypt-entry.c: Likewise.
5669 * crypt/crypt_util.c: Likewise.
5670 * libio/filedoalloc.c: Likewise.
5671 * libio/fileops.c: Likewise.
5672 * libio/genops.c: Likewise.
5673 * libio/iofclose.c: Likewise.
5674 * libio/iofdopen.c: Likewise.
5675 * libio/iofopen.c: Likewise.
5676 * libio/iofopen64.c: Likewise.
5677 * libio/iogetdelim.c: Likewise.
5678 * libio/iopopen.c: Likewise.
5679 * libio/obprintf.c: Likewise.
5680 * libio/oldfileops.c: Likewise.
5681 * libio/oldiofclose.c: Likewise.
5682 * libio/oldiofdopen.c: Likewise.
5683 * libio/oldiofopen.c: Likewise.
5684 * libio/oldiopopen.c: Likewise.
5685 * libio/wfiledoalloc.c: Likewise.
5686 * libio/wgenops.c: Likewise.
5687 * locale/programs/xmalloc.c: Likewise.
5688 * misc/syslog.c: Likewise.
5689 * stdio-common/xbug.c: Likewise.
5690 * string/memchr.c: Likewise.
5691 * string/memcmp.c: Likewise.
5692 * string/memrchr.c: Likewise.
5693 * string/rawmemchr.c: Likewise.
5694 * sysdeps/posix/getcwd.c: Likewise.
5695 * time/strftime_l.c: Likewise.
5697 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5699 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5700 * config.make.in (config-cflags-sse2avx): Define.
5701 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5704 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5706 * scripts/config.guess: Update from upstream config git repository.
5707 * scripts/config.sub: Likewise.
5709 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5711 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5713 (R_TILEPRO_*, R_TILEGX_*): New macros.
5715 * scripts/firstversions.awk: Fix bug in version range handling.
5717 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5719 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5721 * include/sys/epoll.h: New file.
5722 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5725 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5727 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5728 Avoid unnecessary __WORDSIZE == 64 test.
5729 (fmaxf): Use VEX format if possible.
5734 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5735 * math/math_private.h: Remove libc_fegetround* and
5737 * sysdeps/i386/configure.in: Check for -msse2avx.
5738 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5739 also if SSE2AVX is defined.
5740 Remove libc_fegetround* and libc_fesetround*.
5741 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5742 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5743 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5745 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5746 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5747 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5748 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5749 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5751 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5753 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5757 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5759 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5762 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5764 * Makeconfig (libm): Define.
5765 * elf/Makefile: Add rules to build and run tst-relsort1.
5766 * elf/tst-relsort1.c: New file.
5767 * elf/tst-relsort1mod1.c: New file.
5768 * elf/tst-relsort1mod2.c: New file.
5770 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5772 * math/s_ldexp.c: Remove __STDC__ conditionals.
5773 * math/s_ldexpf.c: Likewise.
5774 * math/s_ldexpl.c: Likewise.
5775 * math/s_nextafter.c: Likewise.
5776 * math/s_nexttowardf.c: Likewise.
5777 * math/s_significand.c: Likewise.
5778 * math/s_significandf.c: Likewise.
5779 * math/s_significandl.c: Likewise.
5780 * math/w_jnl.c: Likewise.
5781 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5782 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5783 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5784 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5785 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5792 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5793 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5795 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5796 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5797 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5799 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5800 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5801 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5802 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5803 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5804 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5805 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5806 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5807 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5808 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5809 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5810 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5811 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5812 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5813 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5814 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5815 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5816 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5817 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5818 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5819 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5820 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5821 * sysdeps/ieee754/k_standard.c: Likewise.
5822 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5823 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5824 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5826 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5827 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5828 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5829 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5830 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5831 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5832 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5833 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5834 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5835 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5838 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5841 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5842 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5843 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5844 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5845 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5846 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5847 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5850 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5851 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5852 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5853 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5854 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5855 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5857 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5861 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5862 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5864 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5865 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5866 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5867 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5868 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5871 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5875 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5876 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5878 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5879 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5880 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5881 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5882 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5883 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5886 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5887 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5888 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5890 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5891 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5892 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5893 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5894 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5895 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5896 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5897 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5898 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5899 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5901 * sysdeps/ieee754/s_matherr.c: Likewise.
5902 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5903 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5907 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5909 * crypt/md5.h: Remove __STDC__ conditionals.
5910 * libio/libioP.h: Likewise.
5911 * locale/programs/config.h: Likewise.
5912 * sysdeps/generic/sysdep.h: Likewise.
5913 * sysdeps/i386/asm-syntax.h: Likewise.
5914 * sysdeps/s390/asm-syntax.h: Likewise.
5915 * sysdeps/unix/sysdep.h: Likewise.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5919 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5921 * libio/libio.h: Remove __STDC__ conditionals.
5922 * malloc/obstack.h: Likewise.
5923 * math/complex.h: Likewise.
5924 * math/math.h: Likewise.
5925 * sysdeps/generic/_G_config.h: Likewise.
5926 * sysdeps/gnu/_G_config.h: Likewise.
5927 * sysdeps/mach/hurd/_G_config.h: Likewise.
5928 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5929 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5930 * sysdeps/sparc/bits/mathdef.h: Likewise.
5932 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5935 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5936 Clean up HAS_* macros.
5937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5938 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5940 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5942 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5943 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5944 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5945 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5946 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5948 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5950 * elf/tst-unique3.cc (gets): Remove declaration.
5951 * elf/tst-unique3lib.cc (gets): Likewise.
5952 * elf/tst-unique3lib2.cc (gets): Likewise.
5953 * elf/tst-unique4.cc (gets): Likewise.
5955 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5957 * include/stdio.h: Add C++ protection. Add gets declarations and
5959 * debug/tst-chk1.c: Don't declare gets here.
5960 * stdio-common/tst-gets.c: Likewise.
5962 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5964 * posix/glob: Remove directory.
5966 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5968 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5970 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5972 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5973 of the non-standard EPFNOSUPPORT.
5975 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5977 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5978 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5979 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5981 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5983 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5985 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5987 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5989 * nscd/grpcache.c (cache_addgr): Likewise.
5990 * nscd/hstcache.c (cache_addhst): Likewise.
5991 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5992 * nscd/pwdcache.c (cache_addpw): Likewise.
5993 * nscd/servicescache.c (cache_addserv): Likewise.
5995 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5997 * malloc/malloc.c: Various cleanups.
5998 * malloc/hooks.c: Likewise.
6000 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6001 * stdlib/bug-fmtmsg1.c: New file.
6003 * stdlib/fmtmsg.c (init): Add missing unlock.
6004 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6006 2012-01-12 Marek Polacek <polacek@redhat.com>
6008 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6011 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6013 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6014 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6015 macro to ensure uniqueness of label name.
6016 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6017 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6019 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6021 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6024 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6025 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6028 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6030 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6032 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6033 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6034 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6036 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6038 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6039 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6040 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6043 * math/bits/math-finite.h: Add ldexp support.
6045 2012-01-10 Marek Polacek <polacek@redhat.com>
6047 * locale/programs/localedef.h (show_archive_content): Add noreturn
6050 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6052 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6054 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6056 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6058 * io/Makefile (headers): Add bits/poll2.h.
6060 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6063 typo #include statement.
6065 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6067 * include/sys/cdefs.h: Define __attribute_alloc_size.
6068 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6069 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6070 * elf/pldd.c: Likewise.
6071 * iconv/iconv_charmap.c: Likewise.
6072 * iconv/iconvconfig.c: Likewise.
6073 * iconv/strtab.c: Likewise.
6074 * locale/programs/locale.c: Likewise.
6075 * locale/programs/localedef.h: Likewise.
6076 * locale/programs/simple-hash.c: Likewise.
6077 * nscd/nscd.h: Likewise.
6078 * nss/makedb.c: Likewise.
6079 * sysdeps/generic/ldconfig.h: Likewise.
6080 * locale/programs/localedef.c: Remove xmalloc prototype.
6081 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6083 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6085 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6088 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6090 * math/Makefile (tests): Add tst-CMPLX.
6091 * math/tst-CMPLX.c: New file.
6093 * math/complex.h (CMPLXL): Fix typo.
6095 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6096 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6098 * debug/tst-chk1.c: Add poll and ppoll tests.
6099 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6100 * include/sys/poll.h: Add hidden proto for ppoll.
6101 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6102 * sysdeps/mach/hurd/ppoll.c: Likewise.
6103 * io/ppoll.c: Likewise.
6104 * debug/poll_chk.c: New file.
6105 * debug/ppoll_chk.c: New file.
6106 * include/bits/poll2.h: New file.
6107 * io/bits/poll2.h: New file.
6110 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6112 * configure.in: static is always set to yes. Remove.
6113 * config.make.in: Don't set build-static.
6114 * Makeconfig: Remove use of build-static.
6115 * dlfcn/Makefile: Likewise.
6116 * elf/Makefile: Likewise.
6117 * math/Makefile: Likewise.
6118 * misc/Makefile: Likewise.
6119 * nptl/Makefile: Likewise.
6120 * sysdeps/mach/hurd/Makefile: Likewise.
6122 * configure.in: PWD_P is not used anymore.
6123 * config.make.in: Remove PWD_P entry.
6125 * configure.in: Remove last remnants of RANLIB.
6126 No need to check for signed size_t anymore.
6127 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6129 Remove __builtin_expect test because we require at least gcc 3.4.
6130 * aclocal.m4: Likewise.
6132 * wcsmbs/mbrtoc16.c: Implement using towc function.
6133 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6134 * wcsmbs/wcsmbsload.c: Likewise.
6135 * iconv/gconv_simple.c: Likewise.
6136 * iconv/gconv_int.h: Likewise.
6137 * iconv/gconv_builtin.h: Likewise.
6138 * iconv/iconv_prog.c: Remove CHAR16 handling.
6140 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6142 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6144 * configure.in: Remove --with-elf and --enable-bounded options.
6145 Dont set base_machine for ia64. More non-ELF conditions removed.
6146 Remove testing and setting of leading underscore information.
6147 * config.make.in (build-bounded): Set to no.
6148 * config.h.in: Remove NO_UNDERSCORES entry.
6149 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6151 * csu/start.c: Remove !NO_UNDERSCORE code.
6152 * locale/localeinfo.h: Likewise.
6153 * sysdeps/generic/machine-gmon.h: Likewise.
6154 * sysdeps/generic/sysdep.h: Likewise.
6155 * sysdeps/i386/sysdep.h: Likewise.
6156 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6157 * sysdeps/mach/sysdep.h: Likewise.
6158 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6159 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6160 * sysdeps/sh/sysdep.h: Likewise.
6161 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6162 * sysdeps/unix/i386/sysdep.S: Likewise.
6163 * sysdeps/unix/sparc/start.c: Likewise.
6164 * sysdeps/unix/sparc/sysdep.S: Likewise.
6165 * sysdeps/unix/sparc/sysdep.h: Likewise.
6166 * sysdeps/unix/start.c: Likewise.
6167 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6168 * sysdeps/x86_64/sysdep.h: Likewise.
6170 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6173 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6175 * argp/argp-fmtstream.h: Use const instead __const.
6176 * argp/argp.h: Likewise.
6177 * assert/assert.h: Likewise.
6178 * bits/fenv.h: Likewise.
6179 * bits/sched.h: Likewise.
6180 * bits/sigset.h: Likewise.
6181 * bits/sigthread.h: Likewise.
6182 * catgets/nl_types.h: Likewise.
6183 * conform/data/pthread.h-data: Likewise.
6184 * crypt/crypt-private.h: Likewise.
6185 * crypt/crypt.h: Likewise.
6186 * crypt/crypt_util.c: Likewise.
6187 * ctype/ctype.h: Likewise.
6188 * debug/execinfo.h: Likewise.
6189 * debug/mbsnrtowcs_chk.c: Likewise.
6190 * debug/mbsrtowcs_chk.c: Likewise.
6191 * debug/wcsnrtombs_chk.c: Likewise.
6192 * debug/wcsrtombs_chk.c: Likewise.
6193 * debug/wcstombs_chk.c: Likewise.
6194 * dirent/dirent.h: Likewise.
6195 * dlfcn/dlfcn.h: Likewise.
6196 * elf/neededtest4.c: Likewise.
6197 * grp/grp.h: Likewise.
6198 * gshadow/gshadow.h: Likewise.
6199 * iconv/gconv.h: Likewise.
6200 * iconv/gconv_int.h: Likewise.
6201 * iconv/gconv_simple.c: Likewise.
6202 * iconv/iconv.h: Likewise.
6203 * iconv/loop.c: Likewise.
6204 * iconv/skeleton.c: Likewise.
6205 * include/aio.h: Likewise.
6206 * include/aliases.h: Likewise.
6207 * include/argz.h: Likewise.
6208 * include/arpa/inet.h: Likewise.
6209 * include/assert.h: Likewise.
6210 * include/dirent.h: Likewise.
6211 * include/dlfcn.h: Likewise.
6212 * include/execinfo.h: Likewise.
6213 * include/fcntl.h: Likewise.
6214 * include/fenv.h: Likewise.
6215 * include/glob.h: Likewise.
6216 * include/grp.h: Likewise.
6217 * include/libintl.h: Likewise.
6218 * include/mntent.h: Likewise.
6219 * include/netdb.h: Likewise.
6220 * include/pwd.h: Likewise.
6221 * include/rpc/netdb.h: Likewise.
6222 * include/sched.h: Likewise.
6223 * include/search.h: Likewise.
6224 * include/shadow.h: Likewise.
6225 * include/signal.h: Likewise.
6226 * include/stdio.h: Likewise.
6227 * include/stdlib.h: Likewise.
6228 * include/string.h: Likewise.
6229 * include/sys/socket.h: Likewise.
6230 * include/sys/stat.h: Likewise.
6231 * include/sys/statfs.h: Likewise.
6232 * include/sys/statvfs.h: Likewise.
6233 * include/sys/syslog.h: Likewise.
6234 * include/sys/time.h: Likewise.
6235 * include/sys/uio.h: Likewise.
6236 * include/time.h: Likewise.
6237 * include/unistd.h: Likewise.
6238 * include/utmp.h: Likewise.
6239 * include/wchar.h: Likewise.
6240 * include/wctype.h: Likewise.
6241 * inet/aliases.h: Likewise.
6242 * inet/arpa/inet.h: Likewise.
6243 * inet/netinet/ether.h: Likewise.
6244 * inet/netinet/in.h: Likewise.
6245 * intl/libintl.h: Likewise.
6246 * io/bits/fcntl2.h: Likewise.
6247 * io/fcntl.h: Likewise.
6248 * io/ftw.h: Likewise.
6249 * io/sys/poll.h: Likewise.
6250 * io/sys/stat.h: Likewise.
6251 * io/sys/statfs.h: Likewise.
6252 * io/sys/statvfs.h: Likewise.
6253 * io/utime.h: Likewise.
6254 * libio/bits/stdio.h: Likewise.
6255 * libio/bits/stdio2.h: Likewise.
6256 * libio/libio.h: Likewise.
6257 * libio/libioP.h: Likewise.
6258 * libio/stdio.h: Likewise.
6259 * locale/lc-ctype.c: Likewise.
6260 * locale/locale.h: Likewise.
6261 * login/utmp.h: Likewise.
6262 * malloc/arena.c: Likewise.
6263 * malloc/malloc.c: Likewise.
6264 * malloc/malloc.h: Likewise.
6265 * malloc/mcheck.c: Likewise.
6266 * malloc/mtrace.c: Likewise.
6267 * math/bits/mathcalls.h: Likewise.
6268 * math/fenv.h: Likewise.
6269 * math/math_private.h: Likewise.
6270 * misc/bits/error.h: Likewise.
6271 * misc/bits/syslog.h: Likewise.
6272 * misc/err.h: Likewise.
6273 * misc/error.h: Likewise.
6274 * misc/fstab.h: Likewise.
6275 * misc/mntent.h: Likewise.
6276 * misc/regexp.h: Likewise.
6277 * misc/search.h: Likewise.
6278 * misc/sgtty.h: Likewise.
6279 * misc/sys/mman.h: Likewise.
6280 * misc/sys/syslog.h: Likewise.
6281 * misc/sys/uio.h: Likewise.
6282 * misc/sys/xattr.h: Likewise.
6283 * misc/ttyent.h: Likewise.
6284 * nis/rpcsvc/ypclnt.h: Likewise.
6285 * nss/nss.h: Likewise.
6286 * posix/bits/unistd.h: Likewise.
6287 * posix/fnmatch.h: Likewise.
6288 * posix/glob.h: Likewise.
6289 * posix/sched.h: Likewise.
6290 * posix/spawn.h: Likewise.
6291 * posix/sys/wait.h: Likewise.
6292 * posix/unistd.h: Likewise.
6293 * posix/wordexp.h: Likewise.
6294 * pwd/pwd.h: Likewise.
6295 * resolv/netdb.h: Likewise.
6296 * resource/sys/resource.h: Likewise.
6297 * rt/aio.h: Likewise.
6298 * rt/bits/mqueue2.h: Likewise.
6299 * rt/mqueue.h: Likewise.
6300 * shadow/shadow.h: Likewise.
6301 * signal/signal.h: Likewise.
6302 * socket/send.c: Likewise.
6303 * socket/sendto.c: Likewise.
6304 * socket/sys/socket.h: Likewise.
6305 * stdio-common/printf.h: Likewise.
6306 * stdlib/bits/stdlib.h: Likewise.
6307 * stdlib/fmtmsg.h: Likewise.
6308 * stdlib/monetary.h: Likewise.
6309 * stdlib/stdlib.h: Likewise.
6310 * stdlib/ucontext.h: Likewise.
6311 * streams/stropts.h: Likewise.
6312 * string/argz.h: Likewise.
6313 * string/bits/string2.h: Likewise.
6314 * string/string.h: Likewise.
6315 * string/strings.h: Likewise.
6316 * sunrpc/rpc/auth.h: Likewise.
6317 * sunrpc/rpc/auth_des.h: Likewise.
6318 * sunrpc/rpc/clnt.h: Likewise.
6319 * sunrpc/rpc/netdb.h: Likewise.
6320 * sunrpc/rpc/pmap_clnt.h: Likewise.
6321 * sunrpc/rpc/xdr.h: Likewise.
6322 * sysdeps/generic/inttypes.h: Likewise.
6323 * sysdeps/generic/net/if.h: Likewise.
6324 * sysdeps/generic/sys/swap.h: Likewise.
6325 * sysdeps/gnu/net/if.h: Likewise.
6326 * sysdeps/gnu/utmpx.h: Likewise.
6327 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6328 * sysdeps/i386/i486/bits/string.h: Likewise.
6329 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6330 * sysdeps/s390/bits/string.h: Likewise.
6331 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6332 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6333 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6334 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6335 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6336 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6337 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6338 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6339 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6340 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6341 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6342 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6343 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6344 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6345 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6346 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6347 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6349 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6350 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6351 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6352 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6353 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6354 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6355 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6356 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6357 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6358 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6359 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6361 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6362 * sysvipc/sys/ipc.h: Likewise.
6363 * sysvipc/sys/msg.h: Likewise.
6364 * sysvipc/sys/sem.h: Likewise.
6365 * sysvipc/sys/shm.h: Likewise.
6366 * termios/termios.h: Likewise.
6367 * time/sys/time.h: Likewise.
6368 * time/time.h: Likewise.
6369 * wcsmbs/bits/wchar2.h: Likewise.
6370 * wcsmbs/uchar.h: Likewise.
6371 * wcsmbs/wchar.h: Likewise.
6372 * wctype/wctype.h: Likewise.
6375 * Makeconfig: Remove all but ELF support including AIX support.
6376 * Makerules: Likewise.
6377 * config.h.in: Likewise.
6378 * config.make.in: Likewise.
6379 * configure: Likewise.
6380 * configure.in: Likewise.
6381 * csu/Makefile: Likewise.
6382 * csu/version.c: Likewise.
6383 * debug/Makefile: Likewise.
6384 * dlfcn/Makefile: Likewise.
6385 * elf/Makefile: Likewise.
6386 * extra-lib.mk: Likewise.
6387 * iconv/Makefile: Likewise.
6388 * include/libc-symbols.h: Likewise.
6389 * include/shlib-compat.h: Likewise.
6390 * resolv/Makefile: Likewise.
6391 * resolv/res_libc.c: Likewise.
6392 * rt/Makefile: Likewise.
6393 * sysdeps/i386/asm-syntax.h: Likewise.
6394 * sysdeps/i386/sysdep.h: Likewise.
6395 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6396 * sysdeps/mach/sysdep.h: Likewise.
6397 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6398 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6399 * sysdeps/s390/asm-syntax.h: Likewise.
6400 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6401 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6402 * sysdeps/sh/sysdep.h: Likewise.
6403 * sysdeps/unix/sparc/sysdep.h: Likewise.
6404 * sysdeps/wordsize-32/divdi3.c: Likewise.
6405 * sysdeps/x86_64/sysdep.h: Likewise.
6407 * argp/Versions: Remove _argp_unlock_xxx.
6410 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6411 * abilist/libBrokenLocale.abilist: Likewise.
6412 * abilist/libanl.abilist: Likewise.
6413 * abilist/libc.abilist: Likewise.
6414 * abilist/libcrypt.abilist: Likewise.
6415 * abilist/libdl.abilist: Likewise.
6416 * abilist/libm.abilist: Likewise.
6417 * abilist/libnsl.abilist: Likewise.
6418 * abilist/libpthread.abilist: Likewise.
6419 * abilist/libresolv.abilist: Likewise.
6420 * abilist/librt.abilist: Likewise.
6421 * abilist/libthread_db.abilist: Likewise.
6422 * abilist/libutil.abilist: Likewise.
6423 * abilist/libnss_db.abilist: New file.
6425 * scripts/abilist.awk: Add support for indirect functions.
6427 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6429 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6431 * shlib-versions: Remove entries for ports architectures.
6433 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6435 * elf/stackguard-macros.h: Remove support for IA-64.
6436 * elf/tst-auditmod1.c: Likewise.
6437 * sysdeps/generic/ldsodefs.h: Likewise.
6439 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6440 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6444 * configure.in: Remove --enable-omitfp support.
6446 * config.make.in: Likewise.
6447 * Makeconfig: Likewise.
6448 * manual/install.texi: Likewise.
6450 In case anyone cares, the IA-64 architecture could move to ports.
6451 * sysdeps/ia64/*: Removed.
6452 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6453 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6456 * configure.in: Remove entries for unsupported architectures.
6459 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6460 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6462 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6463 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6464 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6465 fall back to using wcrtomb.
6466 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6467 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6469 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6470 * wcsmbs/tst-c16c32-1.c: New file.
6472 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6475 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6477 * elf/tst-unique3.cc: Add explicit declaration of gets.
6478 * elf/tst-unique3lib.cc: Likewise.
6479 * elf/tst-unique3lib2.cc: Likewise.
6480 * elf/tst-unique4.cc: Likewise.
6482 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6484 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6487 * assert/assert.h (static_assert): Don't define for C++.
6488 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6489 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6491 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6493 * iconv/loop.c (single loop): Fix assertion in storing of
6496 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6498 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6500 * posix/getconf.c: Update copyright year.
6501 * nss/getent.c: Likewise.
6502 * nss/makedb.c: Likewise.
6503 * iconv/iconvconfig.c: Likewise.
6504 * iconv/iconv_prog.c: Likewise.
6505 * elf/ldconfig.c: Likewise.
6506 * elf/pldd.c: Likewise.
6507 * elf/sotruss.ksh: Likewise.
6508 * catgets/gencat.c: Likewise.
6509 * csu/version.c: Likewise.
6510 * elf/ldd.bash.in: Likewise.
6511 * elf/sprof.c (print_version): Likewise.
6512 * locale/programs/locale.c: Likewise.
6513 * locale/programs/localedef.c: Likewise.
6514 * login/programs/pt_chown.c: Likewise.
6515 * nscd/nscd.c (print_version): Likewise.
6516 * debug/xtrace.sh: Likewise.
6517 * malloc/memusage.sh: Likewise.
6518 * malloc/mtrace.pl: Likewise.
6519 * debug/catchsegv.sh: Likewise.
6521 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6523 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6526 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6529 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6530 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6532 * iconv/gconv_int.h: Likewise.
6533 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6534 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6535 from libc for GLIBC_2.16.
6536 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6537 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6538 * wcsmbs/uchar.h: Really define mbstate_t.
6539 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6540 * wcsmbs/c16rtomb.c: New file.
6541 * wcsmbs/mbrtoc16.c: New file.
6542 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6544 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6545 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6547 * wcsmbs/wchar.h: Add missing __restrict.
6549 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6552 * time/Makefile (routines): Add timespec_get.
6553 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6554 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6555 timespec for ISO C11.
6556 * time/timespec_get.c: New file.
6557 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6558 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6561 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6562 * stdlib/stdlib.h: Declare aligned_alloc.
6563 * Versions.def: Add GLIBC_2.16 for libc.
6564 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6567 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6570 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6574 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6577 * assert/assert.h (static_assert): Define.
6579 * version.h: Update for 2.16 development version.
6582 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6585 * version.h (RELEASE): Bump for 2.15 release.
6586 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6588 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6589 Patch by Marek Polacek <mpolacek@redhat.com>.
6591 * bits/byteswap.h: Protect long long constants with __extension__.
6592 * sysdeps/i386/bits/byteswap.h: Likewise.
6593 * sysdeps/ia64/bits/byteswap.h: Likewise.
6594 * sysdeps/s390/bits/byteswap.h: Likewise.
6595 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6597 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6600 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6602 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6604 2011-12-23 Marek Polacek <polacek@redhat.com>
6606 * elf/dl-addr.c (determine_info): Add inline keyword.
6607 * elf/tst-auditmod4b.c (check_avx): Likewise.
6608 * elf/tst-auditmod6b.c (check_avx): Likewise.
6609 * elf/tst-auditmod6c.c (check_avx): Likewise.
6610 * elf/tst-auditmod7b.c (check_avx): Likewise.
6612 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6614 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6617 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6620 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6621 processing for last bytes.
6623 2011-08-06 Bruno Haible <bruno@clisp.org>
6626 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6627 U+0385, not to U+1FEE.
6630 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6631 entry for U+00A5 U+0301.
6633 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6636 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6637 buffer for the output is too small.
6639 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6643 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6644 SSE flags if possible.
6646 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6649 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6650 processing for last bytes.
6652 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6654 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6655 (syscall-list-default-options, syscall-list-default-condition)
6656 (syscall-list-includes): Define.
6657 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6658 list of ABIs and options and #if conditions for each ABI. Do not
6659 handle common syscalls between ABIs specially.
6660 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6662 (syscall-list-variants, syscall-list-32bit-options)
6663 (syscall-list-32bit-condition, syscall-list-64bit-options)
6664 (syscall-list-64bit-condition): Define.
6665 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6666 (syscall-list-variants, syscall-list-32bit-options)
6667 (syscall-list-32bit-condition, syscall-list-64bit-options)
6668 (syscall-list-64bit-condition): Define.
6669 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6671 (syscall-list-variants, syscall-list-32bit-options)
6672 (syscall-list-32bit-condition, syscall-list-64bit-options)
6673 (syscall-list-64bit-condition): Define.
6674 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6676 (syscall-list-variants, syscall-list-32bit-options)
6677 (syscall-list-32bit-condition, syscall-list-64bit-options)
6678 (syscall-list-64bit-condition): Define.
6680 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6682 * locale/iso-639.def: Add brx entry.
6685 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6686 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6688 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6689 __feraiseexcept_renamed.
6691 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6694 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6695 EPOLLET with unsigned values.
6696 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6697 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6699 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6700 to large cancellation.
6701 * math/s_cacoshf.c: Likewise.
6702 * math/s_cacoshl.c: Likewise.
6704 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6708 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6709 * math/s_cacoshf.c: Likewise.
6710 * math/s_cacoshl.c: Likewise.
6712 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6715 * iconv/gconv.h: Define __GCONV_SWAP.
6716 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6717 * iconvdata/utf-16.c: Likewise.
6718 * iconvdata/utf-32.c: Likewise.
6720 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6723 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6724 numerator after shifting it by one limb.
6726 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6729 under [__USE_EXTERN_INLINES].
6731 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6734 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6736 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6738 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6739 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6741 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6742 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6743 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6744 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6745 for strncasecmp/strncasecmp_l compilation.
6746 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6747 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6749 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6752 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6755 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6758 * time/tzfile.c (__tzfile_read): Check values from file header.
6760 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6762 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6763 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6764 * powerpc/powerpc32/dl-start.S: Likewise.
6765 * powerpc/powerpc32/elf/start.S: Likewise.
6766 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6767 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6768 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6769 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6770 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6771 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6772 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6773 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6774 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6775 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6776 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6777 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6778 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6779 * powerpc/powerpc32/memset.S: Likewise.
6780 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6781 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6782 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6783 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6784 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6785 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6786 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6787 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6788 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6789 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6790 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6791 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6792 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6794 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6796 * math/libm-test.inc: Added more nearbyint tests.
6797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6802 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6804 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6807 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6809 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6810 Add wcscpy-ssse3 wcscpy-c.
6811 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6812 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6813 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6814 * sysdeps/x86_64/wcschr.S: New file.
6815 * sysdeps/x86_64/wcsrchr.S: New file.
6816 * string/test-strcmp.c: Remove checking of wcscmp function for
6818 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6819 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6820 wcsrchr-sse2 wcsrchr-c.
6821 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6822 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6823 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6824 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6825 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6826 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6827 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6828 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6829 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6830 * wcsmbc/wcschr.c (WCSCHR): New macro.
6832 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6834 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6835 * wcsmbs/test-wcsrchr.c: New file.
6836 * string/test-strrchr.c: Add wcsrchr support.
6838 * wcsmbs/test-wcscpy.c: New file.
6839 * string/test-strcpy.c: Add wcscpy support.
6842 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6844 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6847 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6850 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6852 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6854 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6855 Minor optimizations.
6857 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6858 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6859 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6861 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6863 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6864 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6865 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6866 for gcc to avoid warnings.
6867 * inet/Makefile (tests): Add tst-checks.
6868 * inet/tst-checks.c: New file.
6870 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6873 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6876 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6877 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6879 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6881 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6883 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6886 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6888 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6890 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6891 conditional on GCC version.
6892 (__arch_compare_and_exchange_val_8_acq)
6893 (__arch_compare_and_exchange_val_16_acq)
6894 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6895 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6896 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6898 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6900 * sysdeps/sh/backtrace.c: New file.
6902 2011-12-02 Andreas Schwab <schwab@redhat.com>
6904 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6907 2011-12-01 Andreas Schwab <schwab@redhat.com>
6909 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6910 falling back to utime.
6912 2011-11-30 Andreas Schwab <schwab@redhat.com>
6914 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6915 expectations for float.
6917 2011-11-29 Andreas Schwab <schwab@redhat.com>
6919 * locale/weight.h (findidx): Add parameter len.
6920 * locale/weightwc.h (findidx): Likewise.
6921 * posix/fnmatch_loop.c (FCT): Adjust caller.
6922 * posix/regcomp.c (build_equiv_class): Likewise.
6923 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6924 * posix/regexec.c (check_node_accept_bytes): Likewise.
6925 * string/strcoll_l.c (STRCOLL): Likewise.
6926 * string/strxfrm_l.c (STRXFRM): Likewise.
6928 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6930 * Makefile.in: Remove CVSOPT handling.
6931 * configure.in: Remove use of AC_REVISION.
6932 * iconvdata/Makefile (distribute): No need to filter out CVS.
6933 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6936 2011-11-16 Andreas Schwab <schwab@redhat.com>
6938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6939 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6940 [USE_AS_STRNCASECMP_L]: Likewise.
6941 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6942 NO_TLS_DIRECT_SEG_REFS.
6943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6944 Fix argument offsets for non-PIC.
6945 [USE_AS_STRNCASECMP_L]: Likewise.
6946 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6947 NO_TLS_DIRECT_SEG_REFS.
6949 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6951 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6953 * locale/loadlocale.c (_nl_load_locale): Likewise.
6955 2011-11-15 Andreas Schwab <schwab@redhat.com>
6957 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6958 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6959 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6960 (SYSCALL_GETTIME): Set errno on error.
6962 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6963 count references to noai6ai_cached.
6965 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6967 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6969 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6970 FD_CLOEXEC for /proc/self/maps.
6972 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6973 FD_CLOEXEC for /proc/meminfo.
6975 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6978 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6979 FD_CLOEXEC for given file.
6981 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6983 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6984 FD_CLOEXEC for /etc/hosts.
6985 (_gethtent): Likewise.
6987 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6989 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6990 cancellation and set FD_CLOEXEC for /etc/netgroup.
6992 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6993 reading /etc/publickey.
6995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6996 allow cancellation when reading /etc/group.
6998 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7000 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7002 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7003 when using data file.
7005 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7007 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7008 (write_nis_obj): Use "c" and "e" in fopen.
7010 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7012 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7014 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7016 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7018 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7021 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7023 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7025 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7027 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7028 file parsing and set FD_CLOEXEC.
7030 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7032 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7034 2011-11-14 Andreas Schwab <schwab@redhat.com>
7036 * malloc/arena.c (arena_get2): Don't call reused_arena when
7037 _int_new_arena failed.
7039 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7041 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7042 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7043 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7044 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7046 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7047 to compile strcasecmp and strncasecmp.
7048 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7049 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7053 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7055 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7056 locale-defines.sym to gen-as-const-headers.
7057 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7058 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7060 to compile strcasecmp and strncasecmp.
7061 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7062 strcasecmp_l and strncasecmp_l.
7063 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7064 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7065 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7066 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7067 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7068 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7069 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7070 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7071 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7072 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7073 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7075 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7077 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7078 result of SYSDEP_GETTIME_CPU to retval.
7079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7080 parameter list to macro. Remove trailing semicolon. Adjust users.
7082 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7085 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7087 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7089 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7090 from unused variable.
7092 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7094 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7097 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7100 * sunrpc/rpc_prot.c (rejected): Fix case value.
7102 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7103 unsigned long long int to avoid warnings in shift.
7105 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7107 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7110 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7111 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7112 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7114 * nis/nis_table.c (nis_list): Use variable of correct type for
7115 result of __follow_path call.
7117 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7119 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7120 of math functions ceil, trunc, floor, round, and sqrt, when
7121 avaliable on the platform.
7122 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7124 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7125 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7126 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7128 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7130 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7131 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7133 2011-11-11 Roland McGrath <roland@hack.frob.com>
7135 * include/unistd.h: Fix __readlink return type.
7136 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7138 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7140 * stdlib/ucontext.h: Undo last change for makecontext.
7142 2011-11-11 Andreas Schwab <schwab@redhat.com>
7144 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7146 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7147 * setjmp/setjmp.h: Mark functions as non-leaf.
7148 * setjmp/bits/setjmp2.h: Likewise.
7149 * stdlib/ucontext.h: Likewise.
7151 2011-11-10 Andreas Schwab <schwab@redhat.com>
7153 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7154 (reused_arena): Don't check arena limit.
7155 (arena_get2): Atomically check arena limit.
7157 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7159 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7160 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7165 2011-11-07 Andreas Schwab <schwab@redhat.com>
7167 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7168 handler when locking.
7170 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7171 Fix size of allocated buffer.
7173 2011-11-04 Andreas Schwab <schwab@redhat.com>
7176 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7177 declarations for long double functions.
7178 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7180 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7182 2011-11-03 Andreas Schwab <schwab@redhat.com>
7184 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7187 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7190 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7192 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7194 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7196 * include/alloca.h (stackinfo_alloca_round): Define.
7197 (extend_alloca): Use it.
7198 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7199 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7202 * scripts/check-local-headers.sh: Ignore libaudit.h.
7204 * nscd/Makefile (extra-objs): Make recursively expanded.
7206 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7208 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7209 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7211 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7212 * posix/tst-rfc3484-2.c: Likewise.
7213 * posix/tst-rfc3484-3.c: Likewise.
7215 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7217 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7219 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7220 process_vm_writev from libc using GLIBC_2.15 version.
7222 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7224 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7226 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7229 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7232 * nss/getent.c (initgroups_keys): Show error message in case no group
7235 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7236 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7237 __bump_nl_timestamp.
7238 * nscd/connections (nscd_init): When host database is served open
7239 netlink socket and request notification about configuration changes.
7240 (main_loop_poll): Track netlink file descriptor and bump timestamp
7241 in case data becomes available.
7242 (main_loop_epoll): Likewise.
7243 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7244 (database_pers_head): Add extra_data fileds.
7245 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7246 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7247 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7250 in6ai data, call __free_in6ai.
7251 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7253 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7254 interface information. Reuse previous data if netlink timestamp
7256 (__bump_nl_timestamp): New function.
7257 (__free_in6ai): New function.
7259 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7261 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7262 close_not_cancel_no_status here.
7263 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7265 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7268 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7271 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7272 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7273 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7275 2011-07-03 Andreas Jaeger <aj@suse.de>
7278 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7279 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7280 * math/libm-test.inc (sin_test): Add test case.
7282 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7285 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7286 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7288 * elf/chroot_canon.c (chroot_canon): Cleanups.
7290 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7293 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7294 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7296 * string/test-strchr.c: Make usable for strchrnul testing.
7297 * string/test-strchrnul.c: New file.
7298 * string/Makefile (strop-tests): Add strchrnul.
7300 * po/it.po: Update from translation team.
7301 * po/es.po: Likewise.
7303 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7305 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7306 the three constants needed as parameters. Drop the others.
7307 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7308 __m128i_strloadu_tolower.
7309 Create and initialize variable zero and use it in all the places
7310 where _mm_setzero_si128 was used.
7312 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7313 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7314 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7315 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7317 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7318 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7319 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7320 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7321 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7322 __mpranred, __mptan.
7323 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7324 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7325 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7326 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7327 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7328 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7329 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7330 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7331 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7333 2011-10-28 Andreas Schwab <schwab@redhat.com>
7335 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7337 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7340 wide char related routines to wcsmbs subdir.
7342 2011-10-27 Andreas Schwab <schwab@redhat.com>
7345 * misc/sys/cdefs.h (__THROWNL): Define.
7346 * posix/unistd.h: Use __THREADNL instead of __THREAD
7347 for memory synchronization functions.
7349 2011-10-26 Roland McGrath <roland@hack.frob.com>
7352 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7354 * manual/stdio.texi (Obstack Streams): Node removed.
7356 2011-10-26 Andreas Schwab <schwab@redhat.com>
7358 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7359 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7362 * math/math_private.h (math_force_eval): Allow non-addressable
7364 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7366 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7368 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7371 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7373 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7374 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7375 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7376 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7377 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7378 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7380 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7381 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7382 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7383 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7384 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7385 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7386 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7387 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7388 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7389 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7390 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7391 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7392 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7393 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7394 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7395 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7396 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7397 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7398 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7400 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7401 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7404 place. Use VEX encoding when compiling for AVX.
7406 2011-10-25 Andreas Schwab <schwab@redhat.com>
7408 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7409 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7411 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7413 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7415 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7416 useless if() expression.
7417 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7418 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7419 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7420 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7421 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7422 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7423 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7424 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7426 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7427 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7428 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7429 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7430 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7431 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7432 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7433 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7435 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7437 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7439 2011-10-25 Andreas Schwab <schwab@redhat.com>
7441 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7443 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7445 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7447 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7448 .text section. Avoid duplicate constants.
7449 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7451 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7453 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7455 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7456 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7457 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7458 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7459 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7460 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7461 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7462 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7463 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7464 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7465 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7466 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7468 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7469 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7470 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7471 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7472 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7473 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7474 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7475 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7476 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7477 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7478 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7479 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7480 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7481 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7482 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7483 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7484 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7485 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7486 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7487 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7488 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7489 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7490 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7491 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7492 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7493 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7495 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7497 * sysdeps/x86_64/dla.h: Move to ...
7498 * sysdeps/x86_64/fpu/dla.h: ...here.
7499 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7500 situations. Use __builtin_fma only for gcc 4.6 and up.
7502 * config.make.in: Add have-mfma4 entry.
7503 * configure.in: Substitute libc_cv_cc_fma4.
7504 * math/Makefile (dbl-only-routines): Add sincostab.
7505 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7506 Use __sincostab not sincos.
7507 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7509 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7514 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7515 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7516 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7517 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7519 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7520 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7522 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7523 define aliases when function name is a macro.
7524 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7525 sysdeps/ieee754/dbl-64/sincos.tbl.
7526 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7527 fma4-enabled routines.
7528 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7529 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7530 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7531 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7532 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7533 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7534 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7535 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7536 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7537 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7538 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7539 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7540 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7541 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7542 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7543 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7544 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7545 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7546 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7547 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7548 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7549 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7550 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7551 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7552 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7553 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7554 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7555 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7556 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7557 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7559 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7565 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7570 2011-10-24 Andreas Schwab <schwab@redhat.com>
7572 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7574 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7576 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7578 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7580 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7582 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7583 Remove unused variable magic_bits.
7584 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7586 * string/strnlen.c: Define and use STRNLEN macro.
7587 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7588 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7589 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7590 * wcsmbs/wcslen.c: Define and use WCSLEN.
7591 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7592 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7593 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7594 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7595 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7596 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7597 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7599 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7602 strnlen-sse2-no-bsf.
7603 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7604 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7605 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7606 Add strnlen support.
7607 (USE_AS_STRNLEN): New macro.
7608 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7609 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7610 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7611 * sysdeps/x86_64/wcslen.S: New file.
7613 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7615 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7616 XMM-moves are used for copying on small sizes.
7618 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7620 * wcsmbs/Makefile (strop-tests): Add wcschr.
7621 * wcsmbs/test-wcschr.c: New file.
7622 * string/test-strchr.c: Update.
7626 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7628 * wcsmbs/Makefile (strop-tests): Add wcslen.
7629 * wcsmbs/test-wcslen.c: New file.
7630 * string/test-strlen.c: Update.
7634 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7636 * po/it.po: Update from translation team.
7638 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7640 * sysdeps/x86_64/wcscmp.S: Update.
7641 Fix wrong comparison semantics.
7642 wcscmp shall use signed comparison not unsigned.
7643 Don't use substraction to avoid overflow bug.
7644 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7645 * wcsmbc/wcscmp.c: Likewise.
7646 * string/test-strcmp.c: Likewise.
7647 Add new tests to check cases with negative values.
7649 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7651 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7652 * sysdeps/x86_64/dla.h: ...here. New file.
7653 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7654 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7663 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7665 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7666 __ynl_finite aliases.
7668 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7672 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7674 [DLA_FMA] (EMULV): Use DLA_FMA.
7675 [DLA_FMA] (MUL12): Use EMULV.
7676 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7677 that are not needed.
7678 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7686 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7688 * math/s_nan.c: Undef __nan.
7689 * math/s_nanf.c: Undef __nanf.
7690 * math/s_nanl.c: Undef __nanl.
7691 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7694 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7696 * math/s_catan.c: Add branch predictions.
7697 * math/s_catanf.c: Likewise.
7698 * math/s_catanh.c: Likewise.
7699 * math/s_catanhf.c: Likewise.
7700 * math/s_catanhl.c: Likewise.
7701 * math/s_catanl.c: Likewise.
7702 * math/s_cexp.c: Likewise.
7703 * math/s_cexpf.c: Likewise.
7704 * math/s_cexpl.c: Likewise.
7705 * math/s_clog.c: Likewise.
7706 * math/s_clog10.c: Likewise.
7707 * math/s_clog10f.c: Likewise.
7708 * math/s_clog10l.c: Likewise.
7709 * math/s_clogf.c: Likewise.
7710 * math/s_clogl.c: Likewise.
7711 * math/s_csqrt.c: Likewise.
7712 * math/s_csqrtf.c: Likewise.
7713 * math/s_csqrtl.c: Likewise.
7714 * math/s_ctanf.c: Likewise.
7715 * math/s_ctanh.c: Likewise.
7716 * math/s_ctanhf.c: Likewise.
7717 * math/s_ctanhl.c: Likewise.
7718 * math/s_ctanl.c: Likewise.
7720 * math/math_private.h: Define __nan, __nanf, __nanl.
7721 * math/s_cacosh.c: Include <math_private.h>.
7722 * math/s_cacoshl.c: Likewise.
7723 * math/s_casinh.c: Likewise.
7724 * math/s_casinhf.c: Likewise.
7725 * math/s_casinhl.c: Likewise.
7726 * math/s_ccos.c: Rely entire on ccosh.
7727 * math/s_ccosf.c: Rely entire on ccoshf.
7728 * math/s_ccosl.c: Rely entirely on ccoshl.
7729 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7730 Remove tests for FE_INVALID.
7731 * math/s_ccoshf.c: Likewise.
7732 * math/s_ccoshl.c: Likewise.
7733 * math/s_csin.c: Likewise.
7734 * math/s_csinf.c: Likewise.
7735 * math/s_csinh.c Likewise.
7736 * math/s_csinhf.c: Likewise.
7737 * math/s_csinhl.c: Likewise.
7738 * math/s_csinl.c: Likewise.
7739 * math/s_ctan.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7741 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7742 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7744 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7747 compilation problems.
7749 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7752 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7754 * sysdeps/i386/configure.in: Test for -mfma4 option.
7755 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7756 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7757 COMMON_CPUID_INDEX_80000001.
7758 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7759 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7760 use it if FMA3 is not supported.
7761 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7763 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7764 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7766 2011-10-20 Andreas Schwab <schwab@redhat.com>
7769 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7770 it would create a cycle with a link time dependency.
7772 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7774 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7776 * string/Makefile (strop-tests): Add rawmemchr.
7777 * string/test-rawmemchr.c: New file.
7779 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7780 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7781 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7782 when compiling str{,n}casecmp and when AVX is available. Hook up
7783 new optimized code in initializers.
7785 2011-10-19 Andreas Schwab <schwab@redhat.com>
7787 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7788 __feraiseexcept instead of feraiseexcept.
7790 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7792 * math/math_private.h: Define defaults for libc_fetestexcept and
7794 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7795 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7796 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7797 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7798 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7799 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7800 libc_fetestexcept and libc_feupdateenv.
7802 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7803 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7804 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7805 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7806 libc_feholdexcept_setround.
7808 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7809 Add s_nearbyint-c and s_nearbyintf-c.
7810 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7812 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7813 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7814 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7815 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7817 * math/math_private.h: Define defaults for libc_fegetround,
7818 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7819 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7820 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7821 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7822 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7824 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7825 Remove comments and hacks for old compiler versions.
7826 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7827 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7830 2011-10-18 Andreas Schwab <schwab@redhat.com>
7832 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7833 (__feraiseexcept_renamed): Add __NTH.
7834 (feraiseexcept): Add __NTH. Rename local variables to fix
7835 namespace violations.
7837 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7839 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7841 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7843 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7844 recently added interfaces.
7845 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7847 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7848 about macro parameter expansion.
7850 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7851 __NO_MATH_INLINES is defined. Cleanups.
7853 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7854 and __floorf is target has SSE4.1.
7855 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7856 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7857 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7858 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7860 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7864 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7866 2011-10-17 Andreas Schwab <schwab@redhat.com>
7868 * misc/sys/cdefs.h: Fix last change.
7870 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7873 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7875 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7877 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7879 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7880 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7881 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7882 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7883 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7884 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7885 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7886 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7887 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7888 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7889 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7890 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7891 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7892 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7893 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7894 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7895 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7896 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7897 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7898 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7900 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7901 ceil, ceilf, floor, floorf.
7903 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7904 Perform IRELATIVE relocations last.
7906 * elf/do-rel.h: Add another parameter nrelative, replacing the
7907 local variable with the same name. Change name of the function
7908 to end in Rel or Rela (uppercase).
7909 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7910 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7911 elf_dynamic_do_##reloc function.
7913 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7915 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7916 is sufficient, at least on modern CPUs.
7918 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7920 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7921 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7923 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7925 * math/bits/math-finite.h: Add entries for exp.
7926 * math/e_expl.c: Add __*_finite alias.
7927 * sysdeps/i386/fpu/e_exp.S: Likewise.
7928 * sysdeps/i386/fpu/e_expf.S: Likewise.
7929 * sysdeps/i386/fpu/e_expl.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7931 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7932 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7935 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7936 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7938 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7939 is sufficient, at least on modern CPUs.
7941 * ctype/ctype-info.c (__ctype_init): Define.
7942 * include/ctype.h (__ctype_init): Declare.
7943 (__ctype_b_loc): The variable is always initialized.
7944 (__ctype_toupper_loc): Likewise.
7945 (__ctype_tolower_loc): Likewise.
7946 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7947 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7949 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7951 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7953 * configure.in: Also look in $cxxmachine/include for C++ system
7956 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7958 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7959 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7960 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7961 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7962 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7963 (USE_AS_WMEMCMP): New macro.
7965 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7966 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7967 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7968 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7970 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7971 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7972 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7973 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7974 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7975 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7976 (USE_AS_WMEMCMP): New macro.
7977 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7978 * sysdeps/string/test-memcmp.c: Update.
7981 * wcsmbs/wmemcmp.c: Update.
7982 (WMEMCMP): New macro.
7985 2011-10-12 Andreas Jaeger <aj@suse.de>
7988 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7990 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7992 * libio/iofwide.c (do_length): Avoid warning.
7994 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7996 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7998 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8000 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8001 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8002 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8003 * sysdeps/i386/i686/fpu/e_log.S: New file.
8004 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8005 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8007 * ctype/ctype.h: Add support for inlined isXXX functions when
8010 2011-10-14 Andreas Schwab <schwab@redhat.com>
8012 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8014 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8016 2011-10-13 Roland McGrath <roland@hack.frob.com>
8019 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8021 2011-10-13 Andreas Schwab <schwab@redhat.com>
8023 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8024 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8027 * sysdeps/x86_64/memrchr.S: Check for zero size.
8029 * string/stratcliff.c: Add memrchr tests.
8031 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8034 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8035 rawmemchr-sse2 rawmemchr-sse2-bsf.
8036 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8037 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8038 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8039 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8040 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8041 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8042 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8043 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8044 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8045 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8046 * string/memrchr.c (MEMRCHR): New macro.
8048 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8050 Add integration with gcc's -ffinite-math-only and optimize wrapper
8052 * Versions.def: Define GLIBC_2.15 version for libm.
8053 * math/Makefile (headers): Add bits/math-finite.h.
8054 * math/bits/math-finite.h: New file.
8055 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8056 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8057 * math/e_acoshl.c: Add __*_finite alias.
8058 * math/e_acosl.c: Likewise.
8059 * math/e_asinl.c: Likewise.
8060 * math/e_atan2l.c: Likewise.
8061 * math/e_atanhl.c: Likewise.
8062 * math/e_coshl.c: Likewise.
8063 * math/e_exp10.c: Likewise.
8064 * math/e_exp10f.c: Likewise.
8065 * math/e_exp10l.c: Likewise.
8066 * math/e_exp2l.c: Likewise.
8067 * math/e_fmodl.c: Likewise.
8068 * math/e_gammal_r.c: Likewise.
8069 * math/e_hypotl.c: Likewise.
8070 * math/e_j0l.c: Likewise.
8071 * math/e_j1l.c: Likewise.
8072 * math/e_jnl.c: Likewise.
8073 * math/e_lgammal_r.c: Likewise.
8074 * math/e_log10l.c: Likewise.
8075 * math/e_log2l.c: Likewise.
8076 * math/e_logl.c: Likewise.
8077 * math/e_powl.c: Likewise.
8078 * math/e_sinhl.c: Likewise.
8079 * math/e_sqrtl.c: Likewise.
8080 * math/e_scalb.c: Completely rewritten and optimized.
8081 * math/e_scalbf.c: Likewise.
8082 * math/e_scalbl.c: Likewise.
8083 * math/w_acos.c: Likewise.
8084 * math/w_acosf.c: Likewise.
8085 * math/w_acosl.c: Likewise.
8086 * math/w_acosh.c: Likewise.
8087 * math/w_acoshf.c: Likewise.
8088 * math/w_acoshl.c: Likewise.
8089 * math/w_asin.c: Likewise.
8090 * math/w_asinf.c: Likewise.
8091 * math/w_asinl.c: Likewise.
8092 * math/w_atan2.c: Likewise.
8093 * math/w_atan2f.c: Likewise.
8094 * math/w_atan2l.c: Likewise.
8095 * math/w_atanh.c: Likewise.
8096 * math/w_atanhf.c: Likewise.
8097 * math/w_atanhl.c: Likewise.
8098 * math/w_exp10.c: Likewise.
8099 * math/w_exp10f.c: Likewise.
8100 * math/w_exp10l.c: Likewise.
8101 * math/w_fmod.c: Likewise.
8102 * math/w_fmodf.c: Likewise.
8103 * math/w_fmodl.c: Likewise.
8104 * math/w_j0.c: Likewise.
8105 * math/w_j0f.c: Likewise.
8106 * math/w_j0l.c: Likewise.
8107 * math/w_j1.c: Likewise.
8108 * math/w_j1f.c: Likewise.
8109 * math/w_j1l.c: Likewise.
8110 * math/w_jn.c: Likewise.
8111 * math/w_jnf.c: Likewise.
8112 * math/w_log.c: Likewise.
8113 * math/w_logf.c: Likewise.
8114 * math/w_logl.c: Likewise.
8115 * math/w_log10.c: Likewise.
8116 * math/w_log10f.c: Likewise.
8117 * math/w_log10l.c: Likewise.
8118 * math/w_log2.c: Likewise.
8119 * math/w_log2f.c: Likewise.
8120 * math/w_log2l.c: Likewise.
8121 * math/w_pow.c: Likewise.
8122 * math/w_powf.c: Likewise.
8123 * math/w_powl.c: Likewise.
8124 * math/w_remainder.c: Likewise.
8125 * math/w_remainderf.c: Likewise.
8126 * math/w_remainderl.c: Likewise.
8127 * math/w_scalb.c: Likewise.
8128 * math/w_scalbf.c: Likewise.
8129 * math/w_scalbl.c: Likewise.
8130 * math/w_sqrt.c: Likewise.
8131 * math/w_sqrtf.c: Likewise.
8132 * math/w_sqrtl.c: Likewise.
8133 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8134 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8136 * math/math_private.h: Declare __kernel_standard_f.
8137 * math/w_cosh.c: Remove cruft and optimize a bit.
8138 * math/w_coshf.c: Likewise.
8139 * math/w_coshl.c: Likewise.
8140 * math/w_exp2.c: Likewise.
8141 * math/w_exp2f.c: Likewise.
8142 * math/w_exp2l.c: Likewise.
8143 * math/w_hypot.c: Likewise.
8144 * math/w_hypotf.c: Likewise.
8145 * math/w_hypotl.c: Likewise.
8146 * math/w_lgamma.c: Likewise.
8147 * math/w_lgamma_r.c: Likewise.
8148 * math/w_lgammaf.c: Likewise.
8149 * math/w_lgammaf_r.c: Likewise.
8150 * math/w_lgammal.c: Likewise.
8151 * math/w_lgammal_r.c: Likewise.
8152 * math/w_sinh.c: Likewise.
8153 * math/w_sinhf.c: Likewise.
8154 * math/w_sinhl.c: Likewise.
8155 * math/w_tgamma.c: Likewise.
8156 * math/w_tgammaf.c: Likewise.
8157 * math/w_tgammal.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8159 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8160 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8161 Minor optimizations. Pretty printing. Remove cruft.
8162 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8163 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8164 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8165 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8166 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8167 * sysdeps/i386/fpu/e_asin.S: Likewise.
8168 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8169 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8170 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8171 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8172 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8173 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8174 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8175 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8176 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8177 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8178 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8179 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8180 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8181 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8182 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8183 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8184 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8185 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8186 * sysdeps/i386/fpu/e_log.S: Likewise.
8187 * sysdeps/i386/fpu/e_log10.S: Likewise.
8188 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8189 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8190 * sysdeps/i386/fpu/e_log2.S: Likewise.
8191 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8192 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8193 * sysdeps/i386/fpu/e_logf.S: Likewise.
8194 * sysdeps/i386/fpu/e_logl.S: Likewise.
8195 * sysdeps/i386/fpu/e_pow.S: Likewise.
8196 * sysdeps/i386/fpu/e_powf.S: Likewise.
8197 * sysdeps/i386/fpu/e_powl.S: Likewise.
8198 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8199 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8200 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8201 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8202 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8203 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8204 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8205 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8206 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8207 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8208 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8209 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8210 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8211 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8212 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8213 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8214 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8215 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8216 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8217 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8218 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8219 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8220 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8221 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8223 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8224 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8225 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8226 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8227 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8228 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8229 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8230 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8231 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8232 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8233 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8234 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8235 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8236 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8237 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8238 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8239 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8240 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8241 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8242 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8243 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8244 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8245 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8246 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8247 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8248 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8287 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8290 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8292 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8293 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8296 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8298 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8299 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8300 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8301 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8302 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8303 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8304 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8305 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8306 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8307 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8308 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8309 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8310 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8311 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8312 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8313 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8314 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8315 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8316 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8317 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8318 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8319 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8320 (__isnanf): Likewise.
8321 (__isinf_ns): Likewise.
8322 (__isinf_nsf): Likewise.
8323 (__finite): Likewise.
8324 (__finitef): Likewise.
8325 (__ieee754_sqrt): Define as macro.
8326 (__ieee754_sqrtf): Define as macro.
8327 (__ieee754_sqrtl): Define as macro.
8328 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8330 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8331 __FINITE_MATH_ONLY__ consistent.
8332 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8334 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8336 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8339 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8341 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8343 * po/ja.po: Update from translation team.
8345 2011-10-08 Roland McGrath <roland@hack.frob.com>
8347 * locale/programs/locarchive.c (prepare_address_space): New function.
8348 (create_archive, enlarge_archive, open_archive): Use it.
8350 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8351 inside [SHARED], where it is used.
8353 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8355 * nss/getent.c (netgroup_keys): Remove unused variable.
8356 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8358 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8360 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8361 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8362 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8363 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8364 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8365 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8366 * math/Makefile (libm-calls): Add s_isinf_ns.
8367 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8368 * math/multc3.c: Likewise.
8369 * math/s_casin.c: Likewise.
8370 * math/s_casinf.c: Likewise.
8371 * math/s_casinl.c: Likewise.
8372 * math/s_ccos.c: Likewise.
8373 * math/s_ccosf.c: Likewise.
8374 * math/s_ccosl.c: Likewise.
8375 * math/s_ctan.c: Likewise.
8376 * math/s_ctanf.c: Likewise.
8377 * math/s_ctanh.c: Likewise.
8378 * math/s_ctanhf.c: Likewise.
8379 * math/s_ctanhl.c: Likewise.
8380 * math/s_ctanl.c: Likewise.
8381 * math/w_fmod.c: Likewise.
8382 * math/w_fmodf.c: Likewise.
8383 * math/w_fmodl.c: Likewise.
8384 * math/w_remainder.c: Likewise.
8385 * math/w_remainderf.c: Likewise.
8386 * math/w_remainderl.c: Likewise.
8387 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8388 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8391 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8392 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8393 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8394 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8396 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8398 * stdio-common/printf_fphex.c: Likewise.
8399 * stdio-common/printf_size.c: Likewise.
8401 * math/e_exp10.c: Include math_private.h using <...> not "...".
8402 * math/e_exp10f.c: Likewise.
8403 * math/e_exp10l.c: Likewise.
8404 * math/e_exp2l.c: Likewise.
8405 * math/e_j0l.c: Likewise.
8406 * math/e_j1l.c: Likewise.
8407 * math/e_jnl.c: Likewise.
8408 * math/e_lgammal_r.c: Likewise.
8409 * math/e_rem_pio2l.c: Likewise.
8410 * math/e_scalb.c: Likewise.
8411 * math/e_scalbf.c: Likewise.
8412 * math/e_scalbl.c: Likewise.
8413 * math/k_cosl.c: Likewise.
8414 * math/k_sinl.c: Likewise.
8415 * math/k_tanl.c: Likewise.
8416 * math/s_cacoshf.c: Likewise.
8417 * math/s_catan.c: Likewise.
8418 * math/s_catanf.c: Likewise.
8419 * math/s_catanh.c: Likewise.
8420 * math/s_catanhf.c: Likewise.
8421 * math/s_catanhl.c: Likewise.
8422 * math/s_catanl.c: Likewise.
8423 * math/s_ccosh.c: Likewise.
8424 * math/s_ccoshf.c: Likewise.
8425 * math/s_ccoshl.c: Likewise.
8426 * math/s_cexp.c: Likewise.
8427 * math/s_cexpf.c: Likewise.
8428 * math/s_cexpl.c: Likewise.
8429 * math/s_clog.c: Likewise.
8430 * math/s_clog10.c: Likewise.
8431 * math/s_clog10f.c: Likewise.
8432 * math/s_clog10l.c: Likewise.
8433 * math/s_clogf.c: Likewise.
8434 * math/s_clogl.c: Likewise.
8435 * math/s_csin.c: Likewise.
8436 * math/s_csinf.c: Likewise.
8437 * math/s_csinh.c: Likewise.
8438 * math/s_csinhf.c: Likewise.
8439 * math/s_csinhl.c: Likewise.
8440 * math/s_csinl.c: Likewise.
8441 * math/s_csqrt.c: Likewise.
8442 * math/s_csqrtf.c: Likewise.
8443 * math/s_csqrtl.c: Likewise.
8444 * math/s_ctan.c: Likewise.
8445 * math/s_ctanf.c: Likewise.
8446 * math/s_ctanh.c: Likewise.
8447 * math/s_ctanhf.c: Likewise.
8448 * math/s_ctanhl.c: Likewise.
8449 * math/s_ctanl.c: Likewise.
8450 * math/s_ldexp.c: Likewise.
8451 * math/s_ldexpf.c: Likewise.
8452 * math/s_ldexpl.c: Likewise.
8453 * math/s_significand.c: Likewise.
8454 * math/s_significandf.c: Likewise.
8455 * math/s_significandl.c: Likewise.
8456 * math/w_acos.c: Likewise.
8457 * math/w_acosf.c: Likewise.
8458 * math/w_acosh.c: Likewise.
8459 * math/w_acoshf.c: Likewise.
8460 * math/w_acoshl.c: Likewise.
8461 * math/w_acosl.c: Likewise.
8462 * math/w_asin.c: Likewise.
8463 * math/w_asinf.c: Likewise.
8464 * math/w_asinl.c: Likewise.
8465 * math/w_atan2.c: Likewise.
8466 * math/w_atan2f.c: Likewise.
8467 * math/w_atan2l.c: Likewise.
8468 * math/w_atanh.c: Likewise.
8469 * math/w_atanhf.c: Likewise.
8470 * math/w_atanhl.c: Likewise.
8471 * math/w_cosh.c: Likewise.
8472 * math/w_coshf.c: Likewise.
8473 * math/w_coshl.c: Likewise.
8474 * math/w_dremf.c: Likewise.
8475 * math/w_exp10.c: Likewise.
8476 * math/w_exp10f.c: Likewise.
8477 * math/w_exp10l.c: Likewise.
8478 * math/w_exp2.c: Likewise.
8479 * math/w_exp2f.c: Likewise.
8480 * math/w_fmod.c: Likewise.
8481 * math/w_fmodf.c: Likewise.
8482 * math/w_fmodl.c: Likewise.
8483 * math/w_hypot.c: Likewise.
8484 * math/w_hypotf.c: Likewise.
8485 * math/w_hypotl.c: Likewise.
8486 * math/w_j0.c: Likewise.
8487 * math/w_j0f.c: Likewise.
8488 * math/w_j0l.c: Likewise.
8489 * math/w_j1.c: Likewise.
8490 * math/w_j1f.c: Likewise.
8491 * math/w_j1l.c: Likewise.
8492 * math/w_jn.c: Likewise.
8493 * math/w_jnf.c: Likewise.
8494 * math/w_jnl.c: Likewise.
8495 * math/w_lgamma.c: Likewise.
8496 * math/w_lgamma_r.c: Likewise.
8497 * math/w_lgammaf.c: Likewise.
8498 * math/w_lgammaf_r.c: Likewise.
8499 * math/w_lgammal.c: Likewise.
8500 * math/w_lgammal_r.c: Likewise.
8501 * math/w_log.c: Likewise.
8502 * math/w_log10.c: Likewise.
8503 * math/w_log10f.c: Likewise.
8504 * math/w_log10l.c: Likewise.
8505 * math/w_log2.c: Likewise.
8506 * math/w_log2f.c: Likewise.
8507 * math/w_log2l.c: Likewise.
8508 * math/w_logf.c: Likewise.
8509 * math/w_logl.c: Likewise.
8510 * math/w_pow.c: Likewise.
8511 * math/w_powf.c: Likewise.
8512 * math/w_powl.c: Likewise.
8513 * math/w_remainder.c: Likewise.
8514 * math/w_remainderf.c: Likewise.
8515 * math/w_remainderl.c: Likewise.
8516 * math/w_scalb.c: Likewise.
8517 * math/w_scalbf.c: Likewise.
8518 * math/w_scalbl.c: Likewise.
8519 * math/w_sinh.c: Likewise.
8520 * math/w_sinhf.c: Likewise.
8521 * math/w_sinhl.c: Likewise.
8522 * math/w_sqrt.c: Likewise.
8523 * math/w_sqrtf.c: Likewise.
8524 * math/w_sqrtl.c: Likewise.
8525 * math/w_tgamma.c: Likewise.
8526 * math/w_tgammaf.c: Likewise.
8527 * math/w_tgammal.c: Likewise.
8529 * po/ja.po: Update from translation team.
8531 2011-09-29 Andreas Jaeger <aj@suse.de>
8534 * sunrpc/netname.c (netname2host): Fix logic.
8538 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8540 * math/w_remainder.c (__remainder): Likewise.
8541 * math/w_remainderf.c (__remainderf): Likewise.
8542 * math/libm-test.inc (remainder_test): Add test cases.
8544 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8546 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8549 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8551 * string/test-memcmp.c: Avoid unncessary #defines.
8552 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8554 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8556 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8557 Use new sse2 version for core i3 - i7 as it's faster
8559 (bit_Prefer_PMINUB_for_stringop): New.
8560 * sysdeps/x86_64/rawmemchr.S: Update.
8561 Replace with faster SSE2 version.
8562 * sysdeps/x86_64/memrchr.S: New file.
8563 * sysdeps/x86_64/memchr.S: Update.
8564 Replace with faster SSE2 version.
8566 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8568 * elf/dl-load.c (lose): Add cast to avoid warning.
8570 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8572 * po/ca.po: Update from translation team.
8574 * inet/getnetgrent_r.c: Hook up nscd.
8575 * nscd/Makefile (routines): Add nscd_netgroup.
8576 (nscd-modules): Add netgroupcache.
8577 (CFLAGS-netgroupcache.c): Define.
8578 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8579 (cache_search): Add const to second parameter.
8580 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8582 (dbs): Add netgrdb entry.
8583 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8584 (verify_persistent_db): Handle netgrdb.
8585 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8586 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8588 (netgroup_response_header): Define.
8589 (innetgroup_response_header): Define.
8590 (datahead): Add netgroup_response_header and innetgroup_response_header
8592 * nscd/nscd.conf: Add entries for netgroup cache.
8593 * nscd/nscd.h (dbtype): Add netgrdb.
8594 (_PATH_NSCD_NETGROUP_DB): Define.
8595 (netgroup_iov_disabled): Declare.
8596 (xmalloc, xcalloc, xrealloc): Move declarations here.
8597 (cache_search): Adjust prototype.
8598 Add netgroup-related prototypes.
8599 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8600 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8601 (__nscd_innetgr): Declare.
8602 * nscd/selinux.c (perms): Use access_vector_t as element type and
8603 add netgroup-related initializers.
8604 * nscd/netgroupcache.c: New file.
8605 * nscd/nscd_netgroup.c: New file.
8606 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8607 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8608 For four parameters use innetgr.
8609 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8610 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8611 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8612 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8614 * nscd/connections.c (register_traced_file): Don't register file
8615 for disabled databases.
8617 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8619 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8621 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8622 from tree and freeing node.
8624 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8626 * nss/nsswitch.c (__nss_database_lookup): Handle
8627 nss_parse_service_list out of memory case.
8629 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8631 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8634 2011-10-04 Andreas Schwab <schwab@redhat.com>
8636 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8637 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8639 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8640 elf_machine_rela, elf_machine_lazy_rel.
8641 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8642 (ELF_DYNAMIC_DO_REL): Likewise.
8643 (ELF_DYNAMIC_DO_RELA): Likewise.
8644 (ELF_DYNAMIC_RELOCATE): Likewise.
8645 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8646 to ELF_DYNAMIC_DO_REL.
8647 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8648 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8649 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8651 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8652 skip_ifunc, don't call ifunc function if non-zero.
8653 (elf_machine_rela): Likewise.
8654 (elf_machine_lazy_rel): Likewise.
8655 (elf_machine_lazy_rela): Likewise.
8656 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8657 (elf_machine_lazy_rel): Likewise.
8658 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8660 (elf_machine_lazy_rel): Likewise.
8661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8663 (elf_machine_lazy_rel): Likewise.
8664 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8665 (elf_machine_lazy_rel): Likewise.
8666 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8667 (elf_machine_lazy_rel): Likewise.
8668 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8669 (elf_machine_lazy_rel): Likewise.
8670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8671 (elf_machine_lazy_rel): Likewise.
8672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8673 (elf_machine_lazy_rel): Likewise.
8674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8675 (elf_machine_lazy_rel): Likewise.
8677 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8679 * nss/nss_files/files-init.c (_nss_files_init): Use static
8680 initialization for all the *_traced_file variables.
8682 2011-09-28 Andreas Schwab <schwab@redhat.com>
8684 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8686 2011-09-27 Roland McGrath <roland@hack.frob.com>
8689 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8691 2011-09-27 Andreas Schwab <schwab@redhat.com>
8693 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8694 Reread the line before reparsing it.
8696 2011-09-26 Andreas Schwab <schwab@redhat.com>
8698 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8700 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8701 Maxim Kuvyrkov <maxim@codesourcery.com>
8702 Joseph Myers <joseph@codesourcery.com>
8704 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8705 if needed for __stack_chk_guard.
8707 2011-09-19 Roland McGrath <roland@hack.frob.com>
8709 * sysdeps/posix/spawni.c (script_execute): Always define it.
8710 It will be optimized away if unused.
8711 (maybe_script_execute): New function.
8712 (__spawni): Call it.
8714 * Makerules: Don't include tls.make.
8715 (config-tls): Always set to thread.
8716 * tls.make.c: File removed.
8718 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8720 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8721 * config.make.in (CPPFLAGS-config): New substituted variable.
8723 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8725 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8728 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8729 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8731 2011-09-15 Roland McGrath <roland@hack.frob.com>
8733 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8734 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8736 (CALL_FAIL): Likewise.
8737 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8738 (CALL_FAIL): Macro removed.
8739 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8741 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8743 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8744 for __FINITE_MATH_ONLY__ == 1.
8746 2011-09-15 Andreas Schwab <schwab@redhat.com>
8748 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8749 __ieee754_sqrt instead of sqrt.
8750 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8751 __ieee754_sqrtf instead of sqrtf.
8752 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8753 __floorf instead of floorf.
8754 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8755 __floorf, __truncf instead of floorf, truncf.
8757 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8759 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8761 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8762 __extern_always_inline.
8763 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8766 2011-09-14 Andreas Schwab <schwab@redhat.com>
8768 * elf/rtld.c (dl_main): Also relocate in dependency order when
8769 doing symbol dependency testing.
8771 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8773 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8774 Always define `refsym'.
8776 2011-09-13 Andreas Schwab <schwab@redhat.com>
8778 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8779 (__FD_ELT): Renamed from __FDELT.
8780 * misc/bits/select2.h (__FD_ELT): Likewise.
8781 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8782 __FD_MASK instead of __FDELT, __FDMASK.
8783 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8785 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8788 * elf/Makefile (gen-ldd): Fix pattern.
8790 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8791 (init_tls): Likewise.
8793 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8795 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8797 2011-09-12 Andreas Schwab <schwab@redhat.com>
8799 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8800 `struct cmsghdr *' instead of `void *'.
8801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8804 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8806 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8808 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8811 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8813 * configure.in: Remove --with-tls option.
8814 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8815 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8816 out in case it is missing.
8817 * sysdeps/ia64/elf/configure.in: Likewise.
8818 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8819 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8820 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8821 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8822 * sysdeps/sh/elf/configure.in: Likewise.
8823 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8824 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8825 * sysdeps/x86_64/elf/configure.in: Likewise.
8826 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8827 * sysdeps/mach/hurd/tls.h: Likewise.
8830 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8833 * configure.in: Fix use of AC_INIT.
8835 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8837 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8839 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8841 * malloc/hooks.c: Likewise.
8844 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8845 variables statically.
8846 (narenas): Initialize.
8847 (list_lock): Initialize.
8848 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8849 initializtion of main_arena and list_lock. Small cleanups.
8850 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8851 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8852 Add initializers to main_arena and mp_.
8853 (malloc_state): Remove pagesize member. Change all users to use
8856 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8857 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8858 is always initialized.
8860 * malloc/malloc.c: Removed unused configurations and dead code.
8861 * malloc/arena.c: Likewise.
8862 * malloc/hooks.c: Likewise.
8863 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8865 * include/tls.h: Removed. USE___THREAD must always be defined.
8866 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8867 * elf/dl-libc.c: Likewise.
8868 * elf/dl-tsd.c: Likewise.
8869 * include/errno.h: Likewise.
8870 * include/netdb.h: Likewise.
8871 * include/resolv.h: Likewise.
8872 * inet/herrno-loc.c: Likewise.
8873 * inet/herrno.c: Likewise.
8874 * malloc/arena.c: Likewise.
8875 * malloc/hooks.c: Likewise.
8876 * malloc/malloc.c: Likewise.
8877 * resolv/res-state.c: Likewise.
8878 * resolv/res_libc.c: Likewise.
8879 * sysdeps/i386/dl-machine.h: Likewise.
8880 * sysdeps/ia64/dl-machine.h: Likewise.
8881 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8882 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8883 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8884 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8885 * sysdeps/sh/dl-machine.h: Likewise.
8886 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8887 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8888 * sysdeps/unix/i386/sysdep.S: Likewise.
8889 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8890 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8892 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8893 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8894 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8895 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8898 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8899 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8900 * sysdeps/x86_64/dl-machine.h: Likewise.
8901 * tls.make.c: Likewise.
8903 * configure.in: Remove --with-__thread option. Make tests for
8904 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8905 tls_model attribute fail if no support is available. Remove
8907 * Makeconfig: Adjust for dropped configure option. All features are
8909 * Makerules: Likewise.
8910 * Versions.def: Likewise.
8911 * argp/argp-fmtstream.c: Likewise.
8912 * argp/argp-fmtstream.h: Likewise.
8913 * argp/argp-help.c: Likewise.
8914 * assert/assert.c: Likewise.
8915 * config.h.in: Likewise.
8916 * config.make.in: Likewise.
8917 * configure: Likewise.
8918 * configure.in: Likewise.
8919 * csu/Versions: Likewise.
8920 * csu/init.c: Likewise.
8921 * elf/tst-audit2.c: Likewise.
8922 * elf/tst-tls10.c: Likewise.
8923 * elf/tst-tls10.h: Likewise.
8924 * elf/tst-tls11.c: Likewise.
8925 * elf/tst-tls12.c: Likewise.
8926 * elf/tst-tls14.c: Likewise.
8927 * elf/tst-tlsmod11.c: Likewise.
8928 * elf/tst-tlsmod12.c: Likewise.
8929 * elf/tst-tlsmod13.c: Likewise.
8930 * elf/tst-tlsmod13a.c: Likewise.
8931 * elf/tst-tlsmod14a.c: Likewise.
8932 * elf/tst-tlsmod15b.c: Likewise.
8933 * elf/tst-tlsmod16a.c: Likewise.
8934 * elf/tst-tlsmod16b.c: Likewise.
8935 * elf/tst-tlsmod7.c: Likewise.
8936 * elf/tst-tlsmod8.c: Likewise.
8937 * elf/tst-tlsmod9.c: Likewise.
8938 * gmon/gmon.c: Likewise.
8939 * grp/fgetgrent_r.c: Likewise.
8940 * grp/putgrent.c: Likewise.
8941 * hurd/fopenport.c: Likewise.
8942 * include/libc-symbols.h: Likewise.
8943 * include/tls.h: Likewise.
8944 * intl/gettextP.h: Likewise.
8945 * intl/loadinfo.h: Likewise.
8946 * locale/global-locale.c: Likewise.
8947 * locale/localeinfo.h: Likewise.
8948 * mach/devstream.c: Likewise.
8949 * malloc/arena.c: Likewise.
8950 * malloc/set-freeres.c: Likewise.
8951 * misc/err.c: Likewise.
8952 * misc/getttyent.c: Likewise.
8953 * misc/mntent_r.c: Likewise.
8954 * posix/getopt.c: Likewise.
8955 * posix/wordexp.c: Likewise.
8956 * pwd/fgetpwent_r.c: Likewise.
8957 * resolv/Versions: Likewise.
8958 * resolv/res_hconf.c: Likewise.
8959 * shadow/fgetspent_r.c: Likewise.
8960 * shadow/putspent.c: Likewise.
8961 * stdio-common/printf_fphex.c: Likewise.
8962 * stdio-common/tmpfile.c: Likewise.
8963 * stdlib/abort.c: Likewise.
8964 * stdlib/fmtmsg.c: Likewise.
8965 * sunrpc/auth_unix.c: Likewise.
8966 * sunrpc/clnt_perr.c: Likewise.
8967 * sunrpc/clnt_tcp.c: Likewise.
8968 * sunrpc/clnt_udp.c: Likewise.
8969 * sunrpc/clnt_unix.c: Likewise.
8970 * sunrpc/openchild.c: Likewise.
8971 * sunrpc/svc_simple.c: Likewise.
8972 * sunrpc/svc_tcp.c: Likewise.
8973 * sunrpc/svc_udp.c: Likewise.
8974 * sunrpc/svc_unix.c: Likewise.
8975 * sunrpc/xdr.c: Likewise.
8976 * sunrpc/xdr_array.c: Likewise.
8977 * sunrpc/xdr_rec.c: Likewise.
8978 * sunrpc/xdr_ref.c: Likewise.
8979 * sunrpc/xdr_stdio.c: Likewise.
8981 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8983 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8985 2011-07-03 Andreas Jaeger <aj@suse.de>
8987 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8988 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8989 regenerate with gen-libm-tests.pl.
8991 2010-05-12 Petr Baudis <pasky@suse.cz>
8994 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8995 around j0() zero points by switching to j1().
8996 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8999 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9001 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9003 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9005 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9008 Patch in part by Pavel Roskin <proski@gnu.org>.
9011 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9013 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9014 Free memory block if necessary.
9017 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9018 be NULL. Don't lock in this case.
9020 2011-09-09 Roland McGrath <roland@hack.frob.com>
9022 * elf/elf.h (ELFOSABI_GNU): New macro.
9023 (ELFOSABI_LINUX): Define to that.
9025 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9027 * string/strncat.c (strncat): Undef the symbol in case it has been
9028 defined in bits/string.h.
9030 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9032 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9034 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9037 2011-08-17 Andreas Jaeger <aj@suse.de>
9039 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9041 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9042 Ian Lance Taylor <iant@google.com>
9044 * math/libm-test.inc (lround_test): New testcase.
9045 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9047 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9049 * Makefile: Remove support for automatic cvs check-ins.
9050 * Makerules: Likewise.
9051 * config.make.in: Likewise.
9052 * configure.in: Likewise.
9053 * intl/Makefile: Likewise.
9054 * locale/Makefile: Likewise.
9055 * po/Makefile: Likewise.
9056 * posix/Makefile: Likewise.
9057 * sysdeps/gnu/Makefile: Likewise.
9058 * sysdeps/mach/hurd/Makefile: Likewise.
9059 * sysdeps/sparc/sparc32/Makefile: Likewise.
9062 * posix/Makefile (bug-regex32-ENV): Define.
9063 Patch by John Stanley <jpsinthemix@verizon.net>.
9065 * misc/Makefile (headers): Add bits/select2.h.
9066 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9067 * misc/bits/select2.h: New file.
9068 * include/bits/select2.h: New file.
9069 * debug/Makefile (routines): Add fdelt_chk.
9070 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9071 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9073 * debug/fdelt_chk.c: New file.
9075 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9076 * wcsmbs/test-wmemcmp.c: Likewise.
9077 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9078 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9080 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9082 * string/Makefile (strop-tests): Add memcmp.
9083 * string/test-wmemcmp.c: New file.
9084 * string/test-memcmp.c: Add wmemcmp support.
9086 2011-09-08 Roland McGrath <roland@hack.frob.com>
9089 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9092 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9093 garbage value in a __mach_port_mod_refs call in the cases of the
9094 task-self and thread-self ports.
9096 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9098 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9100 2011-09-08 Andreas Schwab <schwab@redhat.com>
9102 * elf/dl-load.c (lose): Check for non-null L.
9104 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9106 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9108 * elf/dl-libc.c (dlerror_run): Pass back error code from
9112 * elf/dl-load.c (lose): Free l_origin if it is valid.
9114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9116 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9117 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9118 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9119 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9120 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9121 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9123 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9125 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9126 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9127 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9128 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9129 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9130 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9131 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9132 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9133 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9134 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9136 2011-08-15 Alan Modra <amodra@gmail.com>
9139 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9140 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9141 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9142 ppc_mcount to static-only-routines.
9143 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9145 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9146 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9148 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9150 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9151 for finite and infinity parameters.
9153 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9155 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9156 and add nop instructions for throughput optimization.
9157 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9159 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9161 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9162 aligned copy for power7 with vector-scalar instructions.
9163 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9165 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9167 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9170 2011-09-07 Andreas Schwab <schwab@redhat.com>
9173 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9176 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9178 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9179 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9180 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9181 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9184 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9186 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9187 Forgot to demangle the pointer.
9189 * sysdeps/i386/sysdep.h: Define atom_text_section.
9190 * sysdeps/x86_64/sysdep.h: Likewise.
9191 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9192 section with atom_text_section.
9193 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9194 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9195 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9197 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9199 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9200 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9201 already be defined. Change to take two parameters and don't assign
9202 result to variable. Adjust all users.
9203 Define INTERNAL_GETTIME if not already defined.
9204 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9207 HAVE_CLOCK_GETTIME_VSYSCALL.
9208 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9210 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9211 gettimeofday vsyscall, just use time.
9213 2011-09-06 Andreas Schwab <schwab@redhat.com>
9215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9218 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9220 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9222 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9224 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9225 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9226 syscall if possible.
9228 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9230 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9231 e_ident. Don't pass to find_mapsXX.
9232 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9234 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9237 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9238 * sysdeps/x86_64/multiarch/strchr.S: Update.
9239 Check bit_slow_BSF bit.
9240 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9241 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9242 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9244 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9247 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9250 (__spawni): Change last parameter to be flag. Test
9251 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9252 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9253 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9254 * posix/spawni.c: Likewise.
9255 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9256 * posix/spawnp.c: Likewise. Change normal version to use
9257 SPAWN_XFLAGS_USE_PATH.
9258 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9259 SPAWN_XFLAGS_TRY_SHELL.
9262 * posix/glob.h: Remove gcc 1.x support.
9265 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9267 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9270 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9272 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9273 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9274 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9275 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9276 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9277 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9279 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9281 * sysdeps/x86_64/wcscmp.S: New file.
9283 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9284 wcscmp-c wcscmp-sse2
9285 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9286 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9287 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9288 * wcsmbs/wcscmp.c: Allow renaming.
9290 2011-09-05 David S. Miller <davem@davemloft.net>
9292 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9293 stack slot, rather than the struct return pointer slot.
9294 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9295 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9297 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9299 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9301 * po/ja.po: Update from translation team.
9304 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9305 kernel in 64-bit binaries.
9307 2011-09-01 David S. Miller <davem@davemloft.net>
9309 * elf/elf.h (HWCAP_SPARC_*): Move to..
9310 * sysdeps/sparc/sysdep.h: this new file and add new values.
9311 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9312 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9313 _DL_HWCAP_COUNT to 24.
9314 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9316 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9317 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9318 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9319 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9320 instead of magic constants.
9321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9323 2011-08-31 David S. Miller <davem@davemloft.net>
9325 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9327 Reimplement to do errno handling inline.
9328 (SYSCALL_ERROR_HANDLER): New macro.
9329 (__SYSCALL_STRING): Do not do errno handling in asm.
9330 (__CLONE_SYSCALL_STRING): Delete.
9331 (__INTERNAL_SYSCALL_STRING): Delete.
9332 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9333 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9334 (PSEUDO): Reimplement to do errno handling inline.
9335 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9336 (SYSCALL_ERROR_HANDLER): New macro.
9337 (__SYSCALL_STRING): Do not do errno handling in asm.
9338 (__CLONE_SYSCALL_STRING): Delete.
9339 (__INTERNAL_SYSCALL_STRING): Delete.
9340 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9341 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9343 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9344 (inline_syscall*): Add 'err' argument.
9345 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9346 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9347 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9348 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9350 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9351 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9353 2011-08-30 Andreas Schwab <schwab@redhat.com>
9355 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9357 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9359 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9362 2011-08-24 David S. Miller <davem@davemloft.net>
9364 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9366 2011-08-24 Andreas Schwab <schwab@redhat.com>
9368 * elf/Makefile: Add rules to build and run unload8 test.
9369 * elf/unload8.c: New file.
9370 * elf/unload8mod1.c: New file.
9371 * elf/unload8mod1x.c: New file.
9372 * elf/unload8mod2.c: New file.
9373 * elf/unload8mod3.c: New file.
9375 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9378 2011-08-23 David S. Miller <davem@davemloft.net>
9380 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9381 subtract stack bias.
9382 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9383 %sp not %fp in calculations.
9384 (_JMPBUF_UNWINDS_ADJ): Likewise.
9386 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9387 (aio_suspend): Call it to force an exception region around the
9388 AIO_MISC_WAIT() invocation.
9390 2011-08-23 Andreas Schwab <schwab@redhat.com>
9392 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9395 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9397 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9399 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9401 (Elf64_FuncDesc): Remove.
9403 2011-08-22 David S. Miller <davem@davemloft.net>
9405 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9406 sigaltstack check, add missing cfi directives.
9407 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9408 missing cfi directives, and sigaltstack handling.
9410 2011-08-16 Andreas Schwab <schwab@redhat.com>
9413 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9414 object is seen twice.
9415 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9417 * elf/Makefile (distribute): Add tst-initorder2.c.
9418 (tests): Add tst-initorder2.
9419 (modules-names): Add tst-initorder2a tst-initorder2b
9420 tst-initorder2c tst-initorder2d. Add rules to build them.
9421 ($(objpfx)tst-initorder2.out): New rule.
9422 * elf/tst-initorder2.c: New file.
9423 * elf/tst-initorder2.exp: New file.
9425 2011-08-22 Andreas Schwab <schwab@redhat.com>
9427 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9429 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9430 dependencies back to end of function.
9432 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9435 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9438 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9440 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9441 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9442 of __vdso_gettimeofday.
9443 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9444 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9446 (_libc_vdso_platform_setup): Remove initialization of
9447 __vdso_gettimeofday and __vdso_time.
9449 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9451 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9453 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9456 * elf/dl-open.c (add_to_global): Report additions to the global scope
9457 for LD_DEBUG=scopes.
9458 (dl_open_worker): Also print scope of newly loaded dependencies.
9459 (_dl_show_scope): Indicate if there is no scope.
9462 * stdio-common/Makefile (tests): Add bug24.
9463 * stdio-common/bug24.c: New file.
9465 2011-08-19 Andreas Jaeger <aj@suse.de>
9468 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9469 non-existant file when using close-on-exec mode.
9471 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9474 the very first instruction.
9476 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9477 the CFI state in the end.
9478 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9479 inclusion of dl-trampoline.h.
9480 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9482 2011-08-19 Andreas Schwab <schwab@redhat.com>
9484 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9485 expectations for long double.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9488 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9490 2011-08-14 David S. Miller <davem@davemloft.net>
9492 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9493 artificual limit depends upon the system page size.
9495 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9497 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9498 * resolv/Makefile: Define CFLAGS-libresolv.
9500 2011-08-17 Andreas Schwab <schwab@redhat.com>
9502 * nss/makedb.c (compute_tables): Make variables used in nested
9505 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9507 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9508 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9509 if buffer was too small.
9511 * elf/pldd.c (main): Attach to all threads in the process.
9512 Rewrite /proc handling to use *at functions.
9514 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9516 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9517 specifies first scope to show.
9518 (dl_open_worker): Update callers. Move printing scope of new
9519 object to before the relocation.
9520 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9521 * sysdeps/generic/ldsodefs.h: Update declaration.
9523 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9524 string for the scope number.
9526 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9528 * nscd/servicescache.c (cache_addserv): Make sure written is always
9531 2011-08-14 Roland McGrath <roland@hack.frob.com>
9533 * sysdeps/i386/i486/bits/atomic.h
9534 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9535 statement expression, so as to suppress "set but not used" warning.
9536 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9538 * string/strncat.c (STRNCAT): Use prototype definition.
9540 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9541 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9543 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9544 (localedef-modules): Add localedef.
9545 (locale-modules): Add locale.
9547 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9548 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9551 2011-08-14 David S. Miller <davem@davemloft.net>
9553 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9554 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9556 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9558 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9559 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9560 * elf/rtld.c (dl_main): Set l_name of vDSO.
9561 Call _dl_show_scope when DL_DEBUG_SCOPES.
9562 (process_dl_debug): Recognize scopes flag and also set it for all.
9563 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9564 Declare _dl_show_scope.
9566 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9567 (do_dlopen): Pass caller_dlopen to dl_open.
9568 (__libc_dlopen_mode): Initialize caller_dlopen.
9570 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9571 of libc. Make tolower call locale-independent. Optimize a bit by
9572 using isdigit instead of isalnum.
9573 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9575 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9577 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9578 was a dependency or dynamically loaded.
9580 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9582 * intl/l10nflist.c: Allow architecture-specific pop function.
9583 * sysdeps/x86_64/l10nflist.c: New file.
9585 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9588 2011-08-10 Andreas Schwab <schwab@redhat.com>
9590 * include/dirent.h: Add libc_hidden_proto for scandirat and
9591 scandirat64. Don't declare __scandirat64.
9592 * dirent/scandirat.c: Add libc_hidden_def.
9593 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9594 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9596 2011-08-10 David S. Miller <davem@davemloft.net>
9598 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9602 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9604 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9606 * Versions.def [libc]: Add GLIBC_2.15.
9607 * dirent/Makefile (routines): Add scandirat and scandirat64.
9608 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9610 * dirent/dirent.h: Declare scandirat and scandirat64.
9611 * dirent/scandirat.c: New file.
9612 * dirent/scandirat64.c: New file.
9613 * sysdeps/wordsize-64/scandirat.c: New file.
9614 * sysdeps/wordsize-64/scandirat64.c: New file.
9615 * dirent/opendir.c: Define opendirat.
9616 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9618 * dirent/scandir64.c: Adjust for scandir.c change.
9619 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9620 __scandirat64, and __scandir_cancel_handler.
9621 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9622 additional parameter and use openat instead of open (outside of ld.so).
9623 Add new __opendir as wrapper around __opendirat.
9624 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9625 here without requiring old scandirat implementation.
9627 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9629 * dirent/scandir.c (cancel_handler): Renamed to
9630 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9631 defined. Adjust users.
9632 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9633 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9635 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9637 * string/test-string.h (IMPL): Use __STRING to expand name and then
9640 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9643 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9645 * string/Makefile: Update.
9646 (strop-tests): Append strncat.
9647 * string/test-wcscmp.c: New file.
9648 New comprehensive test for wcscmp.
9649 * string/test-strcmp.c: Update.
9652 2011-07-22 Andreas Schwab <schwab@redhat.com>
9654 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9657 2011-07-26 Andreas Schwab <schwab@redhat.com>
9659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9660 encoding to ACE if AI_IDN.
9662 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9664 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9665 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9667 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9669 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9670 Fix overflow bug in strncat.
9671 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9673 * string/test-strncat.c: Update.
9674 Add new tests for checking overflow bugs.
9676 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9678 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9679 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9680 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9681 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9682 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9683 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9684 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9685 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9686 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9688 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9689 (USE_AS_STRCAT): Define.
9690 Add strcat and strncat support.
9691 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9693 2011-07-25 Andreas Schwab <schwab@redhat.com>
9695 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9696 __n bigger than INT_MAX+1.
9697 (__strncmp_g): Likewise.
9699 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9701 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9702 * libio/stido.h: Likewise.
9704 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9709 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9710 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9711 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9712 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9716 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9719 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9721 (_dl_x86_64_save_sse): Likewise.
9723 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9727 (_dl_x86_64_save_sse): Likewise.
9729 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9731 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9733 2011-07-21 Andreas Schwab <schwab@redhat.com>
9735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9737 (_dl_x86_64_save_sse): Use correct AVX check.
9739 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9741 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9742 bug in strncpy/strncat.
9743 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9745 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9747 * string/tester.c (test_strcat): Add tests for different alignments
9748 of source and destination.
9749 (test_strncat): Likewise.
9751 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9754 * posix/glob.c (glob): Check passed in values before using them in
9755 expressions to avoid some overflows.
9756 (glob_in_dir): Likewise.
9759 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9760 check for AVX enablement so that we don't crash with old kernels and
9762 * elf/tst-audit4.c: Add same checks here.
9763 * elf/tst-audit6.c: Likewise.
9765 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9767 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9769 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9771 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9773 * po/cs.po: Update from translation team.
9774 * po/bg.po: Likewise.
9776 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9778 * misc/sys/cdefs.h: Add support for const attribute.
9779 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9780 to gnu_dev_{major,minor,makedev} functions.
9782 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9784 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9786 2011-07-20 Andreas Schwab <schwab@redhat.com>
9788 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9791 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9794 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9795 register in order to avoid conflicts with the soft frame pointer
9796 being held in r11 when necessary.
9797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9798 (INTERNAL_VSYSCALL_NCS): Likewise.
9800 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9802 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9803 * elf/dl-fini.c (_dl_fini): Adjust caller.
9804 * elf/dl-close.c (_dl_close_worker): Likewise.
9805 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9807 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9809 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9810 "aux_cache->nlibs < 0".
9812 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9813 in the reload-count case.
9815 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9818 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9819 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9820 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9821 * sysdeps/x86_64/multiarch/strcat.S: New file.
9822 * sysdeps/x86_64/multiarch/strncat.S: New file.
9823 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9824 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9825 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9826 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9827 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9828 (USE_AS_STRCAT): Define.
9829 Add strcat and strncat support.
9830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9831 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9832 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9833 * string/strncat.c: Update.
9834 (USE_AS_STRNCAT): Define.
9835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9836 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9838 * sysdeps/x86_64/multiarch/init-arch.h
9839 (bit_Prefer_PMINUB_for_stringop): New.
9840 (index_Prefer_PMINUB_for_stringop): Likewise.
9841 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9842 bit_Prefer_PMINUB_for_stringop.
9844 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9846 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9848 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9849 of casting of buffer.
9850 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9851 buffer32 and buffer64.
9852 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9853 writes instead of casting of buffer.
9854 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9856 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9859 2011-07-19 Andreas Schwab <schwab@redhat.com>
9861 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9863 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9865 * nscd/nscd.c (termination_handler): Don't do anything for a database
9866 if it has not yet been initialized.
9868 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9870 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9872 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9874 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9876 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9878 * po/nl.po: Update from translation team.
9879 * po/sv.po: Likewise.
9881 2011-07-16 Roland McGrath <roland@hack.frob.com>
9883 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9884 now disallowed by GCC.
9886 * configure.in (use-default-link): Default to yes if a test -shared
9887 link meets our qualifications.
9888 * configure: Regenerated.
9890 * config.make.in (output-format): New variable.
9891 * configure.in: Check for ld --print-output-format support.
9892 * configure: Regenerated.
9893 * Makerules ($(common-objpfx)format.lds)
9894 [$(output-format) != unknown]: Just use $(output-format),
9895 instead of the linker-script munging.
9897 2011-07-14 Roland McGrath <roland@hack.frob.com>
9899 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9900 of $(common-objpfx)shlib.lds.
9901 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9903 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9904 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9906 * configure.in (-z relro check): Adjust test code to add a large
9907 writable data section after it.
9908 * configure: Regenerated.
9910 2011-07-11 Roland McGrath <roland@hack.frob.com>
9912 * configure.in (-z relro check): Fix test code to make the variable
9914 * configure: Regenerated.
9916 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9918 * nscd/nscd.h (struct traced_file): Define.
9919 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9920 elements. Add traced_files.
9921 (inotify_fd): Declare.
9922 (register_traced_file): Declare.
9923 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9924 (inotify_fd): Export.
9925 (resolv_conf_descr): Remove.
9926 (nscd_init): Move inotify descriptor creation to main.
9927 Don't register files for notification here.
9928 (register_traced_file): New function.
9929 (invalidate_cache): Don't use reset_res to determine whether to call
9930 res_init, go through the list of registered files.
9931 (main_loop_poll): The inotify descriptors are now stored in the
9932 structures for the traced files.
9933 (main_loop_epoll): Likewise
9934 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9935 to __nss_disable_nscd.
9936 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9937 for a database anymore. Check the records for all the registered
9939 * nss/Makefile (libnss_files-routines): Add files-init.
9940 (libnss_db-routines): Add db-init.
9941 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9942 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9943 * nss/nss_db/db-init.c: New file.
9944 * nss/nss_files/files-init.c: New file.
9945 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9946 __nss_lookup_function.
9947 (__nss_lookup_function): Call nss_load_library.
9948 (nss_load_all_libraries): New function.
9949 (__nss_disable_nscd): Take parameter with callback function for files
9950 to register. Set is_nscd. Load all the DSOs for the NSS modules
9951 used for the cached services.
9952 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9953 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9954 options for features to all the files in nscd.
9956 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9958 2011-07-10 Roland McGrath <roland@hack.frob.com>
9960 * csu/elf-init.c (__libc_csu_init): Comment typo.
9962 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9964 * po/pl.po: Update from translation team.
9965 * po/ja.po: Likewise.
9966 * po/ru.po: Likewise.
9967 * po/ko.po: Likewise.
9968 * po/fr.po: Likewise.
9970 2011-07-09 Roland McGrath <roland@hack.frob.com>
9972 * configure.in (.ctors/.dtors header and trailer check):
9973 Use an empirical test on a built program.
9974 * configure: Regenerated.
9976 * configure.in (-z relro check): Use an empirical test on a built DSO.
9977 Detect, but do not require, on ia64.
9978 * configure: Regenerated.
9980 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9981 Update tests that use readelf to use $READELF instead.
9982 * configure: Regenerated.
9984 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9986 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9987 if the result is not used.
9989 2011-07-05 Andreas Jaeger <aj@suse.de>
9992 * stdlib/tst-strtod.c: Add testcase.
9994 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9996 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9997 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9998 The latter has a higher limit. Take additional parameter to pass to
10000 (__pathconf): Pass file to __statfs_link_max.
10001 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10003 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10007 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10008 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10010 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10011 (__statfs_filesize_max): Likewise.
10012 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10014 2011-07-05 Andreas Jaeger <aj@suse.de>
10016 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10018 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10020 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10022 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10025 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10027 * Makefile (strop-tests): Add strncat.
10028 * string/test-strncat.c: New file.
10030 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10032 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10034 2011-06-21 Andreas Jaeger <aj@suse.de>
10036 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10037 Copy rule from iconvdata/Makefile.
10039 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10042 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10043 but no long options are defined, just return 'W'.
10045 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10048 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10050 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10052 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10054 (innetgr): Likewise.
10056 2011-07-05 Roland McGrath <roland@hack.frob.com>
10058 * config.make.in (install_root): Default to $(DESTDIR).
10060 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10062 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10064 2011-07-02 Roland McGrath <roland@hack.frob.com>
10066 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10068 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10069 containing directory rather than embedding absolute directory names.
10071 * scripts/check-local-headers.sh: Rewritten using awk.
10072 Match by word, not by line. Print error messages for matches.
10073 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10075 * Makerules [shlib-lds-flags empty]:
10076 ($(common-objpfx)libc_pic.opts): New target.
10077 ($(common-objpfx)libc_pic.os.clean): New target.
10078 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10080 * config.make.in (OBJCOPY): New variable.
10081 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10082 * configure: Regenerated.
10084 * config.make.in (use-default-link): New variable.
10085 * configure.in (use_default_link): Grok --with-default-link to set it.
10086 * configure: Regenerated.
10087 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10088 (shlib-lds, shlib-lds-flags): Define to empty.
10090 * Makerules (shlib-lds): New variable.
10091 (shlib-lds-flags): New variable.
10092 (build-shlib, build-moduile, build-module-asneeded): Use it.
10093 ($(common-objpfx)libc.so): Use $(shlib-lds).
10094 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10095 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10097 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10098 DT_FLAGS/DT_FLAGS_1 with zero flags.
10100 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10101 linker script munging.
10103 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10105 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10107 * crypt/sha512.c (sha512_process_block): Perform total addition using
10108 128-bit if possible.
10109 (__sha512_finish_ctx): Likewise.
10110 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10112 * crypt/sha256.c (SWAP64): Define.
10113 (sha256_process_block): Perform total addition using 64-bit if
10115 (__sha256_finish_ctx): Likewise.
10117 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10119 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10120 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10121 * nscd/hstcache.c (cache_addhst): Likewise.
10122 * nscd/grpcache.c (cache_addgr): Likewise.
10123 * nscd/aicache.c (addhstaiX): Likewise
10124 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10126 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10128 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10129 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10130 * nscd/hstcache.c (cache_addhst): Likewise.
10131 * nscd/grpcache.c (cache_addgr): Likewise.
10132 * nscd/aicache.c (addhstaiX): Likewise
10134 2011-07-01 Andreas Schwab <schwab@redhat.com>
10136 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10137 domain only when needed.
10139 2011-06-30 Andreas Schwab <schwab@redhat.com>
10141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10142 is always restored.
10144 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10146 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10147 are re-adding the entry.
10148 * nscd/servicescache.c (cache_addserv): Likewise.
10150 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10152 * sysdeps/generic/dl-irel.h: fix protection against multiple
10154 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10156 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10159 * malloc/memusage.sh: Fix quoting in message.
10160 * debug/xtrace.sh: Likewise.
10162 * configure.in: Remove support for --experimental-malloc option, make
10164 * config.make.in: Likewise.
10165 * malloc/Makefile: Likewise.
10167 2011-06-27 Andreas Schwab <schwab@redhat.com>
10169 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10170 two-byte characters.
10172 2011-06-27 Roland McGrath <roland@hack.frob.com>
10174 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10175 AC_CACHE_CHECK invocation.
10176 * configure: Regenerated.
10178 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10180 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10183 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10184 bit from old_res_options.
10186 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10188 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10189 value type for setfct.
10191 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10194 __gettimeofday instead of gettimeofday.
10196 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10198 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10200 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10202 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10204 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10207 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10209 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10210 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10211 strcpy-sse2-unaligned strncpy-sse2-unaligned
10212 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10213 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10214 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10215 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10216 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10217 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10218 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10219 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10220 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10221 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10222 (STRCPY): Support SSE2 and SSSE3 versions.
10224 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10227 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10228 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10229 kernels which artificially limit size of requests.
10231 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10234 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10235 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10236 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10237 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10238 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10239 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10240 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10241 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10242 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10243 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10244 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10245 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10246 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10247 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10249 Enable unaligned load optimization for Intel Core i3, i5 and i7
10251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10253 (index_Fast_Unaligned_Load): Define.
10254 (HAS_FAST_UNALIGNED_LOAD): Define.
10256 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10258 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10260 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10264 until it is clear that the information is realy needed.
10265 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10267 2011-06-22 Andreas Schwab <schwab@redhat.com>
10269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10271 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10273 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10274 /sys/devices/system/cpu/online if it is usable.
10276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10277 reading the information from the /proc filesystem to once a second.
10279 2011-06-21 Andreas Jaeger <aj@suse.de>
10281 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10282 NULL after inclusion of kernel headers.
10284 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10286 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10287 calls to internal_setent.
10290 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10291 addresses using gethostbyname4_r ignore IPv4 addresses.
10293 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10294 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10296 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10298 2011-06-20 David S. Miller <davem@davemloft.net>
10300 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10302 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10304 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10305 (elf_irel): Use it.
10306 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10307 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10308 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10309 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10310 * sysdeps/x86_64/dl-irel.h: Likewise.
10312 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10313 * elf/dl-sym.c: Likewise.
10315 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10317 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10318 need to dereference resplen2.
10320 2011-06-14 Andreas Schwab <schwab@redhat.com>
10322 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10324 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10326 * Makeconfig: Define vardbdir and inst_vardbdir.
10327 * nss/Makefile: Add rules to install db-Makefile.
10329 * nss/nss_db/db-XXX.c: Cleanup.
10331 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10332 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10334 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10335 * nss/makedb.c: Implement -g option to specify that value strings
10336 are generated and should not be added to table iterated over for
10338 * nss/nss_db/db-initgroups.c: New file.
10340 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10343 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10344 (internal_getgrouplist): Adjust to name change.
10345 Update use_initgroups_entry if this is not the first call.
10346 * nss/databases.def: Add initgroups entry.
10348 * nss/makedb.c (compute_tables): Check result of multiple hash table
10349 sizes to minimize maximum chain length.
10351 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10353 * Versions.def: Add entry for libnss_db.
10354 * shlib-versions: Likewise.
10355 * nss/Makefile: Add rules to build libnss_db.
10356 * nss/Versions: Add libnss_db information. Organize libnss_files
10358 * nss/db-Makefile: Add gshadow support. Change rules for the new
10359 makedb progra. Some minor improvements to generate smaller files.
10360 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10362 * nss/makedb.c: ...here.
10363 Improve database format to be smaller and require less memory at
10365 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10367 * nss/nss_db/db-netgrp.c: Likewise.
10368 * nss/nss_db/db-open.c: Likewise.
10369 * nss/nss_files/flies-XXX.x: Adjust comments.
10370 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10371 * nss/nss_files/files-grp.c: Likewise.
10372 * nss/nss_files/files-hosts.c: Likewise.
10373 * nss/nss_files/files-network.c: Likewise.
10374 * nss/nss_files/files-proto.c: Likewise.
10375 * nss/nss_files/files-pwd.c: Likewise.
10376 * nss/nss_files/files-rpc.c: Likewise.
10377 * nss/nss_files/files-service.c: Likewise.
10378 * nss/nss_files/files-sgrp.c: Likewise.
10379 * nss/nss_files/files-spwd.c: Likewise.
10380 * nss/nss_db/db-alias.c: Removed.
10381 * nss/nss_db/dummy-db.h: Removed.
10383 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10385 * nss/makedb.c: Rewritten to not use database library.
10386 * nss/Makefile: Update to build new makedb program.
10388 2011-06-14 Andreas Jaeger <aj@suse.de>
10390 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10391 memset declaration.
10393 2011-06-10 Andreas Schwab <schwab@redhat.com>
10395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10398 2011-06-10 Roland McGrath <roland@hack.frob.com>
10400 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10401 * elf/Makefile ($(objpfx)ld.so): Likewise.
10403 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10404 Don't list ld.so twice in dependencies.
10406 * posix/bug-regex31.c: Include <stdlib.h>.
10408 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10410 * nis/nss_compat/compat-spwd.c
10411 (getspent_next_nss_netgr): Remove unused variable.
10412 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10414 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10415 nonmembers" output to use the right array.
10417 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10419 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10421 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10422 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10423 * catgets/gencat.c (read_input_file): Likewise.
10424 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10426 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10427 variable definition inside #if's controlling its use.
10429 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10431 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10433 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10435 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10438 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10440 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10441 * configure: Regenerated.
10443 * Makerules: Revert last change.
10444 * elf/Makefile: Likewise.
10446 2011-06-09 Roland McGrath <roland@hack.frob.com>
10448 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10449 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10450 (reloc-link): Likewise.
10452 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10454 * elf/Makefile: Add rules to build pldd.
10455 * elf/pldd.c: New file.
10456 * elf/pldd-xx.c: New file.
10458 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10460 * version.h: Update for 2.15 development version.
10462 2011-06-07 David S. Miller <davem@davemloft.net>
10464 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10466 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10467 elf_machine_lazy_rel): Likewise.
10468 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10469 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10470 elf_machine_lazy_rel): Likewise.
10471 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10472 dl_hwcap via passed in argument.
10473 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10476 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10478 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10480 2011-06-06 Roland McGrath <roland@hack.frob.com>
10483 * manual/fdl-1.1.texi: New file, verbatim from:
10484 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10485 * manual/lgpl-2.1.texi: New file, verbatim from:
10486 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10487 * manual/Makefile (licenses): New variable, list those new file names.
10489 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10491 * manual/fdl.texi: File removed.
10492 * manual/lesser.texi: File removed.
10493 * manual/libc.texinfo (Copying, Documentation License):
10494 Use new @include file names, put @appendix directive before @include.
10496 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10499 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10500 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10501 (mq_open): Add __NTH.
10503 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10506 Assume Intel Core i3/i5/i7 processor if AVX is available.
10508 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10513 2011-05-31 Andreas Schwab <schwab@redhat.com>
10515 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10516 memory. Use alloca_account. Fix memory leak when retrying.
10518 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10520 * version.h (RELEASE): Bump for 2.14 release.
10521 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10523 * config.make.in (RANLIB): Remove entry.
10525 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10527 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10528 (libc.pot): Work around missing support for .ksh extension in xgettext.
10531 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10532 if both request failed.
10533 (send_dg): In case of server errors clear resplen or *resplen2.
10536 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10537 when there are multiple maps.
10538 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10539 (_dl_fini): Remove test here.
10541 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10543 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10546 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10547 bit from old_res_options.
10548 (gaih_inet): Likewise.
10551 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10554 * resolv/res_init.c (res_setoptions): Make the code more compact.
10557 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10561 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10563 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10566 * malloc/malloc.h: Declare malloc hook variables as volatile.
10568 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10572 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10573 raise in the comment.
10574 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10575 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10576 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10578 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10581 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10582 grow the buffers more if it already has to be sufficient.
10583 (build_wcs_upper_buffer): Likewise.
10584 * posix/regexec.c (check_matching): Likewise.
10585 (clean_state_log_if_needed): Likewise.
10586 (extend_buffers): Don't enlarge buffers beyond size of the input
10588 Patches mostly by Emil Wojak <emil@wojak.eu>.
10589 * posix/bug-regex32.c: New file.
10590 * posix/Makefile (tests): Add bug-regex32.
10592 * locale/findlocale.c (_nl_find_locale): Return right away if
10593 _nl_explode_name failed.
10594 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10596 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10598 * debug/xtrace.sh: Unify messages.
10599 * malloc/memusage.sh: Likewise.
10602 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10603 time symbol from vDSO. Substitute with vsyscall if not available.
10604 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10607 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10608 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10609 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10610 Add sendmmsg and internal_sendmmsg.
10611 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10612 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10613 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10615 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10616 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10619 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10622 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10623 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10629 * iconvdata/Makefile (tests): Add bug-iconv9.
10630 * iconvdata/bug-iconv9.c: New file.
10632 2011-05-27 Andreas Schwab <schwab@redhat.com>
10635 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10637 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10639 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10640 (struct user_regs_struct): Change intcs field back to cs.
10642 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10644 * po/ja.po: Update from translation team.
10646 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10649 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10650 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10652 2011-05-20 Andreas Schwab <schwab@redhat.com>
10654 * stdlib/longlong.h: Update from GCC.
10656 2011-05-23 Andreas Schwab <schwab@redhat.com>
10658 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10660 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10661 Add parameter name.
10662 (__sysconf): Pass it down.
10664 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10667 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10669 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10670 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10671 add in in __libc_use_alloca calls. Adjust callers.
10672 (glob): Use malloc in some situations.
10674 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10675 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10678 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10680 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10681 and CLOCK_BOOTTIME_ALARM.
10684 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10687 * string/_strerror.c (__strerror_r): Print negative errors as signed
10691 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10692 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10693 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10695 * configure.in: Fix typo in redirection and correct removal of test
10696 files in two cases.
10699 * locale/setlocale.c (new_composite_name): Fix test to check for
10700 identical name of all categories.
10703 * libio/filedoalloc.c (local_isatty): New function.
10704 (_IO_file_doallocate): Use local_isatty.
10705 * stdio-common/perror.c (perror): In case a new stream is used
10706 forward the stream error.
10707 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10710 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10715 * include/alloca.h (extend_alloca_account): Define.
10718 * posix/regex.h: Fix comments with documentation of user-accessible
10719 fields after compilation and describe correct free'ing of pattern
10720 after re_compile_pattern.
10721 Patch by Reuben Thomas <rrt@sc3d.org>.
10723 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10725 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10726 and -mno-altivec to prevent the compiler from using Altivec and/or
10727 VSX instructions when the corresponding registers are not available.
10729 2011-05-19 Andreas Schwab <schwab@redhat.com>
10731 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10733 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10735 * libio/freopen.c (freopen): Use __dup2, not dup2.
10736 * libio/freopen64.c (freopen64): Likewise.
10738 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10741 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10742 * math/Makefile (tests): Add test-powl.
10743 (CFLAGS-test-powl.c): Define.
10744 * math/test-powl.c: New file.
10746 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10748 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10750 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10753 * iconvdata/gb18030.c: Update to GB18020-2005.
10755 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10757 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10758 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10759 Patch by Aharon Robbins <arnold@skeeve.com>.
10762 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10766 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10767 through underflows.
10770 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10771 point to strings before performing equality test for error_one_per_line
10775 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10778 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10779 (struct user_fpregs_struct): Avoid __uint*_t types.
10782 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10783 symbol info. Use it instead of calling _dl_addr locally.
10784 (lock_and_info): New function.
10785 (tr_freehook): Call lock_and_info and pass symbol info as additional
10786 parameter to tr_where.
10787 (tr_mallochook): Likewise.
10788 (tr_reallochook): Likewise.
10789 (tr_memalignhook): Likewise.
10791 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10792 used and couldn't be at all thread-safe.
10794 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10796 * libio/freopen.c (freopen): Don't close old file descriptor
10797 before the new one is opened. Instead dup the new file descriptor
10798 to the old one after the new stream is created.
10799 * libio/freopen64.c (freopen64): Likewise.
10800 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10801 * libio/fileops.c (_IO_new_file_close_it): Handle new
10802 _IO_FLAGS2_NOCLOSE flag.
10803 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10804 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10805 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10806 _IO_FLAGS2_NOCLOSE flag.
10807 * include/unistd.h: Add hidden_proto for dup3.
10808 Define __have_dup3.
10809 * io/dup3.c: Define hidden symbol.
10810 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10813 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10814 when an incomplete long option is used.
10815 * posix/tst-getopt_long1.c: New file.
10816 * posix/Makefile (tests): Add tst-getopt_long1.
10819 * scripts/config.guess: Update from autoconf-2.68.
10820 * scripts/config.sub: Likewise.
10823 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10825 (has_cpuclock): ...this. New function.
10826 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10827 macro here based on has_cpuclock code.
10830 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10831 First byte (not low byte) is now always NUL.
10832 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10835 Use non-cancelable interfaces.
10838 * locale/iso-639.def: Add entry for Sorani.
10841 * include/stdlib.h: Move include protection to the right place.
10842 Define abort_msg_s. Declare __abort_msg with it.
10843 * stdlib/abort.c (__abort_msg): Adjust type.
10844 * assert/assert.c (__assert_fail_base): New function. Majority
10845 of code from __assert_fail. Allocate memory for __abort_msg with
10847 (__assert_fail): Now call __assert_fail_base.
10848 * assert/assert-perr.c: Remove bulk of implementation. Use
10849 __assert_fail_base.
10850 * include/assert.hL Declare __assert_fail_base.
10851 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10853 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10855 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10859 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10860 until all modules are registered in the DTV.
10861 * elf/Makefile: Add rules to build and run tst-tls19.
10862 * elf/tst-tls19.c: New file.
10863 * elf/tst-tls19mod1.c: New file.
10864 * elf/tst-tls19mod2.c: New file.
10865 * elf/tst-tls19mod3.c: New file.
10866 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10869 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10873 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10874 two-byte sequence errors.
10875 * iconvdata/Makefile (tests): Add bug-iconv8.
10876 * iconvdata/bug-iconv8.c: New file.
10879 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10882 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10885 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10886 (dummy_getcfa): New function.
10887 (init): Get _Unwind_GetCFA address, use dummy if not found.
10888 (backtrace_helper): In recursion check, also check whether CFA changes.
10889 (__backtrace): Completely initialize arg.
10891 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10892 storing incomplete byte sequence in state object. Avoid testing for
10893 guaranteed too small input if we know there is enough data available.
10895 2011-05-11 Andreas Schwab <schwab@redhat.com>
10897 * Makeconfig (+link-pie): Indent.
10898 * Rules (binaries-pie): Define if $(have-fpie) and
10900 (binaries-shared): Also filter out $(binaries-pie).
10901 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10902 * nscd/Makefile (others-pie): Add nscd.
10903 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10904 ($(objpfx)nscd): Remove command override.
10905 * login/Makefile (others-pie): Add pt_chown.
10906 ($(objpfx)pt_chown): Remove command override.
10907 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10908 remove command overrides.
10910 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10912 * libio/tst_putwc.c: Fix error messages.
10915 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10916 currently writing and seek to current position when not.
10917 * libio/Makefile (tests): Add bug-fclose1.
10918 * libio/bug-fclose1.c: New file.
10920 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10923 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10924 don't set DF_1_NODELETE here.
10925 (do_lookup_x): When entering new entry test for copy relocation
10926 and if necessary set DF_1_NODELETE flag.
10927 * elf/tst-unique4.cc: New file.
10928 * elf/tst-unique4.h: New file.
10929 * elf/tst-unique4lib.cc: New file.
10930 * elf/Makefile: Add rules to build and run tst-unique4.
10931 Patch by Piotr Bury <pbury@goahead.com>.
10933 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10936 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10939 * misc/mntent_r.c (addmntent): Flush the stream after the output
10942 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10943 (is_trusted_path_normalize): Skip initial colon. Append slash
10944 to empty buffer. Duplicate is_trusted_path code but allow
10945 constructed patch to be prefix.
10946 (is_dst): Allow $ORIGIN followed by /.
10947 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10948 Correct testing of result of is_trusted_path_normalize
10949 (decompose_rpath): Fix warning.
10951 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10954 * grp/initgroups.c (internal_getgrouplist): When we found the service
10955 list through the initgroups entry in nsswitch.conf do not always
10956 continue on a successful lookup. Don't always use the
10957 __nss_group_database value if it is set.
10958 * nss/nsswitch.conf (initgroups): Change action for successful db
10959 lookup to continue for compatibility.
10961 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10964 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10966 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10968 * iconvdata/tst-tables.sh: Likewise.
10969 * iconvdata/cp770.c: New file.
10970 * iconvdata/cp771.c: New file.
10971 * iconvdata/cp772.c: New file.
10972 * iconvdata/cp773.c: New file.
10973 * iconvdata/cp774.c: New file.
10974 * iconvdata/testdata/CP770: New file.
10975 * iconvdata/testdata/CP770..UTF8: New file.
10976 * iconvdata/testdata/CP771: New file.
10977 * iconvdata/testdata/CP771..UTF8: New file.
10978 * iconvdata/testdata/CP772: New file.
10979 * iconvdata/testdata/CP772..UTF8: New file.
10980 * iconvdata/testdata/CP773: New file.
10981 * iconvdata/testdata/CP773..UTF8: New file.
10982 * iconvdata/testdata/CP774: New file.
10983 * iconvdata/testdata/CP774..UTF8: New file.
10985 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10987 * iconvdata/gen-8bit-gap.sh: Likewise.
10988 * iconvdata/gen-8bit.sh: Likewise.
10990 * locale/iso-639.def: Add ary entry.
10993 * locale/C-translit.h.in: Add U20A1 transliteration.
10996 * locale/iso-639.def: Add wae entry.
10997 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11000 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11004 * locale/C-translit.h.in: Add entry for U20B9.
11005 Patch by pravin.d.s@gmail.com.
11007 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11010 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11011 ENAMETOOLONG use generic getcwd.
11012 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11013 in rtld. Use *stat64.
11014 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11015 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11016 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11017 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11018 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11019 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11020 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11021 __fstatat64 macros.
11022 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11023 * dirent/rewinddir.c: Add libc_hidden_def.
11024 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11025 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11027 * include/dirent.h (__alloc_dir): Add flags parameter.
11028 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11029 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11031 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11032 from fdopendir if O_CLOEXEC is already set.
11034 2011-03-15 Alan Modra <amodra@gmail.com>
11036 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11037 l_tls_firstbyte_offset non-zero. Save padding offset in
11038 l_tls_firstbyte_offset for later use.
11039 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11040 freeing static tls block.
11042 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11044 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11045 where #ifdef was intended. The intent is to prevent ARG_MAX from
11046 being defined by the kernel headers.
11048 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11051 * resolv/resolv.h: Define RES_NOTLDQUERY.
11052 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11053 no-tld-query and set RES_NOTLDQUERY.
11054 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11055 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11056 modern BIND to search name as TLD unless forbidden.
11058 2011-05-07 Petr Baudis <pasky@suse.cz>
11059 Ulrich Drepper <drepper@gmail.com>
11062 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11063 (is_trusted_path): ...to here.
11064 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11065 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11066 using is_trusted_path_normalize() in setuid scripts.
11068 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11070 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11071 __BEGIN/__END_DECLS.
11073 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11075 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11076 NSS_STATUS_NOTFOUND if no record was found.
11078 2011-05-05 Andreas Schwab <schwab@redhat.com>
11080 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11081 (headers-not-in-tirpc): Remove rpc/netdb.h
11082 * resolv/netdb.h: Revert last change.
11084 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11086 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11087 circular dependency between libgcc.a and libc.a.
11089 2011-05-05 Andreas Schwab <schwab@redhat.com>
11091 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11092 * nis/Makefile: Don't install rpcsvc/*.
11093 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11094 instead of <rpc/types.h>.
11095 (MAXHOSTNAMELEN): Define.
11097 2011-05-03 Andreas Schwab <schwab@redhat.com>
11099 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11101 2011-04-28 Maciej Babinski <mbabinski@google.com>
11104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11105 gethostbyname4_r when IPv6 results are possible.
11107 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11110 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11111 _PC_PIPE_BUF handling.
11113 2011-04-30 Bruno Haible <bruno@clisp.org>
11116 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11117 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11119 * inet/getnameinfo.c (getnameinfo): Likewise.
11121 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11123 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11124 to groups setting in database lookup.
11125 * nss/nsswitch.conf: Add initgroups entry.
11127 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11130 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11132 Patch by Eric Blake <eblake@redhat.com>.
11134 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11136 * sunrpc/Makefile (need-export-routines): Add svc_run.
11137 (routines): Remove svc_run.
11138 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11139 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11140 * sunrpc/svc_run.c (svc_run): Likewise.
11141 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11143 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11146 problem in reallocation in last patch.
11148 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11150 * sunrpc/Makefile: Move inclusion of Rules.
11152 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11154 * nss/nss_files/files-initgroups.c: New file.
11155 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11156 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11157 _nss_files_initgroups_dyn.
11159 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11161 * elf/elf.h (R_ARM_IRELATIVE): Define.
11163 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11165 * po/ru.po: Update from translation team.
11167 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11169 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11172 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11175 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11176 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11177 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11178 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11179 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11181 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11183 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11185 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11186 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11189 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11192 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11194 * stdlib/bug-getcontext.c: New file.
11195 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11197 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11199 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11200 instructions into .machine "z9-109".
11201 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11202 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11204 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11206 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11207 between environment variables and auxiliary vector.
11209 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11211 * Makefile: Add rules to build linkobj/libc.so.
11212 * include/libc-symbols.h: Define libc_hidden_nolink.
11213 * include/rpc/auth.h: Mark functions which are to be hidden.
11214 * include/rpc/auth_des.h: Likewise.
11215 * include/rpc/auth_unix.h: Likewise.
11216 * include/rpc/clnt.h: Likewise.
11217 * include/rpc/des_crypt.h: Likewise.
11218 * include/rpc/key_prot.h: Likewise.
11219 * include/rpc/pmap_clnt.h: Likewise.
11220 * include/rpc/pmap_prot.h: Likewise.
11221 * include/rpc/pmap_rmt.h: Likewise.
11222 * include/rpc/rpc_msg.h: Likewise.
11223 * include/rpc/svc.h: Likewise.
11224 * include/rpc/svc_auth.h: Likewise.
11225 * include/rpc/xdr.h: Likewise.
11226 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11227 * nss/Makefile: Likewise.
11228 * sunrpc/Makefile: Don't install headers. Build library with normal
11229 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11230 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11231 for the compat linking library. Remove use of INTDEF/INTUSE.
11232 * sunrpc/auth_none.c: Likewise.
11233 * sunrpc/auth_unix.c: Likewise.
11234 * sunrpc/authdes_prot.c: Likewise.
11235 * sunrpc/authuxprot.c: Likewise.
11236 * sunrpc/clnt_gen.c: Likewise.
11237 * sunrpc/clnt_perr.c: Likewise.
11238 * sunrpc/clnt_raw.c: Likewise.
11239 * sunrpc/clnt_simp.c: Likewise.
11240 * sunrpc/clnt_tcp.c: Likewise.
11241 * sunrpc/clnt_udp.c: Likewise.
11242 * sunrpc/clnt_unix.c: Likewise.
11243 * sunrpc/des_crypt.c: Likewise.
11244 * sunrpc/des_soft.c: Likewise.
11245 * sunrpc/get_myaddr.c: Likewise.
11246 * sunrpc/key_call.c: Likewise.
11247 * sunrpc/key_prot.c: Likewise.
11248 * sunrpc/netname.c: Likewise.
11249 * sunrpc/pm_getmaps.c: Likewise.
11250 * sunrpc/pm_getport.c: Likewise.
11251 * sunrpc/pmap_clnt.c: Likewise.
11252 * sunrpc/pmap_prot.c: Likewise.
11253 * sunrpc/pmap_prot2.c: Likewise.
11254 * sunrpc/pmap_rmt.c: Likewise.
11255 * sunrpc/publickey.c: Likewise.
11256 * sunrpc/rpc_cmsg.c: Likewise.
11257 * sunrpc/rpc_common.c: Likewise.
11258 * sunrpc/rpc_dtable.c: Likewise.
11259 * sunrpc/rpc_prot.c: Likewise.
11260 * sunrpc/rpc_thread.c: Likewise.
11261 * sunrpc/rtime.c: Likewise.
11262 * sunrpc/svc.c: Likewise.
11263 * sunrpc/svc_auth.c: Likewise.
11264 * sunrpc/svc_authux.c: Likewise.
11265 * sunrpc/svc_raw.c: Likewise.
11266 * sunrpc/svc_run.c: Likewise.
11267 * sunrpc/svc_simple.c: Likewise.
11268 * sunrpc/svc_tcp.c: Likewise.
11269 * sunrpc/svc_udp.c: Likewise.
11270 * sunrpc/svc_unix.c: Likewise.
11271 * sunrpc/svcauth_des.c: Likewise.
11272 * sunrpc/xcrypt.c: Likewise.
11273 * sunrpc/xdr.c: Likewise.
11274 * sunrpc/xdr_array.c: Likewise.
11275 * sunrpc/xdr_float.c: Likewise.
11276 * sunrpc/xdr_intXX_t.c: Likewise.
11277 * sunrpc/xdr_mem.c: Likewise.
11278 * sunrpc/xdr_rec.c: Likewise.
11279 * sunrpc/xdr_ref.c: Likewise.
11280 * sunrpc/xdr_sizeof.c: Likewise.
11281 * sunrpc/xdr_stdio.c: Likewise.
11283 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11286 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11287 * sysdeps/ia64/dl-tls.h: Likewise.
11288 * sysdeps/powerpc/dl-tls.h: Likewise.
11289 * sysdeps/s390/dl-tls.h: Likewise.
11290 * sysdeps/sh/dl-tls.h: Likewise.
11291 * sysdeps/sparc/dl-tls.h: Likewise.
11292 * sysdeps/x86_64/dl-tls.h: Likewise.
11293 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11295 2011-03-14 Andreas Schwab <schwab@redhat.com>
11297 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11298 rpath element also skip the following colon.
11299 (expand_dynamic_string_token): Add is_path parameter and pass
11300 down to DL_DST_REQUIRED and _dl_dst_substitute.
11301 (decompose_rpath): Call expand_dynamic_string_token with
11302 non-zero is_path. Ignore empty rpaths.
11303 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11306 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11311 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11314 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11315 Patch by Filipe David Manana <fdmanana@apache.org>.
11317 2011-04-07 Andreas Schwab <schwab@redhat.com>
11319 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11320 Maintain aligned stack.
11321 (CHECK_RSP): Remove unused macro.
11323 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11325 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11326 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11328 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11330 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11332 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11334 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11337 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11338 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11339 * sysdeps/x86_64/memmove.c: New file.
11340 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11341 (memcpy): Renamed to ...
11342 (__new_memcpy): This.
11343 (memcpy): Provide GLIBC_2_14 memcpy.
11344 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11345 (memcpy): Provide GLIBC_2_2_5 memcpy.
11347 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11350 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11352 2011-03-30 Andreas Schwab <schwab@redhat.com>
11354 * misc/syncfs.c: New file.
11355 * misc/Makefile (routines): Add syncfs.
11356 * posix/unistd.h: Declare syncfs.
11357 * sysdeps/unix/syscalls.list: Add syncfs.
11359 2011-04-01 Andreas Schwab <schwab@redhat.com>
11361 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11363 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11364 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11366 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11368 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11369 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11371 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11373 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11374 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11375 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11377 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11378 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11379 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11381 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11382 sync_file_range.c with -fexceptions.
11383 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11384 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11385 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11386 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11387 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11388 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11389 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11390 sync_file_range as cancellation point
11391 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11392 now a wrapper around __call_sync_file_range with cancellation handling.
11393 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11394 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11395 function name to __call_sync_file_range.
11396 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11397 Add call_sync_file_range.
11399 2011-04-01 Andreas Schwab <schwab@redhat.com>
11401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11404 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11406 * iconv/iconv.h: Fix typo in comment.
11407 * io/fcntl.h: Likewise.
11408 * libio/stdio.h: Likewise.
11409 * posix/spawn.h: Likewise.
11410 * posix/unistd.h: Likewise.
11411 * stdlib/stdlib.h: Likewise.
11412 * time/time.h: Likewise.
11413 * wcsmbs/wchar.h: Likewise.
11415 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11416 open_by_handle): Add.
11417 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11418 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11419 Augment a few comments.
11420 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11422 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11423 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11424 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11425 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11428 * io/fcntl.h (AT_EMPTY_PATH): Define.
11430 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11432 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11433 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11434 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11436 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11437 * Versions.def: Add GLIBC_2.14.
11438 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11441 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11443 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11445 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11447 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11450 * string/test-strncmp.c (do_page_test): New function.
11451 (check2): Likewise.
11452 (test_main): Call check2.
11453 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11455 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11458 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11459 Handle cache information in CPU leaf 4.
11460 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11462 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11465 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11466 character representation.
11467 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11469 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11471 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11472 END(__isnan) to END(__isnanf) to match function entry point/label
11473 EALIGN(__isnanf,...).
11475 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11477 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11479 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11482 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11483 copy from the symbol referenced in the relocation to initialize the
11485 Patch by Piotr Bury <pbury@goahead.com>.
11486 * elf/Makefile: Add rules to build and tst-unique3.
11487 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11488 * elf/tst-unique3.cc: New file.
11489 * elf/tst-unique3.h: New file.
11490 * elf/tst-unique3lib.cc: New file.
11491 * elf/tst-unique3lib2.cc: New file.
11493 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11495 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11497 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11498 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11501 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11503 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11504 to-be-loaded object along a path to loader is ld.so.
11506 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11507 Ulrich Drepper <drepper@gmail.com>
11509 * sysdeps/x86_64/memset.S: After aligning destination, code
11510 branches to different locations depending on the value of
11511 misalignment, when multiarch is enabled. Fix this.
11513 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11515 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11516 Set _x86_64_preferred_memory_instruction for AMD processsors.
11517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11518 Set bit_Prefer_SSE_for_memop for AMD processors.
11520 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11522 * libio/fmemopen.c (fmemopen): Optimize a bit.
11524 2011-03-03 Andreas Schwab <schwab@redhat.com>
11526 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11528 2011-03-03 Roland McGrath <roland@redhat.com>
11530 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11532 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11534 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11535 __bzero_ultra1 instead of __memset_ultra1.
11537 2011-02-23 Andreas Schwab <schwab@redhat.com>
11538 Ulrich Drepper <drepper@gmail.com>
11541 * include/link.h (struct link_map): Add l_orig_initfini.
11542 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11543 returning unsuccessfully.
11544 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11545 close of a file loaded at startup, restore the original l_initfini
11547 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11548 list, store the pointer.
11549 * elf/Makefile ($(objpfx)noload-mem): New rule.
11550 (noload-ENV): Define.
11551 (tests): Add $(objpfx)noload-mem.
11552 * elf/noload.c: Include <memcheck.h>.
11553 (main): Call mtrace. Close all opened handles.
11555 2011-02-17 Andreas Schwab <schwab@redhat.com>
11558 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11559 dependencies are missing.
11561 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11563 Fix __if_freereq crash: Unlike the generic version which uses free,
11565 * sysdeps/mach/hurd/ifreq.h: New file.
11567 2011-01-27 Petr Baudis <pasky@suse.cz>
11568 Ulrich Drepper <drepper@gmail.com>
11571 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11572 to extend_alloca().
11573 * stdio-common/bug23.c: New file.
11574 * stdio-common/Makefile (tests): Add bug23.
11576 2010-09-28 Andreas Schwab <schwab@redhat.com>
11577 Ulrich Drepper <drepper@gmail.com>
11580 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11581 before performing relro protection. At old place add assertion
11582 to make sure nothing changed.
11584 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11585 Glauber de Oliveira Costa <glommer@gmail.com>
11587 * elf/elf.h: Add new ARM TLS relocs.
11589 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11592 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11594 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11596 * sysdeps/wordsize-64/tst-writev.c: New file.
11598 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11600 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11601 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11602 insns in _dl_start to prevent a TOC reference before relocs are
11605 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11608 * Makeconfig: Remove RANLIB definition.
11609 * Makerules: Don't use RANLIB.
11610 * aclocal.m4: Remove ranlib test.
11611 * configure.in: No need to check for ranlib.
11612 * elf/rtld-Rules: Don't use RANLIB.
11614 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11616 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11618 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11619 inclusion protection macro.
11621 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11622 SIGRTMIN and SIGRTMAX and print information in that case only when
11623 SIGRTMIN is defined.
11625 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11627 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11628 arginfo fn returning -1.
11630 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11631 and thousands string is zero terminated.
11633 2011-02-03 Andreas Schwab <schwab@redhat.com>
11635 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11636 sysdeps/unix/sysv/linux/bits/socket.h.
11638 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11640 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11641 (__CPU_COUNT): Remove old macros.
11642 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11643 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11644 (__CPU_ALLOC, __CPU_FREE): Add macros.
11645 (__sched_cpualloc, __sched_cpufree): Add declarations.
11647 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11649 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11650 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11651 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11652 (readdhstai): Return value of addhstaiX call.
11653 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11654 (addgrbyX): Return value returned by cache_addgr.
11655 (readdgrbyname): Return value returned by addgrbyX.
11656 (readdgrbygid): Likewise.
11657 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11658 (addpwbyX): Return value returned by cache_addpw.
11659 (readdpwbyname): Return value returned by addhstbyX.
11660 (readdpwbyuid): Likewise.
11661 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11662 (addservbyX): Return value returned by cache_addserv.
11663 (readdservbyname): Return value returned by addservbyX:
11664 (readdservbyport): Likewise.
11665 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11666 (addhstbyX): Return value returned by cache_addhst.
11667 (readdhstbyname): Return value returned by addhstbyX.
11668 (readdhstbyaddr): Likewise.
11669 (readdhstbynamev6): Likewise.
11670 (readdhstbyaddrv6): Likewise.
11671 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11672 (readdinitgroups): Return value returned by addinitgroupsX.
11673 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11674 (prune_cache): Keep track of timeout value of re-added entries.
11675 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11676 * nscd/nscd.h: Adjust prototypes of readd* functions.
11678 2011-02-04 Roland McGrath <roland@redhat.com>
11680 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11681 (nis_stats): Likewise.
11682 * nis/nis_modify.c (nis_modify): Likewise.
11683 * nis/nis_remove.c (nis_remove): Likewise.
11684 * nis/nis_add.c (nis_add): Likewise.
11686 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11688 * posix/fnmatch_loop.c: Add some consts.
11690 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11692 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11695 * config.make.in (config-cflags-novzeroupper): Define.
11696 * configure.in: Substitute libc_cv_cc_novzeroupper.
11697 * elf/Makefile (AVX-CFLAGS): Define.
11698 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11699 (CFLAGS-tst-auditmod4a.c): Likewise.
11700 (CFLAGS-tst-auditmod4b.c): Likewise.
11701 (CFLAGS-tst-auditmod6b.c): Likewise.
11702 (CFLAGS-tst-auditmod6c.c): Likewise.
11703 (CFLAGS-tst-auditmod7b.c): Likewise.
11704 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11706 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11708 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11709 function to the callback.
11710 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11712 2011-02-02 Andreas Schwab <schwab@redhat.com>
11714 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11717 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11720 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11722 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11724 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11727 * elf/Makefile: Add rules to build and run new test.
11728 * elf/tst-initorder.c: New file.
11729 * elf/tst-initorder.exp: New file.
11730 * elf/tst-initordera1.c: New file.
11731 * elf/tst-initordera2.c: New file.
11732 * elf/tst-initordera3.c: New file.
11733 * elf/tst-initordera4.c: New file.
11734 * elf/tst-initorderb1.c: New file.
11735 * elf/tst-initorderb2.c: New file.
11736 * elf/tst-order-a1.c: New file.
11737 * elf/tst-order-a2.c: New file.
11738 * elf/tst-order-a3.c: New file.
11739 * elf/tst-order-a4.c: New file.
11740 * elf/tst-order-b1.c: New file.
11741 * elf/tst-order-b2.c: New file.
11742 * elf/tst-order-main.c: New file.
11743 New test case by George Gensure <werkt0@gmail.com>.
11745 2010-10-01 Andreas Schwab <schwab@redhat.com>
11747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11748 decoding ACE if AI_CANONIDN.
11750 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11752 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11754 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11756 * version.h (RELEASE): Bump for 2.13 release.
11757 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11759 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11761 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11763 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11764 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11765 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11766 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11767 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11768 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11770 * posix/getconf.c: Update copyright year.
11771 * catgets/gencat.c: Likewise.
11772 * csu/version.c: Likewise.
11773 * debug/catchsegv.sh: Likewise.
11774 * debug/xtrace.sh: Likewise.
11775 * elf/ldconfig.c: Likewise.
11776 * elf/ldd.bash.in: Likewise.
11777 * elf/sprof.c (print_version): Likewise.
11778 * iconv/iconv_prog.c: Likewise.
11779 * iconv/iconvconfig.c: Likewise.
11780 * locale/programs/locale.c: Likewise.
11781 * locale/programs/localedef.c: Likewise.
11782 * malloc/memusage.sh: Likewise.
11783 * malloc/mtrace.pl: Likewise.
11784 * nscd/nscd.c (print_version): Likewise.
11785 * nss/getent.c: Likewise.
11787 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11788 PF_CAIF, and PF_ALG.
11789 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11791 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11793 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11794 (modules-names): Use them.
11795 (ifunc-test-modules, ifunc-pie-tests): Define.
11796 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11797 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11798 (test-extras): Likewise.
11799 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11800 $(compile-command.c).
11801 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11802 (all-built-dso): Define.
11803 (check-textrel.out, check-execstack.out): Depend on it.
11805 * configure.in: Don't override --enable-multi-arch.
11807 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11810 * nscd/hstcache.c (tryagain): Define.
11811 (cache_addhst): Return tryagain not notfound for temporary errors.
11812 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11815 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11818 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11819 to make the syscall.
11820 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11823 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11824 and fall back to matching as normal character if the string ends before
11825 the matching ']' is found. This is what POSIX requires.
11826 * posix/testfnm.c: Adjust test result.
11827 * posix/globtest.sh: Adjust test result. Add new test.
11828 * posix/tst-fnmatch.input: Likewise.
11829 * posix/tst-fnmatch2.c: Add new test.
11831 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11833 * elf/Makefile (check-execstack): Revert last change. Depend on
11835 (check-execstack.h): New target.
11836 (generated): Add check-execstack.h.
11837 * elf/check-execstack.c: Include "check-execstack.h".
11838 (main): Revert last change.
11839 (handle_file): Return zero if GNU_STACK is absent and
11840 DEFAULT_STACK_PERMS doesn't include PF_X.
11842 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11844 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11845 in child fails because the descriptor is already closed.
11846 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11847 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11848 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11851 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11855 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11856 temporary buffer used to handle multi lookups locally.
11857 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11859 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11861 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11864 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11866 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11867 alignment for SSE2.
11869 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11872 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11873 characters. When rounding increased number of integer digits recompute
11875 * stdio-common/tst-grouping.c: New file.
11876 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11878 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11880 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11881 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11883 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11885 * bits/select.h: Likewise.
11887 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11889 * po/ja.po: Update from translation team.
11891 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11894 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11895 implementation just like for lxstat, fxstatat, et al.
11897 2010-12-27 Jim Meyering <meyering@redhat.com>
11900 * posix/regexec.c (build_trtable): Return failure indication upon
11901 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11903 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11906 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11907 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11908 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11909 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11912 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11915 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11916 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11918 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11920 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11921 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11922 script has SORT_BY_INIT_PRIORITY.
11923 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11924 NO_CTORS_DTORS_SECTIONS is defined.
11925 * elf/soinit.c: Likewise.
11926 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11927 NO_CTORS_DTORS_SECTIONS is defined.
11928 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11929 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11930 * sysdeps/sh/init-first.c: Likewise.
11931 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11933 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11935 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11936 always use the slow path.
11938 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11940 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11941 similar rule which adds the sysdep directories to the header search in
11942 order to pick up the correct platform stackinfo.h.
11943 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11944 perform test if it is, otherwise return successfully without testing.
11945 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11946 DEFAULT_STACK_PERMS define in stackinfo.h.
11947 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11948 defined in stackinfo.h.
11949 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11950 DEFAULT_STACK_PERMS defined in stackinfo.h.
11951 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11952 * sysdeps/ia64/stackinfo.h: Likewise.
11953 * sysdeps/s390/stackinfo.h: Likewise.
11954 * sysdeps/sh/stackinfo.h: Likewise.
11955 * sysdeps/sparc/stackinfo.h: Likewise.
11956 * sysdeps/x86_64/stackinfo.h: Likewise.
11957 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11958 PF_X for powerpc64. Retain PF_X for powerpc32.
11960 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11962 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11964 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11965 GETDENTS_64BIT_ALIGNED.
11967 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11969 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11971 2010-12-10 Andreas Schwab <schwab@redhat.com>
11973 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11976 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11977 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11979 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11980 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11982 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11985 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11988 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11990 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11992 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11994 * po/it.po: Update from translation team.
11996 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12001 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12003 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12005 2010-11-24 Andreas Schwab <schwab@redhat.com>
12007 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12009 (gaih_getanswer_slice): Likewise.
12011 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12013 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12015 2010-05-31 Petr Baudis <pasky@suse.cz>
12018 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12019 silently even in the chroot mode.
12021 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12023 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12024 last patch a bit. Pretty printing
12026 2010-05-31 Petr Baudis <pasky@suse.cz>
12029 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12030 initialization of skip_initgroups_dyn.
12032 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12034 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12035 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12037 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12039 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12041 2010-11-11 Andreas Schwab <schwab@redhat.com>
12043 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12044 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12045 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12046 ($(objpfx)tst-fnmatch-mem): New rule.
12047 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12048 * posix/tst-fnmatch.c (main): Call mtrace.
12050 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12053 Support Intel processor model 6 and model 0x2c.
12055 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12057 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12060 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12063 * string/test-strncasecmp.c (check_result): New function.
12064 (do_one_test): Use it.
12065 (check1): New function.
12066 (test_main): Use it.
12067 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12068 Support strcasecmp and strncasecmp.
12070 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12073 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12076 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12078 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12082 * sysdeps/x86_64/multiarch/bzero.S: New file.
12083 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12084 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12085 * sysdeps/x86_64/multiarch/memset.S: New file.
12086 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12088 Set bit_Prefer_SSE_for_memop for Intel processors.
12089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12091 (index_Prefer_SSE_for_memop): Define.
12092 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12094 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12096 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12097 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12099 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12102 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12103 (__x86_64_raw_data_cache_size_half): Likewise.
12104 (__x86_64_raw_shared_cache_size): Likewise.
12105 (__x86_64_raw_shared_cache_size_half): Likewise.
12107 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12108 (__x86_64_raw_data_cache_size_half): Likewise.
12109 (__x86_64_raw_shared_cache_size): Likewise.
12110 (__x86_64_raw_shared_cache_size_half): Likewise.
12111 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12112 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12113 and __x86_64_raw_shared_cache_size_half. Round
12114 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12115 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12116 to multiple of 256 bytes.
12118 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12121 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12122 of inacessible symlinks. Verify result of symlink before returning it.
12123 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12124 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12126 2010-10-28 Erich Ritz <erichritz@gmail.com>
12128 * math/math.h (isinf): Fix typo in comment.
12130 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12132 * po/da.po: Update from translation team.
12134 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12136 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12137 is added to the list.
12139 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12140 Ulrich Drepper <drepper@gmail.com>
12142 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12143 the global list here. Move code to...
12144 (_dl_add_to_namespace_list): ...here. New function.
12145 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12146 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12147 * elf/dl-load.c (lose): Don't remove the element from the list.
12148 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12149 (_dl_map_object): Likewise.
12151 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12154 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12155 into all bytes of SSE register.
12156 Patch by Richard Li <richardpku@gmail.com>.
12158 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12161 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12164 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12166 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12167 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12168 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12169 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12174 2010-10-22 Andreas Schwab <schwab@redhat.com>
12176 * include/dlfcn.h (__RTLD_SECURE): Define.
12177 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12178 mode & __RTLD_SECURE instead.
12179 (open_path): Rename preloaded parameter to secure.
12180 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12181 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12182 * elf/dl-deps.c (openaux): Likewise.
12183 * elf/rtld.c (struct map_args): Remove is_preloaded.
12184 (map_doit): Don't use it.
12185 (dl_main): Likewise.
12186 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12187 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12189 2010-09-09 Andreas Schwab <schwab@redhat.com>
12191 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12192 (sysd-rules-targets): Remove duplicates.
12193 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12194 rtld-%.$o dependency.
12196 2010-10-18 Andreas Schwab <schwab@redhat.com>
12198 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12199 _dl_map_object do it.
12201 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12203 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12204 fast fma builtins, define the macros in the C99 standard.
12205 (FP_FAST_FMAF): Likewise.
12206 (FP_FAST_FMAL): Likewise.
12207 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12209 * bits/mathdef.h: Update copyright year.
12210 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12212 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12214 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12215 builtins, define the macros in the C99 standard.
12216 (FP_FAST_FMAF): Likewise.
12217 (FP_FAST_FMAL): Likewise.
12218 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12220 (FP_FAST_FMAF): Likewise.
12222 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12225 * math/libm-test.inc (fma_test): Some new testcases.
12226 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12227 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12228 y and infinite z. Do multiplication by C already in long double.
12229 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12231 y and infinite z. Do bitwise or of inexact bit into u.d.
12232 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12233 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12234 * sysdeps/i386/fpu/s_fma.S: Removed.
12235 * sysdeps/i386/fpu/s_fmal.S: Removed.
12237 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12240 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12241 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12242 computation is not scheduled after fetestexcept. Fix value
12243 of minimum denormal long double.
12245 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12248 * math/libm-test.inc (fma_test): Add some more tests.
12249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12252 2010-10-15 Andreas Schwab <schwab@redhat.com>
12254 * scripts/data/localplt-s390-linux-gnu.data: New file.
12255 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12257 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12260 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12261 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12263 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12265 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12267 if one of x and y is very large and the other is subnormal.
12268 * sysdeps/s390/fpu/s_fmaf.c: New file.
12269 * sysdeps/s390/fpu/s_fma.c: New file.
12270 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12271 * sysdeps/powerpc/fpu/s_fma.S: New file.
12272 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12273 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12274 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12276 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12279 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12281 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12282 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12283 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12284 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12285 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12286 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12289 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12292 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12293 * posix/bug-regex31.input: Add test case.
12295 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12297 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12298 * posix/bug-regex31.input: New file.
12301 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12302 (parse_sub_exp): Fix last change, use postorder.
12304 * posix/bug-regex31.c: New file.
12305 * posix/Makefile: Add rules to build and run bug-regex31.
12307 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12310 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12313 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12314 to have entries in sys_siglist.
12317 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12320 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12323 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12324 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12325 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12326 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12327 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12328 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12329 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12330 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12331 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12332 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12333 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12334 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12335 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12336 * math/ftestexcept.c (fetestexcept): Likewise.
12337 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12338 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12339 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12340 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12341 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12342 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12343 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12345 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12348 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12351 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12353 * string/bug-strstr1.c: New file.
12354 * string/Makefile: Add rules to build and run bug-strstr1.
12356 2010-10-05 Eric Blake <eblake@redhat.com>
12359 * string/str-two-way.h (two_way_long_needle): Always clear memory
12360 when skipping input due to the shift table.
12362 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12365 * malloc/mcheck.c: Handle large requests.
12368 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12369 for strncmp and strncasecmp.
12370 * string/stratcliff.c: Add tests for strcmp and strncmp.
12371 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12373 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12375 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12378 2010-09-30 Andreas Jaeger <aj@suse.de>
12380 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12381 (CGROUP_SUPER_MAGIC): Define.
12382 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12383 Handle btrfs and cgroup file systems.
12384 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12387 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12389 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12390 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12392 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12395 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12396 trying to locate the ELF header.
12398 2010-09-27 Andreas Schwab <schwab@redhat.com>
12401 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12402 Mask out sign-bit copies when constructing f_fsid.
12404 2010-09-24 Petr Baudis <pasky@suse.cz>
12406 * debug/stack_chk_fail_local.c: Add missing licence exception.
12407 * debug/warning-nop.c: Likewise.
12409 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12411 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12412 implementing getdents64 using getdents syscall, set d_type if
12413 __ASSUME_GETDENTS32_D_TYPE.
12415 2010-09-16 Andreas Schwab <schwab@redhat.com>
12417 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12418 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12420 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12423 * posix/unistd.h: Undo change of feature selection for ftruncate from
12426 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12428 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12431 2010-09-20 Andreas Schwab <schwab@redhat.com>
12433 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12435 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12437 2010-09-14 Andreas Schwab <schwab@redhat.com>
12439 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12440 variables after CHECK_SP call.
12441 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12443 2010-09-13 Andreas Schwab <schwab@redhat.com>
12444 Ulrich Drepper <drepper@redhat.com>
12446 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12447 re-relocationg ld.so.
12448 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12449 _dl_init_paths call.
12450 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12453 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12455 * resolv/res_init.c (__res_vinit): Count the default server we added.
12457 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12458 Ulrich Drepper <drepper@redhat.com>
12461 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12462 (____longjmp_chk): Use %ebx for saving value across system call.
12465 2010-09-06 Andreas Schwab <schwab@redhat.com>
12467 * manual/Makefile: Don't mix pattern rules with normal rules.
12469 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12471 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12473 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12474 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12475 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12476 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12480 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12483 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12484 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12486 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12488 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12489 * sysdeps/x86_64/addmul_1.S: Likewise.
12490 * sysdeps/x86_64/lshift.S: Likewise.
12491 * sysdeps/x86_64/mul_1.S: Likewise.
12492 * sysdeps/x86_64/rshift.S: Likewise.
12493 * sysdeps/x86_64/sub_n.S: Likewise.
12494 * sysdeps/x86_64/submul_1.S: Likewise.
12496 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12498 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12499 Define __sched_param instead of SCHED_* and sched_param when
12500 <bits/sched.h> is included with __need_schedparam defined.
12501 * bits/sched.h [__need_schedparam]
12502 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12503 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12504 (__defined_schedparam): Define to 1.
12505 (__sched_param): New structure, identical to sched_param.
12506 (__need_schedparam): Undefine.
12508 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12510 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12511 (epoll_create1): Declare.
12513 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12515 2010-08-31 Andreas Schwab <schwab@redhat.com>
12518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12519 shifting retval into place.
12521 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12523 * nis/rpcsvc/nis.h: Update copyright notice.
12524 * nis/rpcsvc/nis.x: Likewise.
12525 * nis/rpcsvc/nis_callback.h: Likewise.
12526 * nis/rpcsvc/nis_callback.x: Likewise.
12527 * nis/rpcsvc/nis_object.x: Likewise.
12528 * nis/rpcsvc/nis_tags.h: Likewise.
12529 * nis/rpcsvc/yp.h: Likewise.
12530 * nis/rpcsvc/yp.x: Likewise.
12531 * nis/rpcsvc/ypupd.h: Likewise.
12532 * nis/yp_xdr.c: Likewise.
12533 * nis/ypupdate_xdr.c: Likewise.
12535 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12536 mainly the body of pmap_getport. Add parameters to specify timeouts.
12537 (pmap_getport): Use __libc_rpc_getport.
12538 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12539 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12540 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12542 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12547 2010-08-27 Roland McGrath <roland@redhat.com>
12549 * sysdeps/i386/i686/multiarch/Makefile
12550 (CFLAGS-varshift.c): New variable.
12552 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12554 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12555 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12559 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12561 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12563 * sysdeps/x86_64/strlen.S: Unroll the loop.
12564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12565 strlen-sse2 strlen-sse2-bsf.
12566 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12567 __strlen_no_bsf if bit_Slow_BSF is set.
12568 (__strlen_sse42): Removed.
12569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12570 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12572 2010-08-25 Roland McGrath <roland@redhat.com>
12574 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12575 * sysdeps/x86_64/multiarch/varshift.c: New file.
12576 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12577 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12578 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12579 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12581 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12584 strlen-sse2 strlen-sse2-bsf.
12585 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12586 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12587 (__strlen_sse2): Removed.
12588 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12589 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12591 bit_Slow_BSF for Atom.
12592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12593 (index_Slow_BSF): Define.
12594 (HAS_SLOW_BSF): Define.
12596 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12599 * resolv/res_init.c (__res_vinit): When no server address at all
12600 is given default to loopback.
12602 2010-08-24 Roland McGrath <roland@redhat.com>
12604 * configure.in: Remove config-name.h generation.
12605 * configure: Regenerated.
12606 * config-name.in: File removed.
12607 * scripts/config-uname.sh: New file.
12608 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12609 ($(objdir)config-name.h): New target.
12611 * sunrpc/rpc_parse.h: Avoid nested comment.
12613 2010-08-24 Richard Henderson <rth@redhat.com>
12614 Ulrich Drepper <drepper@redhat.com>
12615 H.J. Lu <hongjiu.lu@intel.com>
12617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12619 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12620 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12621 _mm_alignr_epi8 with _mm_loadu_si128.
12622 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12623 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12624 (__m128i_shift_right): Removed.
12625 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12626 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12627 * sysdeps/x86_64/multiarch/varshift.h: New file.
12628 * sysdeps/x86_64/multiarch/varshift.S: New file.
12630 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12632 * configure.in: Move assembler checks to before sysdep dir checking.
12634 2010-08-20 Petr Baudis <pasky@suse.cz>
12636 * LICENSES: Sync the sunrpc license.
12638 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12640 * sunrpc/auth_des.c: Update copyright notice once again.
12641 * sunrpc/auth_none.c: Likewise.
12642 * sunrpc/auth_unix.c: Likewise.
12643 * sunrpc/authdes_prot.c: Likewise.
12644 * sunrpc/authuxprot.c: Likewise.
12645 * sunrpc/bindrsvprt.c: Likewise.
12646 * sunrpc/clnt_gen.c: Likewise.
12647 * sunrpc/clnt_perr.c: Likewise.
12648 * sunrpc/clnt_raw.c: Likewise.
12649 * sunrpc/clnt_simp.c: Likewise.
12650 * sunrpc/clnt_tcp.c: Likewise.
12651 * sunrpc/clnt_udp.c: Likewise.
12652 * sunrpc/clnt_unix.c: Likewise.
12653 * sunrpc/des_crypt.c: Likewise.
12654 * sunrpc/des_soft.c: Likewise.
12655 * sunrpc/get_myaddr.c: Likewise.
12656 * sunrpc/getrpcport.c: Likewise.
12657 * sunrpc/key_call.c: Likewise.
12658 * sunrpc/key_prot.c: Likewise.
12659 * sunrpc/openchild.c: Likewise.
12660 * sunrpc/pm_getmaps.c: Likewise.
12661 * sunrpc/pm_getport.c: Likewise.
12662 * sunrpc/pmap_clnt.c: Likewise.
12663 * sunrpc/pmap_prot.c: Likewise.
12664 * sunrpc/pmap_prot2.c: Likewise.
12665 * sunrpc/pmap_rmt.c: Likewise.
12666 * sunrpc/rpc/auth.h: Likewise.
12667 * sunrpc/rpc/auth_unix.h: Likewise.
12668 * sunrpc/rpc/clnt.h: Likewise.
12669 * sunrpc/rpc/des_crypt.h: Likewise.
12670 * sunrpc/rpc/key_prot.h: Likewise.
12671 * sunrpc/rpc/netdb.h: Likewise.
12672 * sunrpc/rpc/pmap_clnt.h: Likewise.
12673 * sunrpc/rpc/pmap_prot.h: Likewise.
12674 * sunrpc/rpc/pmap_rmt.h: Likewise.
12675 * sunrpc/rpc/rpc.h: Likewise.
12676 * sunrpc/rpc/rpc_des.h: Likewise.
12677 * sunrpc/rpc/rpc_msg.h: Likewise.
12678 * sunrpc/rpc/svc.h: Likewise.
12679 * sunrpc/rpc/svc_auth.h: Likewise.
12680 * sunrpc/rpc/types.h: Likewise.
12681 * sunrpc/rpc/xdr.h: Likewise.
12682 * sunrpc/rpc_clntout.c: Likewise.
12683 * sunrpc/rpc_cmsg.c: Likewise.
12684 * sunrpc/rpc_common.c: Likewise.
12685 * sunrpc/rpc_cout.c: Likewise.
12686 * sunrpc/rpc_dtable.c: Likewise.
12687 * sunrpc/rpc_hout.c: Likewise.
12688 * sunrpc/rpc_main.c: Likewise.
12689 * sunrpc/rpc_parse.c: Likewise.
12690 * sunrpc/rpc_parse.h: Likewise.
12691 * sunrpc/rpc_prot.c: Likewise.
12692 * sunrpc/rpc_sample.c: Likewise.
12693 * sunrpc/rpc_scan.c: Likewise.
12694 * sunrpc/rpc_scan.h: Likewise.
12695 * sunrpc/rpc_svcout.c: Likewise.
12696 * sunrpc/rpc_tblout.c: Likewise.
12697 * sunrpc/rpc_util.c: Likewise.
12698 * sunrpc/rpc_util.h: Likewise.
12699 * sunrpc/rpcinfo.c: Likewise.
12700 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12701 * sunrpc/rpcsvc/key_prot.x: Likewise.
12702 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12703 * sunrpc/rpcsvc/mount.x: Likewise.
12704 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12705 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12706 * sunrpc/rpcsvc/rex.x: Likewise.
12707 * sunrpc/rpcsvc/rstat.x: Likewise.
12708 * sunrpc/rpcsvc/rusers.x: Likewise.
12709 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12710 * sunrpc/rpcsvc/spray.x: Likewise.
12711 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12712 * sunrpc/rtime.c: Likewise.
12713 * sunrpc/svc.c: Likewise.
12714 * sunrpc/svc_auth.c: Likewise.
12715 * sunrpc/svc_authux.c: Likewise.
12716 * sunrpc/svc_raw.c: Likewise.
12717 * sunrpc/svc_run.c: Likewise.
12718 * sunrpc/svc_simple.c: Likewise.
12719 * sunrpc/svc_tcp.c: Likewise.
12720 * sunrpc/svc_udp.c: Likewise.
12721 * sunrpc/svc_unix.c: Likewise.
12722 * sunrpc/svcauth_des.c: Likewise.
12723 * sunrpc/xcrypt.c: Likewise.
12724 * sunrpc/xdr.c: Likewise.
12725 * sunrpc/xdr_array.c: Likewise.
12726 * sunrpc/xdr_float.c: Likewise.
12727 * sunrpc/xdr_mem.c: Likewise.
12728 * sunrpc/xdr_rec.c: Likewise.
12729 * sunrpc/xdr_ref.c: Likewise.
12730 * sunrpc/xdr_sizeof.c: Likewise.
12731 * sunrpc/xdr_stdio.c: Likewise.
12733 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12736 2010-08-19 Andreas Schwab <schwab@redhat.com>
12738 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12740 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12742 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12743 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12744 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12745 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12746 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12747 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12748 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12749 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12750 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12751 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12752 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12753 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12754 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12755 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12757 2010-07-26 Anton Blanchard <anton@samba.org>
12759 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12760 * malloc/arena.c (heap_trim): Likewise.
12762 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12764 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12766 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12767 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12769 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12771 * sysdeps/i386/elf/Makefile: New file.
12773 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12775 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12776 from fanotify_init.
12777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12780 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12782 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12784 * sysdeps/multiarch/strcmp.S: Likewise.
12786 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12788 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12789 strncase_l-nonascii.
12790 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12791 Add strncase_l-ssse3.
12792 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12793 * sysdeps/x86_64/strcmp.S: Likewise.
12794 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12795 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12796 * sysdeps/x86_64/strncase.S: New file.
12797 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12798 * sysdeps/x86_64/strncase_l.S: New file.
12799 * string/Makefile (strop-tests): Add strncasecmp.
12800 * string/test-strncasecmp.c: New file.
12802 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12805 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12806 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12808 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12810 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12812 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12814 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12815 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12816 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12818 2010-05-01 Alan Modra <amodra@gmail.com>
12820 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12821 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12822 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12823 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12824 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12825 tidying. Don't tail-call __sigjmp_save for static lib.
12826 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12828 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12829 (CALL_MCOUNT): Add eh info, and nop after bl.
12830 (TAIL_CALL_SYSCALL_ERROR): New macro.
12831 (PSEUDO_RET): Use it.
12832 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12833 Correct save location of integer regs and cr.
12834 (_dl_profile_resolve): Correct cr save location. Delete nops
12835 after bl when SHARED. Reduce cfi size a little by better
12836 placement of cfi directives.
12837 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12838 make a stack frame. Instead use parm save area as a temp.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12840 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12842 Don't make a stack frame for parent, use parm save area.
12843 Increase child stack frame to 112 bytes. Don't save unused reg,
12844 and adjust reg usage. Set up cfi on error recovery and
12845 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12847 (__makecontext): Add dummy nop after jump to exit.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12849 Use correct parm save area and cr save, reduce stack frame.
12850 Correct cfi for possible PSEUDO_RET frame setup.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12852 Branch to local label emitted by PSEUDO_RET rather than
12855 2010-08-12 Andreas Schwab <schwab@redhat.com>
12858 * locale/programs/locale.c (print_assignment): New function.
12859 (show_locale_vars): Use it.
12861 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12863 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12865 (struct statfs64): Likewise.
12866 (_STATFS_F_FLAGS): Define.
12867 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12869 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12870 (ST_VALID): Define locally.
12871 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12872 __statvfs_getflags, use the provided value.
12873 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12874 __ASSUME_STATFS_F_FLAGS.
12876 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12878 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12879 Add sys/fanotify.h.
12880 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12881 fanotify_mask for GLIBC_2.13.
12882 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12883 fanotify_init and fanotify_mark.
12884 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12885 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12887 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12889 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12890 prlimit64 for GLIBC_2.13.
12891 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12893 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12896 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12897 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12899 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12901 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12904 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12905 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12907 * nss/Makefile: Add rules to build and run tst-nss-test1.
12908 * shlib-versions: Add entry for libnss_test1.
12909 * nss/nss_test1.c: New file.
12910 * nss/tst-nss-test1.c: New file.
12912 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12913 (__nss_configure_lookup): Set appropriate entry in
12914 __nss_configure_lookup to true.
12915 * nss/nsswitch.h: Define enum with indeces of databases in
12916 databases and __nss_database_custom arrays. Declare
12917 __nss_database_custom.
12918 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12919 to avoid using nscd when custom rules are installed.
12920 * nss/getXXbyYY_r.c: Likewise.
12921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12923 * nss/nss_files/files-parse.c: Whitespace fixes.
12925 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12928 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12929 * posix/fnmatch_loop.c: Likewise.
12931 2010-07-17 Andi Kleen <ak@linux.intel.com>
12933 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12934 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12935 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12936 * Versions.def [GLIBC_2.13]: Add.
12938 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12940 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12941 Also fail if tpwd after pwuid call is NULL.
12943 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12945 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12946 when converting to ms.
12948 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12950 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12951 EOPNOTSUPP errors with ENOTTY.
12952 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12953 EOPNOTSUPP errors with ENOTTY.
12955 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12957 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12958 Add strcasecmp_l-ssse3.
12959 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12961 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12962 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12963 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12965 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12967 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12969 * string/Makefile (strop-tests): Add strcasecmp.
12970 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12971 strcasecmp_l-nonascii.
12972 (gen-as-const-headers): Add locale-defines.sym.
12973 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12974 * sysdeps/x86_64/strcasecmp.S: New file.
12975 * sysdeps/x86_64/strcasecmp_l.S: New file.
12976 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12977 * sysdeps/x86_64/locale-defines.sym: New file.
12978 * string/test-strcasecmp.c: New file.
12980 * string/test-strcasestr.c: Test both ends of the range of characters.
12981 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12983 2010-07-29 Roland McGrath <roland@redhat.com>
12986 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12988 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12990 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12993 2010-07-27 Andreas Schwab <schwab@redhat.com>
12995 * manual/memory.texi (Malloc Tunable Parameters): Document
12998 2010-07-26 Roland McGrath <roland@redhat.com>
13001 * configure.in (-fgnu89-inline check): Set and substitute
13002 gnu89_inline, not libc_cv_gnu89_inline.
13003 * configure: Regenerated.
13004 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13006 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13008 * string/test-strnlen.c: New file.
13009 * string/Makefile (strop-tests): Add strnlen.
13010 * string/tester.c (test_strnlen): Add a few more test cases.
13011 * string/tst-strlen.c: Better error reporting.
13013 * sysdeps/x86_64/strnlen.S: New file.
13015 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13017 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13018 lower-latency instructions.
13020 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13022 * string/test-strcasestr.c: New file.
13023 * string/test-strstr.c: New file.
13024 * string/Makefile (strop-tests): Add strstr and strcasestr.
13025 * string/str-two-way.h: Don't undefine MAX.
13026 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13028 2010-07-21 Andreas Schwab <schwab@redhat.com>
13030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13031 strcasestr-nonascii.
13032 (CFLAGS-strcasestr-nonascii.c): Define.
13033 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13035 Remove unused attribute.
13037 2010-07-20 Roland McGrath <roland@redhat.com>
13039 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13040 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13041 ld.so.cache was broken. With it, there is no way to disable dsocaps
13042 like LD_HWCAP_MASK can disable hwcaps.
13044 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13046 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13048 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13050 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13051 call in strcasestr.
13052 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13053 __strcasestr_sse42_nonascii.
13054 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13055 strcasestr-nonascii.c.
13056 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13058 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13060 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13061 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13062 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13063 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13065 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13067 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13070 2010-07-06 Andreas Schwab <schwab@redhat.com>
13073 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13076 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13078 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13079 _PC_PIPE_BUF using F_GETPIPE_SZ.
13081 2010-07-05 Roland McGrath <roland@redhat.com>
13083 * manual/arith.texi (Rounding Functions): Fix rint description
13084 implicit in round description.
13086 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13088 * elf/Makefile: Fix linking for a few tests to make recent linker
13091 2010-06-30 Andreas Schwab <schwab@redhat.com>
13093 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13094 $(common-objpfx)libc_nonshared.a.
13096 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13098 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13099 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13100 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13101 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13102 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13103 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13104 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13105 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13120 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13121 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13122 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13123 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13124 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13125 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13126 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13127 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13128 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13129 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13130 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13131 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13147 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13149 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13150 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13151 * string/memmove.c (memmove): Renamed to ...
13152 (MEMMOVE): ...this. Default to memmove.
13153 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13154 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13157 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13158 mempcpy-ssse3-back memmove-ssse3-back.
13159 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13160 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13161 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13162 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13163 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13164 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13165 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13166 * sysdeps/x86_64/multiarch/memmove.c: New file.
13167 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13168 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13169 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13170 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13171 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13172 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13174 (index_Fast_Copy_Backward): Define.
13175 (HAS_ARCH_FEATURE): Define.
13176 (HAS_FAST_REP_STRING): Define.
13177 (HAS_FAST_COPY_BACKWARD): Define.
13179 2010-06-21 Andreas Schwab <schwab@redhat.com>
13181 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13182 Restore proper fallback handling.
13184 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13187 * posix/group_member.c (__group_member): Correct checking loop.
13189 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13190 OOM in getpwuid_r correctly. Return error number when the caller
13191 should return, otherwise -1.
13192 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13193 call returning > 0 value.
13194 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13196 2010-06-07 Andreas Schwab <schwab@redhat.com>
13198 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13199 libc_nonshared.a from targets in modules-names.
13201 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13203 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13206 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13208 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13209 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13210 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13211 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13213 2010-06-02 Andreas Schwab <schwab@redhat.com>
13215 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13217 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13219 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13221 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13225 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13226 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13228 2010-06-14 Roland McGrath <roland@redhat.com>
13230 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13232 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13234 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13235 __REDIRECT followed by __THROW.
13236 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13237 * posix/getopt.h (getopt): Likewise.
13239 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13241 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13242 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13243 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13245 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13246 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13248 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13250 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13252 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13256 Properly check family and model.
13258 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13260 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13262 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13264 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13266 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13268 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13271 2010-05-19 Andreas Schwab <schwab@redhat.com>
13273 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13276 2010-05-21 Andreas Schwab <schwab@redhat.com>
13278 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13279 and internal_recvmmsg.
13280 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13281 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13282 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13283 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13285 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13286 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13287 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13289 2010-05-20 Andreas Schwab <schwab@redhat.com>
13291 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13293 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13295 POWER7 optimizations.
13296 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13297 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13299 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13301 * version.h: Update for 2.13 development version.
13303 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13305 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13306 exceptions. Return 0.
13308 2010-05-07 Roland McGrath <roland@redhat.com>
13310 * elf/ldconfig.c (main): Add a const.
13312 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13314 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13315 (args_options): Add no-idn option.
13316 (ahosts_keys_int): Add idn_flags to ai_flags.
13317 (parse_option): Handle 'i' option to clear idn_flags.
13319 * malloc/malloc.c (_int_free): Possible race in the most recently
13320 added check. Only act on the data if no current modification
13323 See ChangeLog.17 for earlier changes.