1 2012-05-09 Andreas Jaeger <aj@suse.de>
4 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10 2012-05-09 Joseph Myers <joseph@codesourcery.com>
12 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14 (LC_ALL): Use macro-int-constant.
15 (LC_COLLATE): Likewise.
17 (LC_MESSAGES): Likewise.
18 (LC_MONETARY): Likewise.
19 (LC_NUMERIC): Likewise.
21 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
26 [C99-based standards] (float_t): Expect type.
27 [C99-based standards] (double_t): Expect type.
28 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30 [C99-based standards] (HUGE_VALL): Likewise.
31 [C99-based standards] (INFINITY): Likewise.
32 [C99-based standards] (NAN): Likewise.
33 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34 [C99-based standards] (FP_NAN): Likewise.
35 [C99-based standards] (FP_NORMAL): Likewise.
36 [C99-based standards] (FP_SUBNORMAL): Likewise.
37 [C99-based standards] (FP_ZERO): Likewise.
38 [C99-based standards] (FP_FAST_FMA): Use
39 optional-macro-int-constant. Specify type. Require == 1.
40 [C99-based standards] (FP_FAST_FMAF): Likewise.
41 [C99-based standards] (FP_FAST_FMAL): Likewise.
42 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43 [C99-based standards] (FP_ILOGBNAN): Likewise.
44 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46 [C99-based standards] (MATH_ERREXCEPT): Likewise.
47 [C99-based standards] (math_errhandling): Specify type.
48 [ISO99 || ISO11] (signgam): Do not allow.
49 [non-C99-based standards] (copysignf): Do not allow.
50 [non-C99-based standards] (exp2f): Likewise.
51 [non-C99-based standards] (log2f): Likewise.
52 [non-C99-based standards] (modff): Allow.
53 [non-C99-based standards] (erff): Do not allow.
54 [non-C99-based standards] (erfcf): Likewise.
55 [non-C99-based standards] (gammaf): Likewise.
56 [non-C99-based standards] (hypotf): Likewise.
57 [non-C99-based standards] (j0f): Likewise.
58 [non-C99-based standards] (j1f): Likewise.
59 [non-C99-based standards] (jnf): Likewise.
60 [non-C99-based standards] (lgammaf): Likewise.
61 [non-C99-based standards] (tgammaf): Likewise.
62 [non-C99-based standards] (y0f): Likewise.
63 [non-C99-based standards] (y1f): Likewise.
64 [non-C99-based standards] (ynf): Likewise.
65 [non-C99-based standards] (isnanf): Likewise.
66 [non-C99-based standards] (acoshf): Likewise.
67 [non-C99-based standards] (asinhf): Likewise.
68 [non-C99-based standards] (atanhf): Likewise.
69 [non-C99-based standards] (cbrtf): Likewise.
70 [non-C99-based standards] (expm1f): Likewise.
71 [non-C99-based standards] (ilogbf): Likewise.
72 [non-C99-based standards] (log1pf): Likewise.
73 [non-C99-based standards] (logbf): Likewise.
74 [non-C99-based standards] (nextafterf): Likewise.
75 [non-C99-based standards] (remainderf): Likewise.
76 [non-C99-based standards] (rintf): Likewise.
77 [non-C99-based standards] (scalbf): Likewise.
78 [non-C99-based standards] (copysignl): Likewise.
79 [non-C99-based standards] (exp2l): Likewise.
80 [non-C99-based standards] (log2l): Likewise.
81 [non-C99-based standards] (modfl): Allow.
82 [non-C99-based standards] (erfl): Do not allow.
83 [non-C99-based standards] (erfcl): Likewise.
84 [non-C99-based standards] (gammal): Likewise.
85 [non-C99-based standards] (hypotl): Likewise.
86 [non-C99-based standards] (j0l): Likewise.
87 [non-C99-based standards] (j1l): Likewise.
88 [non-C99-based standards] (jnl): Likewise.
89 [non-C99-based standards] (lgammal): Likewise.
90 [non-C99-based standards] (tgammal): Likewise.
91 [non-C99-based standards] (y0l): Likewise.
92 [non-C99-based standards] (y1l): Likewise.
93 [non-C99-based standards] (ynl): Likewise.
94 [non-C99-based standards] (isnanl): Likewise.
95 [non-C99-based standards] (acoshl): Likewise.
96 [non-C99-based standards] (asinhl): Likewise.
97 [non-C99-based standards] (atanhl): Likewise.
98 [non-C99-based standards] (cbrtl): Likewise.
99 [non-C99-based standards] (expm1l): Likewise.
100 [non-C99-based standards] (ilogbl): Likewise.
101 [non-C99-based standards] (log1pl): Likewise.
102 [non-C99-based standards] (logbl): Likewise.
103 [non-C99-based standards] (nextafterl): Likewise.
104 [non-C99-based standards] (remainderl): Likewise.
105 [non-C99-based standards] (rintl): Likewise.
106 [non-C99-based standards] (scalbl): Likewise.
107 [ISO || ISO99 || ISO11] (*_t): Do not allow.
108 [non-C99-based standards] (FP_*): Do not allow.
109 [C99-based standards] (FP_*): Change to
110 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
111 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
113 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
115 [X/Open-based standards] (SIG_HOLD): Likewise.
117 (SIGABRT): Use macro-int-constant. Specify type. Require
124 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
125 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
126 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
127 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
128 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
129 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
130 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
131 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
132 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
133 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
134 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
135 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
136 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
137 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
138 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
139 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
140 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
141 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
142 [X/Open-based standards] (SIGTRAP): Likewise.
143 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
144 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
145 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
146 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
147 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
150 2012-05-08 Ian Wienand <ianw@vmware.com>
153 * time/tzset.c (__tzset_parse_tz): Update default rules for
154 daylight time changes in the Energy Policy Act of 2005.
156 2012-05-09 Andreas Jaeger <aj@suse.de>
159 * elf/ldconfig.c (parse_conf): Change string to make clear that
160 ldconfig only issued a warning if ld.so.conf does not exist.
162 2012-05-08 David S. Miller <davem@davemloft.net>
164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
165 movxtod instead of popping the value on the stack.
167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
169 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
171 * config.h.in: Add HAVE_ARM_PCS_VFP.
173 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
176 * include/features.h: Warn if user requests __FORTIFY_SOURCE
177 checking but the checks are disabled for any reason.
179 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
181 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
182 and ELF64_R_TYPE with ELFW(R_TYPE).
184 2012-05-08 Joseph Myers <joseph@codesourcery.com>
186 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
189 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
190 (settimeofday): Likewise.
192 2012-05-08 Mike Frysinger <vapier@gentoo.org>
194 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
195 a struct th_u2 inside the union, and move tu_block/tu_code into
196 a new th_u3 union of tu_block/tu_code inside of that. Move
197 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
198 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
199 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
200 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
201 (th_stuff): Change to th_u1.tu_stuff.
203 (th_msg): Change to th_u1.th_u2.tu_data.
205 2012-05-07 David S. Miller <davem@davemloft.net>
207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
210 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
211 (SETUP_PIC_REG): Use it.
212 (SETUP_PIC_REG_LEAF): Use it.
214 2012-05-07 Joseph Myers <joseph@codesourcery.com>
218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
220 (EXPL_FINITE): Likewise.
222 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
223 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
225 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
227 (EXPL_FINITE): Likewise.
229 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
230 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
232 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
233 test of -max_value argument for long double.
234 * sysdeps/i386/fpu/libm-test-ulps: Update.
235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
237 2012-05-06 David S. Miller <davem@davemloft.net>
239 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
240 quad soft-float symbols whose references which are compiler
242 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
244 2012-05-06 Joseph Myers <joseph@codesourcery.com>
248 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
250 (EXPL_FINITE): Likewise.
254 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
255 Adjust comments for base varying.
256 (__expl_finite): Change alias to EXPL_FINITE.
257 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
259 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
260 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
262 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
263 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
265 (EXPL_FINITE): Likewise.
269 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
270 Adjust comments for base varying.
271 (__expl_finite): Change alias to EXPL_FINITE.
272 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
274 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
277 * math/libm-test.inc (check_float_internal): Correct ulp
278 calculation for subnormal expected results.
280 2012-05-06 Andreas Jaeger <aj@suse.de>
282 * Makeconfig (+math-flags): New, set to -frounding-math.
283 (+cflags): Add +math-flags so that all of glibc gets compiled with
286 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
288 2012-05-05 Joseph Myers <joseph@codesourcery.com>
290 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
296 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
297 (__ieee754_expl): Allow for and saturate large arguments.
298 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
299 (u_threshold): Likewise.
300 (__exp): Call __ieee754_exp before checking for overflow and
302 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
303 (u_threshold): Likewise.
304 (__expf): Call __ieee754_expf before checking for overflow and
306 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
307 (u_threshold): Likewise.
308 (__expl): Call __ieee754_expl before checking for overflow and
310 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
311 (__ieee754_expl): Allow for and saturate large arguments.
312 * math/libm-test.inc (exp_test): Add another test. Do not allow
313 missing overflow exception on overflow.
314 (expm1_test): Do not allow missing overflow exception on overflow.
316 * sysdeps/i386/fpu/e_expl.c: Move to ...
317 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
318 rather than using inline asm.
319 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
320 * sysdeps/x86_64/fpu/e_expl.S: Copy from
321 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
323 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
330 2012-05-04 Joseph Myers <joseph@codesourcery.com>
332 * sysdeps/unix/syscalls.list (adjtime): Add entry from
333 sysdeps/unix/common/syscalls.list.
336 (ftruncate): Likewise.
337 (getrusage): Likewise.
338 (gettimeofday): Likewise.
340 (setregid): Likewise.
341 (setreuid): Likewise.
342 (sigaction): Likewise.
343 (truncate): Likewise.
345 * sysdeps/unix/common/syscalls.list: Remove file.
346 * sysdeps/unix/bsd/Implies: Don't include unix/common.
347 * sysdeps/unix/sysv/linux/Implies: Likewise.
349 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
351 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
353 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
355 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
357 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
360 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
363 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
366 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
369 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
372 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
375 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
379 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
383 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
386 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
390 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
394 2012-05-04 Joseph Myers <joseph@codesourcery.com>
396 * sysdeps/unix/common/bits/dirent.h: Remove file.
397 * sysdeps/unix/common/bits/fcntl.h: Likewise.
399 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
400 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
401 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
402 * sysdeps/unix/bsd/isatty.c: Likewise.
403 * sysdeps/unix/bsd/tcdrain.c: Likewise.
404 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
405 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
407 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
411 long double comparison inaccuracies.
412 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
415 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
417 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
420 2012-05-04 Joseph Myers <joseph@codesourcery.com>
423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
424 nonzero digits before rounding a hex value.
425 * stdlib/tst-strtod.c (tests): Add another test.
427 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
429 * sysdeps/s390/fpu/libm-test-ulps: Update.
431 2012-05-03 Andreas Jaeger <aj@suse.de>
433 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
434 does not get optimized out.
435 (malloc_opt_barrier): New.
437 2012-05-03 Andreas Jaeger <aj@suse.de>
438 Roland McGrath <roland@hack.frob.com>
440 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
441 intermediate file deletion.
442 (generated): Add .symlist files.
444 2012-05-03 Joseph Myers <joseph@codesourcery.com>
447 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
448 Redirect under this condition.
449 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
450 [__USE_GNU] (__dprintf_chk): Not under this condition.
451 [__USE_GNU] (__vdprintf_chk): Likewise.
452 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
453 under this condition.
454 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
455 [__USE_XOPEN2K8] (dprintf): Define under this condition.
456 [__USE_XOPEN2K8] (vdprintf): Likewise.
457 [__USE_GNU] (__dprintf_chk): Not under this condition.
458 [__USE_GNU] (__vdprintf_chk): Likewise.
459 [__USE_GNU] (dprintf): Likewise.
460 [__USE_GNU] (vdprintf): Likewise.
462 2012-05-03 Roland McGrath <roland@hack.frob.com>
464 * elf/Makefile (common-generated): Set this instead of generated for
465 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
466 $(all-built-dso)-derived lists.
468 2012-05-03 Andreas Jaeger <aj@suse.de>
470 * sysdeps/i386/fpu/libm-test-ulps: Update.
474 * scripts/gen-FAQ.pl: Likewise.
475 * manual/install.texi (Installation): Point to online location of
477 * Makefile (files-for-dist): Remove FAQ.
480 2012-05-02 Allan McRae <allan@archlinux.org>
482 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
483 (LDFLAGS-reldepmod5.so): Likewise.
484 (LDFLAGS-reldep6mod1.so): Likewise.
485 (LDFLAGS-reldep6mod4.so): Likewise.
486 (LDFLAGS-reldep8mod3.so): Likewise.
487 (LDFLAGS-unload4mod1.so): Likewise.
488 (LDFLAGS-unload4mod2.so): Likewise.
489 (LDFLAGS-tst-initorder): Likewise.
490 (LDFLAGS-tst-initordera2.so): Likewise.
491 (LDFLAGS-tst-initordera3.so): Likewise.
492 (LDFLAGS-tst-initordera4.so): Likewise.
493 (LDFLAGS-tst-initorderb2.so): Likewise.
494 (LDFLAGS-noload): Likewise.
495 (LDFLAGS-next): Likewise.
496 (LDFLAGS-order2mod1.so): Likewise.
497 (LDFLAGS-order2mod2.so): Likewise.
498 (LDFLAGS-tst-initorder2): Likewise.
499 (LDFLAGS-tst-initorder2a.so): Likewise.
500 (LDFLAGS-tst-initorder2b.so): Likewise.
501 (LDFLAGS-tst-initorder2c.so): Likewise.
502 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
504 2012-05-02 David S. Miller <davem@davemloft.net>
506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
508 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
511 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
513 2012-05-02 Andreas Jaeger <aj@suse.de>
515 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
516 since we manipulate rounding mode.
517 (CPPFLAGS-test-idouble.c): Likewise.
518 (CPPFLAGS-test-ifloat.c): Likewise.
519 (CFLAGS-test-ldouble.c): Likewise.
520 (CFLAGS-test-double.c): Likewise.
521 (CFLAGS-test-float.c): Likewise.
522 (CFLAGS-test-misc.c): Likewise.
523 (CFLAGS-test-test-fenv.c): Likewise.
525 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
530 comparisons to determine direction to adjust input.
532 2012-05-01 Roland McGrath <roland@hack.frob.com>
534 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
535 output to the target.
537 * scripts/localplt.awk: New file.
538 * elf/Makefile ($(objpfx)check-localplt): Target removed.
539 (check-localplt-CFLAGS): Variable removed.
540 ($(all-built-dso:=.jmprel)): New static pattern rule.
541 (generated): Add those targets.
542 (localplt-built-dso): New variable.
543 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
545 * elf/check-localplt.c: File removed.
547 * scripts/check-execstack.awk: New file.
548 * elf/Makefile ($(objpfx)check-execstack): Target removed.
549 (check-execstack-CFLAGS): Variable removed.
550 ($(objpfx)check-execstack.h): Target removed.
551 ($(objpfx)execstack-default): New target.
552 (generated): Add that instead of check-execstack.h.
553 ($(all-built-dso:=.phdr)): New static pattern rule.
554 (generated): Add those targets.
555 * elf/check-execstack.c: File removed.
557 * scripts/check-textrel.awk: New file.
558 * elf/Makefile ($(objpfx)check-textrel): Target removed.
559 (check-textrel-CFLAGS): Variable removed.
560 (all-built-dso): Use := to define.o
561 ($(all-built-dso:=.dyn)): New static pattern rule.
562 (generated): Add those targets.
563 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
564 * config.make.in (READELF): New substituted variable.
565 * elf/check-textrel.c: File removed.
567 2012-05-01 Joseph Myers <joseph@codesourcery.com>
569 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
571 * conform/data/ctype.h-data [C99-based standards] (isblank):
573 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
574 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
575 [ISO || ISO99 || ISO11] (*_t): Do not allow.
576 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
577 Specify type. Require positive value.
580 [ISO || POSIX] (EILSEQ): Do not expect.
581 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
582 Specify type. Require positive value.
583 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
584 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
585 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
586 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
587 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
588 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
589 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
590 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
591 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
592 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
593 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
594 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
595 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
596 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
597 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
598 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
599 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
600 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
601 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
602 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
603 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
604 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
605 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
606 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
607 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
608 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
609 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
610 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
611 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
612 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
613 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
614 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
615 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
616 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
617 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
618 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
619 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
620 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
621 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
622 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
623 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
624 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
625 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
626 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
627 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
628 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
629 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
630 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
631 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
632 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
633 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
634 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
635 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
636 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
637 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
638 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
639 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
640 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
641 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
642 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
643 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
644 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
645 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
646 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
647 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
648 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
649 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
650 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
651 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
652 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
653 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
654 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
655 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
656 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
657 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
658 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
659 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
661 (FLT_ROUNDS): Expect as macro, not constant.
662 (FLT_MANT_DIG): Use macro-int-constant.
663 (DBL_MANT_DIG): Likewise.
664 (LDBL_MANT_DIG): Likewise.
667 (LDBL_DIG): Likewise.
668 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
669 (DBL_MIN_EXP): Likewise.
670 (LDBL_MIN_EXP): Likewise.
671 (FLT_MAX_EXP): Use macro-int-constant.
672 (DBL_MAX_EXP): Likewise.
673 (LDBL_MAX_EXP): Likewise.
674 (FLT_MAX_10_EXP): Likewise.
675 (DBL_MAX_10_EXP): Likewise.
676 (LDBL_MAX_10_EXP): Likewise.
677 (FLT_MAX): Use macro-constant.
679 (LDBL_MAX): Likewise.
680 (FLT_EPSILON): Use macro-constant. Give upper bound.
681 (DBL_EPSILON): Likewise.
682 (LDBL_EPSILON): Likewise.
685 (LDBL_MIN): Likewise.
686 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
687 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
688 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
689 [ISO11] (FLT_HAS_SUBNORM): Likewise.
690 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
691 [ISO11] (DBL_DECIMAL_DIG): Likewise.
692 [ISO11] (FLT_DECIMAL_DIG): Likewise.
693 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
694 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
695 [ISO11] (FLT_TRUE_MIN): Likewise.
696 [ISO11] (LDBL_TRUE_MIN): Likewise.
697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
698 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
699 (SCHAR_MIN): Use macro-int-constant. Specify type.
700 (SCHAR_MAX): Likewise.
701 (UCHAR_MAX): Likewise.
702 (CHAR_MIN): Likewise.
703 (CHAR_MAX): Likewise.
704 (MB_LEN_MAX): Use macro-int-constant.
705 (SHRT_MIN): Use macro-int-constant. Specify type.
706 (SHRT_MAX): Likewise.
707 (USHRT_MAX): Likewise.
709 (INT_MIN): Use macro-int-constant. Specify type. Make upper
711 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
713 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
715 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
716 bound negative. Suffix upper bound with "L".
717 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
719 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
721 [C99-based standards] (LLONG_MAX): Likewise.
722 [C99-based standards] (ULLONG_MAX): Likewise.
723 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
725 [ISO11] (max_align_t): Require type.
726 [ISO || ISO99 || ISO11] (*_t): Do not allow.
728 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
729 from $CFLAGS, without defining away __attribute__ calls.
730 (checknamespace): Use $CFLAGS_namespace.
732 * conform/conformtest.pl (@keywords): Only include C99 keywords
733 for standards based on C99 or C11.
735 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
737 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
740 * conform/conformtest.pl: Handle "macro-int-constant" and test for
741 usability of symbols in #if.
743 * conform/conformtest.pl: If macro or constant types start
744 "promoted:", expect the symbol to be of the following type
745 promoted by the integer promotions.
747 * conform/conformtest.pl: Parse all "constant" and "macro" lines
748 in one place. Also handle "macro-constant".
750 * conform/conformtest.pl: Only accept expected macro values with
751 "==". Parse all "macro" lines in one place.
752 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
754 * conform/conformtest.pl: Handle braced types on "constant" lines
755 instead of handling "typed-constant".
756 * conform/data/signal.h-data: Use "constant" instead of
759 * conform/conformtest.pl: Handle "optional-" at start of lines in
760 one place rather than duplicating several cases. Handle each
761 format of "macro" line with initial "optional-".
763 * conform/conformtest.pl: Only accept expected constant or
764 optional-constant values with "==". Parse all "constant" lines in
765 one place. Parse all "optional-constant" lines in one place.
766 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
767 * conform/data/fmtmsg.h-data: Likewise.
768 * conform/data/netinet/in.h-data: Likewise.
769 * conform/data/tar.h-data: Likewise.
770 * conform/data/limits.h-data: Use "==" form on "constant" and
771 "optional-constant" lines.
773 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
774 Use -std=c99 for XOPEN2K.
775 (@knownproblems): Remove.
776 (newtoken): Don't check %isknown.
778 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
780 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
781 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
782 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
783 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
784 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
785 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
786 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
787 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
788 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
789 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
790 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
791 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
792 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
793 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
794 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
795 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
796 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
797 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
798 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
799 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
800 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
801 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
802 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
803 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
804 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
805 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
806 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
807 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
808 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
809 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
810 [XPG3] (acosh): Likewise.
811 [XPG3] (asinh): Likewise.
812 [XPG3] (atanh): Likewise.
813 [XPG3] (cbrt): Likewise.
814 [XPG3] (expm1): Likewise.
815 [XPG3] (ilogb): Likewise.
816 [XPG3] (log1p): Likewise.
817 [XPG3] (logb): Likewise.
818 [XPG3] (nextafter): Likewise.
819 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
820 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
821 [XPG3] (remainder): Likewise.
822 [XPG3] (rint): Likewise.
823 [XPG3 || XPG4 || UNIX98] (round): Likewise.
824 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
825 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
826 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
827 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
828 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
829 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
830 [UNIX98 || XOPEN2K] (scalb): Expect.
831 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
832 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
833 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
834 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
835 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
836 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
837 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
838 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
839 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
840 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
841 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
842 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
843 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
844 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
845 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
846 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
847 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
848 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
849 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
850 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
851 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
852 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
853 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
854 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
855 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
856 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
857 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
858 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
859 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
860 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
861 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
862 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
863 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
864 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
865 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
866 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
867 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
868 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
869 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
870 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
871 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
872 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
873 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
874 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
875 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
876 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
877 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
878 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
879 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
880 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
881 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
882 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
883 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
884 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
885 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
886 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
887 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
888 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
889 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
890 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
891 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
892 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
893 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
894 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
895 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
896 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
897 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
898 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
899 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
900 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
901 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
902 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
903 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
904 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
905 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
906 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
907 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
908 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
909 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
910 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
911 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
912 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
913 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
914 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
915 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
916 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
917 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
918 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
919 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
920 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
921 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
922 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
923 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
924 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
925 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
926 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
927 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
928 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
929 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
930 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
931 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
932 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
933 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
934 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
935 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
936 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
937 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
938 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
939 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
940 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
941 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
942 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
943 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
944 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
945 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
946 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
947 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
948 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
949 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
950 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
951 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
952 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
953 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
954 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
955 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
956 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
957 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
958 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
959 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
960 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
961 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
962 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
963 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
964 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
965 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
966 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
967 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
969 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
970 _XOPEN_SOURCE_EXTENDED for XPG4.
972 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
974 * Makeconfig (localtime): Remove variable.
975 (inst_localtime-file): Likewise.
977 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
998 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1002 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1003 comparisons to determine direction to adjust input.
1004 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1005 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1006 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1008 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1012 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1013 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1015 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1017 * math/libm-test.inc (nexttoward_test): Add more tests.
1019 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1022 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1023 in version GLIBC_2.1, not GLIBC_2.0.
1024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1027 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1030 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1032 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1033 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1034 * math/libm-test.inc (acos_test): Add more tests.
1035 (asin_test): Likewise.
1036 * sysdeps/i386/fpu/libm-test-ulps: Update.
1037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1042 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1043 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1044 * math/libm-test.inc (acos_test_tonearest): New function.
1045 (acos_test_towardzero): Likewise.
1046 (acos_test_downward): Likewise.
1047 (acos_test_upward): Likewise.
1048 (asin_test_tonearest): Likewise.
1049 (asin_test_towardzero): Likewise.
1050 (asin_test_downward): Likewise.
1051 (asin_test_upward): Likewise.
1052 (main): Call the new functions.
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1058 * math/e_exp10.c: Include <float.h>.
1059 (__ieee754_exp10): Handle underflow here rather than multiplying
1060 large negative argument by M_LN10.
1061 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1063 * math/e_exp10l.c: Include <float.h>.
1064 (__ieee754_exp10l): Handle underflow here rather than multiplying
1065 large negative argument by M_LN10l.
1066 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1067 spurious overflow exception on underflow.
1069 2012-04-29 Marek Polacek <polacek@redhat.com>
1071 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1072 (__fortify_function): New macro.
1073 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1074 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1075 __extern_always_inline.
1076 * libio/bits/stdio2.h: Likewise.
1077 * libio/bits/stdio.h: Likewise.
1078 * string/string.h: Likewise.
1079 * string/bits/string3.h: Likewise.
1080 * include/stdio.h: Likewise.
1081 * stdlib/bits/stdlib.h: Likewise.
1082 * stdlib/stdlib.h: Likewise.
1083 * rt/bits/mqueue2.h: Likewise.
1084 * rt/mqueue.h: Likewise.
1085 * posix/bits/unistd.h: Likewise.
1086 * posix/unistd.h: Likewise.
1087 * io/bits/poll2.h: Likewise.
1088 * io/bits/fcntl2.h: Likewise.
1089 * io/fcntl.h: Likewise.
1090 * io/sys/poll.h: Likewise.
1091 * misc/bits/syslog.h: Likewise.
1092 * misc/bits/syslog-ldbl.h: Likewise.
1093 * misc/sys/syslog.h: Likewise.
1094 * socket/bits/socket2.h: Likewise.
1095 * socket/sys/socket.h: Likewise.
1096 * debug/tst-chk1.c: Likewise.
1097 * wcsmbs/bits/wchar2.h: Likewise.
1098 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1099 * wcsmbs/wchar.h: Likewise.
1101 2012-04-29 Andreas Jaeger <aj@suse.de>
1103 * Makerules (tests): Remove enable-check-abi protection.
1104 (check-abi-warn): Remove.
1105 (check-abi-%): Remove check-abi-warn usage.
1107 * configure.in: Remove check-abi configure option.
1108 * configure: Regenerated.
1109 * config.make.in (enable-check-abi): Remove.
1111 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1114 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1115 double functions to double *_finite functions.
1118 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1119 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1121 * stdio-common/Makefile (tests): Add tst-sprintf3.
1122 * stdio-common/tst-sprintf3.c: New file.
1124 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1125 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1127 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1129 * conform/conformtest.pl: Remove duplicate typed-constant
1132 2012-04-28 David S. Miller <davem@davemloft.net>
1134 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1135 (check-abi-%): Remove AWK script prerequisite and explicit
1137 (check-abi): Rewrite to just diff the symlist with the abilist.
1138 (config-tls, config-abi-config): Delete, no longer used.
1139 (update-abi-%): Remove AWK script and explicit abilist directory.
1140 (update-abi): Rewrite to simply compare and conditionally copy the
1141 symlist and the sysdep abilist file. Remove update-abi-config
1143 * abilist/ld.abilist: Remove.
1144 * abilist/libBrokenLocale.abilist: Remove.
1145 * abilist/libanl.abilist: Remove.
1146 * abilist/libcrypt.abilist: Remove.
1147 * abilist/libdl.abilist: Remove.
1148 * abilist/librt.abilist: Remove.
1149 * abilist/libthread_db.abilist: Remove.
1150 * abilist/libutil.abilist: Remove.
1151 * scripts/extract-abilist.awk: Remove.
1152 * scripts/merge-abilist.awk: Remove.
1153 * sysdeps/generic/libcidn.abilist: New file.
1154 * sysdeps/generic/libnss_compat.abilist: New file.
1155 * sysdeps/generic/libnss_db.abilist: New file.
1156 * sysdeps/generic/libnss_dns.abilist: New file.
1157 * sysdeps/generic/libnss_files.abilist: New file.
1158 * sysdeps/generic/libnss_hesiod.abilist: New file.
1159 * sysdeps/generic/libnss_nis.abilist: New file.
1160 * sysdeps/generic/libnss_nisplus.abilist: New file.
1161 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1162 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1163 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1166 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1167 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1168 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1169 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1170 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1171 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1172 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1173 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1175 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1176 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1177 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1178 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1180 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1181 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1182 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1183 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1185 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1187 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1188 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1189 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1191 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1192 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1194 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1294 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1295 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1296 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1299 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1300 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1301 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1302 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1303 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1304 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1305 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1306 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1307 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1359 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1361 * conform/conformtest.pl: Fix typo in handling typed-constant from
1364 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1366 * README: Cut down references to pre-2.6 Linux kernels and
1367 Linuxthreads. Update lists of configurations in libc and ports
1368 and sort alphabetically. Say "or newer" with Linux kernel version
1371 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1373 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1376 * math/libm-test.inc (logb_test_downward): New test to expose
1377 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1380 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1383 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1385 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1386 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1388 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1390 * sysdeps/unix/i386/brk.S: Remove file.
1391 * sysdeps/unix/i386/dl-brk.S: Likewise.
1392 * sysdeps/unix/i386/pipe.S: Likewise.
1393 * sysdeps/unix/i386/sigreturn.S: Likewise.
1394 * sysdeps/unix/i386/syscall.S: Likewise.
1395 * sysdeps/unix/i386/vfork.S: Likewise.
1396 * sysdeps/unix/i386/wait.S: Likewise.
1398 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1399 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1401 * configure.in (arm*-none*): Do not allow without
1402 --enable-hacker-mode.
1403 (netbsd*): Remove case setting base_os.
1404 (386bsd*): Likewise.
1405 (freebsd*): Likewise.
1409 (ultrix*): Likewise.
1410 (newsos*): Likewise.
1420 (solaris[2-9]*): Likewise.
1422 * configure: Regenerated.
1424 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1427 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1428 overflow or cancellation in calculating denominator.
1429 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1430 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1431 down expression to avoid unexpected rounding in newer GCCs.
1432 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1434 2012-04-26 David S. Miller <davem@davemloft.net>
1436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1437 long-double compat symbols.
1438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1452 2012-04-25 David S. Miller <davem@davemloft.net>
1454 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1455 HWCAP_* values only after the memory barriers have been defined.
1456 (atomic_full_barrier): Define.
1457 (atomic_read_barrier): Define.
1458 (atomic_write_barrier): Define.
1460 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1462 * shlib-versions: Add libgcc_s version information.
1463 * sysdeps/generic/libgcc_s.h: Remove.
1464 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1466 * sysdeps/gnu/unwind-resume.c: Likewise.
1467 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1469 2012-04-25 David S. Miller <davem@davemloft.net>
1471 * sysdeps/unix/sparc/brk.S: Delete.
1472 * sysdeps/unix/sparc/dl-brk.S: Delete.
1473 * sysdeps/unix/sparc/pipe.S: Delete.
1474 * sysdeps/unix/sparc/sysdep.S: Delete.
1475 * sysdeps/unix/sparc/sysdep.h: Delete.
1476 * sysdeps/unix/sparc/vfork.S: Delete.
1477 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1478 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1479 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1480 ret_ERRVAL, r0, r1, MOVE): Define.
1481 (JUMPTARGET): Remove.
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1483 sysdeps/unix/sparc/sysdep.h
1484 (ENTRY, END): Remove.
1485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1487 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1489 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1490 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1493 * timezone/README: Update upstream location and email address for
1495 * timezone/zdump.c: Update from tzcode 2012b.
1496 * timezone/zic.c: Likewise.
1498 * configure.in (libc_cv_as_needed): Remove test.
1499 * configure: Regenerated.
1500 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1501 conditional definition.
1502 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1503 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1504 * config.make.in (have-as-needed): Remove variable.
1506 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 Paul Pluzhnikov <ppluzhnikov@google.com>
1509 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1512 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1514 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1515 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1516 * sysdeps/sh/strlen.S: Likewise.
1518 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1520 * sysdeps/unix/fork.S: Remove file.
1521 * sysdeps/unix/i386/fork.S: Likewise.
1522 * sysdeps/unix/sparc/fork.S: Likewise.
1524 * sysdeps/unix/system.c: Remove file.
1525 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1527 * sysdeps/unix/getegid.S: Remove file.
1528 * sysdeps/unix/geteuid.S: Likewise.
1530 2012-04-24 Roland McGrath <roland@hack.frob.com>
1532 * scripts/check-localplt.awk: New file.
1533 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1535 * scripts/data/localplt-generic.data: Add a comment.
1537 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1538 NODE when __dir_mkfile failed.
1539 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1540 Reported by Ludovic Courtès <ludo@gnu.org>.
1542 2012-04-24 Andreas Jaeger <aj@suse.de>
1544 * Makerules (common-clean): Also remove gen-as-const-headers
1547 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1549 * Makerules (native-compile): Do not change working directory for
1550 build. Use $(OUTPUT_OPTION) in command.
1551 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1553 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1556 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1557 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1558 * math/libm-test.inc (floor_test): Add more tests.
1559 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1561 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1563 * sysdeps/unix/getdents.c: Remove file.
1564 * sysdeps/unix/sysv/getdents.c: Likewise.
1565 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1567 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1568 sysdeps/unix/mman/syscalls.list.
1570 (mprotect): Likewise.
1573 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1574 * sysdeps/unix/mman/syscalls.list: Remove.
1575 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1577 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1578 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1579 * configure: Regenerated.
1580 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1582 * config.make.in (libgcc_s_suffix): Remove variable.
1584 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1586 * sysdeps/unix/sysv/gethostname.c: Move to ...
1587 * sysdeps/posix/gethostname.c: ... here.
1589 * sysdeps/unix/execve.S: Remove file.
1591 * sysdeps/unix/_exit.S: Remove file.
1593 2012-04-23 Andreas Jaeger <aj@suse.de>
1596 * manual/Makefile: Remove make dist support, there's no
1597 need for a stand-alone documentation tar ball.
1598 (TEXI2DVI): Define always, it's not in Makeconfig.
1602 (glibc-doc-$(edition).tar): Removed
1606 (ETAGS): Remove, it's in Makeconfig.
1607 (move-if-change): Remove, it's in Makeconfig.
1609 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1612 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1613 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1614 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1615 (strtod_l, strtof_l, strtold_l): Remove __wur.
1616 It is not necessarily an error to ignore strtol's return value.
1617 One can reliably look at the stored endptr to decide whether
1618 the number had valid syntax.
1620 2012-04-21 Andreas Jaeger <aj@suse.de>
1623 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1625 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1627 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1628 * sysdeps/unix/sysv/Versions: Remove file.
1630 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1635 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1639 version from __vm86.
1641 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1643 * sysdeps/unix/common/lxstat.c: Remove file.
1644 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1646 * sysdeps/unix/sysv/Makefile: Remove file.
1648 * sysdeps/unix/sysv/direct.h: Remove file.
1650 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1651 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1652 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1653 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1654 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1655 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1656 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1658 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1660 * sysdeps/unix/xmknod.c: Remove file.
1661 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1663 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1665 * sysdeps/unix/sysv/i386/time.S: Remove file.
1667 * sysdeps/unix/fxstat.c: Remove file.
1668 * sysdeps/unix/xstat.c: Likewise.
1669 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1671 * sysdeps/unix/sysv/sigaction.c: Remove file.
1673 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1674 (sysdep_headers): Remove variable.
1675 [termio.h not in sysdep_headers] (generated): Likewise.
1676 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1677 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1678 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1679 * sysdeps/unix/sysv/tcflow.c: Likewise.
1680 * sysdeps/unix/sysv/tcflush.c: Likewise.
1681 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1682 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1683 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1684 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1685 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1687 * sysdeps/unix/siglist.c: Remove file.
1689 * sysdeps/unix/getppid.S: Remove file.
1691 * sysdeps/unix/mkdir.c: Remove file.
1692 * sysdeps/unix/rmdir.c: Likewise.
1694 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1696 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1698 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1699 errlist-compat value.
1701 2012-04-18 David S. Miller <davem@davemloft.net>
1703 * sysdeps/generic/memcopy.h (reg_char): Delete.
1704 * debug/strcat_chk.c: Use char, not reg_char.
1705 * debug/strcpy_chk.c: Likewise.
1706 * debug/strncat_chk.c: Likewise.
1707 * debug/strncpy_chk.c: Likewise.
1708 * string/memchr.c: Likewise.
1709 * string/memrchr.c: Likewise.
1710 * string/rawmemchr.c: Likewise.
1711 * string/strcat.c: Likewise.
1712 * string/strchr.c: Likewise.
1713 * string/strchrnul.c: Likewise.
1714 * string/strcmp.c: Likewise.
1715 * string/strcpy.c: Likewise.
1716 * string/strncat.c: Likewise.
1717 * string/strncmp.c: Likewise.
1718 * string/strncpy.c: Likewise.
1720 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1722 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1723 __builtin_memcopy is called when src and dest ranges are known to not
1726 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1728 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1729 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1730 fwd_align_merge macro call.
1731 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1732 bwd_align_merge macro call.
1733 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1735 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1737 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1738 bwd_align_merge macros.
1739 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1740 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1743 2012-04-18 David S. Miller <davem@davemloft.net>
1745 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1747 2012-04-18 Andreas Jaeger <aj@suse.de>
1750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1751 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1752 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1754 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1755 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1756 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1758 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1759 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1760 Adjust for changed ldbl-128 files.
1762 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1763 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1764 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1766 2012-04-17 David S. Miller <davem@davemloft.net>
1768 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1770 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1772 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1773 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1774 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1775 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1776 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1777 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1779 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1782 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1783 * math/libm-test.inc: Add ilogb errno and exception tests.
1784 * math/w_ilogb.c: New file: ilogb wrapper.
1785 * math/w_ilogbf.c: New file: ilogbf wrapper.
1786 * math/w_ilogbl.c: New file: ilogbl wrapper.
1787 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1788 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1789 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1790 exception being thrown with 0.0 as argument.
1791 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1792 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1793 exception being thrown with 0.0 as argument.
1794 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1795 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1796 exception being thrown with 0.0 as argument.
1797 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1798 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1799 exception being thrown with 0.0 as argument.
1800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1801 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1802 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1803 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1804 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1805 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1806 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1807 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1808 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1810 2012-04-17 Petr Baudis <pasky@ucw.cz>
1812 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1815 2012-04-16 Marek Polacek <polacek@redhat.com>
1817 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1819 2012-04-16 Marek Polacek <polacek@redhat.com>
1821 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1822 operands of fdivp instruction.
1824 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1826 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1827 * elf/tst-auditmod3b.c: Likewise.
1828 * elf/tst-auditmod4b.c: Likewise.
1829 * elf/tst-auditmod5b.c: Likewise.
1830 * elf/tst-auditmod6b.c: Likewise.
1831 * elf/tst-auditmod6c.c: Likewise.
1832 * elf/tst-auditmod7b.c: Likewise.
1833 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1834 * sysdeps/x86_64/preconfigure.in: Likewise.
1835 * sysdeps/x86_64/preconfigure: Regenerated.
1837 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1839 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1842 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1844 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1845 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1847 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1850 * locale/iso-639.def: Fix gl language name. Spotted by
1853 2012-04-12 Roland McGrath <roland@hack.frob.com>
1856 * libio/libio.h (__io_write_fn): Update comment.
1858 2012-04-12 Petr Baudis <pasky@ucw.cz>
1861 * stdio.texi (Hook Functions): The user provided writer function
1862 is not allowed to return -1.
1864 2012-04-11 David S. Miller <davem@davemloft.net>
1866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1868 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1870 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1871 Add a leading slash to rtkaio.
1873 2012-04-11 Jim Meyering <meyering@redhat.com>
1876 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1877 It is not necessarily an error to ignore fwrite's return
1878 value. One can reliably use ferror to test for errors after
1881 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1883 * bits/types.h (__snseconds_t): New type.
1884 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1886 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1888 (__SNSECONDS_T_TYPE): Likewise.
1889 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1890 (__SNSECONDS_T_TYPE): Likewise.
1891 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1892 (__SNSECONDS_T_TYPE): Likewise.
1894 2012-04-10 Andreas Jaeger <aj@suse.de>
1897 * manual/time.texi (Processor Time): Return type of times is
1898 elapsed real time since an arbitrary point in the past.
1899 (CPU Time): Move CLK_TCK from here...
1900 (Processor Time): ...to here. Correct description.
1901 * manual/conf.texi (Constants for Sysconf): Correct description of
1904 2012-04-10 David S. Miller <davem@davemloft.net>
1907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1908 where the is a gap between DT_REL(A) and DT_JMPREL.
1910 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1912 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1913 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1914 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1916 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1918 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1919 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1920 (dl_main): Handle --inhibit-cache.
1921 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1923 * elf/dl-load.c (_dl_map_object): Use it.
1924 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1926 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1929 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1930 (__ieee754_powl): Saturate large exponents rather than testing for
1931 overflow of y*log2(x).
1932 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1933 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1937 * math/s_ctan.c: Include <float.h>.
1938 (__ctan): Avoid internal overflow or cancellation in calculating
1940 * math/s_ctanf.c: Likewise.
1941 * math/s_ctanl.c: Likewise.
1942 * math/s_ctanh.c: Likewise.
1943 * math/s_ctanhf.c: Likewise.
1944 * math/s_ctanhl.c: Likewise.
1945 * math/libm-test.inc (ctan_test): Add more tests.
1946 (ctanh_test): Likewise.
1947 * sysdeps/i386/fpu/libm-test-ulps: Update.
1948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1950 2012-04-09 Andreas Jaeger <aj@suse.de>
1953 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1954 is an optional BSD extension.
1957 * manual/stdio.texi (Opening Streams): Document additional fopen
1960 2012-04-09 Roland McGrath <roland@hack.frob.com>
1962 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1963 %eax without telling the compiler.
1965 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1968 * manual/install.texi: Use sourceware.org.
1970 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1973 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1974 (__ieee754_pow): Generate overflow and underflow using huge*huge
1975 and tiny*tiny rather than just returning constant infinity or zero
1976 for large exponents.
1977 * math/libm-test.inc (pow_test): Require overflow exceptions for
1978 applicable cases of large exponents.
1981 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1982 (__ieee754_pow): Use iterative multiplication algorithm only for
1983 integer exponents with absolute value below 1024. Check for odd
1984 integer exponents when using algorithm for real exponents.
1985 * math/libm-test.inc (pow_test): Add more tests.
1986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1988 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1991 * math/libm-test.inc (exp_test): Do not allow overflow exception
1994 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1997 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1998 instead of __kernel_standard_f.
2000 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2002 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2003 * sysdeps/x86_64/memset_chk.S: Likewise.
2005 2012-04-08 Andreas Jaeger <aj@suse.de>
2008 * manual/startup.texi (Environment Access): Describe return value
2009 for putenv and setenv.
2012 * manual/filesys.texi (Directory Entries): Add description for
2016 * manual/filesys.texi (Directory Entries): Clarify that it's file
2017 system not operating system in the description of DT_UNKNOWN.
2020 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2022 2012-04-08 Stephen Compall <s11@member.fsf.org>
2025 * manual/llio.texi (Opening and Closing Files): Add cross
2026 reference to explain mode argument.
2028 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2030 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2031 * sysdeps/x86_64/memset_chk.S: Likewise.
2033 2012-04-07 David S. Miller <davem@davemloft.net>
2035 * elf/elf.h (R_SPARC_WDISP10): Define.
2036 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2039 R_SPARC_SIZE64 and R_SPARC_H34.
2041 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2043 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2044 conditions and remove no longer applicable assertion.
2046 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2048 * bits/byteswap.h: Include <features.h>.
2049 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2050 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2052 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2054 * bits/byteswap.h (__bswap_16): Removed.
2055 Include <bits/byteswap-16.h> to get __bswap_16.
2056 * sysdeps/i386/bits/byteswap.h: Likewise.
2057 * sysdeps/s390/bits/byteswap.h: Likewise.
2058 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2059 * bits/byteswap-16.h: New file.
2060 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2061 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2062 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2063 * string/Makefile (headers): Add bits/byteswap-16.h.
2065 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2068 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2070 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2071 * nss/tst-nss-static.c: New.
2073 2012-04-06 Robert Millan <rmh@gnu.org>
2076 * manual/llio.texi (File Position Primitive): lseek
2077 refers to WHENCE when it really means OFFSET.
2079 2012-04-06 Andreas Jaeger <aj@suse.de>
2081 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2082 strncmp declarations.
2084 * abilist/libc.abilist: Add __poll and __ppoll.
2086 2012-04-05 David S. Miller <davem@davemloft.net>
2088 * scripts/check-local-headers.sh: Accept a host triplet in the
2089 path matched by the exclude regexp.
2091 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2093 * sysdeps/powerpc/powerpc32/dl-machine.h
2094 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2095 * sysdeps/s390/s390-32/dl-machine.h
2096 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2097 * sysdeps/sparc/sparc32/dl-machine.h
2098 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2099 * sysdeps/sparc/sparc64/dl-machine.h
2100 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2102 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2104 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2105 undefined symbol errors.
2107 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2110 2012-04-05 Michael Matz <matz@suse.de>
2113 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2115 2012-04-05 Andreas Jaeger <aj@suse.de>
2118 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2121 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2123 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2124 which ROUND is no valid rounding mode.
2126 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2128 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2130 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2132 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2134 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2135 an exception using FPU order intentionally.
2137 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2139 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2140 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2141 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2142 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2144 2012-04-05 Simon Josefsson <simon@josefsson.org>
2147 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2148 EINVAL when BUFLEN is too smal.
2150 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2153 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2154 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2156 2012-04-03 Andreas Jaeger <aj@suse.de>
2159 * manual/setjmp.texi (System V contexts): Fix sentence.
2162 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2163 New macro for this case.
2164 [!__GNUC__] (__bswap_64): New inline function for this case.
2165 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2166 * bits/byteswap.h: Likewise.
2167 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2168 ull, guard with __GLIBC_HAVE_LONG_LONG.
2170 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2171 __GLIBC_HAVE_LONG_LONG.
2173 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2174 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2176 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2179 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2180 inptr and inend, rather than using last_ch.
2182 2012-04-02 David S. Miller <davem@davemloft.net>
2184 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2185 * stdio-common/printf-parse.h (read_int): Change return type to
2186 'int', return -1 on INT_MAX overflow.
2187 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2188 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2189 overflows INT_MAX. Check for overflow of in-format-string precision
2190 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2191 SIZE_MAX not INT_MAX for integer overflow test.
2192 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2193 skip the construct in the format string but do not record anything.
2194 * stdio-common/bug22.c: Adjust to test both width/prevision
2195 INT_MAX overflow as well as total length INT_MAX overflow. Check
2196 explicitly for proper errno values.
2198 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2200 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2202 * string/test-strcmp.c [! WIDE]: Likewise.
2203 * time/tst-mktime2.c: Likewise for INT_MAX.
2204 * string/test-string.h: #include <sys/param.h> for MIN.
2206 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2207 * sysdeps/i386/init-first.c (init): Likewise.
2208 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2209 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2210 * sysdeps/sh/init-first.c (init): Likewise.
2212 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2214 * po/ru.po: Update from translation team.
2215 * po/vi.po: Likewise.
2217 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2219 * resolv/nss_dns/dns-host.c: Merge copyright years.
2221 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2223 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2224 Optimize memcpy with prefetch if
2225 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2226 src, dst pointers have unequal 16 byte alignments.
2228 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2231 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2232 from a CNAME entry and return the minimum ttl for the query.
2233 (gaih_getanswer_slice): Likewise.
2235 2012-03-30 Jeff Law <law@redhat.com>
2237 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2239 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2240 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2242 * resolv/nss_dns/dns-host.c: Update copyright year.
2244 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2246 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2247 requests to save a system call. Fix check that all bytes are sent.
2249 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2250 comments for sendmmsg.
2252 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2255 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2256 with only 1 character between 0x0041 and 0x01b0.
2257 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2258 * wcsmbs/tst-mbsnrtowcs.c: New file.
2260 2012-03-29 David S. Miller <davem@davemloft.net>
2262 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2263 small copies by hand.
2265 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2268 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2269 _nss_compat_initgroups_dyn): Fall back to malloc/free
2270 for large group memberships.
2272 2012-03-28 David S. Miller <davem@davemloft.net>
2274 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2275 that branches into memcpy.
2276 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2279 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2282 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2284 * sysdeps/sparc/mempcpy.S: New file.
2286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2287 the IFUNC routine in the libc case.
2288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2290 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2291 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2292 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2293 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2294 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2295 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2296 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2297 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2299 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2300 loop to 256 bytes instead of 64 bytes and fix test signedness.
2302 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2303 * sysdeps/sparc/sparc32/Makefile: rather than here...
2304 * sysdeps/sparc/sparc64/Makefile: and here.
2306 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2308 * malloc/mallocbug.c: Avoid warnings about unused variables.
2310 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2313 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2314 in the right place. Discard and retry query if response is
2315 larger than input buffer size.
2317 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2322 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2323 x for large integer exponent.
2324 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2325 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2326 sign of result as needed afterwards.
2327 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2328 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2329 result for underflowing pow the same as for overflow.
2330 (__kernel_standard_l): Handle powl overflow and underflow here
2331 rather than calling __kernel_standard.
2332 * math/libm-test.inc (pow_test): Add more tests.
2347 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2348 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2349 (__kernel_standard_l): New function.
2350 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2352 * math/w_acosl.c (__acosl): Likewise.
2353 * math/w_asinl.c (__asinl): Likewise.
2354 * math/w_atan2l.c (__atan2l): Likewise.
2355 * math/w_atanhl.c (__atanhl): Likewise.
2356 * math/w_coshl.c (__coshl): Likewise.
2357 * math/w_exp10l.c (__exp10l): Likewise.
2358 * math/w_exp2l.c (__exp2l): Likewise.
2359 * math/w_fmodl.c (__fmodl): Likewise.
2360 * math/w_hypotl.c (__hypotl): Likewise.
2361 * math/w_j0l.c (__j0l, __y0l): Likewise.
2362 * math/w_j1l.c (__j1l, __y1l): Likewise.
2363 * math/w_jnl.c (__jnl, __ynl): Likewise.
2364 * math/w_lgammal.c (__lgammal): Likewise.
2365 * math/w_log10l.c (__log10l): Likewise.
2366 * math/w_log2l.c (__log2l): Likewise.
2367 * math/w_logl.c (__logl): Likewise.
2368 * math/w_powl.c (__powl): Likewise.
2369 * math/w_remainderl.c (__remainderl): Likewise.
2370 * math/w_scalbl.c (sysv_scalbl): Likewise.
2371 * math/w_sinhl.c (__sinhl): Likewise.
2372 * math/w_sqrtl.c (__sqrtl): Likewise.
2373 * math/w_tgammal.c (__tgammal): Likewise.
2374 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2375 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2376 * math/libm-test.inc (acos_test): Add more tests.
2377 (acosh_test): Likewise.
2378 (asin_test): Likewise.
2379 (atanh_test): Likewise.
2380 (exp_test): Likewise.
2381 (exp10_test): Likewise.
2382 (exp2_test): Likewise.
2383 (expm1_test): Likewise.
2384 (lgamma_test): Likewise.
2385 (log_test): Likewise.
2386 (log10_test): Likewise.
2387 (log1p_test): Likewise.
2388 (log2_test): Likewise.
2389 (pow_test): Do not allow some spurious overflow exceptions.
2390 (sqrt_test): Add more tests.
2391 (tgamma_test): Likewise.
2392 (y0_test): Likewise.
2393 (y1_test): Likewise.
2394 (yn_test): Likewise.
2396 2012-03-27 Anton Blanchard <anton@samba.org>
2398 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2400 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2401 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2402 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2404 2012-03-27 David S. Miller <davem@davemloft.net>
2406 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2408 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2411 2012-03-27 Andreas Jaeger <aj@suse.de>
2413 * sysdeps/x86_64/elf/configure.in: Moved to ...
2414 * sysdeps/x86_64/configure.in: ... here.
2415 * sysdeps/x86_64/elf/start.S: Moved to ...
2416 * sysdeps/x86_64/start.S: ... here.
2417 * sysdeps/x86_64/elf/configure: Delete.
2419 * sysdeps/x86_64/configure.in: Merge contents from
2420 sysdeps/i386/configure.in (without i686 check).
2422 * sysdeps/i386/elf/Versions: Merge into ...
2423 * sysdeps/i386/Versions: ... this.
2424 * sysdeps/i386/elf/Versions: Delete file.
2425 * sysdeps/i386/elf/start.S: Moved to ...
2426 * sysdeps/i386/start.S: ...here.
2427 * sysdeps/i386/elf/configure.in: Merge into...
2428 * sysdeps/i386/configure.in: ...here.
2429 * sysdeps/i386/elf/configure.in: Delete file.
2430 * sysdeps/i386/elf/configure: Delete file.
2432 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2433 * debug/backtracesyms.c: ... here.
2434 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2435 * debug/backtracesymsfd.c: ... here.
2436 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2437 * sysdeps/generic/ifunc-sel.h: ... here.
2439 * sysdeps/unix/i386/start.c: Delete file.
2440 * sysdeps/unix/sparc/start.c: Delete file.
2441 * sysdeps/unix/start.c: Delete file.
2443 * sysdeps/sh/elf/configure.in: Moved to ...
2444 * sysdeps/sh/configure.in: ... here.
2445 * sysdeps/sh/elf/start.S: Moved to ...
2446 * sysdeps/sh/start.S: ... here.
2447 * sysdeps/sh/elf/configure: Delete file.
2449 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2450 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2451 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2452 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2453 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2454 * sysdeps/powerpc/powerpc64/start.S: here.
2455 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2456 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2457 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2458 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2459 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2461 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2462 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2463 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2464 * sysdeps/powerpc/powerpc32/start.S: ... here.
2465 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2466 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2467 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2469 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2470 * sysdeps/powerpc/ifunc-sel.h: ... here.
2471 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2472 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2474 * sysdeps/sparc/elf/configure.in: Moved to ...
2475 * sysdeps/sparc/configure.in: ... here.
2476 * sysdeps/sparc/elf/configure: Delete file.
2477 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2478 * sysdeps/sparc/sparc32/start.S: ... here.
2479 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2480 * sysdeps/sparc/sparc64/start.S: ... here.
2481 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2482 * sysdeps/sparc/sparc32/Makefile: ... this.
2483 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2484 * sysdeps/sparc/sparc64/Makefile: ... this.
2486 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2487 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2488 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2489 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2490 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2491 * sysdeps/s390/s390-32/setjmp.S: ... here.
2492 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2493 * sysdeps/s390/s390-32/configure.in: ... here.
2494 * sysdeps/s390/s390-32/elf/configure: Delete file.
2495 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2496 * sysdeps/s390/s390-32/start.S: ... here.
2498 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2499 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2500 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2501 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2502 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2503 * sysdeps/s390/s390-64/setjmp.S: ... here.
2504 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2505 * sysdeps/s390/s390-64/configure.in: ... here
2506 * sysdeps/s390/s390-64/elf/configure: Delete file.
2507 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2508 * sysdeps/s390/s390-64/start.S: ... here.
2509 * sysdeps/s390/s390-64/elf/configure: Delete.
2511 * configure.in: Remove support for elf directories in sysdeps.
2513 * configure: Regenerated.
2514 * sysdeps/i386/configure: Regenerated.
2515 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2516 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2517 * sysdeps/s390/s390-32/configure: Regenerated.
2518 * sysdeps/s390/s390-64/configure: Regenerated.
2519 * sysdeps/sh/configure: Regenerated.
2520 * sysdeps/sparc/configure: Regenerated.
2521 * sysdeps/x86_64/configure: Regenerated.
2523 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2527 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2528 denormal result into account.
2530 2012-03-25 Roland McGrath <roland@hack.frob.com>
2532 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2533 Reported by Allan McRae <allan@archlinux.org>.
2535 2012-03-23 Jeff Law <law@redhat.com>
2537 * nss/getnssent.c (__nss_getent): Fix typo.
2539 2012-03-23 David S. Miller <davem@davemloft.net>
2541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2543 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2545 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2546 to pad to uint64_t for each field.
2547 (dl_tls_index): Replace unsigned long with uint64_t.
2549 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2550 Paul Pluzhnikov <ppluzhnikov@google.com>
2553 * grp/Makefile (otherlibs): Don't set it.
2554 * inet/Makefile (otherlibs): Likewise.
2555 * login/Makefile (otherlibs): Likewise.
2556 * nscd/Makefile (otherlibs): Likewise.
2557 * posix/Makefile (otherlibs): Likewise.
2558 * pwd/Makefile (otherlibs): Likewise.
2559 * rt/Makefile (otherlibs): Likewise.
2560 * sunrpc/Makefile (otherlibs): Likewise.
2561 * nss/Makefile (otherlibs): Likewise.
2562 Add libnss_files to routines and static-only-routines.
2563 ($(objpfx)getent): Remove rule.
2564 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2565 static-only-routines.
2567 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2570 * math/s_cexp.c: Include <float.h>.
2571 (__cexp): Handle exp result overflowing not necessarily
2572 overflowing both real and imaginary parts of result.
2573 * math/s_cexpf.c: Likewise.
2574 * math/s_cexpl.c: Likewise.
2575 * math/libm-test.inc (cexp_test): Add more tests.
2576 * sysdeps/i386/fpu/libm-test-ulps: Update.
2577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2579 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2581 * include/link.h (ELFW): New macro.
2582 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2583 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2585 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2587 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2590 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2592 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2594 (struct La_x32_retval): Likewise.
2596 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2598 * sysdeps/x86_64/preconfigure.in: New file.
2599 * sysdeps/x86_64/preconfigure: New generated file.
2601 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2604 * math/e_exp2l.c: Include <float.h>.
2605 (__ieee754_exp2l): Handle overflow and underflow cases
2606 separately. Only pass fractional part of argument to
2608 * math/libm-test.inc (exp2_test): Add more tests.
2610 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2611 negating x to take absolute value.
2612 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2614 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2615 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2617 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2618 computing low part if x was negated.
2619 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2621 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2623 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2625 (pltexit): Cast int_retval to ptrdiff_t.
2626 * elf/tst-auditmod3b.c: Likewise.
2627 * elf/tst-auditmod4b.c: Likewise.
2628 * elf/tst-auditmod5b.c: Likewise.
2629 * elf/tst-auditmod6b.c: Likewise.
2630 * elf/tst-auditmod6c.c: Likewise.
2631 * elf/tst-auditmod7b.c: Likewise.
2633 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2634 and x32_gnu_pltexit.
2636 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2638 (La_x32_regs): New macro.
2639 (La_x32_retval): Likewise.
2640 (la_x32_gnu_pltenter): New function prototype.
2641 (la_x32_gnu_pltexit): Likewise.
2643 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2645 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2650 * configure.in (libc_cv_cc_nofma): Check for option to disable
2651 generation of FMA instructions.
2652 * configure: Regenerate.
2653 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2654 * sysdeps/ieee754/dbl-64/Makefile: New file.
2655 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2656 Remove brandred-fma4.
2657 (CFLAGS-brandred-fma4.c): Remove.
2658 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2659 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2661 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2664 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2666 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2667 LLONG_MAX != LONG_MAX.
2668 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2669 (_fitoa_word): Likewise.
2670 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2671 LLONG_MAX != LONG_MAX.
2672 * stdio-common/_itowa.h: Include <_itoa.h>.
2673 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2674 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2675 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2676 only if not defined.
2677 (_ITOA_WORD_TYPE): Likewise.
2678 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2679 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2681 2012-03-21 David S. Miller <davem@davemloft.net>
2683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2685 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2687 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2688 of x86_64 when setting libc_cv_slibdir, libdir and
2690 * sysdeps/unix/sysv/linux/configure: Regenerated.
2692 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2694 * manual/lang.texi (Old Varargs): Remove section.
2695 (How Variadic): Update menu.
2696 (va_start): Do not mention varargs.h.
2698 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2699 Joseph Myers <joseph@codesourcery.com>
2701 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2703 * configure: Regenerated.
2705 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2707 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2708 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2711 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2714 * Makefile (files-for-dist): Remove NOTES.
2715 (NOTES): Remove rule.
2716 * README: Don't refer to NOTES.
2717 * manual/creature.texi: Don't include macros.texi.
2718 * manual/intro.texi (creature.texi): Remove comment referring to
2721 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2722 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2723 * configure: Regenerated.
2724 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2726 (libc_cv_as_i686): Likewise.
2727 (libc_cv_cc_avx): Likewise.
2728 (libc_cv_cc_sse2avx): Likewise.
2729 (libc_cv_cc_fma4): Likewise.
2730 (libc_cv_cc_novzeroupper): Likewise.
2731 * sysdeps/i386/configure: Regenerated.
2734 * sysdeps/i386/fpu/s_cexp.S: Remove.
2735 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2736 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2737 * math/libm-test.inc (cexp_test): Add more tests.
2738 * sysdeps/i386/fpu/libm-test-ulps: Update.
2739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2741 2012-03-21 Allan McRae <allan@archlinux.org>
2743 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2745 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2748 * math/w_exp2.c: Do not include <float.h>.
2749 (o_threshold, u_threshold): Remove.
2750 (__exp2): Calculate result before checking finiteness and calling
2752 * math/w_exp2f.c: Likewise.
2753 * math/w_exp2l.c: Likewise.
2754 * math/libm-test.inc (exp2_test): Require overflow exception for
2758 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2759 range of signed 64-bit integers before using fistpll. Remove
2760 checks for whether integers fit in mantissa bits.
2761 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2762 the range of signed 32-bit integers before using fistpl. Remove
2763 checks for whether integers fit in mantissa bits.
2764 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2765 (__ieee754_powl): Test for y outside the range of signed 64-bit
2766 integers before using fistpll. Reduce 64-bit values to 63-bit
2768 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2769 divide-by-zero is raised for zero to large negative powers.
2770 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2771 (__ieee754_powl): Test for y outside the range of signed 64-bit
2772 integers before using fistpll. Reduce 64-bit values to 63-bit
2774 * math/libm-test.inc (pow_test): Add more tests.
2776 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2778 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2779 <stdio-common/_itoa.h>.
2780 * debug/segfault.c: Likewise.
2781 * elf/dl-cache.c: Likewise.
2782 * elf/dl-minimal.c: Likewise.
2783 * elf/dl-misc.c: Likewise.
2784 * elf/dl-sysdep.c: Likewise.
2785 * elf/dl-version.c: Likewise.
2786 * elf/rtld.c: Likewise.
2787 * hurd/hurdsock.c: Likewise.
2788 * hurd/lookup-retry.c: Likewise.
2789 * malloc/malloc.c: Likewise.
2790 * malloc/mtrace.c: Likewise.
2791 * nscd/nscd_getgr_r.c: Likewise.
2792 * nscd/nscd_getpw_r.c: Likewise.
2793 * nscd/nscd_getserv_r.c: Likewise.
2794 * posix/getopt_init.c: Likewise.
2795 * posix/wordexp.c: Likewise.
2796 * stdio-common/_itoa.c: Likewise.
2797 * stdio-common/printf_fphex.c: Likewise.
2798 * stdio-common/vfprintf.c: Likewise.
2799 * string/_strerror.c: Likewise.
2800 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2801 * sysdeps/i386/i686/hp-timing.h: Likewise.
2802 * sysdeps/mach/_strerror.c: Likewise.
2803 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2804 * sysdeps/mach/hurd/sethostid.c: Likewise.
2805 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2806 * sysdeps/mach/xpg-strerror.c: Likewise.
2807 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2808 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2809 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2810 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2811 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2812 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2814 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2815 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2816 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2817 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2818 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2819 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2820 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2821 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2822 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2823 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2824 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2825 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2826 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2827 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2829 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2831 * stdio-common/_itoa.h: Moved to ...
2832 * sysdeps/generic/_itoa.h: Here.
2834 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2836 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2837 instead of "_itoa.h" and "_itowa.h".
2838 * stdio-common/vfprintf.: Likewise.
2840 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2842 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2844 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2845 (__signbit): Likwise.
2849 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2851 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2854 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2856 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2857 OVERFLOW_EXCEPTION_OK.
2858 * math/libm-test.inc ("Philosophy"): Update comment about
2860 (OVERFLOW_EXCEPTION): Define.
2861 (OVERFLOW_EXCEPTION_OK): Likewise.
2862 (INVALID_EXCEPTION_OK): Renumber.
2863 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2864 (IGNORE_ZERO_INF_SIGN): Likewise.
2865 (test_exceptions): Handle FE_OVERFLOW.
2866 (exp10_test): Expect overflow exceptions.
2867 (exp2_test): Likewise.
2868 (expm1_test): Likewise.
2869 (nextafter_test): Likewise.
2870 (pow_test): Likewise.
2871 (scalbn_test): Likewise.
2872 (scalbln_test): Likewise.
2874 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2876 * sysdeps/x86_64/bits/atomic.h
2877 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2879 (atomic_exchange_acq): Likewise.
2880 (__arch_exchange_and_add_body): Likewise.
2881 (__arch_add_body): Likewise.
2882 (atomic_add_negative): Likewise.
2883 (atomic_add_zero): Likewise.
2885 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2887 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2888 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2890 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2892 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2893 Check __x86_64__ instead of __WORDSIZE.
2895 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2897 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2899 2012-03-19 David S. Miller <davem@davemloft.net>
2901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2903 * sysdeps/sparc/fpu/fenv_private.h: New file.
2904 * sysdeps/sparc/fpu/math_private.h: Use it.
2905 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2907 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2908 (libc_feholdexcept_setroundl): Remove.
2909 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2911 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2912 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2914 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2916 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2917 int64_t instead of long int.
2918 (INSERT_WORDS64): Likwise.
2920 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2922 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2923 _Unwind_GetCFA return to _Unwind_Ptr first.
2925 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2928 * math/s_clog.c: Include <float.h>.
2929 (__clog): Scale large or subnormal inputs.
2930 * math/s_clogf.c: Likewise.
2931 * math/s_clogl.c: Likewise.
2932 * math/s_clog10.c: Include <float.h>.
2933 (M_LOG10_2): Define.
2934 (__clog10): Scale large or subnormal inputs.
2935 * math/s_clog10f.c: Likewise.
2936 * math/s_clog10l.c: Likewise.
2937 * math/libm-test.inc (clog_test): Add more tests.
2938 (clog10_test): Likewise.
2939 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2943 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2945 * math/libm-test.inc (atan2_test): Add another test.
2947 * Makerules (common-objdir-compile): Remove.
2948 * sysdeps/unix/Makefile (config-generated): Do not add
2949 $(unix-generated) to variable.
2950 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2951 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2953 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2955 [generic bits/local_lim.h] (before-compile): Do not append to
2957 [generic bits/local_lim.h] (common-generated): Likewise.
2958 [generic sys/param.h] (before-compile): Do not append to variable.
2959 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2960 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2961 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2962 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2964 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2965 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2966 [generic sys/param.h] ($(addprefix
2967 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2968 [generic sys/param.h] (common-generated): Do not append to
2970 [generic sys/param.h] (sysdep_headers): Likewise.
2971 [generic bits/errno.h] (before-compile): Do not append to
2973 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2975 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2976 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2977 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2978 [generic bits/errno.h] (common-generated): Do not append to
2980 [generic bits/ioctls.h] (before-compile): Do not append to
2982 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2984 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2985 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2986 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2988 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2989 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2990 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2991 [generic bits/ioctls.h] (common-generated): Do not append to
2993 [generic sys/syscall.h] (syscall.h): Remove variable.
2994 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2996 [generic sys/syscall.h] (before-compile): Do not append to
2998 [generic sys/syscall.h] (common-generated): Likewise.
2999 * sysdeps/unix/errnos-tmpl.c: Remove file.
3000 * sysdeps/unix/errnos.awk: Likewise.
3001 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3002 * sysdeps/unix/ioctls.awk: Likewise.
3003 * sysdeps/unix/mk-local_lim.c: Likewise.
3004 * sysdeps/unix/snarf-ioctls: Likewise.
3006 2012-03-19 Richard Henderson <rth@twiddle.net>
3008 * sysdeps/i386/fpu/fenv_private.h: New file.
3009 * sysdeps/i386/fpu/math_private.h: Use it.
3010 (math_opt_barrier, math_force_eval): Remove.
3011 (libc_feholdexcept_setround_53bit): Remove.
3012 (libc_feupdateenv_53bit): Remove.
3013 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3014 (math_opt_barrier, math_force_eval): Remove.
3015 (libc_feholdexcept): Remove.
3016 (libc_feholdexcept_setround): Remove.
3017 (libc_fetestexcept, libc_fesetenv): Remove.
3018 (libc_feupdateenv_test): Remove.
3019 (libc_feupdateenv, libc_feholdsetround): Remove.
3020 (libc_feresetround): Remove.
3022 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3023 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3025 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3026 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3027 (libc_feupdateenv_testl): New.
3028 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3029 (libc_feupdateenv_testf): New.
3030 (libc_feupdateenv): Use libc_feupdateenv_test.
3031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3032 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3034 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3035 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3036 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3037 (libc_feresetround_noex): New.
3038 (libc_feresetround_noexf): New.
3039 (libc_feresetround_noexl): New.
3040 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3041 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3042 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3043 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3045 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3048 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3049 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3050 SET_RESTORE_ROUND_NOEX.
3051 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3052 SET_RESTORE_ROUND_NOEXF.
3053 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3054 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3055 (libc_feholdsetroundf): New.
3056 (libc_feresetround, libc_feresetroundf): New.
3058 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3059 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3060 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3062 * sysdeps/generic/math_private.h: Include <fenv.h>.
3063 (default_libc_feholdexcept): New.
3064 (default_libc_feholdexcept_setround): New.
3065 (default_libc_fesetenv, default_libc_feupdateenv): New.
3066 (libc_feholdexcept): Only define if undefined.
3067 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3068 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3069 (libc_feholdexcept_setroundl): Likewise.
3070 (libc_feholdexcept_setround_53bit): Likewise.
3071 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3072 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3073 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3074 (libc_feupdateenv_53bit): Likewise.
3075 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3076 (libc_feholdexcept): Convert from macro to inline function.
3077 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3078 (libc_fesetenv, libc_feupdateenv): Likewise.
3080 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3081 not previously defined.
3082 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3083 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3084 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3085 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3086 * sysdeps/ieee754/flt-32/math_private.h: New file.
3087 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3088 math_private.h below SET_FLOAT_WORD.
3089 (__isnan, __isinf_ns, __finite): Remove.
3090 (__isnanf, __isinf_nsf, __finitef): Remove.
3092 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3096 2012-03-17 David S. Miller <davem@davemloft.net>
3099 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3102 2012-03-16 David S. Miller <davem@davemloft.net>
3104 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3108 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3110 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3111 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3112 sysdep_routines when subdir is sysvipc.
3113 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3116 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3118 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3120 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3126 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3127 (__lround): Renamed to ...
3128 (__llround): This. Replace long int with long long int.
3129 Define lround functions as aliases of llround functions.
3130 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3132 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3134 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3135 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3136 adresses to uintptr_t. Replace "long int" and "unsigned long
3137 int" with "greg_t" on va_arg.
3139 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3141 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3142 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3144 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3145 Move e_machine check before EI_CLASS check. Handle x32
3146 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3147 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3148 SKIP_EM_IA_64 and include
3149 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3151 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3152 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3153 (add_system_dir): New macro.
3155 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3156 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3158 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3169 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3171 * math/w_j0f.c (j0f): Likewise.
3173 * math/w_j0l.c (__j0l): Likewise.
3175 * math/w_j1.c (j1): Likewise.
3177 * math/w_j1f.c (j1f): Likewise.
3179 * math/w_j1l.c (__j1l): Likewise.
3181 * math/w_jn.c (jn): Likewise.
3183 * math/w_jnf.c (jnf): Likewise.
3185 * math/w_jnl.c (__jnl): Likewise.
3187 * math/libm-test.inc (j0_test): Add more tests.
3188 (j1_test): Likewise.
3189 (jn_test): Likewise. Add trailing semicolon to existing test.
3190 (y0_test): Likewise.
3191 (y1_test): Likewise.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3197 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3198 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3199 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3200 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3201 (__tanl): Set errno for infinite argument.
3202 * sysdeps/i386/fpu/mptan.c: Remove.
3203 * sysdeps/i386/fpu/s_tan.S: Likewise.
3204 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3205 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3206 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3207 * math/libm-test.inc (tan_test): Add more tests and enable more
3208 tests for double and long double.
3209 * sysdeps/i386/fpu/libm-test-ulps: Update.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3212 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3214 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3215 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3217 2012-03-16 Roland McGrath <roland@hack.frob.com>
3219 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3220 * configure.in: Use it for both main tree and add-ons.
3221 * configure: Regenerated.
3223 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3225 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3227 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3229 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3233 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3234 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3235 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3239 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3242 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3243 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3244 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3245 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3246 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3247 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3248 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3249 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3250 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3251 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3252 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3253 * math/libm-test.inc (cos_test): Add more tests and enable more
3254 tests for long double.
3255 (sin_test): Likewise.
3256 (sincos_test): Likewise.
3257 * sysdeps/i386/fpu/libm-test-ulps: Update.
3258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3260 2012-03-16 David S. Miller <davem@davemloft.net>
3262 * sysdeps/sparc/fpu/math_private.h: New file.
3264 2012-03-15 David S. Miller <davem@davemloft.net>
3266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3274 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3280 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3281 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3283 * sysdeps/sparc/sparc-ifunc.h: New file.
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3311 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3322 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3329 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3331 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3335 2012-03-15 Andreas Jaeger <aj@suse.de>
3338 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3339 ieee754/flt-32 implementation for sin, cos and sincos.
3340 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3341 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3342 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3343 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3344 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3345 ieee754/flt-32 implementation for tan.
3347 * math/libm-test.inc (cos_test): Enable some large input tests for
3349 (sin_test): Likewise.
3350 (sincos_test): Likewise.
3351 (tan_test): Add tests for large input.
3353 * sysdeps/i386/fpu/libm-test-ulps: Update.
3355 2012-03-15 Andreas Jaeger <aj@suse.de>
3358 * math/libm-test.inc (cos_test): Add more test cases.
3359 (sin_test): Likewise.
3360 (sincos_test): Likewise.
3362 2012-03-15 Andreas Jaeger <aj@suse.de>
3365 * math/libm-test.inc (cos_test): Add a test case for large input
3367 (sin_test): Likewise.
3368 (sincos_test): Likewise.
3370 2012-03-15 Andreas Jaeger <aj@suse.de>,
3371 Joseph Myers <joseph@codesourcery.com>
3374 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3375 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3376 * sysdeps/i386/fpu/branred.c: Likewise.
3377 * sysdeps/i386/fpu/dosincos.c: Likewise.
3378 * sysdeps/i386/fpu/mpa.c: Likewise.
3379 * sysdeps/i386/fpu/s_cos.S: Likewise.
3380 * sysdeps/i386/fpu/s_sin.S: Likewise.
3381 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3382 * sysdeps/i386/fpu/sincos32.c: Likewise.
3384 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3386 (libc_feupdateenv_53bit): Define.
3387 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3389 (libc_feupdateenv_53bit): Define.
3391 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3392 53 bit (without extend i386 double precision).
3394 * math/libm-test.inc (sincos_test): Add tests for large input.
3398 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3400 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3404 2012-03-15 David S. Miller <davem@davemloft.net>
3406 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3407 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3408 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3409 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3434 fmin/fmax sysdep routines.
3435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3437 2012-03-14 David S. Miller <davem@davemloft.net>
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3443 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3444 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3445 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3516 * sysdeps/sparc/configure.in: New file.
3517 * sysdeps/sparc/configure: Generate.
3518 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3519 * configure: Regenerate.
3520 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3521 * config.make.in (have-as-vis3): New.
3522 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3523 available use -Av9d instead of -Av9a.
3524 * sysdeps/sparc/sparc64/Makefile: Likewise.
3525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3534 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3536 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3540 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3541 fzeros/fnegs to load 0x80000000 into a float register instead of
3543 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3545 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3549 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3550 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3551 ($(inst_includedir)/bits/syscall.h): Remove rule.
3552 ($(objpfx)bits/syscall.d): Include instead of
3553 $(objpfx)syscall-list.d.
3554 (generated): Change syscall-list.h and syscall-list.d to
3555 bits/syscall.h and bits/syscall.d.
3557 2012-03-14 Roland McGrath <roland@hack.frob.com>
3560 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3562 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3565 * math/s_csqrt.c: Include <float.h>.
3566 (__csqrt): Scale large or subnormal inputs.
3567 * math/s_csqrtf.c: Likewise.
3568 * math/s_csqrtl.c: Likewise.
3569 * math/libm-test.inc (csqrt_test): Add more tests.
3570 * sysdeps/i386/fpu/libm-test-ulps: Update.
3571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574 * math/libm-test.inc (hypot_test): Add more tests.
3576 2012-03-13 David S. Miller <davem@davemloft.net>
3579 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3580 double-precision for the calculation instead of scaling.
3582 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3584 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3585 manipulate bits before adding and subtracting TWO52[sx].
3586 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3587 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3589 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3591 2012-03-13 David S. Miller <davem@davemloft.net>
3593 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3594 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3596 rtld-global-offsets.h
3597 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3599 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3602 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3604 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3605 'err' in the ifdef scope in which it is actually used.
3607 * nss/nss_db/db-init.c: Include string.h
3609 2012-03-12 David S. Miller <davem@davemloft.net>
3611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3612 masking out of the most significant byte of random value used.
3613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3614 Fix coding style in previous change.
3616 * sysdeps/unix/sysv/linux/kernel-features.h
3617 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3618 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3620 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3623 2012-03-11 David S. Miller <davem@davemloft.net>
3625 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3626 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3627 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3628 for 'resultvar' otherwise things get truncated on 64-bit.
3630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3631 Fix masking out of the most significant byte of random value used.
3633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3635 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3639 2012-03-09 David S. Miller <davem@davemloft.net>
3641 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3642 variables with appropriate CPP guards.
3643 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3644 frame pointer, not the stack pointer. Correct layout comments. Fix test
3645 on resulting framesize and the management of the outregs buffer for pltexit.
3646 Preserve floating point return values across _dl_call_pltexit call.
3647 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3648 framesize and the management of the outregs buffer for pltexit.
3649 Preserve floating point return values across _dl_call_pltexit
3651 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3652 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3653 (print_exit): Fix format string for return register value.
3655 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3657 * sunrpc/Makefile (others): Add rpcgen.
3658 ($(objpfx)rpcgen): Remove special build rule and dependency on
3660 * sunrpc/rpcgen.c: New file.
3662 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3665 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3666 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3667 * sysdeps/i386/crti.S: Likewise.
3668 * sysdeps/i386/crtn.S: Likewise.
3669 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3670 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3671 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3672 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3673 * sysdeps/sh/crti.S: Likewise.
3674 * sysdeps/sh/crtn.S: Likewise.
3675 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3678 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3680 * locale/programs/locfile-kw.gperf: Likewise.
3681 * locale/programs/charmap-kw.h: Regenerated.
3682 * locale/programs/locfile-kw.h: Likewise.
3685 * intl/plural.y: Replace FSF snail mail address with URL.
3686 * intl/plural.c: Regenerated.
3688 2012-03-09 Richard Henderson <rth@twiddle.net>
3690 * include/math_private.h: Remove file.
3691 * math/math_private.h: Move file ...
3692 * sysdeps/generic/math_private.h: ... here.
3694 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3695 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3696 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3698 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3699 and <math_private.h>.
3700 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3701 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3702 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3703 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3704 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3705 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3706 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3708 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3709 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3725 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3788 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3789 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3790 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3791 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3793 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3794 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3795 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3796 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3797 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3798 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3799 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3800 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3801 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3802 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3803 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3805 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3806 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3807 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3808 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3810 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3811 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3812 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3813 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3814 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3815 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3816 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3817 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3818 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3819 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3820 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3821 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3822 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3823 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3826 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3827 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3828 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3829 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3830 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3831 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3832 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3833 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3835 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3836 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3837 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3838 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3839 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3840 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3843 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3844 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3845 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3846 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3847 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3848 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3849 * sysdeps/ieee754/k_standard.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3972 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3977 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3982 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3998 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3999 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4000 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4010 * sysdeps/ieee754/s_lib_version.c: Likewise.
4011 * sysdeps/ieee754/s_matherr.c: Likewise.
4012 * sysdeps/ieee754/s_signgam.c: Likewise.
4013 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4014 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4015 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4016 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4017 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4018 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4019 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4020 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4021 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4022 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4023 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4024 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4025 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4026 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4027 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4028 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4029 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4030 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4031 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4035 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4037 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4038 * sunrpc/rpc_main.c: Likewise.
4039 * sunrpc/rpc_svcout.c: Likewise.
4041 2012-03-09 David S. Miller <davem@davemloft.net>
4043 * include/math_private.h: New file.
4045 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4047 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4048 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4049 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4050 from <bits/socket_type.h>.
4051 (enum __socket_type): Don't define here.
4052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4053 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4057 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4060 * Makerules ($(inst_includedir)/%.h): New rule.
4061 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4062 (install-others): Remove variable setting.
4063 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4065 2012-03-08 Richard Henderson <rth@twiddle.net>
4067 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4068 from macro to inline function; merge with the
4069 !__LIBC_INTERNAL_MATH_INLINES version.
4070 (__ieee754_sqrtf): Likewise.
4072 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4074 (__rintf, __floor, __floorf): Likewise.
4076 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4077 macro to inline function.
4078 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4081 not <math/math_private.h>.
4083 2012-03-08 David S. Miller <davem@davemloft.net>
4085 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4087 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4089 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4091 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4093 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4094 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4096 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4098 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4099 be defined individually, they must be defined as a block. Define
4100 S for printing a string instead of hidint the different by using a
4101 macro for adding the 'l'.
4102 * stdio-common/tst-fphex-wide.c: Adjust.
4104 2012-03-07 Marek Polacek <polacek@redhat.com>
4106 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4108 2012-03-08 Marek Polacek <polacek@redhat.com>
4111 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4112 * stdio-common/tst-fphex.c: Define a few macros to make the
4113 test reusable. Use them.
4114 * stdio-common/tst-fphex-wide.c: New file.
4116 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4119 * manual/macros.texi (gnusystems): New macro.
4120 (nongnusystems): Likewise.
4121 (gnulinuxhurdsystems): Likewise.
4122 (gnuhurdsystems): Likewise..
4123 (gnulinuxsystems): Likewise.
4124 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4125 variants of the GNU system, not "GNU system".
4126 * manual/conf.texi: Likewise.
4127 * manual/errno.texi: Likewise. Update example of errno macro
4129 * manual/filesys.texi: Likewise.
4130 (getumask): Document as specific to GNU/Hurd.
4131 * manual/install.texi: Likewise. Reword some references to
4133 * manual/intro.texi: Likewise.
4134 * manual/io.texi: Likewise.
4135 (File Name Portability): Detail which constraints are inapplicable
4136 to all GNU systems and which are only inapplicable to GNU/Hurd.
4137 * manual/job.texi: Likewise.
4138 * manual/llio.texi: Likewise.
4139 (O_NOCTTY): Document as present on GNU/Linux.
4140 * manual/maint.texi: Likewise.
4141 * manual/memory.texi: Likewise.
4142 * manual/pattern.texi: Likewise.
4143 * manual/pipe.texi: Likewise.
4144 * manual/process.texi: Likewise.
4145 * manual/resource.texi: Likewise.
4146 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4148 * manual/setjmp.texi: Likewise.
4149 * manual/signal.texi: Likewise.
4150 * manual/startup.texi: Likewise.
4151 * manual/stdio.texi: Likewise.
4152 * manual/terminal.texi: Likewise.
4153 (ONLCR): Document as POSIX.
4154 (OXTABS): Document availability on GNU/Linux as XTABS.
4155 (ONOEOT): Document availability separately from other bits.
4156 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4157 * manual/time.texi: Likewise.
4158 * manual/users.texi: Likewise.
4159 * INSTALL: Regenerated.
4160 * sysdeps/gnu/errlist.c: Regenerated.
4162 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4163 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4164 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4166 * configure: Regenerated.
4168 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4170 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4171 default includes instead of AC_HEADER_CHECK.
4172 * sysdeps/i386/configure: Regenerated.
4175 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4176 * math/s_cacoshf.c (__cacoshf): Likewise.
4177 * math/s_cacoshl.c (__cacoshl): Likewise.
4178 * math/s_casinh.c (__casinh): Set signs of result from argument.
4179 * math/s_casinhf.c (__casinhf): Likewise.
4180 * math/s_casinhl.c (__casinhl): Likewise.
4181 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4182 (casinh_test): Add more tests.
4183 * sysdeps/i386/fpu/libm-test-ulps: Update.
4184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4186 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4188 * po/zh_TW.po: Update from translation team.
4190 * login/Makefile (distribute): Remove variable.
4191 * catgets/Makefile: Likewise.
4192 * mach/Makefile: Likewise.
4193 * malloc/Makefile: Likewise.
4194 * misc/Makefile: Likewise.
4195 * iconv/Makefile: Likewise.
4196 * nscd/Makefile: Likewise.
4197 * hurd/Makefile: Likewise.
4198 * manual/Makefile: Likewise.
4199 * locale/Makefile: Likewise.
4200 * intl/Makefile: Likewise.
4201 * conform/Makefile: Likewise.
4202 * nss/Makefile: Likewise.
4203 * time/Makefile: Likewise.
4204 * soft-fp/Makefile: Likewise.
4205 * dirent/Makefile: Likewise.
4206 * gmon/Makefile: Likewise.
4207 * po/Makefile: Likewise.
4208 * rt/Makefile: Likewise.
4209 * socket/Makefile: Likewise.
4210 * math/Makefile: Likewise.
4211 * signal/Makefile: Likewise.
4212 * debug/Makefile: Likewise.
4213 * elf/Makefile: Likewise.
4214 * timezone/Makefile: Likewise.
4215 * stdlib/Makefile: Likewise.
4216 * iconvdata/Makefile: Likewise.
4217 * sunrpc/Makefile: Likewise.
4218 * io/Makefile: Likewise.
4219 * argp/Makefile: Likewise.
4220 * inet/Makefile: Likewise.
4221 * hesiod/Makefile: Likewise.
4222 * grp/Makefile: Likewise.
4223 * csu/Makefile: Likewise.
4224 * wctype/Makefile: Likewise.
4225 * crypt/Makefile: Likewise.
4226 * libio/Makefile: Likewise.
4227 * string/Makefile: Likewise.
4228 * nis/Makefile: Likewise.
4229 * resolv/Makefile: Likewise.
4230 * stdio-common/Makefile: Likewise.
4231 * wcsmbs/Makefile: Likewise.
4232 * dlfcn/Makefile: Likewise.
4233 * posix/Makefile: Likewise.
4236 * timezone/Makefile: Don't install timezone files, just the programs
4239 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4241 * nss/databases.def: Add missing gshadow entry.
4243 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4245 2012-03-06 Marek Polacek <polacek@redhat.com>
4248 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4249 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4250 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4251 * stdio-common/tst-long-dbl-fphex.c: New file.
4253 2012-03-06 David S. Miller <davem@davemloft.net>
4255 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4256 (set_obp_int): New function.
4257 (get_obp_int): New function.
4258 (__get_clockfreq_via_dev_openprom): Likewise.
4259 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4260 Avoid unused variable warnings on 'val' and use builtin_expect.
4261 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4263 (INLINE_CLONE_SYSCALL): Likewise.
4265 2012-03-05 David S. Miller <davem@davemloft.net>
4267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4269 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4273 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4277 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4280 Replace gettimeofday with __vdso_gettimeofday.
4282 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4283 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4284 __vdso_clock_gettime and __vdso_getcpu.
4286 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4287 time with __vdso_time.
4289 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4291 * manual/lang.texi (size_t): Note types to which size_t may be
4292 equivalent with the GNU C Library, but do not describe when
4293 differences between them are significant.
4295 2012-03-05 Andreas Jaeger <aj@suse.de>
4297 * sysdeps/i386/fpu/libm-test-ulps: Update.
4299 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4302 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4303 (__ieee754_pow): Save and restore rounding mode and use
4304 round-to-nearest for main computations.
4305 * math/libm-test.inc (pow_test_tonearest): New function.
4306 (pow_test_towardzero): Likewise.
4307 (pow_test_downward): Likewise.
4308 (pow_test_upward): Likewise.
4309 (main): Call the new functions.
4310 * sysdeps/i386/fpu/libm-test-ulps: Update.
4311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4314 * math/libm-test.inc (cosh_test_tonearest): New function.
4315 (cosh_test_towardzero): Likewise.
4316 (cosh_test_downward): Likewise.
4317 (cosh_test_upward): Likewise.
4318 (sinh_test_tonearest): Likewise.
4319 (sinh_test_towardzero): Likewise.
4320 (sinh_test_downward): Likewise.
4321 (sinh_test_upward): Likewise.
4322 (main): Call the new functions.
4323 * sysdeps/i386/fpu/libm-test-ulps: Update.
4324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4326 2012-03-05 Tom de Vries <tom@codesourcery.com>
4328 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4329 default stack guard is set in last bytes.
4330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4332 2012-03-05 Kees Cook <keescook@chromium.org>
4334 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4337 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4338 possibly allocate from heap instead of stack.
4339 * stdio-common/bug-vfprintf-nargs.c: New file.
4340 * stdio-common/Makefile (tests): Add nargs overflow test.
4342 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4346 2012-03-03 Marek Polacek <polacek@redhat.com>
4348 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4349 * math/math_private.h: Likewise.
4350 * stdlib/tst-strtod.c: Likewise.
4351 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4352 * sysdeps/x86_64/bits/atomic.h: Likewise.
4354 2012-03-02 David S. Miller <davem@davemloft.net>
4356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4360 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4361 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4362 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4363 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4365 2012-03-02 Roland McGrath <roland@hack.frob.com>
4368 * manual/examples/README: New file, says the example source files
4369 can be used under GPL>=2.
4370 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4371 line containing just "*/".
4372 * manual/examples/add.c: Add copyright header (GPL>=2).
4373 * manual/examples/argp-ex1.c: Likewise.
4374 * manual/examples/argp-ex2.c: Likewise.
4375 * manual/examples/argp-ex3.c: Likewise.
4376 * manual/examples/argp-ex4.c: Likewise.
4377 * manual/examples/atexit.c: Likewise.
4378 * manual/examples/db.c: Likewise.
4379 * manual/examples/dir.c: Likewise.
4380 * manual/examples/dir2.c: Likewise.
4381 * manual/examples/execinfo.c: Likewise.
4382 * manual/examples/filecli.c: Likewise.
4383 * manual/examples/filesrv.c: Likewise.
4384 * manual/examples/fmtmsgexpl.c: Likewise.
4385 * manual/examples/genpass.c: Likewise.
4386 * manual/examples/inetcli.c: Likewise.
4387 * manual/examples/inetsrv.c: Likewise.
4388 * manual/examples/isockad.c: Likewise.
4389 * manual/examples/longopt.c: Likewise.
4390 * manual/examples/memopen.c: Likewise.
4391 * manual/examples/memstrm.c: Likewise.
4392 * manual/examples/mkfsock.c: Likewise.
4393 * manual/examples/mkisock.c: Likewise.
4394 * manual/examples/mygetpass.c: Likewise.
4395 * manual/examples/pipe.c: Likewise.
4396 * manual/examples/popen.c: Likewise.
4397 * manual/examples/rprintf.c: Likewise.
4398 * manual/examples/search.c: Likewise.
4399 * manual/examples/select.c: Likewise.
4400 * manual/examples/setjmp.c: Likewise.
4401 * manual/examples/sigh1.c: Likewise.
4402 * manual/examples/sigusr.c: Likewise.
4403 * manual/examples/stpcpy.c: Likewise.
4404 * manual/examples/strdupa.c: Likewise.
4405 * manual/examples/strftim.c: Likewise.
4406 * manual/examples/strncat.c: Likewise.
4407 * manual/examples/subopt.c: Likewise.
4408 * manual/examples/swapcontext.c: Likewise.
4409 * manual/examples/termios.c: Likewise.
4410 * manual/examples/testopt.c: Likewise.
4411 * manual/examples/testpass.c: Likewise.
4412 * manual/examples/timeval_subtract.c: Likewise.
4415 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4417 * manual/timeval_subtract.c.texi: ... here, new file.
4419 2012-03-02 David S. Miller <davem@davemloft.net>
4421 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4423 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4426 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4427 (__sin): Save and restore rounding mode and use round-to-nearest
4428 for all computations.
4429 (__cos): Save and restore rounding mode and use round-to-nearest
4430 for all computations.
4431 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4433 (tan): Save and restore rounding mode and use round-to-nearest for
4435 * math/libm-test.inc (cos_test_tonearest): New function.
4436 (cos_test_towardzero): Likewise.
4437 (cos_test_downward): Likewise.
4438 (cos_test_upward): Likewise.
4439 (sin_test_tonearest): Likewise.
4440 (sin_test_towardzero): Likewise.
4441 (sin_test_downward): Likewise.
4442 (sin_test_upward): Likewise.
4443 (tan_test_tonearest): Likewise.
4444 (tan_test_towardzero): Likewise.
4445 (tan_test_downward): Likewise.
4446 (tan_test_upward): Likewise.
4447 (main): Call the new functions.
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4452 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4453 small n, then large n, before computing and testing k+n.
4454 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4455 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4459 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4460 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4461 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4462 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4463 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4465 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4466 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4467 * math/libm-test.inc (scalbn_test): Add more tests.
4468 (scalbln_test): Likewise.
4470 * manual/filesys.texi (mode_t): Describe constraints on size and
4471 signedness, not exact equivalence to a particular type.
4473 (ino64_t): Likewise.
4475 (nlink_t): Likewise.
4476 (blkcnt_t): Likewise.
4477 (blkcnt64_t): Likewise.
4478 * manual/llio.texi (off_t): Likewise.
4481 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4482 (__ieee754_exp): Save and restore rounding mode and use
4483 round-to-nearest for all computations.
4484 * math/libm-test.inc (exp_test_tonearest): New function.
4485 (exp_test_towardzero): Likewise.
4486 (exp_test_downward): Likewise.
4487 (exp_test_upward): Likewise.
4488 (main): Call the new functions.
4489 * sysdeps/i386/fpu/libm-test-ulps: Update.
4490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4492 2012-03-01 Chris Demetriou <cgd@google.com>
4494 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4495 have predictable order.
4497 2012-03-01 David S. Miller <davem@davemloft.net>
4499 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4501 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4502 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4503 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4504 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4506 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4507 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4508 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4510 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4511 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4512 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4513 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4514 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4518 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4519 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4520 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4522 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4523 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4524 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4525 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4526 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4529 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4530 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4531 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4532 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4535 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4538 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4539 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4540 * sysdeps/sparc/elf/configure: Regenerated.
4542 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4544 * configure.in (AS, LD): Require binutils 2.20 or later.
4545 * configure: Regenerated.
4546 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4547 as required minimum version.
4548 * INSTALL: Regenerated.
4552 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4553 before squaring exponent.
4554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4555 bottom long double and 27 bits of top long double before squaring
4557 * math/libm-test.inc (erfc_test): Add more tests.
4558 * sysdeps/i386/fpu/libm-test-ulps: Update.
4559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4562 2012-03-01 Kai Tietz <ktietz@redhat.com>
4564 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4565 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4566 containing bit-fields.
4567 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4568 * soft-fp/single.h (_FP_UNION_S): Likewise.
4569 * soft-fp/double.h (_FP_UNION_D): Likewise.
4571 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4574 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4575 not include ../strcmp.S.
4576 [USE_AS_STRNCASECMP_L]: Likewise.
4577 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4578 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4579 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4580 (__strncasecmp_l_ia32): Define as alias to
4581 __strncasecmp_l_nonascii.
4584 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4585 * sysdeps/i386/fpu/libm-test-ulps: Update.
4586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4588 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4591 2012-02-29 Jeff Law <law@redhat.com>
4593 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4596 2012-02-29 Marek Polacek <polacek@redhat.com>
4599 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4600 * elf/Makefile: Add rules to run tst-unused-dep.out.
4602 2012-02-28 David S. Miller <davem@davemloft.net>
4604 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4605 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4606 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4607 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4609 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4611 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4613 * math/libm-test.inc (llround_test): Move one test from
4614 lround_test. Use TEST_f_L in moved test.
4615 (lround_test): Move misplaced test to llround_test. Add testcase
4618 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4620 * sysdeps/x86_64/fpu/e_expf.S: New file.
4621 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4623 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4626 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4627 of remain_len that may cause incomplete multi-byte character and
4629 * posix/bug-regex33.c: New file.
4630 * posix/Makefile (tests): Add bug-regex33.
4632 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4634 * manual/macros.texi: New file.
4635 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4636 * manual/libc.texinfo: Include macros.texi.
4637 * manual/creatute.texi: Likewise.
4638 * manual/install.texi: Likewise.
4639 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4640 @glibcadj{} in references to the GNU C Library.
4641 * manual/charset.texi: Likewise.
4642 * manual/conf.texi: Likewise.
4643 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4644 when not using those macros.
4645 * manual/creature.texi: Likewise.
4646 * manual/crypt.texi: Likewise.
4647 * manual/errno.texi: Likewise.
4648 * manual/filesys.texi: Likewise.
4649 * manual/header.texi: Likewise.
4650 * manual/install.texi: Likewise.
4651 * manual/intro.texi: Likewise.
4652 * manual/io.texi: Likewise.
4653 * manual/job.texi: Likewise.
4654 * manual/lang.texi: Likewise.
4655 * manual/libc.texiinfo: Likewise.
4656 * manual/llio.texi: Likewise.
4657 * manual/locale.texi: Likewise.
4658 * manual/maint.texi: Likewise.
4659 * manual/math.texi: Likewise.
4660 * manual/memory.texi: Likewise.
4661 * manual/message.texi: Likewise.
4662 * manual/nss.texi: Likewise.
4663 * manual/pattern.texi: Likewise.
4664 * manual/process.texi: Likewise.
4665 * manual/resource.texi: Likewise.
4666 * manual/search.texi: Likewise.
4667 * manual/setjmp.texi: Likewise.
4668 * manual/signal.texi: Likewise.
4669 * manual/socket.texi: Likewise.
4670 * manual/startup.texi: Likewise.
4671 * manual/stdio.texi: Likewise.
4672 * manual/string.texi: Likewise.
4673 * manual/sysinfo.texi: Likewise.
4674 * manual/syslog.texi: Likewise.
4675 * manual/terminal.texi: Likewise.
4676 * manual/time.texi: Likewise.
4677 * manual/users.texi: Likewise.
4678 * INSTALL: Regenerated.
4679 * NOTES: Regenerated.
4680 * sysdeps/gnu/errlist.c: Regenerated.
4682 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4684 * include/dirent.h: Include <dirstream.h> before
4687 2012-02-28 David S. Miller <davem@davemloft.net>
4689 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4690 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4691 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4692 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4694 2012-02-27 David S. Miller <davem@davemloft.net>
4696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4698 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4699 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4702 frame pointer instead of stack pointer relative arg slot.
4703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4704 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4705 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4707 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4710 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4712 2012-02-27 David S. Miller <davem@davemloft.net>
4714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4718 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4719 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4720 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4721 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4723 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4725 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4726 later. Allow versions 5-9.
4727 * configure: Regenerated.
4728 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4729 required minimum version and 4.6 as recommended version. Do not
4730 mention bugs in GCC 2.7 and 2.8.
4731 * INSTALL: Regenerated.
4733 2012-02-27 David S. Miller <davem@davemloft.net>
4735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4741 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4742 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4745 manipulate bits before adding and subtracting TWO112[sx].
4746 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4748 2012-02-27 Roland McGrath <roland@hack.frob.com>
4751 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4752 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4753 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4754 being in POSIX, because they are in 1003.1-2008.
4756 * rt/tst-aio.c: Include <fcntl.h>.
4757 * rt/tst-aio7.c: Likewise.
4758 * rt/tst-aio64.c: Likewise.
4760 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4762 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4764 * manual/install.texi (--with-headers): Describe headers as
4765 interface headers, not private headers.
4766 (Specific advice for GNU/Linux systems): Describe use of headers
4767 from "make headers_install", not private headers from older
4769 * INSTALL: Regenerated.
4770 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4772 * sysdeps/unix/sysv/linux/configure: Regenerated.
4774 * manual/llio.texi (fclean): Remove documentation.
4776 * manual/Makefile (libc-texi-generated): New variable. Include
4778 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4779 $(libc-texi-generated), not duplicated list of files.
4780 (version.texi, stamp-version): New rules.
4781 (realclean): Remove $(libc-texi-generated), not individual files
4782 from that list. Do not remove dir-add.texinfo.
4783 * manual/libc.texinfo: Comment out uses of edition numbers and
4784 references to printed manual. Remove last-updated dates.
4785 (EDITION): Comment out.
4787 (VERSION, UPDATED): Remove.
4788 (version.texi): Include.
4790 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4792 * sysdeps/posix/spawni.c: Include <signal.h>.
4793 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4794 * sysdeps/pthread/aio_fsync.c: Likewise.
4796 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4798 * conform/Makefile (tests): Run only when not cross-compiling and
4799 when fast-check is not defined.
4801 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4802 * conform/data/limits.h-data: Fixes for POSIX2008.
4803 * conform/run-conformtest.sh: Run all tests.
4804 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4806 * include/bits/dlfcn.h: Likewise.
4807 * include/langinfo.h: Likewise.
4808 * include/monetary.h: Likewise.
4809 * include/sys/poll.h: Likewise.
4811 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4813 * posix/spawn.h: Define __need_sigset_t.
4814 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4815 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4816 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4817 to get sigevent_t only.
4818 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4821 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4822 process_vm_writev only for __USE_GNU.
4823 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4825 * conform/Makefile: For now ignore errors from run-conformtest.
4826 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4827 POSIX to avoid namespace pollution. Don't prepend headers.
4828 * conform/data/aio.h-data: Fixes for POSIX testing.
4829 * conform/data/fcntl.h-data: Likewise.
4830 * conform/data/glob.h-data: Likewise.
4831 * conform/data/grp.h-data: Likewise.
4832 * conform/data/pthread.h-data: Likewise.
4833 * conform/data/pwd.h-data: Likewise.
4834 * conform/data/signal.h-data: Likewise.
4835 * conform/data/spawn.h-data: Likewise.
4836 * conform/data/stdio.h-data: Likewise.
4837 * conform/data/stdlib.h-data: Likewise.
4838 * conform/data/stropts.h-data: Likewise.
4839 * conform/data/sys/mman.h-data: Likewise.
4840 * conform/data/sys/stat.h-data: Likewise.
4841 * conform/data/sys/types.h-data: Likewise.
4842 * conform/data/sys/wait.h-data: Likewise.
4843 * conform/data/time.h-data: Likewise.
4844 * conform/data/unistd.h-data: Likewise.
4845 * conform/data/utime.h-data: Likewise.
4847 * io/sys/stat.h: fchmod was always in POSIX.
4848 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4849 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4850 * rt/aio.h: Define __need_timespec before including <time.h>.
4851 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4852 struct. Add forward declaration of pthread_attr_t and use it in
4854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4855 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4856 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4857 always remove CLK_TCK definition.
4859 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4861 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4863 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4865 * conform/run-conformtest.sh: New file.
4866 * conform/Makefile: Run run-conformtest for tests.
4867 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4870 * conform/data/uchar.h-data: New file.
4871 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4872 * conform/data/arpa/inet.h-data: Likewise.
4873 * conform/data/assert.h-data: Likewise.
4874 * conform/data/complex.h-data: Likewise.
4875 * conform/data/cpio.h-data: Likewise.
4876 * conform/data/ctype.h-data: Likewise.
4877 * conform/data/dirent.h-data: Likewise.
4878 * conform/data/dlfcn.h-data: Likewise.
4879 * conform/data/errno.h-data: Likewise.
4880 * conform/data/fcntl.h-data: Likewise.
4881 * conform/data/float.h-data: Likewise.
4882 * conform/data/fmtmsg.h-data: Likewise.
4883 * conform/data/fnmatch.h-data: Likewise.
4884 * conform/data/ftw.h-data: Likewise.
4885 * conform/data/glob.h-data: Likewise.
4886 * conform/data/grp.h-data: Likewise.
4887 * conform/data/iconv.h-data: Likewise.
4888 * conform/data/inttypes.h-data: Likewise.
4889 * conform/data/langinfo.h-data: Likewise.
4890 * conform/data/libgen.h-data: Likewise.
4891 * conform/data/limits.h-data: Likewise.
4892 * conform/data/locale.h-data: Likewise.
4893 * conform/data/math.h-data: Likewise.
4894 * conform/data/monetary.h-data: Likewise.
4895 * conform/data/mqueue.h-data: Likewise.
4896 * conform/data/ndbm.h-data: Likewise.
4897 * conform/data/net/if.h-data: Likewise.
4898 * conform/data/netdb.h-data: Likewise.
4899 * conform/data/netinet/in.h-data: Likewise.
4900 * conform/data/nl_types.h-data: Likewise.
4901 * conform/data/poll.h-data: Likewise.
4902 * conform/data/pthread.h-data: Likewise.
4903 * conform/data/pwd.h-data: Likewise.
4904 * conform/data/regex.h-data: Likewise.
4905 * conform/data/sched.h-data: Likewise.
4906 * conform/data/search.h-data: Likewise.
4907 * conform/data/semaphore.h-data: Likewise.
4908 * conform/data/setjmp.h-data: Likewise.
4909 * conform/data/signal.h-data: Likewise.
4910 * conform/data/spawn.h-data: Likewise.
4911 * conform/data/stdarg.h-data: Likewise.
4912 * conform/data/stdio.h-data: Likewise.
4913 * conform/data/stdlib.h-data: Likewise.
4914 * conform/data/string.h-data: Likewise.
4915 * conform/data/strings.h-data: Likewise.
4916 * conform/data/stropts.h-data: Likewise.
4917 * conform/data/sys/ipc.h-data: Likewise.
4918 * conform/data/sys/mman.h-data: Likewise.
4919 * conform/data/sys/msg.h-data: Likewise.
4920 * conform/data/sys/resource.h-data: Likewise.
4921 * conform/data/sys/select.h-data: Likewise.
4922 * conform/data/sys/sem.h-data: Likewise.
4923 * conform/data/sys/shm.h-data: Likewise.
4924 * conform/data/sys/socket.h-data: Likewise.
4925 * conform/data/sys/stat.h-data: Likewise.
4926 * conform/data/sys/statvfs.h-data: Likewise.
4927 * conform/data/sys/time.h-data: Likewise.
4928 * conform/data/sys/timeb.h-data: Likewise.
4929 * conform/data/sys/times.h-data: Likewise.
4930 * conform/data/sys/types.h-data: Likewise.
4931 * conform/data/sys/uio.h-data: Likewise.
4932 * conform/data/sys/un.h-data: Likewise.
4933 * conform/data/sys/utsname.h-data: Likewise.
4934 * conform/data/sys/wait.h-data: Likewise.
4935 * conform/data/syslog.h-data: Likewise.
4936 * conform/data/tar.h-data: Likewise.
4937 * conform/data/termios.h-data: Likewise.
4938 * conform/data/utime.h-data: Likewise.
4939 * conform/data/utmpx.h-data: Likewise.
4940 * conform/data/varargs.h-data: Likewise.
4941 * conform/data/wchar.h-data: Likewise.
4942 * conform/data/wctype.h-data: Likewise.
4943 * conform/data/wordexp.h-data: Likewise.
4945 * include/stropts.h: New file.
4946 * include/uchar.h: New file.
4947 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4948 * include/assert.h: Likewise.
4949 * include/ctype.h: Likewise.
4950 * include/dirent.h: Likewise.
4951 * include/dlfcn.h: Likewise.
4952 * include/fcntl.h: Likewise.
4953 * include/fnmatch.h: Likewise.
4954 * include/glob.h: Likewise.
4955 * include/grp.h: Likewise.
4956 * include/libio.h: Likewise.
4957 * include/locale.h: Likewise.
4958 * include/math.h: Likewise.
4959 * include/net/if.h: Likewise.
4960 * include/netdb.h: Likewise.
4961 * include/netinet/in.h: Likewise.
4962 * include/pthread.h: Likewise.
4963 * include/pwd.h: Likewise.
4964 * include/regex.h: Likewise.
4965 * include/sched.h: Likewise.
4966 * include/search.h: Likewise.
4967 * include/setjmp.h: Likewise.
4968 * include/signal.h: Likewise.
4969 * include/stdio.h: Likewise.
4970 * include/stdlib.h: Likewise.
4971 * include/string.h: Likewise.
4972 * include/sys/cdefs.h: Likewise.
4973 * include/sys/mman.h: Likewise.
4974 * include/sys/msg.h: Likewise.
4975 * include/sys/resource.h: Likewise.
4976 * include/sys/select.h: Likewise.
4977 * include/sys/socket.h: Likewise.
4978 * include/sys/stat.h: Likewise.
4979 * include/sys/statvfs.h: Likewise.
4980 * include/sys/time.h: Likewise.
4981 * include/sys/times.h: Likewise.
4982 * include/sys/uio.h: Likewise.
4983 * include/sys/utsname.h: Likewise.
4984 * include/sys/wait.h: Likewise.
4985 * include/termios.h: Likewise.
4986 * include/time.h: Likewise.
4987 * include/ulimit.h: Likewise.
4988 * include/unistd.h: Likewise.
4989 * include/utime.h: Likewise.
4990 * include/wchar.h: Likewise.
4991 * include/wctype.h: Likewise.
4992 * include/wordexp.h: Likewise.
4994 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4996 * time/time.h: TIME_UTC must be a macro.
4997 Make timespec_get available for ISO C11 only as well.
4999 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5001 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5002 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5004 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5006 * configure.in: Use -o not -a in test for unsupported multi-arch.
5008 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5010 * manual/texinfo.tex: Update to version 2012-01-19.16.
5012 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5014 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5016 2012-02-24 Roland McGrath <roland@hack.frob.com>
5019 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5020 * manual/fdl-1.3.texi: New file.
5021 * manual/fdl-1.1.texi: File removed.
5024 * manual/libc.texinfo (FDL_VERSION): New @set.
5025 Use it for mention of FDL in cover text.
5026 (Documentation License): Use it in @include file name.
5028 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5029 Roland McGrath <roland@hack.frob.com>
5032 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5033 not LONG_LONG_MAX and LONG_LONG_MIN.
5034 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5035 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5037 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5039 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5043 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5044 manipulate bits before adding and subtracting TWO23[sx].
5045 * math/libm-test.inc (nearbyint_test): Add more tests.
5047 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5050 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5051 bits before adding and subtracting TWO23[sx].
5052 * math/libm-test.inc (rint_test): Add more tests.
5053 (rint_test_tonearest): Likewise.
5054 (rint_test_towardzero): Likewise.
5055 (rint_test_downward): Likewise.
5056 (rint_test_upward: Likewise.
5058 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5061 * include/stdc-predef.h: New file. Extracted from features.h.
5062 * include/features.h: Include stdc-predef.h.
5063 * Makefile (headers): Add stdc-predef.h.
5064 * CONFORMANCE (Compiler limitations): Update.
5066 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5068 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5070 2012-02-21 David S. Miller <davem@davemloft.net>
5072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5073 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5075 2012-02-20 David S. Miller <davem@davemloft.net>
5077 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5078 using a normal save/restore sequence, rather than allocating a
5079 dummy stack frame just to store a frame pointer and restore.
5080 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5082 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5084 * manual/install.texi: Fix stray word in line-wrapped comment.
5086 2012-02-20 David S. Miller <davem@davemloft.net>
5088 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5089 both binutils and gcc support GOTDATA.
5091 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5092 "rd %pc" in the PIC register setup sequences.
5094 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5095 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5096 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5097 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5098 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5101 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5103 (SYSCALL_ERROR_HANDLER): Likewise.
5104 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5107 (SYSCALL_ERROR_HANDLER): Likewise.
5109 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5110 (HAVE_GCC_GOTDATA): New.
5111 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5112 relocation support in both binutils and gcc.
5113 * sysdeps/sparc/elf/configure: Regenerate.
5115 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5116 * sysdeps/sparc/sparc32/elf/configure: Delete.
5117 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5118 * sysdeps/sparc/sparc64/elf/configure: Delete.
5119 * sysdeps/sparc/elf/configure.in: New file.
5120 * sysdeps/sparc/elf/configure: Generate.
5122 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5123 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5124 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5125 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5126 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5128 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5130 * manual/install.texi: Do not mention specific glibc version
5132 * manual/libc.texinfo (VERSION, UPDATED): Update.
5133 (@copying): Use @copyright{} and range of years.
5135 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5138 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5139 [crti.S not in sysdirs] (generated): Do not append.
5140 [crti.S not in sysdirs] (omit-deps): Likewise.
5141 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5142 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5143 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5144 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5145 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5147 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5148 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5149 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5150 * csu/defs.awk: Remove file.
5151 * sysdeps/generic/initfini.c: Likewise.
5152 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5154 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5157 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5159 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5160 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5161 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5162 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5163 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5164 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5166 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5167 (__EPOLL_PACKED): Define to empty if not defined by
5169 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5173 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5175 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5176 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5177 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5178 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5180 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5184 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5186 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5188 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5189 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5190 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5193 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5195 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5196 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5198 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5200 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5201 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5203 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5205 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5208 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5210 * math/w_acos.c: Use non-signaling floating-point comparisons.
5211 * math/w_acosf.c: Likewise.
5212 * math/w_acosh.c: Likewise.
5213 * math/w_acoshf.c: Likewise.
5214 * math/w_acoshl.c: Likewise.
5215 * math/w_acosl.c: Likewise.
5216 * math/w_asin.c: Likewise.
5217 * math/w_asinf.c: Likewise.
5218 * math/w_asinl.c: Likewise.
5219 * math/w_atanh.c: Likewise.
5220 * math/w_atanhf.c: Likewise.
5221 * math/w_atanhl.c: Likewise.
5222 * math/w_exp2.c: Likewise.
5223 * math/w_exp2f.c: Likewise.
5224 * math/w_exp2l.c: Likewise.
5225 * math/w_j0.c: Likewise.
5226 * math/w_j0f.c: Likewise.
5227 * math/w_j0l.c: Likewise.
5228 * math/w_j1.c: Likewise.
5229 * math/w_j1f.c: Likewise.
5230 * math/w_j1l.c: Likewise.
5231 * math/w_jn.c: Likewise.
5232 * math/w_jnf.c: Likewise.
5233 * math/w_log.c: Likewise.
5234 * math/w_log10.c: Likewise.
5235 * math/w_log10f.c: Likewise.
5236 * math/w_log10l.c: Likewise.
5237 * math/w_log2.c: Likewise.
5238 * math/w_log2f.c: Likewise.
5239 * math/w_log2l.c: Likewise.
5240 * math/w_logf.c: Likewise.
5241 * math/w_logl.c: Likewise.
5242 * math/w_sqrt.c: Likewise.
5243 * math/w_sqrtf.c: Likewise.
5244 * math/w_sqrtl.c: Likewise.
5245 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5246 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5248 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5251 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5254 * manual/string.texi (strnlen): Use correct parameter name in
5255 equivalent expression.
5257 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5260 * manual/users.texi (seteuid): Consistently use neweuid for
5263 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5266 * manual/nss.texi (Services in the NSS configuration): Correct
5267 list of services in example configuration file.
5269 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5272 * manual/arith.texi: Remove statements about negative zero
5273 behaving identically to zero.
5275 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5278 * manual/install.texi: Do not document upgrading from libc5.
5280 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5283 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5285 2012-02-18 David S. Miller <davem@davemloft.net>
5287 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5288 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5289 %o7 across the call.
5290 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5292 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5295 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5296 * sysdeps/sparc/crtn.S: Likewise.
5298 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5300 * aout/Makefile: Remove.
5302 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5305 * manual/examples/argp-ex1.c (main): Format definition in GNU
5307 * manual/examples/argp-ex2.c (main): Likewise.
5308 * manual/examples/argp-ex3.c (main): Likewise.
5309 * manual/examples/argp-ex4.c (main): Likewise.
5310 * manual/examples/longopt.c (main): Use new-style prototype
5312 * manual/examples/strncat.c (main): Specify return type and use
5313 (void) for arguments.
5314 * manual/examples/subopt.c (main): Use char **argv argument.
5316 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5319 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5322 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5325 * manual/string.texi (strchr): Change when strchrnul is
5328 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5331 * manual/locale.texi (setlocale): Document LOCPATH.
5333 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5336 * manual/process.texi (execle): Move @dots{} before last argument.
5338 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5341 * manual/charset.texi (Generic Charset Conversion): Fix typo
5342 (LC_TYPE -> LC_CTYPE).
5344 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5347 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5348 (scalbnf): Likewise.
5349 (scalbnl): Likewise.
5350 (scalbln): Likewise.
5351 (scalblnf): Likewise.
5352 (scalblnl): Likewise.
5353 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5357 * manual/filesys.texi (telldir): Use braces around return type.
5358 * manual/llio.texi (mmap): Add space after comma.
5360 * manual/math.texi (jn): Use @var{} on parameter names.
5366 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5368 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5370 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5371 (sched_get_priority_max): Likewise.
5372 * manual/signal.texi (sigvec): Add space after comma.
5373 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5375 (if_indextoname): Likewise.
5376 (if_freenameindex): Likewise.
5377 (sendto): Use ',' instead of '.' in prototype.
5378 * manual/startup.texi (syscall): Use @dots{} instead of literal
5380 * manual/stdio.texi (__fpending): Separate initial words of
5381 paragraph from @deftypefun line.
5382 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5384 (vsyslog): Use @var{} on parameter names.
5385 * manual/terminal.texi (stty): Use @var{} on parameter names.
5386 * manual/users.texi (getutmp): Use @var{} on parameter names.
5387 (getutmpx): Likewise.
5389 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5392 * manual/stdio.texi (fopen): Fix typos in description of
5395 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5398 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5399 get clock_id definition.
5401 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5404 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5405 (madvise): Cast every argument to void on its own.
5407 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5410 * manual/startup.texi (Exit Status): Fix typo.
5412 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5415 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5416 * manual/examples/argp-ex2.c: Likewise.
5417 * manual/examples/argp-ex3.c: Likewise.
5419 2012-02-16 Richard Henderson <rth@redhat.com>
5421 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5422 * sysdeps/s390/s390-32/initfini.c: Remove.
5423 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5424 * sysdeps/s390/s390-64/initfini.c: Remove.
5426 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5428 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5429 compiler output for sysdeps/generic/initfini.c.
5430 * sysdeps/sh/elf/initfini.c: Remove file.
5432 2012-02-16 David S. Miller <davem@davemloft.net>
5435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5437 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5438 * sysdeps/sparc/crti.S: New file.
5439 * sysdeps/sparc/crtn.S: New file.
5440 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5441 * sysdeps/sparc/sparc64/Makefile: Likewise.
5443 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5446 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5448 2012-02-15 Roland McGrath <roland@hack.frob.com>
5451 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5453 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5454 (write, read, close): Likewise.
5455 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5457 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5459 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5460 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5462 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5464 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5468 2012-02-14 Marek Polacek <polacek@redhat.com>
5470 * sysdeps/x86_64/crti.S: New file.
5471 * sysdeps/x86_64/crtn.S: New file.
5472 * sysdeps/x86_64/elf/initfini.c: Remove file.
5474 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5476 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5477 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5478 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5479 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5481 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5485 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5487 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5488 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5489 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5490 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5492 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5496 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5498 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5499 __feraiseexcept instead of feraiseexcept.
5501 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5502 nanosleep invocations.
5503 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5504 strings, and add error checking for a nanosleep invocations.
5506 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5508 Replace FSF snail mail address with URLs, as per GNU coding standards.
5509 Most of the snail mail addresses were wrong anyway, and omitting
5510 them makes the source code easier to maintain. Almost all of the
5511 changes are to license notices and to locale LC_IDENTIFICATION
5512 addresses, except for this one:
5513 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5514 not its snail mail address.
5516 2012-02-09 Richard Henderson <rth@twiddle.net>
5518 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5519 of kernel-features.h.
5521 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5523 2012-02-08 Marek Polacek <polacek@redhat.com>
5525 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5526 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5527 * sysdeps/gnu/_G_config.h: Likewise.
5528 * sysdeps/generic/_G_config.h: Likewise.
5530 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5532 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5536 * sysdeps/powerpc/powerpc32/crti.S: New file.
5537 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5538 * sysdeps/powerpc/powerpc64/crti.S: New file.
5539 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5541 * Makeconfig (have-initfini): Don't set.
5542 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5543 * configure.in (nopic_initfini): Don't substitute.
5544 * config.h.in (HAVE_INITFINI): Don't #undef.
5545 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5546 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5548 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5550 Support crti.S and crtn.S provided directly by architectures.
5551 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5552 [crti.S in sysdirs] (omit-deps): Likewise.
5553 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5554 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5555 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5556 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5557 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5558 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5559 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5560 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5561 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5562 compiler output for sysdeps/generic/initfini.c.
5563 * sysdeps/i386/elf/Makefile: Remove file.
5564 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5566 2012-02-07 Marek Polacek <polacek@redhat.com>
5568 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5569 * sysdeps/gnu/_G_config.h: Likewise.
5570 * sysdeps/mach/hurd/_G_config.h: Likewise.
5572 2012-02-07 Marek Polacek <polacek@redhat.com>
5574 * math/Makefile (tests): Add tst-CMPLX2.
5575 * math/tst-CMPLX2.c: New file.
5577 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5579 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5581 * math/libm-test.inc (jn_test): Add missing L suffix.
5583 2012-02-06 Marek Polacek <polacek@redhat.com>
5585 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5586 * sysdeps/i386/fpu/e_powf.S: Likewise.
5587 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5588 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5589 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5590 * sysdeps/i386/fpu/e_pow.S: Likewise.
5591 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5592 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5593 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5594 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5595 * sysdeps/i386/fpu/e_log2.S: Likewise.
5596 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5597 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5598 * sysdeps/i386/fpu/e_powl.S: Likewise.
5599 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5601 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5602 * sysdeps/i386/fpu/e_logl.S: Likewise.
5603 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5604 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5605 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5606 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5607 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5608 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5609 * sysdeps/i386/fpu/e_log.S: Likewise.
5610 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5611 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5612 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5613 * sysdeps/i386/fpu/e_logf.S: Likewise.
5614 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5615 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5616 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5617 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5618 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5619 * sysdeps/i386/fpu/e_log10.S: Likewise.
5620 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5621 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5622 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5623 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5624 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5625 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5626 * sysdeps/i386/asm-syntax.h: Likewise.
5627 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5628 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5629 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5630 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5631 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5632 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5633 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5634 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5635 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5636 * sysdeps/powerpc/sysdep.h: Likewise.
5637 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5638 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5640 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5643 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5645 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5647 * sysdeps/i386/sysdep.h: Include <features.h>.
5648 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5651 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5653 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5655 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5658 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5660 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5661 (SETUP_PIC_REG): Use GET_PC_THUNK.
5662 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5665 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5667 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5668 for non-PIC compilation.
5669 (SETUP_PIC_REG): Add .p2align directive.
5670 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5671 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5672 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5673 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5674 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5675 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5676 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5679 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5680 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5681 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5682 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5683 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5684 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5687 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5688 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5689 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5690 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5691 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5692 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5693 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5694 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5695 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5696 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5698 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5699 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5700 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5701 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5702 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5703 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5704 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5705 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5706 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5707 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5708 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5709 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5710 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5712 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5714 * math/tst-CMPLX.c: Include <stdio.h>.
5716 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5718 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5720 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5721 * sysdeps/sparc/bits/mathdef.h: Likewise.
5723 2012-01-31 Marek Polacek <polacek@redhat.com>
5725 * libio/libio.h: Don't define _PARAMS.
5726 * locale/programs/config.h: Don't define PARAMS.
5727 * stdlib/strtol_l.c: Likewise.
5728 (__strtol_l): Remove PARAMS from the prototype.
5730 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5732 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5733 names. Just use the correct names. Remove unnecessary wrapper
5735 * malloc/arena.c: Likewise.
5736 * malloc/hooks.c: Likewise.
5738 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5739 ARENA_TEST says not to. Simplify test for creation of a new arena.
5740 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5742 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5744 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5746 (update_get_addr): New function.
5747 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5748 GET_ADDR_MODULE parameter.
5750 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5752 * crypt/cert.c: Remove __STDC__ conditionals.
5753 * crypt/crypt-entry.c: Likewise.
5754 * crypt/crypt_util.c: Likewise.
5755 * libio/filedoalloc.c: Likewise.
5756 * libio/fileops.c: Likewise.
5757 * libio/genops.c: Likewise.
5758 * libio/iofclose.c: Likewise.
5759 * libio/iofdopen.c: Likewise.
5760 * libio/iofopen.c: Likewise.
5761 * libio/iofopen64.c: Likewise.
5762 * libio/iogetdelim.c: Likewise.
5763 * libio/iopopen.c: Likewise.
5764 * libio/obprintf.c: Likewise.
5765 * libio/oldfileops.c: Likewise.
5766 * libio/oldiofclose.c: Likewise.
5767 * libio/oldiofdopen.c: Likewise.
5768 * libio/oldiofopen.c: Likewise.
5769 * libio/oldiopopen.c: Likewise.
5770 * libio/wfiledoalloc.c: Likewise.
5771 * libio/wgenops.c: Likewise.
5772 * locale/programs/xmalloc.c: Likewise.
5773 * misc/syslog.c: Likewise.
5774 * stdio-common/xbug.c: Likewise.
5775 * string/memchr.c: Likewise.
5776 * string/memcmp.c: Likewise.
5777 * string/memrchr.c: Likewise.
5778 * string/rawmemchr.c: Likewise.
5779 * sysdeps/posix/getcwd.c: Likewise.
5780 * time/strftime_l.c: Likewise.
5782 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5784 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5785 * config.make.in (config-cflags-sse2avx): Define.
5786 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5789 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5791 * scripts/config.guess: Update from upstream config git repository.
5792 * scripts/config.sub: Likewise.
5794 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5796 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5798 (R_TILEPRO_*, R_TILEGX_*): New macros.
5800 * scripts/firstversions.awk: Fix bug in version range handling.
5802 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5804 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5806 * include/sys/epoll.h: New file.
5807 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5810 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5812 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5813 Avoid unnecessary __WORDSIZE == 64 test.
5814 (fmaxf): Use VEX format if possible.
5819 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5820 * math/math_private.h: Remove libc_fegetround* and
5822 * sysdeps/i386/configure.in: Check for -msse2avx.
5823 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5824 also if SSE2AVX is defined.
5825 Remove libc_fegetround* and libc_fesetround*.
5826 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5827 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5828 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5830 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5831 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5832 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5833 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5834 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5836 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5838 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5840 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5842 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5844 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5847 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5849 * Makeconfig (libm): Define.
5850 * elf/Makefile: Add rules to build and run tst-relsort1.
5851 * elf/tst-relsort1.c: New file.
5852 * elf/tst-relsort1mod1.c: New file.
5853 * elf/tst-relsort1mod2.c: New file.
5855 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5857 * math/s_ldexp.c: Remove __STDC__ conditionals.
5858 * math/s_ldexpf.c: Likewise.
5859 * math/s_ldexpl.c: Likewise.
5860 * math/s_nextafter.c: Likewise.
5861 * math/s_nexttowardf.c: Likewise.
5862 * math/s_significand.c: Likewise.
5863 * math/s_significandf.c: Likewise.
5864 * math/s_significandl.c: Likewise.
5865 * math/w_jnl.c: Likewise.
5866 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5867 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5868 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5869 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5870 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5872 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5873 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5875 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5876 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5883 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5885 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5886 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5887 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5888 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5890 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5891 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5892 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5893 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5894 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5895 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5896 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5897 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5898 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5899 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5900 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5901 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5902 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5903 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5904 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5905 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5906 * sysdeps/ieee754/k_standard.c: Likewise.
5907 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5909 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5922 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5923 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5925 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5926 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5927 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5928 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5929 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5937 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5955 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5956 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5961 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5964 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5968 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5972 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5973 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5978 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5979 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5981 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5982 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5983 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5984 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5986 * sysdeps/ieee754/s_matherr.c: Likewise.
5987 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5988 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5989 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5990 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5992 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5994 * crypt/md5.h: Remove __STDC__ conditionals.
5995 * libio/libioP.h: Likewise.
5996 * locale/programs/config.h: Likewise.
5997 * sysdeps/generic/sysdep.h: Likewise.
5998 * sysdeps/i386/asm-syntax.h: Likewise.
5999 * sysdeps/s390/asm-syntax.h: Likewise.
6000 * sysdeps/unix/sysdep.h: Likewise.
6001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6004 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6006 * libio/libio.h: Remove __STDC__ conditionals.
6007 * malloc/obstack.h: Likewise.
6008 * math/complex.h: Likewise.
6009 * math/math.h: Likewise.
6010 * sysdeps/generic/_G_config.h: Likewise.
6011 * sysdeps/gnu/_G_config.h: Likewise.
6012 * sysdeps/mach/hurd/_G_config.h: Likewise.
6013 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6014 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6015 * sysdeps/sparc/bits/mathdef.h: Likewise.
6017 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6020 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6021 Clean up HAS_* macros.
6022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6023 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6025 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6027 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6028 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6030 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6031 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6033 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6035 * elf/tst-unique3.cc (gets): Remove declaration.
6036 * elf/tst-unique3lib.cc (gets): Likewise.
6037 * elf/tst-unique3lib2.cc (gets): Likewise.
6038 * elf/tst-unique4.cc (gets): Likewise.
6040 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6042 * include/stdio.h: Add C++ protection. Add gets declarations and
6044 * debug/tst-chk1.c: Don't declare gets here.
6045 * stdio-common/tst-gets.c: Likewise.
6047 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6049 * posix/glob: Remove directory.
6051 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6053 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6055 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6057 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6058 of the non-standard EPFNOSUPPORT.
6060 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6062 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6063 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6064 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6066 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6068 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6070 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6072 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6074 * nscd/grpcache.c (cache_addgr): Likewise.
6075 * nscd/hstcache.c (cache_addhst): Likewise.
6076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6077 * nscd/pwdcache.c (cache_addpw): Likewise.
6078 * nscd/servicescache.c (cache_addserv): Likewise.
6080 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6082 * malloc/malloc.c: Various cleanups.
6083 * malloc/hooks.c: Likewise.
6085 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6086 * stdlib/bug-fmtmsg1.c: New file.
6088 * stdlib/fmtmsg.c (init): Add missing unlock.
6089 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6091 2012-01-12 Marek Polacek <polacek@redhat.com>
6093 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6096 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6098 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6099 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6100 macro to ensure uniqueness of label name.
6101 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6102 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6104 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6106 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6108 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6109 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6110 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6113 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6115 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6117 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6118 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6119 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6121 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6123 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6124 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6128 * math/bits/math-finite.h: Add ldexp support.
6130 2012-01-10 Marek Polacek <polacek@redhat.com>
6132 * locale/programs/localedef.h (show_archive_content): Add noreturn
6135 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6137 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6139 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6141 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6143 * io/Makefile (headers): Add bits/poll2.h.
6145 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6148 typo #include statement.
6150 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6152 * include/sys/cdefs.h: Define __attribute_alloc_size.
6153 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6154 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6155 * elf/pldd.c: Likewise.
6156 * iconv/iconv_charmap.c: Likewise.
6157 * iconv/iconvconfig.c: Likewise.
6158 * iconv/strtab.c: Likewise.
6159 * locale/programs/locale.c: Likewise.
6160 * locale/programs/localedef.h: Likewise.
6161 * locale/programs/simple-hash.c: Likewise.
6162 * nscd/nscd.h: Likewise.
6163 * nss/makedb.c: Likewise.
6164 * sysdeps/generic/ldconfig.h: Likewise.
6165 * locale/programs/localedef.c: Remove xmalloc prototype.
6166 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6168 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6170 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6173 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6175 * math/Makefile (tests): Add tst-CMPLX.
6176 * math/tst-CMPLX.c: New file.
6178 * math/complex.h (CMPLXL): Fix typo.
6180 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6181 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6183 * debug/tst-chk1.c: Add poll and ppoll tests.
6184 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6185 * include/sys/poll.h: Add hidden proto for ppoll.
6186 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6187 * sysdeps/mach/hurd/ppoll.c: Likewise.
6188 * io/ppoll.c: Likewise.
6189 * debug/poll_chk.c: New file.
6190 * debug/ppoll_chk.c: New file.
6191 * include/bits/poll2.h: New file.
6192 * io/bits/poll2.h: New file.
6195 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6197 * configure.in: static is always set to yes. Remove.
6198 * config.make.in: Don't set build-static.
6199 * Makeconfig: Remove use of build-static.
6200 * dlfcn/Makefile: Likewise.
6201 * elf/Makefile: Likewise.
6202 * math/Makefile: Likewise.
6203 * misc/Makefile: Likewise.
6204 * nptl/Makefile: Likewise.
6205 * sysdeps/mach/hurd/Makefile: Likewise.
6207 * configure.in: PWD_P is not used anymore.
6208 * config.make.in: Remove PWD_P entry.
6210 * configure.in: Remove last remnants of RANLIB.
6211 No need to check for signed size_t anymore.
6212 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6214 Remove __builtin_expect test because we require at least gcc 3.4.
6215 * aclocal.m4: Likewise.
6217 * wcsmbs/mbrtoc16.c: Implement using towc function.
6218 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6219 * wcsmbs/wcsmbsload.c: Likewise.
6220 * iconv/gconv_simple.c: Likewise.
6221 * iconv/gconv_int.h: Likewise.
6222 * iconv/gconv_builtin.h: Likewise.
6223 * iconv/iconv_prog.c: Remove CHAR16 handling.
6225 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6227 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6229 * configure.in: Remove --with-elf and --enable-bounded options.
6230 Dont set base_machine for ia64. More non-ELF conditions removed.
6231 Remove testing and setting of leading underscore information.
6232 * config.make.in (build-bounded): Set to no.
6233 * config.h.in: Remove NO_UNDERSCORES entry.
6234 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6236 * csu/start.c: Remove !NO_UNDERSCORE code.
6237 * locale/localeinfo.h: Likewise.
6238 * sysdeps/generic/machine-gmon.h: Likewise.
6239 * sysdeps/generic/sysdep.h: Likewise.
6240 * sysdeps/i386/sysdep.h: Likewise.
6241 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6242 * sysdeps/mach/sysdep.h: Likewise.
6243 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6244 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6245 * sysdeps/sh/sysdep.h: Likewise.
6246 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6247 * sysdeps/unix/i386/sysdep.S: Likewise.
6248 * sysdeps/unix/sparc/start.c: Likewise.
6249 * sysdeps/unix/sparc/sysdep.S: Likewise.
6250 * sysdeps/unix/sparc/sysdep.h: Likewise.
6251 * sysdeps/unix/start.c: Likewise.
6252 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6253 * sysdeps/x86_64/sysdep.h: Likewise.
6255 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6258 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6260 * argp/argp-fmtstream.h: Use const instead __const.
6261 * argp/argp.h: Likewise.
6262 * assert/assert.h: Likewise.
6263 * bits/fenv.h: Likewise.
6264 * bits/sched.h: Likewise.
6265 * bits/sigset.h: Likewise.
6266 * bits/sigthread.h: Likewise.
6267 * catgets/nl_types.h: Likewise.
6268 * conform/data/pthread.h-data: Likewise.
6269 * crypt/crypt-private.h: Likewise.
6270 * crypt/crypt.h: Likewise.
6271 * crypt/crypt_util.c: Likewise.
6272 * ctype/ctype.h: Likewise.
6273 * debug/execinfo.h: Likewise.
6274 * debug/mbsnrtowcs_chk.c: Likewise.
6275 * debug/mbsrtowcs_chk.c: Likewise.
6276 * debug/wcsnrtombs_chk.c: Likewise.
6277 * debug/wcsrtombs_chk.c: Likewise.
6278 * debug/wcstombs_chk.c: Likewise.
6279 * dirent/dirent.h: Likewise.
6280 * dlfcn/dlfcn.h: Likewise.
6281 * elf/neededtest4.c: Likewise.
6282 * grp/grp.h: Likewise.
6283 * gshadow/gshadow.h: Likewise.
6284 * iconv/gconv.h: Likewise.
6285 * iconv/gconv_int.h: Likewise.
6286 * iconv/gconv_simple.c: Likewise.
6287 * iconv/iconv.h: Likewise.
6288 * iconv/loop.c: Likewise.
6289 * iconv/skeleton.c: Likewise.
6290 * include/aio.h: Likewise.
6291 * include/aliases.h: Likewise.
6292 * include/argz.h: Likewise.
6293 * include/arpa/inet.h: Likewise.
6294 * include/assert.h: Likewise.
6295 * include/dirent.h: Likewise.
6296 * include/dlfcn.h: Likewise.
6297 * include/execinfo.h: Likewise.
6298 * include/fcntl.h: Likewise.
6299 * include/fenv.h: Likewise.
6300 * include/glob.h: Likewise.
6301 * include/grp.h: Likewise.
6302 * include/libintl.h: Likewise.
6303 * include/mntent.h: Likewise.
6304 * include/netdb.h: Likewise.
6305 * include/pwd.h: Likewise.
6306 * include/rpc/netdb.h: Likewise.
6307 * include/sched.h: Likewise.
6308 * include/search.h: Likewise.
6309 * include/shadow.h: Likewise.
6310 * include/signal.h: Likewise.
6311 * include/stdio.h: Likewise.
6312 * include/stdlib.h: Likewise.
6313 * include/string.h: Likewise.
6314 * include/sys/socket.h: Likewise.
6315 * include/sys/stat.h: Likewise.
6316 * include/sys/statfs.h: Likewise.
6317 * include/sys/statvfs.h: Likewise.
6318 * include/sys/syslog.h: Likewise.
6319 * include/sys/time.h: Likewise.
6320 * include/sys/uio.h: Likewise.
6321 * include/time.h: Likewise.
6322 * include/unistd.h: Likewise.
6323 * include/utmp.h: Likewise.
6324 * include/wchar.h: Likewise.
6325 * include/wctype.h: Likewise.
6326 * inet/aliases.h: Likewise.
6327 * inet/arpa/inet.h: Likewise.
6328 * inet/netinet/ether.h: Likewise.
6329 * inet/netinet/in.h: Likewise.
6330 * intl/libintl.h: Likewise.
6331 * io/bits/fcntl2.h: Likewise.
6332 * io/fcntl.h: Likewise.
6333 * io/ftw.h: Likewise.
6334 * io/sys/poll.h: Likewise.
6335 * io/sys/stat.h: Likewise.
6336 * io/sys/statfs.h: Likewise.
6337 * io/sys/statvfs.h: Likewise.
6338 * io/utime.h: Likewise.
6339 * libio/bits/stdio.h: Likewise.
6340 * libio/bits/stdio2.h: Likewise.
6341 * libio/libio.h: Likewise.
6342 * libio/libioP.h: Likewise.
6343 * libio/stdio.h: Likewise.
6344 * locale/lc-ctype.c: Likewise.
6345 * locale/locale.h: Likewise.
6346 * login/utmp.h: Likewise.
6347 * malloc/arena.c: Likewise.
6348 * malloc/malloc.c: Likewise.
6349 * malloc/malloc.h: Likewise.
6350 * malloc/mcheck.c: Likewise.
6351 * malloc/mtrace.c: Likewise.
6352 * math/bits/mathcalls.h: Likewise.
6353 * math/fenv.h: Likewise.
6354 * math/math_private.h: Likewise.
6355 * misc/bits/error.h: Likewise.
6356 * misc/bits/syslog.h: Likewise.
6357 * misc/err.h: Likewise.
6358 * misc/error.h: Likewise.
6359 * misc/fstab.h: Likewise.
6360 * misc/mntent.h: Likewise.
6361 * misc/regexp.h: Likewise.
6362 * misc/search.h: Likewise.
6363 * misc/sgtty.h: Likewise.
6364 * misc/sys/mman.h: Likewise.
6365 * misc/sys/syslog.h: Likewise.
6366 * misc/sys/uio.h: Likewise.
6367 * misc/sys/xattr.h: Likewise.
6368 * misc/ttyent.h: Likewise.
6369 * nis/rpcsvc/ypclnt.h: Likewise.
6370 * nss/nss.h: Likewise.
6371 * posix/bits/unistd.h: Likewise.
6372 * posix/fnmatch.h: Likewise.
6373 * posix/glob.h: Likewise.
6374 * posix/sched.h: Likewise.
6375 * posix/spawn.h: Likewise.
6376 * posix/sys/wait.h: Likewise.
6377 * posix/unistd.h: Likewise.
6378 * posix/wordexp.h: Likewise.
6379 * pwd/pwd.h: Likewise.
6380 * resolv/netdb.h: Likewise.
6381 * resource/sys/resource.h: Likewise.
6382 * rt/aio.h: Likewise.
6383 * rt/bits/mqueue2.h: Likewise.
6384 * rt/mqueue.h: Likewise.
6385 * shadow/shadow.h: Likewise.
6386 * signal/signal.h: Likewise.
6387 * socket/send.c: Likewise.
6388 * socket/sendto.c: Likewise.
6389 * socket/sys/socket.h: Likewise.
6390 * stdio-common/printf.h: Likewise.
6391 * stdlib/bits/stdlib.h: Likewise.
6392 * stdlib/fmtmsg.h: Likewise.
6393 * stdlib/monetary.h: Likewise.
6394 * stdlib/stdlib.h: Likewise.
6395 * stdlib/ucontext.h: Likewise.
6396 * streams/stropts.h: Likewise.
6397 * string/argz.h: Likewise.
6398 * string/bits/string2.h: Likewise.
6399 * string/string.h: Likewise.
6400 * string/strings.h: Likewise.
6401 * sunrpc/rpc/auth.h: Likewise.
6402 * sunrpc/rpc/auth_des.h: Likewise.
6403 * sunrpc/rpc/clnt.h: Likewise.
6404 * sunrpc/rpc/netdb.h: Likewise.
6405 * sunrpc/rpc/pmap_clnt.h: Likewise.
6406 * sunrpc/rpc/xdr.h: Likewise.
6407 * sysdeps/generic/inttypes.h: Likewise.
6408 * sysdeps/generic/net/if.h: Likewise.
6409 * sysdeps/generic/sys/swap.h: Likewise.
6410 * sysdeps/gnu/net/if.h: Likewise.
6411 * sysdeps/gnu/utmpx.h: Likewise.
6412 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6413 * sysdeps/i386/i486/bits/string.h: Likewise.
6414 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6415 * sysdeps/s390/bits/string.h: Likewise.
6416 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6417 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6418 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6419 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6420 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6421 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6422 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6423 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6424 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6425 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6426 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6427 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6428 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6429 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6430 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6432 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6434 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6435 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6437 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6438 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6439 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6440 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6441 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6442 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6443 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6444 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6445 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6446 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6447 * sysvipc/sys/ipc.h: Likewise.
6448 * sysvipc/sys/msg.h: Likewise.
6449 * sysvipc/sys/sem.h: Likewise.
6450 * sysvipc/sys/shm.h: Likewise.
6451 * termios/termios.h: Likewise.
6452 * time/sys/time.h: Likewise.
6453 * time/time.h: Likewise.
6454 * wcsmbs/bits/wchar2.h: Likewise.
6455 * wcsmbs/uchar.h: Likewise.
6456 * wcsmbs/wchar.h: Likewise.
6457 * wctype/wctype.h: Likewise.
6460 * Makeconfig: Remove all but ELF support including AIX support.
6461 * Makerules: Likewise.
6462 * config.h.in: Likewise.
6463 * config.make.in: Likewise.
6464 * configure: Likewise.
6465 * configure.in: Likewise.
6466 * csu/Makefile: Likewise.
6467 * csu/version.c: Likewise.
6468 * debug/Makefile: Likewise.
6469 * dlfcn/Makefile: Likewise.
6470 * elf/Makefile: Likewise.
6471 * extra-lib.mk: Likewise.
6472 * iconv/Makefile: Likewise.
6473 * include/libc-symbols.h: Likewise.
6474 * include/shlib-compat.h: Likewise.
6475 * resolv/Makefile: Likewise.
6476 * resolv/res_libc.c: Likewise.
6477 * rt/Makefile: Likewise.
6478 * sysdeps/i386/asm-syntax.h: Likewise.
6479 * sysdeps/i386/sysdep.h: Likewise.
6480 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6481 * sysdeps/mach/sysdep.h: Likewise.
6482 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6483 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6484 * sysdeps/s390/asm-syntax.h: Likewise.
6485 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6486 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6487 * sysdeps/sh/sysdep.h: Likewise.
6488 * sysdeps/unix/sparc/sysdep.h: Likewise.
6489 * sysdeps/wordsize-32/divdi3.c: Likewise.
6490 * sysdeps/x86_64/sysdep.h: Likewise.
6492 * argp/Versions: Remove _argp_unlock_xxx.
6495 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6496 * abilist/libBrokenLocale.abilist: Likewise.
6497 * abilist/libanl.abilist: Likewise.
6498 * abilist/libc.abilist: Likewise.
6499 * abilist/libcrypt.abilist: Likewise.
6500 * abilist/libdl.abilist: Likewise.
6501 * abilist/libm.abilist: Likewise.
6502 * abilist/libnsl.abilist: Likewise.
6503 * abilist/libpthread.abilist: Likewise.
6504 * abilist/libresolv.abilist: Likewise.
6505 * abilist/librt.abilist: Likewise.
6506 * abilist/libthread_db.abilist: Likewise.
6507 * abilist/libutil.abilist: Likewise.
6508 * abilist/libnss_db.abilist: New file.
6510 * scripts/abilist.awk: Add support for indirect functions.
6512 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6514 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6516 * shlib-versions: Remove entries for ports architectures.
6518 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6520 * elf/stackguard-macros.h: Remove support for IA-64.
6521 * elf/tst-auditmod1.c: Likewise.
6522 * sysdeps/generic/ldsodefs.h: Likewise.
6524 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6525 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6529 * configure.in: Remove --enable-omitfp support.
6531 * config.make.in: Likewise.
6532 * Makeconfig: Likewise.
6533 * manual/install.texi: Likewise.
6535 In case anyone cares, the IA-64 architecture could move to ports.
6536 * sysdeps/ia64/*: Removed.
6537 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6538 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6541 * configure.in: Remove entries for unsupported architectures.
6544 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6545 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6547 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6548 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6549 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6550 fall back to using wcrtomb.
6551 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6552 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6554 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6555 * wcsmbs/tst-c16c32-1.c: New file.
6557 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6560 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6562 * elf/tst-unique3.cc: Add explicit declaration of gets.
6563 * elf/tst-unique3lib.cc: Likewise.
6564 * elf/tst-unique3lib2.cc: Likewise.
6565 * elf/tst-unique4.cc: Likewise.
6567 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6569 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6572 * assert/assert.h (static_assert): Don't define for C++.
6573 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6574 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6576 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6578 * iconv/loop.c (single loop): Fix assertion in storing of
6581 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6583 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6585 * posix/getconf.c: Update copyright year.
6586 * nss/getent.c: Likewise.
6587 * nss/makedb.c: Likewise.
6588 * iconv/iconvconfig.c: Likewise.
6589 * iconv/iconv_prog.c: Likewise.
6590 * elf/ldconfig.c: Likewise.
6591 * elf/pldd.c: Likewise.
6592 * elf/sotruss.ksh: Likewise.
6593 * catgets/gencat.c: Likewise.
6594 * csu/version.c: Likewise.
6595 * elf/ldd.bash.in: Likewise.
6596 * elf/sprof.c (print_version): Likewise.
6597 * locale/programs/locale.c: Likewise.
6598 * locale/programs/localedef.c: Likewise.
6599 * login/programs/pt_chown.c: Likewise.
6600 * nscd/nscd.c (print_version): Likewise.
6601 * debug/xtrace.sh: Likewise.
6602 * malloc/memusage.sh: Likewise.
6603 * malloc/mtrace.pl: Likewise.
6604 * debug/catchsegv.sh: Likewise.
6606 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6608 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6611 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6614 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6615 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6617 * iconv/gconv_int.h: Likewise.
6618 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6619 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6620 from libc for GLIBC_2.16.
6621 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6622 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6623 * wcsmbs/uchar.h: Really define mbstate_t.
6624 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6625 * wcsmbs/c16rtomb.c: New file.
6626 * wcsmbs/mbrtoc16.c: New file.
6627 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6629 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6630 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6632 * wcsmbs/wchar.h: Add missing __restrict.
6634 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6637 * time/Makefile (routines): Add timespec_get.
6638 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6639 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6640 timespec for ISO C11.
6641 * time/timespec_get.c: New file.
6642 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6643 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6646 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6647 * stdlib/stdlib.h: Declare aligned_alloc.
6648 * Versions.def: Add GLIBC_2.16 for libc.
6649 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6652 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6655 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6659 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6662 * assert/assert.h (static_assert): Define.
6664 * version.h: Update for 2.16 development version.
6667 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6670 * version.h (RELEASE): Bump for 2.15 release.
6671 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6673 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6674 Patch by Marek Polacek <mpolacek@redhat.com>.
6676 * bits/byteswap.h: Protect long long constants with __extension__.
6677 * sysdeps/i386/bits/byteswap.h: Likewise.
6678 * sysdeps/ia64/bits/byteswap.h: Likewise.
6679 * sysdeps/s390/bits/byteswap.h: Likewise.
6680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6682 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6685 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6687 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6689 2011-12-23 Marek Polacek <polacek@redhat.com>
6691 * elf/dl-addr.c (determine_info): Add inline keyword.
6692 * elf/tst-auditmod4b.c (check_avx): Likewise.
6693 * elf/tst-auditmod6b.c (check_avx): Likewise.
6694 * elf/tst-auditmod6c.c (check_avx): Likewise.
6695 * elf/tst-auditmod7b.c (check_avx): Likewise.
6697 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6699 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6702 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6705 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6706 processing for last bytes.
6708 2011-08-06 Bruno Haible <bruno@clisp.org>
6711 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6712 U+0385, not to U+1FEE.
6715 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6716 entry for U+00A5 U+0301.
6718 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6721 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6722 buffer for the output is too small.
6724 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6728 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6729 SSE flags if possible.
6731 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6734 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6735 processing for last bytes.
6737 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6739 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6740 (syscall-list-default-options, syscall-list-default-condition)
6741 (syscall-list-includes): Define.
6742 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6743 list of ABIs and options and #if conditions for each ABI. Do not
6744 handle common syscalls between ABIs specially.
6745 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6747 (syscall-list-variants, syscall-list-32bit-options)
6748 (syscall-list-32bit-condition, syscall-list-64bit-options)
6749 (syscall-list-64bit-condition): Define.
6750 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6751 (syscall-list-variants, syscall-list-32bit-options)
6752 (syscall-list-32bit-condition, syscall-list-64bit-options)
6753 (syscall-list-64bit-condition): Define.
6754 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6756 (syscall-list-variants, syscall-list-32bit-options)
6757 (syscall-list-32bit-condition, syscall-list-64bit-options)
6758 (syscall-list-64bit-condition): Define.
6759 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6761 (syscall-list-variants, syscall-list-32bit-options)
6762 (syscall-list-32bit-condition, syscall-list-64bit-options)
6763 (syscall-list-64bit-condition): Define.
6765 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6767 * locale/iso-639.def: Add brx entry.
6770 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6771 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6773 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6774 __feraiseexcept_renamed.
6776 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6779 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6780 EPOLLET with unsigned values.
6781 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6782 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6784 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6785 to large cancellation.
6786 * math/s_cacoshf.c: Likewise.
6787 * math/s_cacoshl.c: Likewise.
6789 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6793 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6794 * math/s_cacoshf.c: Likewise.
6795 * math/s_cacoshl.c: Likewise.
6797 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6800 * iconv/gconv.h: Define __GCONV_SWAP.
6801 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6802 * iconvdata/utf-16.c: Likewise.
6803 * iconvdata/utf-32.c: Likewise.
6805 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6809 numerator after shifting it by one limb.
6811 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6813 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6814 under [__USE_EXTERN_INLINES].
6816 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6819 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6821 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6824 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6826 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6827 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6828 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6829 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6830 for strncasecmp/strncasecmp_l compilation.
6831 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6832 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6834 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6837 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6840 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6843 * time/tzfile.c (__tzfile_read): Check values from file header.
6845 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6847 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6848 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6849 * powerpc/powerpc32/dl-start.S: Likewise.
6850 * powerpc/powerpc32/elf/start.S: Likewise.
6851 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6852 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6853 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6854 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6855 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6856 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6857 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6858 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6859 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6860 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6861 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6862 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6863 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6864 * powerpc/powerpc32/memset.S: Likewise.
6865 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6866 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6867 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6868 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6869 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6870 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6871 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6872 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6873 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6874 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6875 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6879 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881 * math/libm-test.inc: Added more nearbyint tests.
6882 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6883 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6884 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6885 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6887 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6889 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6892 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6894 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6895 Add wcscpy-ssse3 wcscpy-c.
6896 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6897 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6898 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6899 * sysdeps/x86_64/wcschr.S: New file.
6900 * sysdeps/x86_64/wcsrchr.S: New file.
6901 * string/test-strcmp.c: Remove checking of wcscmp function for
6903 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6904 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6905 wcsrchr-sse2 wcsrchr-c.
6906 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6907 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6908 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6909 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6910 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6911 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6912 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6913 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6914 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6915 * wcsmbc/wcschr.c (WCSCHR): New macro.
6917 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6919 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6920 * wcsmbs/test-wcsrchr.c: New file.
6921 * string/test-strrchr.c: Add wcsrchr support.
6923 * wcsmbs/test-wcscpy.c: New file.
6924 * string/test-strcpy.c: Add wcscpy support.
6927 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6929 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6932 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6935 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6937 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6939 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6940 Minor optimizations.
6942 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6943 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6944 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6946 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6948 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6949 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6950 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6951 for gcc to avoid warnings.
6952 * inet/Makefile (tests): Add tst-checks.
6953 * inet/tst-checks.c: New file.
6955 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6958 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6961 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6962 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6964 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6966 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6968 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6971 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6973 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6975 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6976 conditional on GCC version.
6977 (__arch_compare_and_exchange_val_8_acq)
6978 (__arch_compare_and_exchange_val_16_acq)
6979 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6980 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6981 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6983 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6985 * sysdeps/sh/backtrace.c: New file.
6987 2011-12-02 Andreas Schwab <schwab@redhat.com>
6989 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6992 2011-12-01 Andreas Schwab <schwab@redhat.com>
6994 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6995 falling back to utime.
6997 2011-11-30 Andreas Schwab <schwab@redhat.com>
6999 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7000 expectations for float.
7002 2011-11-29 Andreas Schwab <schwab@redhat.com>
7004 * locale/weight.h (findidx): Add parameter len.
7005 * locale/weightwc.h (findidx): Likewise.
7006 * posix/fnmatch_loop.c (FCT): Adjust caller.
7007 * posix/regcomp.c (build_equiv_class): Likewise.
7008 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7009 * posix/regexec.c (check_node_accept_bytes): Likewise.
7010 * string/strcoll_l.c (STRCOLL): Likewise.
7011 * string/strxfrm_l.c (STRXFRM): Likewise.
7013 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7015 * Makefile.in: Remove CVSOPT handling.
7016 * configure.in: Remove use of AC_REVISION.
7017 * iconvdata/Makefile (distribute): No need to filter out CVS.
7018 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7021 2011-11-16 Andreas Schwab <schwab@redhat.com>
7023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7024 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7025 [USE_AS_STRNCASECMP_L]: Likewise.
7026 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7027 NO_TLS_DIRECT_SEG_REFS.
7028 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7029 Fix argument offsets for non-PIC.
7030 [USE_AS_STRNCASECMP_L]: Likewise.
7031 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7032 NO_TLS_DIRECT_SEG_REFS.
7034 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7036 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7038 * locale/loadlocale.c (_nl_load_locale): Likewise.
7040 2011-11-15 Andreas Schwab <schwab@redhat.com>
7042 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7043 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7044 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7045 (SYSCALL_GETTIME): Set errno on error.
7047 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7048 count references to noai6ai_cached.
7050 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7052 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7054 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7055 FD_CLOEXEC for /proc/self/maps.
7057 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7058 FD_CLOEXEC for /proc/meminfo.
7060 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7063 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7064 FD_CLOEXEC for given file.
7066 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7068 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7069 FD_CLOEXEC for /etc/hosts.
7070 (_gethtent): Likewise.
7072 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7074 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7075 cancellation and set FD_CLOEXEC for /etc/netgroup.
7077 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7078 reading /etc/publickey.
7080 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7081 allow cancellation when reading /etc/group.
7083 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7085 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7087 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7088 when using data file.
7090 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7092 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7093 (write_nis_obj): Use "c" and "e" in fopen.
7095 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7097 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7099 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7101 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7103 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7106 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7108 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7110 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7112 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7113 file parsing and set FD_CLOEXEC.
7115 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7117 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7119 2011-11-14 Andreas Schwab <schwab@redhat.com>
7121 * malloc/arena.c (arena_get2): Don't call reused_arena when
7122 _int_new_arena failed.
7124 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7126 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7127 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7128 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7129 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7130 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7132 to compile strcasecmp and strncasecmp.
7133 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7134 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7138 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7140 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7141 locale-defines.sym to gen-as-const-headers.
7142 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7143 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7145 to compile strcasecmp and strncasecmp.
7146 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7147 strcasecmp_l and strncasecmp_l.
7148 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7149 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7150 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7151 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7152 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7153 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7154 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7155 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7156 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7157 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7158 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7160 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7162 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7163 result of SYSDEP_GETTIME_CPU to retval.
7164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7165 parameter list to macro. Remove trailing semicolon. Adjust users.
7167 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7170 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7172 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7174 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7175 from unused variable.
7177 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7179 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7182 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7185 * sunrpc/rpc_prot.c (rejected): Fix case value.
7187 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7188 unsigned long long int to avoid warnings in shift.
7190 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7192 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7195 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7196 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7197 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7199 * nis/nis_table.c (nis_list): Use variable of correct type for
7200 result of __follow_path call.
7202 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7204 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7205 of math functions ceil, trunc, floor, round, and sqrt, when
7206 avaliable on the platform.
7207 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7209 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7210 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7211 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7213 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7215 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7216 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7218 2011-11-11 Roland McGrath <roland@hack.frob.com>
7220 * include/unistd.h: Fix __readlink return type.
7221 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7223 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7225 * stdlib/ucontext.h: Undo last change for makecontext.
7227 2011-11-11 Andreas Schwab <schwab@redhat.com>
7229 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7231 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7232 * setjmp/setjmp.h: Mark functions as non-leaf.
7233 * setjmp/bits/setjmp2.h: Likewise.
7234 * stdlib/ucontext.h: Likewise.
7236 2011-11-10 Andreas Schwab <schwab@redhat.com>
7238 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7239 (reused_arena): Don't check arena limit.
7240 (arena_get2): Atomically check arena limit.
7242 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7244 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7245 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7247 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7250 2011-11-07 Andreas Schwab <schwab@redhat.com>
7252 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7253 handler when locking.
7255 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7256 Fix size of allocated buffer.
7258 2011-11-04 Andreas Schwab <schwab@redhat.com>
7261 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7262 declarations for long double functions.
7263 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7265 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7267 2011-11-03 Andreas Schwab <schwab@redhat.com>
7269 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7272 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7275 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7277 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7279 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7281 * include/alloca.h (stackinfo_alloca_round): Define.
7282 (extend_alloca): Use it.
7283 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7284 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7287 * scripts/check-local-headers.sh: Ignore libaudit.h.
7289 * nscd/Makefile (extra-objs): Make recursively expanded.
7291 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7293 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7294 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7296 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7297 * posix/tst-rfc3484-2.c: Likewise.
7298 * posix/tst-rfc3484-3.c: Likewise.
7300 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7302 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7304 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7305 process_vm_writev from libc using GLIBC_2.15 version.
7307 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7309 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7311 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7314 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7317 * nss/getent.c (initgroups_keys): Show error message in case no group
7320 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7321 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7322 __bump_nl_timestamp.
7323 * nscd/connections (nscd_init): When host database is served open
7324 netlink socket and request notification about configuration changes.
7325 (main_loop_poll): Track netlink file descriptor and bump timestamp
7326 in case data becomes available.
7327 (main_loop_epoll): Likewise.
7328 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7329 (database_pers_head): Add extra_data fileds.
7330 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7331 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7332 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7334 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7335 in6ai data, call __free_in6ai.
7336 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7338 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7339 interface information. Reuse previous data if netlink timestamp
7341 (__bump_nl_timestamp): New function.
7342 (__free_in6ai): New function.
7344 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7347 close_not_cancel_no_status here.
7348 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7350 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7353 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7356 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7357 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7358 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7360 2011-07-03 Andreas Jaeger <aj@suse.de>
7363 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7364 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7365 * math/libm-test.inc (sin_test): Add test case.
7367 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7370 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7371 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7373 * elf/chroot_canon.c (chroot_canon): Cleanups.
7375 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7378 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7379 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7381 * string/test-strchr.c: Make usable for strchrnul testing.
7382 * string/test-strchrnul.c: New file.
7383 * string/Makefile (strop-tests): Add strchrnul.
7385 * po/it.po: Update from translation team.
7386 * po/es.po: Likewise.
7388 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7390 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7391 the three constants needed as parameters. Drop the others.
7392 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7393 __m128i_strloadu_tolower.
7394 Create and initialize variable zero and use it in all the places
7395 where _mm_setzero_si128 was used.
7397 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7398 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7399 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7402 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7403 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7404 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7405 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7406 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7407 __mpranred, __mptan.
7408 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7409 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7410 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7411 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7412 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7413 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7415 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7416 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7418 2011-10-28 Andreas Schwab <schwab@redhat.com>
7420 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7422 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7425 wide char related routines to wcsmbs subdir.
7427 2011-10-27 Andreas Schwab <schwab@redhat.com>
7430 * misc/sys/cdefs.h (__THROWNL): Define.
7431 * posix/unistd.h: Use __THREADNL instead of __THREAD
7432 for memory synchronization functions.
7434 2011-10-26 Roland McGrath <roland@hack.frob.com>
7437 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7439 * manual/stdio.texi (Obstack Streams): Node removed.
7441 2011-10-26 Andreas Schwab <schwab@redhat.com>
7443 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7444 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7445 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7447 * math/math_private.h (math_force_eval): Allow non-addressable
7449 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7451 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7453 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7456 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7459 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7460 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7461 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7462 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7463 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7465 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7466 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7467 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7468 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7469 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7470 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7471 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7472 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7473 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7474 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7475 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7476 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7477 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7478 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7479 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7480 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7481 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7482 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7483 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7485 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7486 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7488 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7489 place. Use VEX encoding when compiling for AVX.
7491 2011-10-25 Andreas Schwab <schwab@redhat.com>
7493 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7494 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7496 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7498 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7500 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7501 useless if() expression.
7502 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7503 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7507 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7508 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7509 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7510 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7514 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7515 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7516 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7517 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7518 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7519 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7520 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7522 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7524 2011-10-25 Andreas Schwab <schwab@redhat.com>
7526 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7528 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7530 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7532 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7533 .text section. Avoid duplicate constants.
7534 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7544 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7546 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7549 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7551 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7558 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7559 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7560 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7561 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7562 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7563 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7564 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7565 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7566 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7567 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7570 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7573 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7574 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7577 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7578 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7580 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7582 * sysdeps/x86_64/dla.h: Move to ...
7583 * sysdeps/x86_64/fpu/dla.h: ...here.
7584 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7585 situations. Use __builtin_fma only for gcc 4.6 and up.
7587 * config.make.in: Add have-mfma4 entry.
7588 * configure.in: Substitute libc_cv_cc_fma4.
7589 * math/Makefile (dbl-only-routines): Add sincostab.
7590 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7591 Use __sincostab not sincos.
7592 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7594 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7596 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7599 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7600 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7601 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7602 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7605 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7607 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7608 define aliases when function name is a macro.
7609 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7610 sysdeps/ieee754/dbl-64/sincos.tbl.
7611 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7612 fma4-enabled routines.
7613 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7614 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7615 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7616 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7617 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7618 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7619 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7620 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7621 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7622 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7623 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7624 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7625 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7626 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7627 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7628 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7629 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7630 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7631 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7632 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7633 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7634 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7635 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7636 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7638 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7639 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7640 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7641 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7642 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7644 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7646 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7655 2011-10-24 Andreas Schwab <schwab@redhat.com>
7657 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7659 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7661 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7663 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7665 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7667 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7668 Remove unused variable magic_bits.
7669 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7671 * string/strnlen.c: Define and use STRNLEN macro.
7672 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7673 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7674 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7675 * wcsmbs/wcslen.c: Define and use WCSLEN.
7676 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7677 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7678 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7679 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7680 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7681 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7682 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7684 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7687 strnlen-sse2-no-bsf.
7688 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7689 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7690 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7691 Add strnlen support.
7692 (USE_AS_STRNLEN): New macro.
7693 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7694 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7695 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7696 * sysdeps/x86_64/wcslen.S: New file.
7698 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7700 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7701 XMM-moves are used for copying on small sizes.
7703 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7705 * wcsmbs/Makefile (strop-tests): Add wcschr.
7706 * wcsmbs/test-wcschr.c: New file.
7707 * string/test-strchr.c: Update.
7711 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7713 * wcsmbs/Makefile (strop-tests): Add wcslen.
7714 * wcsmbs/test-wcslen.c: New file.
7715 * string/test-strlen.c: Update.
7719 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7721 * po/it.po: Update from translation team.
7723 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7725 * sysdeps/x86_64/wcscmp.S: Update.
7726 Fix wrong comparison semantics.
7727 wcscmp shall use signed comparison not unsigned.
7728 Don't use substraction to avoid overflow bug.
7729 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7730 * wcsmbc/wcscmp.c: Likewise.
7731 * string/test-strcmp.c: Likewise.
7732 Add new tests to check cases with negative values.
7734 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7736 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7737 * sysdeps/x86_64/dla.h: ...here. New file.
7738 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7748 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7750 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7751 __ynl_finite aliases.
7753 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7757 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7759 [DLA_FMA] (EMULV): Use DLA_FMA.
7760 [DLA_FMA] (MUL12): Use EMULV.
7761 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7762 that are not needed.
7763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7771 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7773 * math/s_nan.c: Undef __nan.
7774 * math/s_nanf.c: Undef __nanf.
7775 * math/s_nanl.c: Undef __nanl.
7776 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7779 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7781 * math/s_catan.c: Add branch predictions.
7782 * math/s_catanf.c: Likewise.
7783 * math/s_catanh.c: Likewise.
7784 * math/s_catanhf.c: Likewise.
7785 * math/s_catanhl.c: Likewise.
7786 * math/s_catanl.c: Likewise.
7787 * math/s_cexp.c: Likewise.
7788 * math/s_cexpf.c: Likewise.
7789 * math/s_cexpl.c: Likewise.
7790 * math/s_clog.c: Likewise.
7791 * math/s_clog10.c: Likewise.
7792 * math/s_clog10f.c: Likewise.
7793 * math/s_clog10l.c: Likewise.
7794 * math/s_clogf.c: Likewise.
7795 * math/s_clogl.c: Likewise.
7796 * math/s_csqrt.c: Likewise.
7797 * math/s_csqrtf.c: Likewise.
7798 * math/s_csqrtl.c: Likewise.
7799 * math/s_ctanf.c: Likewise.
7800 * math/s_ctanh.c: Likewise.
7801 * math/s_ctanhf.c: Likewise.
7802 * math/s_ctanhl.c: Likewise.
7803 * math/s_ctanl.c: Likewise.
7805 * math/math_private.h: Define __nan, __nanf, __nanl.
7806 * math/s_cacosh.c: Include <math_private.h>.
7807 * math/s_cacoshl.c: Likewise.
7808 * math/s_casinh.c: Likewise.
7809 * math/s_casinhf.c: Likewise.
7810 * math/s_casinhl.c: Likewise.
7811 * math/s_ccos.c: Rely entire on ccosh.
7812 * math/s_ccosf.c: Rely entire on ccoshf.
7813 * math/s_ccosl.c: Rely entirely on ccoshl.
7814 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7815 Remove tests for FE_INVALID.
7816 * math/s_ccoshf.c: Likewise.
7817 * math/s_ccoshl.c: Likewise.
7818 * math/s_csin.c: Likewise.
7819 * math/s_csinf.c: Likewise.
7820 * math/s_csinh.c Likewise.
7821 * math/s_csinhf.c: Likewise.
7822 * math/s_csinhl.c: Likewise.
7823 * math/s_csinl.c: Likewise.
7824 * math/s_ctan.c: Likewise.
7825 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7826 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7827 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7829 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7832 compilation problems.
7834 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7837 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7839 * sysdeps/i386/configure.in: Test for -mfma4 option.
7840 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7841 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7842 COMMON_CPUID_INDEX_80000001.
7843 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7844 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7845 use it if FMA3 is not supported.
7846 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7848 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7849 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7851 2011-10-20 Andreas Schwab <schwab@redhat.com>
7854 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7855 it would create a cycle with a link time dependency.
7857 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7859 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7861 * string/Makefile (strop-tests): Add rawmemchr.
7862 * string/test-rawmemchr.c: New file.
7864 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7865 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7866 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7867 when compiling str{,n}casecmp and when AVX is available. Hook up
7868 new optimized code in initializers.
7870 2011-10-19 Andreas Schwab <schwab@redhat.com>
7872 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7873 __feraiseexcept instead of feraiseexcept.
7875 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7877 * math/math_private.h: Define defaults for libc_fetestexcept and
7879 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7880 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7881 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7882 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7883 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7884 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7885 libc_fetestexcept and libc_feupdateenv.
7887 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7888 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7889 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7890 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7891 libc_feholdexcept_setround.
7893 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7894 Add s_nearbyint-c and s_nearbyintf-c.
7895 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7897 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7898 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7899 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7900 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7902 * math/math_private.h: Define defaults for libc_fegetround,
7903 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7904 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7905 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7907 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7909 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7910 Remove comments and hacks for old compiler versions.
7911 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7912 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7915 2011-10-18 Andreas Schwab <schwab@redhat.com>
7917 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7918 (__feraiseexcept_renamed): Add __NTH.
7919 (feraiseexcept): Add __NTH. Rename local variables to fix
7920 namespace violations.
7922 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7924 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7926 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7928 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7929 recently added interfaces.
7930 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7932 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7933 about macro parameter expansion.
7935 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7936 __NO_MATH_INLINES is defined. Cleanups.
7938 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7939 and __floorf is target has SSE4.1.
7940 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7941 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7942 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7943 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7945 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7949 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7951 2011-10-17 Andreas Schwab <schwab@redhat.com>
7953 * misc/sys/cdefs.h: Fix last change.
7955 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7958 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7960 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7962 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7963 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7964 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7965 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7966 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7967 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7968 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7969 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7970 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7971 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7972 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7973 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7974 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7975 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7976 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7977 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7978 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7979 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7980 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7981 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7982 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7983 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7985 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7986 ceil, ceilf, floor, floorf.
7988 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7989 Perform IRELATIVE relocations last.
7991 * elf/do-rel.h: Add another parameter nrelative, replacing the
7992 local variable with the same name. Change name of the function
7993 to end in Rel or Rela (uppercase).
7994 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7995 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7996 elf_dynamic_do_##reloc function.
7998 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8000 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8001 is sufficient, at least on modern CPUs.
8003 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8005 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8006 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8008 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8010 * math/bits/math-finite.h: Add entries for exp.
8011 * math/e_expl.c: Add __*_finite alias.
8012 * sysdeps/i386/fpu/e_exp.S: Likewise.
8013 * sysdeps/i386/fpu/e_expf.S: Likewise.
8014 * sysdeps/i386/fpu/e_expl.c: Likewise.
8015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8016 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8017 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8018 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8019 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8020 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8021 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8023 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8024 is sufficient, at least on modern CPUs.
8026 * ctype/ctype-info.c (__ctype_init): Define.
8027 * include/ctype.h (__ctype_init): Declare.
8028 (__ctype_b_loc): The variable is always initialized.
8029 (__ctype_toupper_loc): Likewise.
8030 (__ctype_tolower_loc): Likewise.
8031 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8032 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8034 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8036 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8038 * configure.in: Also look in $cxxmachine/include for C++ system
8041 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8043 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8044 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8045 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8046 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8047 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8048 (USE_AS_WMEMCMP): New macro.
8050 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8051 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8052 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8053 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8054 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8055 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8056 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8057 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8058 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8059 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8060 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8061 (USE_AS_WMEMCMP): New macro.
8062 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8063 * sysdeps/string/test-memcmp.c: Update.
8066 * wcsmbs/wmemcmp.c: Update.
8067 (WMEMCMP): New macro.
8070 2011-10-12 Andreas Jaeger <aj@suse.de>
8073 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8075 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8077 * libio/iofwide.c (do_length): Avoid warning.
8079 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8081 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8083 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8085 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8086 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8087 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8088 * sysdeps/i386/i686/fpu/e_log.S: New file.
8089 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8090 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8092 * ctype/ctype.h: Add support for inlined isXXX functions when
8095 2011-10-14 Andreas Schwab <schwab@redhat.com>
8097 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8099 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8101 2011-10-13 Roland McGrath <roland@hack.frob.com>
8104 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8106 2011-10-13 Andreas Schwab <schwab@redhat.com>
8108 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8109 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8112 * sysdeps/x86_64/memrchr.S: Check for zero size.
8114 * string/stratcliff.c: Add memrchr tests.
8116 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8119 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8120 rawmemchr-sse2 rawmemchr-sse2-bsf.
8121 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8122 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8123 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8124 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8125 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8126 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8127 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8128 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8129 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8130 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8131 * string/memrchr.c (MEMRCHR): New macro.
8133 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8135 Add integration with gcc's -ffinite-math-only and optimize wrapper
8137 * Versions.def: Define GLIBC_2.15 version for libm.
8138 * math/Makefile (headers): Add bits/math-finite.h.
8139 * math/bits/math-finite.h: New file.
8140 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8141 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8142 * math/e_acoshl.c: Add __*_finite alias.
8143 * math/e_acosl.c: Likewise.
8144 * math/e_asinl.c: Likewise.
8145 * math/e_atan2l.c: Likewise.
8146 * math/e_atanhl.c: Likewise.
8147 * math/e_coshl.c: Likewise.
8148 * math/e_exp10.c: Likewise.
8149 * math/e_exp10f.c: Likewise.
8150 * math/e_exp10l.c: Likewise.
8151 * math/e_exp2l.c: Likewise.
8152 * math/e_fmodl.c: Likewise.
8153 * math/e_gammal_r.c: Likewise.
8154 * math/e_hypotl.c: Likewise.
8155 * math/e_j0l.c: Likewise.
8156 * math/e_j1l.c: Likewise.
8157 * math/e_jnl.c: Likewise.
8158 * math/e_lgammal_r.c: Likewise.
8159 * math/e_log10l.c: Likewise.
8160 * math/e_log2l.c: Likewise.
8161 * math/e_logl.c: Likewise.
8162 * math/e_powl.c: Likewise.
8163 * math/e_sinhl.c: Likewise.
8164 * math/e_sqrtl.c: Likewise.
8165 * math/e_scalb.c: Completely rewritten and optimized.
8166 * math/e_scalbf.c: Likewise.
8167 * math/e_scalbl.c: Likewise.
8168 * math/w_acos.c: Likewise.
8169 * math/w_acosf.c: Likewise.
8170 * math/w_acosl.c: Likewise.
8171 * math/w_acosh.c: Likewise.
8172 * math/w_acoshf.c: Likewise.
8173 * math/w_acoshl.c: Likewise.
8174 * math/w_asin.c: Likewise.
8175 * math/w_asinf.c: Likewise.
8176 * math/w_asinl.c: Likewise.
8177 * math/w_atan2.c: Likewise.
8178 * math/w_atan2f.c: Likewise.
8179 * math/w_atan2l.c: Likewise.
8180 * math/w_atanh.c: Likewise.
8181 * math/w_atanhf.c: Likewise.
8182 * math/w_atanhl.c: Likewise.
8183 * math/w_exp10.c: Likewise.
8184 * math/w_exp10f.c: Likewise.
8185 * math/w_exp10l.c: Likewise.
8186 * math/w_fmod.c: Likewise.
8187 * math/w_fmodf.c: Likewise.
8188 * math/w_fmodl.c: Likewise.
8189 * math/w_j0.c: Likewise.
8190 * math/w_j0f.c: Likewise.
8191 * math/w_j0l.c: Likewise.
8192 * math/w_j1.c: Likewise.
8193 * math/w_j1f.c: Likewise.
8194 * math/w_j1l.c: Likewise.
8195 * math/w_jn.c: Likewise.
8196 * math/w_jnf.c: Likewise.
8197 * math/w_log.c: Likewise.
8198 * math/w_logf.c: Likewise.
8199 * math/w_logl.c: Likewise.
8200 * math/w_log10.c: Likewise.
8201 * math/w_log10f.c: Likewise.
8202 * math/w_log10l.c: Likewise.
8203 * math/w_log2.c: Likewise.
8204 * math/w_log2f.c: Likewise.
8205 * math/w_log2l.c: Likewise.
8206 * math/w_pow.c: Likewise.
8207 * math/w_powf.c: Likewise.
8208 * math/w_powl.c: Likewise.
8209 * math/w_remainder.c: Likewise.
8210 * math/w_remainderf.c: Likewise.
8211 * math/w_remainderl.c: Likewise.
8212 * math/w_scalb.c: Likewise.
8213 * math/w_scalbf.c: Likewise.
8214 * math/w_scalbl.c: Likewise.
8215 * math/w_sqrt.c: Likewise.
8216 * math/w_sqrtf.c: Likewise.
8217 * math/w_sqrtl.c: Likewise.
8218 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8219 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8221 * math/math_private.h: Declare __kernel_standard_f.
8222 * math/w_cosh.c: Remove cruft and optimize a bit.
8223 * math/w_coshf.c: Likewise.
8224 * math/w_coshl.c: Likewise.
8225 * math/w_exp2.c: Likewise.
8226 * math/w_exp2f.c: Likewise.
8227 * math/w_exp2l.c: Likewise.
8228 * math/w_hypot.c: Likewise.
8229 * math/w_hypotf.c: Likewise.
8230 * math/w_hypotl.c: Likewise.
8231 * math/w_lgamma.c: Likewise.
8232 * math/w_lgamma_r.c: Likewise.
8233 * math/w_lgammaf.c: Likewise.
8234 * math/w_lgammaf_r.c: Likewise.
8235 * math/w_lgammal.c: Likewise.
8236 * math/w_lgammal_r.c: Likewise.
8237 * math/w_sinh.c: Likewise.
8238 * math/w_sinhf.c: Likewise.
8239 * math/w_sinhl.c: Likewise.
8240 * math/w_tgamma.c: Likewise.
8241 * math/w_tgammaf.c: Likewise.
8242 * math/w_tgammal.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8244 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8245 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8246 Minor optimizations. Pretty printing. Remove cruft.
8247 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8248 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8249 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8250 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8251 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8252 * sysdeps/i386/fpu/e_asin.S: Likewise.
8253 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8254 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8255 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8256 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8257 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8258 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8259 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8260 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8261 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8262 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8263 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8264 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8265 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8266 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8267 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8268 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8269 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8270 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8271 * sysdeps/i386/fpu/e_log.S: Likewise.
8272 * sysdeps/i386/fpu/e_log10.S: Likewise.
8273 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8274 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8275 * sysdeps/i386/fpu/e_log2.S: Likewise.
8276 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8277 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8278 * sysdeps/i386/fpu/e_logf.S: Likewise.
8279 * sysdeps/i386/fpu/e_logl.S: Likewise.
8280 * sysdeps/i386/fpu/e_pow.S: Likewise.
8281 * sysdeps/i386/fpu/e_powf.S: Likewise.
8282 * sysdeps/i386/fpu/e_powl.S: Likewise.
8283 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8284 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8285 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8286 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8287 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8288 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8289 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8290 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8291 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8313 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8314 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8315 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8316 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8317 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8318 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8319 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8320 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8321 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8322 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8323 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8324 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8325 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8326 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8327 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8328 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8329 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8330 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8331 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8332 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8333 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8375 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8377 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8383 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8385 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8387 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8388 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8389 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8390 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8391 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8392 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8393 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8394 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8395 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8396 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8397 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8398 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8399 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8400 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8401 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8402 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8403 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8404 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8405 (__isnanf): Likewise.
8406 (__isinf_ns): Likewise.
8407 (__isinf_nsf): Likewise.
8408 (__finite): Likewise.
8409 (__finitef): Likewise.
8410 (__ieee754_sqrt): Define as macro.
8411 (__ieee754_sqrtf): Define as macro.
8412 (__ieee754_sqrtl): Define as macro.
8413 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8415 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8416 __FINITE_MATH_ONLY__ consistent.
8417 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8419 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8421 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8424 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8426 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8428 * po/ja.po: Update from translation team.
8430 2011-10-08 Roland McGrath <roland@hack.frob.com>
8432 * locale/programs/locarchive.c (prepare_address_space): New function.
8433 (create_archive, enlarge_archive, open_archive): Use it.
8435 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8436 inside [SHARED], where it is used.
8438 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8440 * nss/getent.c (netgroup_keys): Remove unused variable.
8441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8443 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8445 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8446 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8448 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8449 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8450 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8451 * math/Makefile (libm-calls): Add s_isinf_ns.
8452 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8453 * math/multc3.c: Likewise.
8454 * math/s_casin.c: Likewise.
8455 * math/s_casinf.c: Likewise.
8456 * math/s_casinl.c: Likewise.
8457 * math/s_ccos.c: Likewise.
8458 * math/s_ccosf.c: Likewise.
8459 * math/s_ccosl.c: Likewise.
8460 * math/s_ctan.c: Likewise.
8461 * math/s_ctanf.c: Likewise.
8462 * math/s_ctanh.c: Likewise.
8463 * math/s_ctanhf.c: Likewise.
8464 * math/s_ctanhl.c: Likewise.
8465 * math/s_ctanl.c: Likewise.
8466 * math/w_fmod.c: Likewise.
8467 * math/w_fmodf.c: Likewise.
8468 * math/w_fmodl.c: Likewise.
8469 * math/w_remainder.c: Likewise.
8470 * math/w_remainderf.c: Likewise.
8471 * math/w_remainderl.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8473 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8474 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8476 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8477 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8478 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8479 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8481 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8483 * stdio-common/printf_fphex.c: Likewise.
8484 * stdio-common/printf_size.c: Likewise.
8486 * math/e_exp10.c: Include math_private.h using <...> not "...".
8487 * math/e_exp10f.c: Likewise.
8488 * math/e_exp10l.c: Likewise.
8489 * math/e_exp2l.c: Likewise.
8490 * math/e_j0l.c: Likewise.
8491 * math/e_j1l.c: Likewise.
8492 * math/e_jnl.c: Likewise.
8493 * math/e_lgammal_r.c: Likewise.
8494 * math/e_rem_pio2l.c: Likewise.
8495 * math/e_scalb.c: Likewise.
8496 * math/e_scalbf.c: Likewise.
8497 * math/e_scalbl.c: Likewise.
8498 * math/k_cosl.c: Likewise.
8499 * math/k_sinl.c: Likewise.
8500 * math/k_tanl.c: Likewise.
8501 * math/s_cacoshf.c: Likewise.
8502 * math/s_catan.c: Likewise.
8503 * math/s_catanf.c: Likewise.
8504 * math/s_catanh.c: Likewise.
8505 * math/s_catanhf.c: Likewise.
8506 * math/s_catanhl.c: Likewise.
8507 * math/s_catanl.c: Likewise.
8508 * math/s_ccosh.c: Likewise.
8509 * math/s_ccoshf.c: Likewise.
8510 * math/s_ccoshl.c: Likewise.
8511 * math/s_cexp.c: Likewise.
8512 * math/s_cexpf.c: Likewise.
8513 * math/s_cexpl.c: Likewise.
8514 * math/s_clog.c: Likewise.
8515 * math/s_clog10.c: Likewise.
8516 * math/s_clog10f.c: Likewise.
8517 * math/s_clog10l.c: Likewise.
8518 * math/s_clogf.c: Likewise.
8519 * math/s_clogl.c: Likewise.
8520 * math/s_csin.c: Likewise.
8521 * math/s_csinf.c: Likewise.
8522 * math/s_csinh.c: Likewise.
8523 * math/s_csinhf.c: Likewise.
8524 * math/s_csinhl.c: Likewise.
8525 * math/s_csinl.c: Likewise.
8526 * math/s_csqrt.c: Likewise.
8527 * math/s_csqrtf.c: Likewise.
8528 * math/s_csqrtl.c: Likewise.
8529 * math/s_ctan.c: Likewise.
8530 * math/s_ctanf.c: Likewise.
8531 * math/s_ctanh.c: Likewise.
8532 * math/s_ctanhf.c: Likewise.
8533 * math/s_ctanhl.c: Likewise.
8534 * math/s_ctanl.c: Likewise.
8535 * math/s_ldexp.c: Likewise.
8536 * math/s_ldexpf.c: Likewise.
8537 * math/s_ldexpl.c: Likewise.
8538 * math/s_significand.c: Likewise.
8539 * math/s_significandf.c: Likewise.
8540 * math/s_significandl.c: Likewise.
8541 * math/w_acos.c: Likewise.
8542 * math/w_acosf.c: Likewise.
8543 * math/w_acosh.c: Likewise.
8544 * math/w_acoshf.c: Likewise.
8545 * math/w_acoshl.c: Likewise.
8546 * math/w_acosl.c: Likewise.
8547 * math/w_asin.c: Likewise.
8548 * math/w_asinf.c: Likewise.
8549 * math/w_asinl.c: Likewise.
8550 * math/w_atan2.c: Likewise.
8551 * math/w_atan2f.c: Likewise.
8552 * math/w_atan2l.c: Likewise.
8553 * math/w_atanh.c: Likewise.
8554 * math/w_atanhf.c: Likewise.
8555 * math/w_atanhl.c: Likewise.
8556 * math/w_cosh.c: Likewise.
8557 * math/w_coshf.c: Likewise.
8558 * math/w_coshl.c: Likewise.
8559 * math/w_dremf.c: Likewise.
8560 * math/w_exp10.c: Likewise.
8561 * math/w_exp10f.c: Likewise.
8562 * math/w_exp10l.c: Likewise.
8563 * math/w_exp2.c: Likewise.
8564 * math/w_exp2f.c: Likewise.
8565 * math/w_fmod.c: Likewise.
8566 * math/w_fmodf.c: Likewise.
8567 * math/w_fmodl.c: Likewise.
8568 * math/w_hypot.c: Likewise.
8569 * math/w_hypotf.c: Likewise.
8570 * math/w_hypotl.c: Likewise.
8571 * math/w_j0.c: Likewise.
8572 * math/w_j0f.c: Likewise.
8573 * math/w_j0l.c: Likewise.
8574 * math/w_j1.c: Likewise.
8575 * math/w_j1f.c: Likewise.
8576 * math/w_j1l.c: Likewise.
8577 * math/w_jn.c: Likewise.
8578 * math/w_jnf.c: Likewise.
8579 * math/w_jnl.c: Likewise.
8580 * math/w_lgamma.c: Likewise.
8581 * math/w_lgamma_r.c: Likewise.
8582 * math/w_lgammaf.c: Likewise.
8583 * math/w_lgammaf_r.c: Likewise.
8584 * math/w_lgammal.c: Likewise.
8585 * math/w_lgammal_r.c: Likewise.
8586 * math/w_log.c: Likewise.
8587 * math/w_log10.c: Likewise.
8588 * math/w_log10f.c: Likewise.
8589 * math/w_log10l.c: Likewise.
8590 * math/w_log2.c: Likewise.
8591 * math/w_log2f.c: Likewise.
8592 * math/w_log2l.c: Likewise.
8593 * math/w_logf.c: Likewise.
8594 * math/w_logl.c: Likewise.
8595 * math/w_pow.c: Likewise.
8596 * math/w_powf.c: Likewise.
8597 * math/w_powl.c: Likewise.
8598 * math/w_remainder.c: Likewise.
8599 * math/w_remainderf.c: Likewise.
8600 * math/w_remainderl.c: Likewise.
8601 * math/w_scalb.c: Likewise.
8602 * math/w_scalbf.c: Likewise.
8603 * math/w_scalbl.c: Likewise.
8604 * math/w_sinh.c: Likewise.
8605 * math/w_sinhf.c: Likewise.
8606 * math/w_sinhl.c: Likewise.
8607 * math/w_sqrt.c: Likewise.
8608 * math/w_sqrtf.c: Likewise.
8609 * math/w_sqrtl.c: Likewise.
8610 * math/w_tgamma.c: Likewise.
8611 * math/w_tgammaf.c: Likewise.
8612 * math/w_tgammal.c: Likewise.
8614 * po/ja.po: Update from translation team.
8616 2011-09-29 Andreas Jaeger <aj@suse.de>
8619 * sunrpc/netname.c (netname2host): Fix logic.
8623 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8625 * math/w_remainder.c (__remainder): Likewise.
8626 * math/w_remainderf.c (__remainderf): Likewise.
8627 * math/libm-test.inc (remainder_test): Add test cases.
8629 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8631 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8634 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8636 * string/test-memcmp.c: Avoid unncessary #defines.
8637 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8639 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8641 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8642 Use new sse2 version for core i3 - i7 as it's faster
8644 (bit_Prefer_PMINUB_for_stringop): New.
8645 * sysdeps/x86_64/rawmemchr.S: Update.
8646 Replace with faster SSE2 version.
8647 * sysdeps/x86_64/memrchr.S: New file.
8648 * sysdeps/x86_64/memchr.S: Update.
8649 Replace with faster SSE2 version.
8651 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8653 * elf/dl-load.c (lose): Add cast to avoid warning.
8655 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8657 * po/ca.po: Update from translation team.
8659 * inet/getnetgrent_r.c: Hook up nscd.
8660 * nscd/Makefile (routines): Add nscd_netgroup.
8661 (nscd-modules): Add netgroupcache.
8662 (CFLAGS-netgroupcache.c): Define.
8663 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8664 (cache_search): Add const to second parameter.
8665 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8667 (dbs): Add netgrdb entry.
8668 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8669 (verify_persistent_db): Handle netgrdb.
8670 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8671 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8673 (netgroup_response_header): Define.
8674 (innetgroup_response_header): Define.
8675 (datahead): Add netgroup_response_header and innetgroup_response_header
8677 * nscd/nscd.conf: Add entries for netgroup cache.
8678 * nscd/nscd.h (dbtype): Add netgrdb.
8679 (_PATH_NSCD_NETGROUP_DB): Define.
8680 (netgroup_iov_disabled): Declare.
8681 (xmalloc, xcalloc, xrealloc): Move declarations here.
8682 (cache_search): Adjust prototype.
8683 Add netgroup-related prototypes.
8684 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8685 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8686 (__nscd_innetgr): Declare.
8687 * nscd/selinux.c (perms): Use access_vector_t as element type and
8688 add netgroup-related initializers.
8689 * nscd/netgroupcache.c: New file.
8690 * nscd/nscd_netgroup.c: New file.
8691 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8692 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8693 For four parameters use innetgr.
8694 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8695 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8696 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8697 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8699 * nscd/connections.c (register_traced_file): Don't register file
8700 for disabled databases.
8702 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8704 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8706 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8707 from tree and freeing node.
8709 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8711 * nss/nsswitch.c (__nss_database_lookup): Handle
8712 nss_parse_service_list out of memory case.
8714 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8716 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8719 2011-10-04 Andreas Schwab <schwab@redhat.com>
8721 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8722 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8724 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8725 elf_machine_rela, elf_machine_lazy_rel.
8726 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8727 (ELF_DYNAMIC_DO_REL): Likewise.
8728 (ELF_DYNAMIC_DO_RELA): Likewise.
8729 (ELF_DYNAMIC_RELOCATE): Likewise.
8730 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8731 to ELF_DYNAMIC_DO_REL.
8732 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8733 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8734 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8736 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8737 skip_ifunc, don't call ifunc function if non-zero.
8738 (elf_machine_rela): Likewise.
8739 (elf_machine_lazy_rel): Likewise.
8740 (elf_machine_lazy_rela): Likewise.
8741 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8742 (elf_machine_lazy_rel): Likewise.
8743 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8745 (elf_machine_lazy_rel): Likewise.
8746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8748 (elf_machine_lazy_rel): Likewise.
8749 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8750 (elf_machine_lazy_rel): Likewise.
8751 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8752 (elf_machine_lazy_rel): Likewise.
8753 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8754 (elf_machine_lazy_rel): Likewise.
8755 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8756 (elf_machine_lazy_rel): Likewise.
8757 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8758 (elf_machine_lazy_rel): Likewise.
8759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8760 (elf_machine_lazy_rel): Likewise.
8762 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8764 * nss/nss_files/files-init.c (_nss_files_init): Use static
8765 initialization for all the *_traced_file variables.
8767 2011-09-28 Andreas Schwab <schwab@redhat.com>
8769 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8771 2011-09-27 Roland McGrath <roland@hack.frob.com>
8774 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8776 2011-09-27 Andreas Schwab <schwab@redhat.com>
8778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8779 Reread the line before reparsing it.
8781 2011-09-26 Andreas Schwab <schwab@redhat.com>
8783 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8785 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8786 Maxim Kuvyrkov <maxim@codesourcery.com>
8787 Joseph Myers <joseph@codesourcery.com>
8789 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8790 if needed for __stack_chk_guard.
8792 2011-09-19 Roland McGrath <roland@hack.frob.com>
8794 * sysdeps/posix/spawni.c (script_execute): Always define it.
8795 It will be optimized away if unused.
8796 (maybe_script_execute): New function.
8797 (__spawni): Call it.
8799 * Makerules: Don't include tls.make.
8800 (config-tls): Always set to thread.
8801 * tls.make.c: File removed.
8803 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8805 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8806 * config.make.in (CPPFLAGS-config): New substituted variable.
8808 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8810 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8813 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8814 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8816 2011-09-15 Roland McGrath <roland@hack.frob.com>
8818 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8819 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8820 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8821 (CALL_FAIL): Likewise.
8822 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8823 (CALL_FAIL): Macro removed.
8824 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8826 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8828 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8829 for __FINITE_MATH_ONLY__ == 1.
8831 2011-09-15 Andreas Schwab <schwab@redhat.com>
8833 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8834 __ieee754_sqrt instead of sqrt.
8835 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8836 __ieee754_sqrtf instead of sqrtf.
8837 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8838 __floorf instead of floorf.
8839 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8840 __floorf, __truncf instead of floorf, truncf.
8842 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8844 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8846 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8847 __extern_always_inline.
8848 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8851 2011-09-14 Andreas Schwab <schwab@redhat.com>
8853 * elf/rtld.c (dl_main): Also relocate in dependency order when
8854 doing symbol dependency testing.
8856 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8859 Always define `refsym'.
8861 2011-09-13 Andreas Schwab <schwab@redhat.com>
8863 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8864 (__FD_ELT): Renamed from __FDELT.
8865 * misc/bits/select2.h (__FD_ELT): Likewise.
8866 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8867 __FD_MASK instead of __FDELT, __FDMASK.
8868 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8870 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8873 * elf/Makefile (gen-ldd): Fix pattern.
8875 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8876 (init_tls): Likewise.
8878 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8880 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8882 2011-09-12 Andreas Schwab <schwab@redhat.com>
8884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8885 `struct cmsghdr *' instead of `void *'.
8886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8889 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8891 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8893 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8896 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8898 * configure.in: Remove --with-tls option.
8899 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8900 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8901 out in case it is missing.
8902 * sysdeps/ia64/elf/configure.in: Likewise.
8903 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8904 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8905 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8906 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8907 * sysdeps/sh/elf/configure.in: Likewise.
8908 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8909 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8910 * sysdeps/x86_64/elf/configure.in: Likewise.
8911 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8912 * sysdeps/mach/hurd/tls.h: Likewise.
8915 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8918 * configure.in: Fix use of AC_INIT.
8920 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8922 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8924 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8926 * malloc/hooks.c: Likewise.
8929 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8930 variables statically.
8931 (narenas): Initialize.
8932 (list_lock): Initialize.
8933 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8934 initializtion of main_arena and list_lock. Small cleanups.
8935 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8936 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8937 Add initializers to main_arena and mp_.
8938 (malloc_state): Remove pagesize member. Change all users to use
8941 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8942 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8943 is always initialized.
8945 * malloc/malloc.c: Removed unused configurations and dead code.
8946 * malloc/arena.c: Likewise.
8947 * malloc/hooks.c: Likewise.
8948 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8950 * include/tls.h: Removed. USE___THREAD must always be defined.
8951 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8952 * elf/dl-libc.c: Likewise.
8953 * elf/dl-tsd.c: Likewise.
8954 * include/errno.h: Likewise.
8955 * include/netdb.h: Likewise.
8956 * include/resolv.h: Likewise.
8957 * inet/herrno-loc.c: Likewise.
8958 * inet/herrno.c: Likewise.
8959 * malloc/arena.c: Likewise.
8960 * malloc/hooks.c: Likewise.
8961 * malloc/malloc.c: Likewise.
8962 * resolv/res-state.c: Likewise.
8963 * resolv/res_libc.c: Likewise.
8964 * sysdeps/i386/dl-machine.h: Likewise.
8965 * sysdeps/ia64/dl-machine.h: Likewise.
8966 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8967 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8968 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8969 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8970 * sysdeps/sh/dl-machine.h: Likewise.
8971 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8972 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8973 * sysdeps/unix/i386/sysdep.S: Likewise.
8974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8975 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8976 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8977 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8979 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8980 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8982 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8983 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8984 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8985 * sysdeps/x86_64/dl-machine.h: Likewise.
8986 * tls.make.c: Likewise.
8988 * configure.in: Remove --with-__thread option. Make tests for
8989 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8990 tls_model attribute fail if no support is available. Remove
8992 * Makeconfig: Adjust for dropped configure option. All features are
8994 * Makerules: Likewise.
8995 * Versions.def: Likewise.
8996 * argp/argp-fmtstream.c: Likewise.
8997 * argp/argp-fmtstream.h: Likewise.
8998 * argp/argp-help.c: Likewise.
8999 * assert/assert.c: Likewise.
9000 * config.h.in: Likewise.
9001 * config.make.in: Likewise.
9002 * configure: Likewise.
9003 * configure.in: Likewise.
9004 * csu/Versions: Likewise.
9005 * csu/init.c: Likewise.
9006 * elf/tst-audit2.c: Likewise.
9007 * elf/tst-tls10.c: Likewise.
9008 * elf/tst-tls10.h: Likewise.
9009 * elf/tst-tls11.c: Likewise.
9010 * elf/tst-tls12.c: Likewise.
9011 * elf/tst-tls14.c: Likewise.
9012 * elf/tst-tlsmod11.c: Likewise.
9013 * elf/tst-tlsmod12.c: Likewise.
9014 * elf/tst-tlsmod13.c: Likewise.
9015 * elf/tst-tlsmod13a.c: Likewise.
9016 * elf/tst-tlsmod14a.c: Likewise.
9017 * elf/tst-tlsmod15b.c: Likewise.
9018 * elf/tst-tlsmod16a.c: Likewise.
9019 * elf/tst-tlsmod16b.c: Likewise.
9020 * elf/tst-tlsmod7.c: Likewise.
9021 * elf/tst-tlsmod8.c: Likewise.
9022 * elf/tst-tlsmod9.c: Likewise.
9023 * gmon/gmon.c: Likewise.
9024 * grp/fgetgrent_r.c: Likewise.
9025 * grp/putgrent.c: Likewise.
9026 * hurd/fopenport.c: Likewise.
9027 * include/libc-symbols.h: Likewise.
9028 * include/tls.h: Likewise.
9029 * intl/gettextP.h: Likewise.
9030 * intl/loadinfo.h: Likewise.
9031 * locale/global-locale.c: Likewise.
9032 * locale/localeinfo.h: Likewise.
9033 * mach/devstream.c: Likewise.
9034 * malloc/arena.c: Likewise.
9035 * malloc/set-freeres.c: Likewise.
9036 * misc/err.c: Likewise.
9037 * misc/getttyent.c: Likewise.
9038 * misc/mntent_r.c: Likewise.
9039 * posix/getopt.c: Likewise.
9040 * posix/wordexp.c: Likewise.
9041 * pwd/fgetpwent_r.c: Likewise.
9042 * resolv/Versions: Likewise.
9043 * resolv/res_hconf.c: Likewise.
9044 * shadow/fgetspent_r.c: Likewise.
9045 * shadow/putspent.c: Likewise.
9046 * stdio-common/printf_fphex.c: Likewise.
9047 * stdio-common/tmpfile.c: Likewise.
9048 * stdlib/abort.c: Likewise.
9049 * stdlib/fmtmsg.c: Likewise.
9050 * sunrpc/auth_unix.c: Likewise.
9051 * sunrpc/clnt_perr.c: Likewise.
9052 * sunrpc/clnt_tcp.c: Likewise.
9053 * sunrpc/clnt_udp.c: Likewise.
9054 * sunrpc/clnt_unix.c: Likewise.
9055 * sunrpc/openchild.c: Likewise.
9056 * sunrpc/svc_simple.c: Likewise.
9057 * sunrpc/svc_tcp.c: Likewise.
9058 * sunrpc/svc_udp.c: Likewise.
9059 * sunrpc/svc_unix.c: Likewise.
9060 * sunrpc/xdr.c: Likewise.
9061 * sunrpc/xdr_array.c: Likewise.
9062 * sunrpc/xdr_rec.c: Likewise.
9063 * sunrpc/xdr_ref.c: Likewise.
9064 * sunrpc/xdr_stdio.c: Likewise.
9066 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9068 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9070 2011-07-03 Andreas Jaeger <aj@suse.de>
9072 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9073 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9074 regenerate with gen-libm-tests.pl.
9076 2010-05-12 Petr Baudis <pasky@suse.cz>
9079 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9080 around j0() zero points by switching to j1().
9081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9086 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9088 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9090 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9092 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9093 Patch in part by Pavel Roskin <proski@gnu.org>.
9096 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9098 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9099 Free memory block if necessary.
9102 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9103 be NULL. Don't lock in this case.
9105 2011-09-09 Roland McGrath <roland@hack.frob.com>
9107 * elf/elf.h (ELFOSABI_GNU): New macro.
9108 (ELFOSABI_LINUX): Define to that.
9110 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9112 * string/strncat.c (strncat): Undef the symbol in case it has been
9113 defined in bits/string.h.
9115 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9117 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9119 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9122 2011-08-17 Andreas Jaeger <aj@suse.de>
9124 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9126 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9127 Ian Lance Taylor <iant@google.com>
9129 * math/libm-test.inc (lround_test): New testcase.
9130 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9132 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9134 * Makefile: Remove support for automatic cvs check-ins.
9135 * Makerules: Likewise.
9136 * config.make.in: Likewise.
9137 * configure.in: Likewise.
9138 * intl/Makefile: Likewise.
9139 * locale/Makefile: Likewise.
9140 * po/Makefile: Likewise.
9141 * posix/Makefile: Likewise.
9142 * sysdeps/gnu/Makefile: Likewise.
9143 * sysdeps/mach/hurd/Makefile: Likewise.
9144 * sysdeps/sparc/sparc32/Makefile: Likewise.
9147 * posix/Makefile (bug-regex32-ENV): Define.
9148 Patch by John Stanley <jpsinthemix@verizon.net>.
9150 * misc/Makefile (headers): Add bits/select2.h.
9151 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9152 * misc/bits/select2.h: New file.
9153 * include/bits/select2.h: New file.
9154 * debug/Makefile (routines): Add fdelt_chk.
9155 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9156 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9158 * debug/fdelt_chk.c: New file.
9160 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9161 * wcsmbs/test-wmemcmp.c: Likewise.
9162 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9163 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9165 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9167 * string/Makefile (strop-tests): Add memcmp.
9168 * string/test-wmemcmp.c: New file.
9169 * string/test-memcmp.c: Add wmemcmp support.
9171 2011-09-08 Roland McGrath <roland@hack.frob.com>
9174 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9177 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9178 garbage value in a __mach_port_mod_refs call in the cases of the
9179 task-self and thread-self ports.
9181 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9183 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9185 2011-09-08 Andreas Schwab <schwab@redhat.com>
9187 * elf/dl-load.c (lose): Check for non-null L.
9189 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9191 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9193 * elf/dl-libc.c (dlerror_run): Pass back error code from
9197 * elf/dl-load.c (lose): Free l_origin if it is valid.
9199 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9201 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9202 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9203 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9204 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9205 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9206 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9208 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9210 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9211 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9212 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9213 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9214 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9215 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9216 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9217 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9218 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9219 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9221 2011-08-15 Alan Modra <amodra@gmail.com>
9224 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9225 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9226 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9227 ppc_mcount to static-only-routines.
9228 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9230 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9231 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9233 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9235 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9236 for finite and infinity parameters.
9238 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9241 and add nop instructions for throughput optimization.
9242 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9244 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9246 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9247 aligned copy for power7 with vector-scalar instructions.
9248 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9250 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9255 2011-09-07 Andreas Schwab <schwab@redhat.com>
9258 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9261 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9263 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9264 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9265 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9266 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9269 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9271 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9272 Forgot to demangle the pointer.
9274 * sysdeps/i386/sysdep.h: Define atom_text_section.
9275 * sysdeps/x86_64/sysdep.h: Likewise.
9276 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9277 section with atom_text_section.
9278 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9280 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9281 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9282 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9285 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9286 already be defined. Change to take two parameters and don't assign
9287 result to variable. Adjust all users.
9288 Define INTERNAL_GETTIME if not already defined.
9289 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9291 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9292 HAVE_CLOCK_GETTIME_VSYSCALL.
9293 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9295 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9296 gettimeofday vsyscall, just use time.
9298 2011-09-06 Andreas Schwab <schwab@redhat.com>
9300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9303 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9305 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9309 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9310 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9311 syscall if possible.
9313 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9315 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9316 e_ident. Don't pass to find_mapsXX.
9317 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9319 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9322 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9323 * sysdeps/x86_64/multiarch/strchr.S: Update.
9324 Check bit_slow_BSF bit.
9325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9326 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9327 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9329 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9332 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9335 (__spawni): Change last parameter to be flag. Test
9336 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9337 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9338 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9339 * posix/spawni.c: Likewise.
9340 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9341 * posix/spawnp.c: Likewise. Change normal version to use
9342 SPAWN_XFLAGS_USE_PATH.
9343 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9344 SPAWN_XFLAGS_TRY_SHELL.
9347 * posix/glob.h: Remove gcc 1.x support.
9350 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9352 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9355 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9357 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9358 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9359 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9361 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9362 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9364 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9366 * sysdeps/x86_64/wcscmp.S: New file.
9368 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9369 wcscmp-c wcscmp-sse2
9370 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9371 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9372 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9373 * wcsmbs/wcscmp.c: Allow renaming.
9375 2011-09-05 David S. Miller <davem@davemloft.net>
9377 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9378 stack slot, rather than the struct return pointer slot.
9379 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9380 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9382 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9384 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9386 * po/ja.po: Update from translation team.
9389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9390 kernel in 64-bit binaries.
9392 2011-09-01 David S. Miller <davem@davemloft.net>
9394 * elf/elf.h (HWCAP_SPARC_*): Move to..
9395 * sysdeps/sparc/sysdep.h: this new file and add new values.
9396 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9397 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9398 _DL_HWCAP_COUNT to 24.
9399 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9401 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9402 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9403 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9405 instead of magic constants.
9406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9408 2011-08-31 David S. Miller <davem@davemloft.net>
9410 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9412 Reimplement to do errno handling inline.
9413 (SYSCALL_ERROR_HANDLER): New macro.
9414 (__SYSCALL_STRING): Do not do errno handling in asm.
9415 (__CLONE_SYSCALL_STRING): Delete.
9416 (__INTERNAL_SYSCALL_STRING): Delete.
9417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9418 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9419 (PSEUDO): Reimplement to do errno handling inline.
9420 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9421 (SYSCALL_ERROR_HANDLER): New macro.
9422 (__SYSCALL_STRING): Do not do errno handling in asm.
9423 (__CLONE_SYSCALL_STRING): Delete.
9424 (__INTERNAL_SYSCALL_STRING): Delete.
9425 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9426 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9428 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9429 (inline_syscall*): Add 'err' argument.
9430 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9431 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9432 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9433 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9435 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9436 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9438 2011-08-30 Andreas Schwab <schwab@redhat.com>
9440 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9442 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9444 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9447 2011-08-24 David S. Miller <davem@davemloft.net>
9449 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9451 2011-08-24 Andreas Schwab <schwab@redhat.com>
9453 * elf/Makefile: Add rules to build and run unload8 test.
9454 * elf/unload8.c: New file.
9455 * elf/unload8mod1.c: New file.
9456 * elf/unload8mod1x.c: New file.
9457 * elf/unload8mod2.c: New file.
9458 * elf/unload8mod3.c: New file.
9460 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9463 2011-08-23 David S. Miller <davem@davemloft.net>
9465 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9466 subtract stack bias.
9467 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9468 %sp not %fp in calculations.
9469 (_JMPBUF_UNWINDS_ADJ): Likewise.
9471 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9472 (aio_suspend): Call it to force an exception region around the
9473 AIO_MISC_WAIT() invocation.
9475 2011-08-23 Andreas Schwab <schwab@redhat.com>
9477 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9480 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9482 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9484 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9486 (Elf64_FuncDesc): Remove.
9488 2011-08-22 David S. Miller <davem@davemloft.net>
9490 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9491 sigaltstack check, add missing cfi directives.
9492 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9493 missing cfi directives, and sigaltstack handling.
9495 2011-08-16 Andreas Schwab <schwab@redhat.com>
9498 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9499 object is seen twice.
9500 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9502 * elf/Makefile (distribute): Add tst-initorder2.c.
9503 (tests): Add tst-initorder2.
9504 (modules-names): Add tst-initorder2a tst-initorder2b
9505 tst-initorder2c tst-initorder2d. Add rules to build them.
9506 ($(objpfx)tst-initorder2.out): New rule.
9507 * elf/tst-initorder2.c: New file.
9508 * elf/tst-initorder2.exp: New file.
9510 2011-08-22 Andreas Schwab <schwab@redhat.com>
9512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9514 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9515 dependencies back to end of function.
9517 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9520 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9522 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9523 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9525 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9526 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9527 of __vdso_gettimeofday.
9528 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9529 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9531 (_libc_vdso_platform_setup): Remove initialization of
9532 __vdso_gettimeofday and __vdso_time.
9534 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9536 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9538 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9541 * elf/dl-open.c (add_to_global): Report additions to the global scope
9542 for LD_DEBUG=scopes.
9543 (dl_open_worker): Also print scope of newly loaded dependencies.
9544 (_dl_show_scope): Indicate if there is no scope.
9547 * stdio-common/Makefile (tests): Add bug24.
9548 * stdio-common/bug24.c: New file.
9550 2011-08-19 Andreas Jaeger <aj@suse.de>
9553 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9554 non-existant file when using close-on-exec mode.
9556 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9559 the very first instruction.
9561 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9562 the CFI state in the end.
9563 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9564 inclusion of dl-trampoline.h.
9565 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9567 2011-08-19 Andreas Schwab <schwab@redhat.com>
9569 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9570 expectations for long double.
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9573 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9575 2011-08-14 David S. Miller <davem@davemloft.net>
9577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9578 artificual limit depends upon the system page size.
9580 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9582 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9583 * resolv/Makefile: Define CFLAGS-libresolv.
9585 2011-08-17 Andreas Schwab <schwab@redhat.com>
9587 * nss/makedb.c (compute_tables): Make variables used in nested
9590 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9592 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9593 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9594 if buffer was too small.
9596 * elf/pldd.c (main): Attach to all threads in the process.
9597 Rewrite /proc handling to use *at functions.
9599 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9601 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9602 specifies first scope to show.
9603 (dl_open_worker): Update callers. Move printing scope of new
9604 object to before the relocation.
9605 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9606 * sysdeps/generic/ldsodefs.h: Update declaration.
9608 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9609 string for the scope number.
9611 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9613 * nscd/servicescache.c (cache_addserv): Make sure written is always
9616 2011-08-14 Roland McGrath <roland@hack.frob.com>
9618 * sysdeps/i386/i486/bits/atomic.h
9619 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9620 statement expression, so as to suppress "set but not used" warning.
9621 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9623 * string/strncat.c (STRNCAT): Use prototype definition.
9625 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9626 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9628 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9629 (localedef-modules): Add localedef.
9630 (locale-modules): Add locale.
9632 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9633 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9636 2011-08-14 David S. Miller <davem@davemloft.net>
9638 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9639 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9641 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9643 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9644 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9645 * elf/rtld.c (dl_main): Set l_name of vDSO.
9646 Call _dl_show_scope when DL_DEBUG_SCOPES.
9647 (process_dl_debug): Recognize scopes flag and also set it for all.
9648 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9649 Declare _dl_show_scope.
9651 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9652 (do_dlopen): Pass caller_dlopen to dl_open.
9653 (__libc_dlopen_mode): Initialize caller_dlopen.
9655 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9656 of libc. Make tolower call locale-independent. Optimize a bit by
9657 using isdigit instead of isalnum.
9658 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9660 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9662 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9663 was a dependency or dynamically loaded.
9665 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9667 * intl/l10nflist.c: Allow architecture-specific pop function.
9668 * sysdeps/x86_64/l10nflist.c: New file.
9670 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9673 2011-08-10 Andreas Schwab <schwab@redhat.com>
9675 * include/dirent.h: Add libc_hidden_proto for scandirat and
9676 scandirat64. Don't declare __scandirat64.
9677 * dirent/scandirat.c: Add libc_hidden_def.
9678 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9679 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9681 2011-08-10 David S. Miller <davem@davemloft.net>
9683 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9685 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9689 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9691 * Versions.def [libc]: Add GLIBC_2.15.
9692 * dirent/Makefile (routines): Add scandirat and scandirat64.
9693 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9695 * dirent/dirent.h: Declare scandirat and scandirat64.
9696 * dirent/scandirat.c: New file.
9697 * dirent/scandirat64.c: New file.
9698 * sysdeps/wordsize-64/scandirat.c: New file.
9699 * sysdeps/wordsize-64/scandirat64.c: New file.
9700 * dirent/opendir.c: Define opendirat.
9701 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9703 * dirent/scandir64.c: Adjust for scandir.c change.
9704 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9705 __scandirat64, and __scandir_cancel_handler.
9706 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9707 additional parameter and use openat instead of open (outside of ld.so).
9708 Add new __opendir as wrapper around __opendirat.
9709 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9710 here without requiring old scandirat implementation.
9712 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9714 * dirent/scandir.c (cancel_handler): Renamed to
9715 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9716 defined. Adjust users.
9717 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9718 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9720 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9722 * string/test-string.h (IMPL): Use __STRING to expand name and then
9725 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9728 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9730 * string/Makefile: Update.
9731 (strop-tests): Append strncat.
9732 * string/test-wcscmp.c: New file.
9733 New comprehensive test for wcscmp.
9734 * string/test-strcmp.c: Update.
9737 2011-07-22 Andreas Schwab <schwab@redhat.com>
9739 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9742 2011-07-26 Andreas Schwab <schwab@redhat.com>
9744 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9745 encoding to ACE if AI_IDN.
9747 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9749 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9750 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9752 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9754 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9755 Fix overflow bug in strncat.
9756 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9758 * string/test-strncat.c: Update.
9759 Add new tests for checking overflow bugs.
9761 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9764 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9765 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9766 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9767 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9768 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9769 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9770 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9771 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9773 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9774 (USE_AS_STRCAT): Define.
9775 Add strcat and strncat support.
9776 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9778 2011-07-25 Andreas Schwab <schwab@redhat.com>
9780 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9781 __n bigger than INT_MAX+1.
9782 (__strncmp_g): Likewise.
9784 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9786 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9787 * libio/stido.h: Likewise.
9789 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9794 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9795 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9796 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9797 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9801 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9806 (_dl_x86_64_save_sse): Likewise.
9808 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9812 (_dl_x86_64_save_sse): Likewise.
9814 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9816 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9818 2011-07-21 Andreas Schwab <schwab@redhat.com>
9820 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9822 (_dl_x86_64_save_sse): Use correct AVX check.
9824 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9827 bug in strncpy/strncat.
9828 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9830 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9832 * string/tester.c (test_strcat): Add tests for different alignments
9833 of source and destination.
9834 (test_strncat): Likewise.
9836 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9839 * posix/glob.c (glob): Check passed in values before using them in
9840 expressions to avoid some overflows.
9841 (glob_in_dir): Likewise.
9844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9845 check for AVX enablement so that we don't crash with old kernels and
9847 * elf/tst-audit4.c: Add same checks here.
9848 * elf/tst-audit6.c: Likewise.
9850 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9852 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9854 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9856 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9858 * po/cs.po: Update from translation team.
9859 * po/bg.po: Likewise.
9861 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9863 * misc/sys/cdefs.h: Add support for const attribute.
9864 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9865 to gnu_dev_{major,minor,makedev} functions.
9867 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9869 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9871 2011-07-20 Andreas Schwab <schwab@redhat.com>
9873 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9876 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9878 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9879 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9880 register in order to avoid conflicts with the soft frame pointer
9881 being held in r11 when necessary.
9882 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9883 (INTERNAL_VSYSCALL_NCS): Likewise.
9885 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9887 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9888 * elf/dl-fini.c (_dl_fini): Adjust caller.
9889 * elf/dl-close.c (_dl_close_worker): Likewise.
9890 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9892 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9894 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9895 "aux_cache->nlibs < 0".
9897 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9898 in the reload-count case.
9900 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9903 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9904 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9905 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9906 * sysdeps/x86_64/multiarch/strcat.S: New file.
9907 * sysdeps/x86_64/multiarch/strncat.S: New file.
9908 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9909 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9910 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9911 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9913 (USE_AS_STRCAT): Define.
9914 Add strcat and strncat support.
9915 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9916 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9917 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9918 * string/strncat.c: Update.
9919 (USE_AS_STRNCAT): Define.
9920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9921 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9923 * sysdeps/x86_64/multiarch/init-arch.h
9924 (bit_Prefer_PMINUB_for_stringop): New.
9925 (index_Prefer_PMINUB_for_stringop): Likewise.
9926 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9927 bit_Prefer_PMINUB_for_stringop.
9929 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9931 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9933 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9934 of casting of buffer.
9935 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9936 buffer32 and buffer64.
9937 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9938 writes instead of casting of buffer.
9939 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9941 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9944 2011-07-19 Andreas Schwab <schwab@redhat.com>
9946 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9948 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9950 * nscd/nscd.c (termination_handler): Don't do anything for a database
9951 if it has not yet been initialized.
9953 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9955 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9957 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9959 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9961 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9963 * po/nl.po: Update from translation team.
9964 * po/sv.po: Likewise.
9966 2011-07-16 Roland McGrath <roland@hack.frob.com>
9968 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9969 now disallowed by GCC.
9971 * configure.in (use-default-link): Default to yes if a test -shared
9972 link meets our qualifications.
9973 * configure: Regenerated.
9975 * config.make.in (output-format): New variable.
9976 * configure.in: Check for ld --print-output-format support.
9977 * configure: Regenerated.
9978 * Makerules ($(common-objpfx)format.lds)
9979 [$(output-format) != unknown]: Just use $(output-format),
9980 instead of the linker-script munging.
9982 2011-07-14 Roland McGrath <roland@hack.frob.com>
9984 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9985 of $(common-objpfx)shlib.lds.
9986 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9988 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9989 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9991 * configure.in (-z relro check): Adjust test code to add a large
9992 writable data section after it.
9993 * configure: Regenerated.
9995 2011-07-11 Roland McGrath <roland@hack.frob.com>
9997 * configure.in (-z relro check): Fix test code to make the variable
9999 * configure: Regenerated.
10001 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10003 * nscd/nscd.h (struct traced_file): Define.
10004 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10005 elements. Add traced_files.
10006 (inotify_fd): Declare.
10007 (register_traced_file): Declare.
10008 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10009 (inotify_fd): Export.
10010 (resolv_conf_descr): Remove.
10011 (nscd_init): Move inotify descriptor creation to main.
10012 Don't register files for notification here.
10013 (register_traced_file): New function.
10014 (invalidate_cache): Don't use reset_res to determine whether to call
10015 res_init, go through the list of registered files.
10016 (main_loop_poll): The inotify descriptors are now stored in the
10017 structures for the traced files.
10018 (main_loop_epoll): Likewise
10019 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10020 to __nss_disable_nscd.
10021 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10022 for a database anymore. Check the records for all the registered
10024 * nss/Makefile (libnss_files-routines): Add files-init.
10025 (libnss_db-routines): Add db-init.
10026 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10027 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10028 * nss/nss_db/db-init.c: New file.
10029 * nss/nss_files/files-init.c: New file.
10030 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10031 __nss_lookup_function.
10032 (__nss_lookup_function): Call nss_load_library.
10033 (nss_load_all_libraries): New function.
10034 (__nss_disable_nscd): Take parameter with callback function for files
10035 to register. Set is_nscd. Load all the DSOs for the NSS modules
10036 used for the cached services.
10037 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10038 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10039 options for features to all the files in nscd.
10041 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10043 2011-07-10 Roland McGrath <roland@hack.frob.com>
10045 * csu/elf-init.c (__libc_csu_init): Comment typo.
10047 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10049 * po/pl.po: Update from translation team.
10050 * po/ja.po: Likewise.
10051 * po/ru.po: Likewise.
10052 * po/ko.po: Likewise.
10053 * po/fr.po: Likewise.
10055 2011-07-09 Roland McGrath <roland@hack.frob.com>
10057 * configure.in (.ctors/.dtors header and trailer check):
10058 Use an empirical test on a built program.
10059 * configure: Regenerated.
10061 * configure.in (-z relro check): Use an empirical test on a built DSO.
10062 Detect, but do not require, on ia64.
10063 * configure: Regenerated.
10065 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10066 Update tests that use readelf to use $READELF instead.
10067 * configure: Regenerated.
10069 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10071 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10072 if the result is not used.
10074 2011-07-05 Andreas Jaeger <aj@suse.de>
10077 * stdlib/tst-strtod.c: Add testcase.
10079 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10081 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10082 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10083 The latter has a higher limit. Take additional parameter to pass to
10085 (__pathconf): Pass file to __statfs_link_max.
10086 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10088 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10092 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10093 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10096 (__statfs_filesize_max): Likewise.
10097 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10099 2011-07-05 Andreas Jaeger <aj@suse.de>
10101 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10103 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10105 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10107 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10110 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10112 * Makefile (strop-tests): Add strncat.
10113 * string/test-strncat.c: New file.
10115 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10117 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10119 2011-06-21 Andreas Jaeger <aj@suse.de>
10121 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10122 Copy rule from iconvdata/Makefile.
10124 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10127 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10128 but no long options are defined, just return 'W'.
10130 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10133 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10135 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10137 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10139 (innetgr): Likewise.
10141 2011-07-05 Roland McGrath <roland@hack.frob.com>
10143 * config.make.in (install_root): Default to $(DESTDIR).
10145 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10147 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10149 2011-07-02 Roland McGrath <roland@hack.frob.com>
10151 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10153 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10154 containing directory rather than embedding absolute directory names.
10156 * scripts/check-local-headers.sh: Rewritten using awk.
10157 Match by word, not by line. Print error messages for matches.
10158 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10160 * Makerules [shlib-lds-flags empty]:
10161 ($(common-objpfx)libc_pic.opts): New target.
10162 ($(common-objpfx)libc_pic.os.clean): New target.
10163 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10165 * config.make.in (OBJCOPY): New variable.
10166 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10167 * configure: Regenerated.
10169 * config.make.in (use-default-link): New variable.
10170 * configure.in (use_default_link): Grok --with-default-link to set it.
10171 * configure: Regenerated.
10172 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10173 (shlib-lds, shlib-lds-flags): Define to empty.
10175 * Makerules (shlib-lds): New variable.
10176 (shlib-lds-flags): New variable.
10177 (build-shlib, build-moduile, build-module-asneeded): Use it.
10178 ($(common-objpfx)libc.so): Use $(shlib-lds).
10179 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10180 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10182 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10183 DT_FLAGS/DT_FLAGS_1 with zero flags.
10185 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10186 linker script munging.
10188 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10190 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10192 * crypt/sha512.c (sha512_process_block): Perform total addition using
10193 128-bit if possible.
10194 (__sha512_finish_ctx): Likewise.
10195 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10197 * crypt/sha256.c (SWAP64): Define.
10198 (sha256_process_block): Perform total addition using 64-bit if
10200 (__sha256_finish_ctx): Likewise.
10202 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10204 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10205 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10206 * nscd/hstcache.c (cache_addhst): Likewise.
10207 * nscd/grpcache.c (cache_addgr): Likewise.
10208 * nscd/aicache.c (addhstaiX): Likewise
10209 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10211 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10213 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10214 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10215 * nscd/hstcache.c (cache_addhst): Likewise.
10216 * nscd/grpcache.c (cache_addgr): Likewise.
10217 * nscd/aicache.c (addhstaiX): Likewise
10219 2011-07-01 Andreas Schwab <schwab@redhat.com>
10221 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10222 domain only when needed.
10224 2011-06-30 Andreas Schwab <schwab@redhat.com>
10226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10227 is always restored.
10229 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10231 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10232 are re-adding the entry.
10233 * nscd/servicescache.c (cache_addserv): Likewise.
10235 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10237 * sysdeps/generic/dl-irel.h: fix protection against multiple
10239 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10241 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10244 * malloc/memusage.sh: Fix quoting in message.
10245 * debug/xtrace.sh: Likewise.
10247 * configure.in: Remove support for --experimental-malloc option, make
10249 * config.make.in: Likewise.
10250 * malloc/Makefile: Likewise.
10252 2011-06-27 Andreas Schwab <schwab@redhat.com>
10254 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10255 two-byte characters.
10257 2011-06-27 Roland McGrath <roland@hack.frob.com>
10259 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10260 AC_CACHE_CHECK invocation.
10261 * configure: Regenerated.
10263 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10265 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10268 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10269 bit from old_res_options.
10271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10273 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10274 value type for setfct.
10276 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10279 __gettimeofday instead of gettimeofday.
10281 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10283 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10285 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10287 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10289 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10292 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10295 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10296 strcpy-sse2-unaligned strncpy-sse2-unaligned
10297 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10298 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10299 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10300 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10301 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10302 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10303 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10304 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10305 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10306 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10307 (STRCPY): Support SSE2 and SSSE3 versions.
10309 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10312 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10313 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10314 kernels which artificially limit size of requests.
10316 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10319 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10320 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10321 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10322 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10323 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10324 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10325 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10326 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10327 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10328 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10329 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10330 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10331 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10332 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10334 Enable unaligned load optimization for Intel Core i3, i5 and i7
10336 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10338 (index_Fast_Unaligned_Load): Define.
10339 (HAS_FAST_UNALIGNED_LOAD): Define.
10341 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10343 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10345 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10348 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10349 until it is clear that the information is realy needed.
10350 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10352 2011-06-22 Andreas Schwab <schwab@redhat.com>
10354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10356 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10358 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10359 /sys/devices/system/cpu/online if it is usable.
10361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10362 reading the information from the /proc filesystem to once a second.
10364 2011-06-21 Andreas Jaeger <aj@suse.de>
10366 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10367 NULL after inclusion of kernel headers.
10369 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10371 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10372 calls to internal_setent.
10375 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10376 addresses using gethostbyname4_r ignore IPv4 addresses.
10378 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10379 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10381 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10383 2011-06-20 David S. Miller <davem@davemloft.net>
10385 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10387 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10389 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10390 (elf_irel): Use it.
10391 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10392 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10393 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10394 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10395 * sysdeps/x86_64/dl-irel.h: Likewise.
10397 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10398 * elf/dl-sym.c: Likewise.
10400 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10402 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10403 need to dereference resplen2.
10405 2011-06-14 Andreas Schwab <schwab@redhat.com>
10407 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10409 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10411 * Makeconfig: Define vardbdir and inst_vardbdir.
10412 * nss/Makefile: Add rules to install db-Makefile.
10414 * nss/nss_db/db-XXX.c: Cleanup.
10416 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10417 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10419 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10420 * nss/makedb.c: Implement -g option to specify that value strings
10421 are generated and should not be added to table iterated over for
10423 * nss/nss_db/db-initgroups.c: New file.
10425 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10428 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10429 (internal_getgrouplist): Adjust to name change.
10430 Update use_initgroups_entry if this is not the first call.
10431 * nss/databases.def: Add initgroups entry.
10433 * nss/makedb.c (compute_tables): Check result of multiple hash table
10434 sizes to minimize maximum chain length.
10436 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10438 * Versions.def: Add entry for libnss_db.
10439 * shlib-versions: Likewise.
10440 * nss/Makefile: Add rules to build libnss_db.
10441 * nss/Versions: Add libnss_db information. Organize libnss_files
10443 * nss/db-Makefile: Add gshadow support. Change rules for the new
10444 makedb progra. Some minor improvements to generate smaller files.
10445 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10447 * nss/makedb.c: ...here.
10448 Improve database format to be smaller and require less memory at
10450 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10452 * nss/nss_db/db-netgrp.c: Likewise.
10453 * nss/nss_db/db-open.c: Likewise.
10454 * nss/nss_files/flies-XXX.x: Adjust comments.
10455 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10456 * nss/nss_files/files-grp.c: Likewise.
10457 * nss/nss_files/files-hosts.c: Likewise.
10458 * nss/nss_files/files-network.c: Likewise.
10459 * nss/nss_files/files-proto.c: Likewise.
10460 * nss/nss_files/files-pwd.c: Likewise.
10461 * nss/nss_files/files-rpc.c: Likewise.
10462 * nss/nss_files/files-service.c: Likewise.
10463 * nss/nss_files/files-sgrp.c: Likewise.
10464 * nss/nss_files/files-spwd.c: Likewise.
10465 * nss/nss_db/db-alias.c: Removed.
10466 * nss/nss_db/dummy-db.h: Removed.
10468 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10470 * nss/makedb.c: Rewritten to not use database library.
10471 * nss/Makefile: Update to build new makedb program.
10473 2011-06-14 Andreas Jaeger <aj@suse.de>
10475 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10476 memset declaration.
10478 2011-06-10 Andreas Schwab <schwab@redhat.com>
10480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10483 2011-06-10 Roland McGrath <roland@hack.frob.com>
10485 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10486 * elf/Makefile ($(objpfx)ld.so): Likewise.
10488 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10489 Don't list ld.so twice in dependencies.
10491 * posix/bug-regex31.c: Include <stdlib.h>.
10493 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10495 * nis/nss_compat/compat-spwd.c
10496 (getspent_next_nss_netgr): Remove unused variable.
10497 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10499 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10500 nonmembers" output to use the right array.
10502 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10504 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10506 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10507 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10508 * catgets/gencat.c (read_input_file): Likewise.
10509 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10511 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10512 variable definition inside #if's controlling its use.
10514 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10516 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10518 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10520 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10523 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10525 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10526 * configure: Regenerated.
10528 * Makerules: Revert last change.
10529 * elf/Makefile: Likewise.
10531 2011-06-09 Roland McGrath <roland@hack.frob.com>
10533 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10534 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10535 (reloc-link): Likewise.
10537 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10539 * elf/Makefile: Add rules to build pldd.
10540 * elf/pldd.c: New file.
10541 * elf/pldd-xx.c: New file.
10543 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10545 * version.h: Update for 2.15 development version.
10547 2011-06-07 David S. Miller <davem@davemloft.net>
10549 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10551 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10552 elf_machine_lazy_rel): Likewise.
10553 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10554 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10555 elf_machine_lazy_rel): Likewise.
10556 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10557 dl_hwcap via passed in argument.
10558 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10561 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10563 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10565 2011-06-06 Roland McGrath <roland@hack.frob.com>
10568 * manual/fdl-1.1.texi: New file, verbatim from:
10569 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10570 * manual/lgpl-2.1.texi: New file, verbatim from:
10571 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10572 * manual/Makefile (licenses): New variable, list those new file names.
10574 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10576 * manual/fdl.texi: File removed.
10577 * manual/lesser.texi: File removed.
10578 * manual/libc.texinfo (Copying, Documentation License):
10579 Use new @include file names, put @appendix directive before @include.
10581 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10584 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10585 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10586 (mq_open): Add __NTH.
10588 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10591 Assume Intel Core i3/i5/i7 processor if AVX is available.
10593 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10598 2011-05-31 Andreas Schwab <schwab@redhat.com>
10600 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10601 memory. Use alloca_account. Fix memory leak when retrying.
10603 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10605 * version.h (RELEASE): Bump for 2.14 release.
10606 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10608 * config.make.in (RANLIB): Remove entry.
10610 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10612 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10613 (libc.pot): Work around missing support for .ksh extension in xgettext.
10616 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10617 if both request failed.
10618 (send_dg): In case of server errors clear resplen or *resplen2.
10621 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10622 when there are multiple maps.
10623 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10624 (_dl_fini): Remove test here.
10626 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10628 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10631 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10632 bit from old_res_options.
10633 (gaih_inet): Likewise.
10636 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10639 * resolv/res_init.c (res_setoptions): Make the code more compact.
10642 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10646 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10648 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10651 * malloc/malloc.h: Declare malloc hook variables as volatile.
10653 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10657 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10658 raise in the comment.
10659 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10660 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10661 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10663 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10666 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10667 grow the buffers more if it already has to be sufficient.
10668 (build_wcs_upper_buffer): Likewise.
10669 * posix/regexec.c (check_matching): Likewise.
10670 (clean_state_log_if_needed): Likewise.
10671 (extend_buffers): Don't enlarge buffers beyond size of the input
10673 Patches mostly by Emil Wojak <emil@wojak.eu>.
10674 * posix/bug-regex32.c: New file.
10675 * posix/Makefile (tests): Add bug-regex32.
10677 * locale/findlocale.c (_nl_find_locale): Return right away if
10678 _nl_explode_name failed.
10679 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10681 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10683 * debug/xtrace.sh: Unify messages.
10684 * malloc/memusage.sh: Likewise.
10687 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10688 time symbol from vDSO. Substitute with vsyscall if not available.
10689 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10692 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10693 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10694 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10695 Add sendmmsg and internal_sendmmsg.
10696 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10697 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10698 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10700 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10701 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10702 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10704 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10707 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10708 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10710 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10714 * iconvdata/Makefile (tests): Add bug-iconv9.
10715 * iconvdata/bug-iconv9.c: New file.
10717 2011-05-27 Andreas Schwab <schwab@redhat.com>
10720 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10722 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10724 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10725 (struct user_regs_struct): Change intcs field back to cs.
10727 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10729 * po/ja.po: Update from translation team.
10731 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10734 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10735 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10737 2011-05-20 Andreas Schwab <schwab@redhat.com>
10739 * stdlib/longlong.h: Update from GCC.
10741 2011-05-23 Andreas Schwab <schwab@redhat.com>
10743 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10745 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10746 Add parameter name.
10747 (__sysconf): Pass it down.
10749 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10752 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10754 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10755 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10756 add in in __libc_use_alloca calls. Adjust callers.
10757 (glob): Use malloc in some situations.
10759 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10760 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10763 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10765 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10766 and CLOCK_BOOTTIME_ALARM.
10769 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10772 * string/_strerror.c (__strerror_r): Print negative errors as signed
10776 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10777 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10778 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10780 * configure.in: Fix typo in redirection and correct removal of test
10781 files in two cases.
10784 * locale/setlocale.c (new_composite_name): Fix test to check for
10785 identical name of all categories.
10788 * libio/filedoalloc.c (local_isatty): New function.
10789 (_IO_file_doallocate): Use local_isatty.
10790 * stdio-common/perror.c (perror): In case a new stream is used
10791 forward the stream error.
10792 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10795 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10800 * include/alloca.h (extend_alloca_account): Define.
10803 * posix/regex.h: Fix comments with documentation of user-accessible
10804 fields after compilation and describe correct free'ing of pattern
10805 after re_compile_pattern.
10806 Patch by Reuben Thomas <rrt@sc3d.org>.
10808 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10810 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10811 and -mno-altivec to prevent the compiler from using Altivec and/or
10812 VSX instructions when the corresponding registers are not available.
10814 2011-05-19 Andreas Schwab <schwab@redhat.com>
10816 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10818 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10820 * libio/freopen.c (freopen): Use __dup2, not dup2.
10821 * libio/freopen64.c (freopen64): Likewise.
10823 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10826 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10827 * math/Makefile (tests): Add test-powl.
10828 (CFLAGS-test-powl.c): Define.
10829 * math/test-powl.c: New file.
10831 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10833 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10835 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10838 * iconvdata/gb18030.c: Update to GB18020-2005.
10840 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10842 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10843 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10844 Patch by Aharon Robbins <arnold@skeeve.com>.
10847 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10851 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10852 through underflows.
10855 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10856 point to strings before performing equality test for error_one_per_line
10860 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10864 (struct user_fpregs_struct): Avoid __uint*_t types.
10867 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10868 symbol info. Use it instead of calling _dl_addr locally.
10869 (lock_and_info): New function.
10870 (tr_freehook): Call lock_and_info and pass symbol info as additional
10871 parameter to tr_where.
10872 (tr_mallochook): Likewise.
10873 (tr_reallochook): Likewise.
10874 (tr_memalignhook): Likewise.
10876 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10877 used and couldn't be at all thread-safe.
10879 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10881 * libio/freopen.c (freopen): Don't close old file descriptor
10882 before the new one is opened. Instead dup the new file descriptor
10883 to the old one after the new stream is created.
10884 * libio/freopen64.c (freopen64): Likewise.
10885 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10886 * libio/fileops.c (_IO_new_file_close_it): Handle new
10887 _IO_FLAGS2_NOCLOSE flag.
10888 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10889 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10890 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10891 _IO_FLAGS2_NOCLOSE flag.
10892 * include/unistd.h: Add hidden_proto for dup3.
10893 Define __have_dup3.
10894 * io/dup3.c: Define hidden symbol.
10895 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10898 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10899 when an incomplete long option is used.
10900 * posix/tst-getopt_long1.c: New file.
10901 * posix/Makefile (tests): Add tst-getopt_long1.
10904 * scripts/config.guess: Update from autoconf-2.68.
10905 * scripts/config.sub: Likewise.
10908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10910 (has_cpuclock): ...this. New function.
10911 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10912 macro here based on has_cpuclock code.
10915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10916 First byte (not low byte) is now always NUL.
10917 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10919 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10920 Use non-cancelable interfaces.
10923 * locale/iso-639.def: Add entry for Sorani.
10926 * include/stdlib.h: Move include protection to the right place.
10927 Define abort_msg_s. Declare __abort_msg with it.
10928 * stdlib/abort.c (__abort_msg): Adjust type.
10929 * assert/assert.c (__assert_fail_base): New function. Majority
10930 of code from __assert_fail. Allocate memory for __abort_msg with
10932 (__assert_fail): Now call __assert_fail_base.
10933 * assert/assert-perr.c: Remove bulk of implementation. Use
10934 __assert_fail_base.
10935 * include/assert.hL Declare __assert_fail_base.
10936 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10938 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10940 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10944 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10945 until all modules are registered in the DTV.
10946 * elf/Makefile: Add rules to build and run tst-tls19.
10947 * elf/tst-tls19.c: New file.
10948 * elf/tst-tls19mod1.c: New file.
10949 * elf/tst-tls19mod2.c: New file.
10950 * elf/tst-tls19mod3.c: New file.
10951 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10954 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10958 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10959 two-byte sequence errors.
10960 * iconvdata/Makefile (tests): Add bug-iconv8.
10961 * iconvdata/bug-iconv8.c: New file.
10964 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10967 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10970 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10971 (dummy_getcfa): New function.
10972 (init): Get _Unwind_GetCFA address, use dummy if not found.
10973 (backtrace_helper): In recursion check, also check whether CFA changes.
10974 (__backtrace): Completely initialize arg.
10976 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10977 storing incomplete byte sequence in state object. Avoid testing for
10978 guaranteed too small input if we know there is enough data available.
10980 2011-05-11 Andreas Schwab <schwab@redhat.com>
10982 * Makeconfig (+link-pie): Indent.
10983 * Rules (binaries-pie): Define if $(have-fpie) and
10985 (binaries-shared): Also filter out $(binaries-pie).
10986 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10987 * nscd/Makefile (others-pie): Add nscd.
10988 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10989 ($(objpfx)nscd): Remove command override.
10990 * login/Makefile (others-pie): Add pt_chown.
10991 ($(objpfx)pt_chown): Remove command override.
10992 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10993 remove command overrides.
10995 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10997 * libio/tst_putwc.c: Fix error messages.
11000 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11001 currently writing and seek to current position when not.
11002 * libio/Makefile (tests): Add bug-fclose1.
11003 * libio/bug-fclose1.c: New file.
11005 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11008 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11009 don't set DF_1_NODELETE here.
11010 (do_lookup_x): When entering new entry test for copy relocation
11011 and if necessary set DF_1_NODELETE flag.
11012 * elf/tst-unique4.cc: New file.
11013 * elf/tst-unique4.h: New file.
11014 * elf/tst-unique4lib.cc: New file.
11015 * elf/Makefile: Add rules to build and run tst-unique4.
11016 Patch by Piotr Bury <pbury@goahead.com>.
11018 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11021 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11024 * misc/mntent_r.c (addmntent): Flush the stream after the output
11027 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11028 (is_trusted_path_normalize): Skip initial colon. Append slash
11029 to empty buffer. Duplicate is_trusted_path code but allow
11030 constructed patch to be prefix.
11031 (is_dst): Allow $ORIGIN followed by /.
11032 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11033 Correct testing of result of is_trusted_path_normalize
11034 (decompose_rpath): Fix warning.
11036 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11039 * grp/initgroups.c (internal_getgrouplist): When we found the service
11040 list through the initgroups entry in nsswitch.conf do not always
11041 continue on a successful lookup. Don't always use the
11042 __nss_group_database value if it is set.
11043 * nss/nsswitch.conf (initgroups): Change action for successful db
11044 lookup to continue for compatibility.
11046 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11049 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11051 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11053 * iconvdata/tst-tables.sh: Likewise.
11054 * iconvdata/cp770.c: New file.
11055 * iconvdata/cp771.c: New file.
11056 * iconvdata/cp772.c: New file.
11057 * iconvdata/cp773.c: New file.
11058 * iconvdata/cp774.c: New file.
11059 * iconvdata/testdata/CP770: New file.
11060 * iconvdata/testdata/CP770..UTF8: New file.
11061 * iconvdata/testdata/CP771: New file.
11062 * iconvdata/testdata/CP771..UTF8: New file.
11063 * iconvdata/testdata/CP772: New file.
11064 * iconvdata/testdata/CP772..UTF8: New file.
11065 * iconvdata/testdata/CP773: New file.
11066 * iconvdata/testdata/CP773..UTF8: New file.
11067 * iconvdata/testdata/CP774: New file.
11068 * iconvdata/testdata/CP774..UTF8: New file.
11070 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11072 * iconvdata/gen-8bit-gap.sh: Likewise.
11073 * iconvdata/gen-8bit.sh: Likewise.
11075 * locale/iso-639.def: Add ary entry.
11078 * locale/C-translit.h.in: Add U20A1 transliteration.
11081 * locale/iso-639.def: Add wae entry.
11082 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11085 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11089 * locale/C-translit.h.in: Add entry for U20B9.
11090 Patch by pravin.d.s@gmail.com.
11092 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11095 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11096 ENAMETOOLONG use generic getcwd.
11097 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11098 in rtld. Use *stat64.
11099 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11100 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11101 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11102 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11103 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11104 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11105 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11106 __fstatat64 macros.
11107 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11108 * dirent/rewinddir.c: Add libc_hidden_def.
11109 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11110 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11112 * include/dirent.h (__alloc_dir): Add flags parameter.
11113 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11114 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11116 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11117 from fdopendir if O_CLOEXEC is already set.
11119 2011-03-15 Alan Modra <amodra@gmail.com>
11121 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11122 l_tls_firstbyte_offset non-zero. Save padding offset in
11123 l_tls_firstbyte_offset for later use.
11124 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11125 freeing static tls block.
11127 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11129 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11130 where #ifdef was intended. The intent is to prevent ARG_MAX from
11131 being defined by the kernel headers.
11133 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11136 * resolv/resolv.h: Define RES_NOTLDQUERY.
11137 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11138 no-tld-query and set RES_NOTLDQUERY.
11139 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11140 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11141 modern BIND to search name as TLD unless forbidden.
11143 2011-05-07 Petr Baudis <pasky@suse.cz>
11144 Ulrich Drepper <drepper@gmail.com>
11147 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11148 (is_trusted_path): ...to here.
11149 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11150 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11151 using is_trusted_path_normalize() in setuid scripts.
11153 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11155 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11156 __BEGIN/__END_DECLS.
11158 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11161 NSS_STATUS_NOTFOUND if no record was found.
11163 2011-05-05 Andreas Schwab <schwab@redhat.com>
11165 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11166 (headers-not-in-tirpc): Remove rpc/netdb.h
11167 * resolv/netdb.h: Revert last change.
11169 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11171 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11172 circular dependency between libgcc.a and libc.a.
11174 2011-05-05 Andreas Schwab <schwab@redhat.com>
11176 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11177 * nis/Makefile: Don't install rpcsvc/*.
11178 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11179 instead of <rpc/types.h>.
11180 (MAXHOSTNAMELEN): Define.
11182 2011-05-03 Andreas Schwab <schwab@redhat.com>
11184 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11186 2011-04-28 Maciej Babinski <mbabinski@google.com>
11189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11190 gethostbyname4_r when IPv6 results are possible.
11192 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11195 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11196 _PC_PIPE_BUF handling.
11198 2011-04-30 Bruno Haible <bruno@clisp.org>
11201 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11202 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11204 * inet/getnameinfo.c (getnameinfo): Likewise.
11206 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11208 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11209 to groups setting in database lookup.
11210 * nss/nsswitch.conf: Add initgroups entry.
11212 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11215 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11217 Patch by Eric Blake <eblake@redhat.com>.
11219 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11221 * sunrpc/Makefile (need-export-routines): Add svc_run.
11222 (routines): Remove svc_run.
11223 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11224 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11225 * sunrpc/svc_run.c (svc_run): Likewise.
11226 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11228 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11230 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11231 problem in reallocation in last patch.
11233 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11235 * sunrpc/Makefile: Move inclusion of Rules.
11237 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11239 * nss/nss_files/files-initgroups.c: New file.
11240 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11241 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11242 _nss_files_initgroups_dyn.
11244 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11246 * elf/elf.h (R_ARM_IRELATIVE): Define.
11248 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11250 * po/ru.po: Update from translation team.
11252 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11254 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11257 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11260 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11261 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11262 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11263 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11266 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11268 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11270 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11271 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11272 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11274 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11277 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11279 * stdlib/bug-getcontext.c: New file.
11280 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11282 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11284 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11285 instructions into .machine "z9-109".
11286 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11287 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11289 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11291 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11292 between environment variables and auxiliary vector.
11294 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11296 * Makefile: Add rules to build linkobj/libc.so.
11297 * include/libc-symbols.h: Define libc_hidden_nolink.
11298 * include/rpc/auth.h: Mark functions which are to be hidden.
11299 * include/rpc/auth_des.h: Likewise.
11300 * include/rpc/auth_unix.h: Likewise.
11301 * include/rpc/clnt.h: Likewise.
11302 * include/rpc/des_crypt.h: Likewise.
11303 * include/rpc/key_prot.h: Likewise.
11304 * include/rpc/pmap_clnt.h: Likewise.
11305 * include/rpc/pmap_prot.h: Likewise.
11306 * include/rpc/pmap_rmt.h: Likewise.
11307 * include/rpc/rpc_msg.h: Likewise.
11308 * include/rpc/svc.h: Likewise.
11309 * include/rpc/svc_auth.h: Likewise.
11310 * include/rpc/xdr.h: Likewise.
11311 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11312 * nss/Makefile: Likewise.
11313 * sunrpc/Makefile: Don't install headers. Build library with normal
11314 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11315 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11316 for the compat linking library. Remove use of INTDEF/INTUSE.
11317 * sunrpc/auth_none.c: Likewise.
11318 * sunrpc/auth_unix.c: Likewise.
11319 * sunrpc/authdes_prot.c: Likewise.
11320 * sunrpc/authuxprot.c: Likewise.
11321 * sunrpc/clnt_gen.c: Likewise.
11322 * sunrpc/clnt_perr.c: Likewise.
11323 * sunrpc/clnt_raw.c: Likewise.
11324 * sunrpc/clnt_simp.c: Likewise.
11325 * sunrpc/clnt_tcp.c: Likewise.
11326 * sunrpc/clnt_udp.c: Likewise.
11327 * sunrpc/clnt_unix.c: Likewise.
11328 * sunrpc/des_crypt.c: Likewise.
11329 * sunrpc/des_soft.c: Likewise.
11330 * sunrpc/get_myaddr.c: Likewise.
11331 * sunrpc/key_call.c: Likewise.
11332 * sunrpc/key_prot.c: Likewise.
11333 * sunrpc/netname.c: Likewise.
11334 * sunrpc/pm_getmaps.c: Likewise.
11335 * sunrpc/pm_getport.c: Likewise.
11336 * sunrpc/pmap_clnt.c: Likewise.
11337 * sunrpc/pmap_prot.c: Likewise.
11338 * sunrpc/pmap_prot2.c: Likewise.
11339 * sunrpc/pmap_rmt.c: Likewise.
11340 * sunrpc/publickey.c: Likewise.
11341 * sunrpc/rpc_cmsg.c: Likewise.
11342 * sunrpc/rpc_common.c: Likewise.
11343 * sunrpc/rpc_dtable.c: Likewise.
11344 * sunrpc/rpc_prot.c: Likewise.
11345 * sunrpc/rpc_thread.c: Likewise.
11346 * sunrpc/rtime.c: Likewise.
11347 * sunrpc/svc.c: Likewise.
11348 * sunrpc/svc_auth.c: Likewise.
11349 * sunrpc/svc_authux.c: Likewise.
11350 * sunrpc/svc_raw.c: Likewise.
11351 * sunrpc/svc_run.c: Likewise.
11352 * sunrpc/svc_simple.c: Likewise.
11353 * sunrpc/svc_tcp.c: Likewise.
11354 * sunrpc/svc_udp.c: Likewise.
11355 * sunrpc/svc_unix.c: Likewise.
11356 * sunrpc/svcauth_des.c: Likewise.
11357 * sunrpc/xcrypt.c: Likewise.
11358 * sunrpc/xdr.c: Likewise.
11359 * sunrpc/xdr_array.c: Likewise.
11360 * sunrpc/xdr_float.c: Likewise.
11361 * sunrpc/xdr_intXX_t.c: Likewise.
11362 * sunrpc/xdr_mem.c: Likewise.
11363 * sunrpc/xdr_rec.c: Likewise.
11364 * sunrpc/xdr_ref.c: Likewise.
11365 * sunrpc/xdr_sizeof.c: Likewise.
11366 * sunrpc/xdr_stdio.c: Likewise.
11368 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11371 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11372 * sysdeps/ia64/dl-tls.h: Likewise.
11373 * sysdeps/powerpc/dl-tls.h: Likewise.
11374 * sysdeps/s390/dl-tls.h: Likewise.
11375 * sysdeps/sh/dl-tls.h: Likewise.
11376 * sysdeps/sparc/dl-tls.h: Likewise.
11377 * sysdeps/x86_64/dl-tls.h: Likewise.
11378 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11380 2011-03-14 Andreas Schwab <schwab@redhat.com>
11382 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11383 rpath element also skip the following colon.
11384 (expand_dynamic_string_token): Add is_path parameter and pass
11385 down to DL_DST_REQUIRED and _dl_dst_substitute.
11386 (decompose_rpath): Call expand_dynamic_string_token with
11387 non-zero is_path. Ignore empty rpaths.
11388 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11391 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11396 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11399 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11400 Patch by Filipe David Manana <fdmanana@apache.org>.
11402 2011-04-07 Andreas Schwab <schwab@redhat.com>
11404 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11405 Maintain aligned stack.
11406 (CHECK_RSP): Remove unused macro.
11408 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11410 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11411 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11413 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11415 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11417 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11419 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11422 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11423 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11424 * sysdeps/x86_64/memmove.c: New file.
11425 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11426 (memcpy): Renamed to ...
11427 (__new_memcpy): This.
11428 (memcpy): Provide GLIBC_2_14 memcpy.
11429 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11430 (memcpy): Provide GLIBC_2_2_5 memcpy.
11432 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11435 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11437 2011-03-30 Andreas Schwab <schwab@redhat.com>
11439 * misc/syncfs.c: New file.
11440 * misc/Makefile (routines): Add syncfs.
11441 * posix/unistd.h: Declare syncfs.
11442 * sysdeps/unix/syscalls.list: Add syncfs.
11444 2011-04-01 Andreas Schwab <schwab@redhat.com>
11446 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11448 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11449 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11453 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11456 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11459 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11460 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11462 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11464 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11466 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11467 sync_file_range.c with -fexceptions.
11468 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11469 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11470 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11471 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11472 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11473 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11474 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11475 sync_file_range as cancellation point
11476 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11477 now a wrapper around __call_sync_file_range with cancellation handling.
11478 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11479 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11480 function name to __call_sync_file_range.
11481 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11482 Add call_sync_file_range.
11484 2011-04-01 Andreas Schwab <schwab@redhat.com>
11486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11489 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11491 * iconv/iconv.h: Fix typo in comment.
11492 * io/fcntl.h: Likewise.
11493 * libio/stdio.h: Likewise.
11494 * posix/spawn.h: Likewise.
11495 * posix/unistd.h: Likewise.
11496 * stdlib/stdlib.h: Likewise.
11497 * time/time.h: Likewise.
11498 * wcsmbs/wchar.h: Likewise.
11500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11501 open_by_handle): Add.
11502 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11503 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11504 Augment a few comments.
11505 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11506 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11507 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11509 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11510 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11513 * io/fcntl.h (AT_EMPTY_PATH): Define.
11515 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11517 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11518 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11519 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11521 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11522 * Versions.def: Add GLIBC_2.14.
11523 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11526 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11528 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11530 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11532 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11535 * string/test-strncmp.c (do_page_test): New function.
11536 (check2): Likewise.
11537 (test_main): Call check2.
11538 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11540 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11543 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11544 Handle cache information in CPU leaf 4.
11545 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11547 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11550 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11551 character representation.
11552 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11554 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11556 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11557 END(__isnan) to END(__isnanf) to match function entry point/label
11558 EALIGN(__isnanf,...).
11560 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11562 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11564 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11567 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11568 copy from the symbol referenced in the relocation to initialize the
11570 Patch by Piotr Bury <pbury@goahead.com>.
11571 * elf/Makefile: Add rules to build and tst-unique3.
11572 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11573 * elf/tst-unique3.cc: New file.
11574 * elf/tst-unique3.h: New file.
11575 * elf/tst-unique3lib.cc: New file.
11576 * elf/tst-unique3lib2.cc: New file.
11578 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11580 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11582 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11583 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11586 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11588 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11589 to-be-loaded object along a path to loader is ld.so.
11591 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11592 Ulrich Drepper <drepper@gmail.com>
11594 * sysdeps/x86_64/memset.S: After aligning destination, code
11595 branches to different locations depending on the value of
11596 misalignment, when multiarch is enabled. Fix this.
11598 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11600 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11601 Set _x86_64_preferred_memory_instruction for AMD processsors.
11602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11603 Set bit_Prefer_SSE_for_memop for AMD processors.
11605 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11607 * libio/fmemopen.c (fmemopen): Optimize a bit.
11609 2011-03-03 Andreas Schwab <schwab@redhat.com>
11611 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11613 2011-03-03 Roland McGrath <roland@redhat.com>
11615 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11617 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11619 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11620 __bzero_ultra1 instead of __memset_ultra1.
11622 2011-02-23 Andreas Schwab <schwab@redhat.com>
11623 Ulrich Drepper <drepper@gmail.com>
11626 * include/link.h (struct link_map): Add l_orig_initfini.
11627 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11628 returning unsuccessfully.
11629 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11630 close of a file loaded at startup, restore the original l_initfini
11632 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11633 list, store the pointer.
11634 * elf/Makefile ($(objpfx)noload-mem): New rule.
11635 (noload-ENV): Define.
11636 (tests): Add $(objpfx)noload-mem.
11637 * elf/noload.c: Include <memcheck.h>.
11638 (main): Call mtrace. Close all opened handles.
11640 2011-02-17 Andreas Schwab <schwab@redhat.com>
11643 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11644 dependencies are missing.
11646 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11648 Fix __if_freereq crash: Unlike the generic version which uses free,
11650 * sysdeps/mach/hurd/ifreq.h: New file.
11652 2011-01-27 Petr Baudis <pasky@suse.cz>
11653 Ulrich Drepper <drepper@gmail.com>
11656 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11657 to extend_alloca().
11658 * stdio-common/bug23.c: New file.
11659 * stdio-common/Makefile (tests): Add bug23.
11661 2010-09-28 Andreas Schwab <schwab@redhat.com>
11662 Ulrich Drepper <drepper@gmail.com>
11665 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11666 before performing relro protection. At old place add assertion
11667 to make sure nothing changed.
11669 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11670 Glauber de Oliveira Costa <glommer@gmail.com>
11672 * elf/elf.h: Add new ARM TLS relocs.
11674 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11677 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11679 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11681 * sysdeps/wordsize-64/tst-writev.c: New file.
11683 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11685 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11686 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11687 insns in _dl_start to prevent a TOC reference before relocs are
11690 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11693 * Makeconfig: Remove RANLIB definition.
11694 * Makerules: Don't use RANLIB.
11695 * aclocal.m4: Remove ranlib test.
11696 * configure.in: No need to check for ranlib.
11697 * elf/rtld-Rules: Don't use RANLIB.
11699 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11701 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11703 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11704 inclusion protection macro.
11706 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11707 SIGRTMIN and SIGRTMAX and print information in that case only when
11708 SIGRTMIN is defined.
11710 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11712 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11713 arginfo fn returning -1.
11715 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11716 and thousands string is zero terminated.
11718 2011-02-03 Andreas Schwab <schwab@redhat.com>
11720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11721 sysdeps/unix/sysv/linux/bits/socket.h.
11723 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11725 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11726 (__CPU_COUNT): Remove old macros.
11727 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11728 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11729 (__CPU_ALLOC, __CPU_FREE): Add macros.
11730 (__sched_cpualloc, __sched_cpufree): Add declarations.
11732 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11734 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11735 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11736 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11737 (readdhstai): Return value of addhstaiX call.
11738 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11739 (addgrbyX): Return value returned by cache_addgr.
11740 (readdgrbyname): Return value returned by addgrbyX.
11741 (readdgrbygid): Likewise.
11742 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11743 (addpwbyX): Return value returned by cache_addpw.
11744 (readdpwbyname): Return value returned by addhstbyX.
11745 (readdpwbyuid): Likewise.
11746 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11747 (addservbyX): Return value returned by cache_addserv.
11748 (readdservbyname): Return value returned by addservbyX:
11749 (readdservbyport): Likewise.
11750 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11751 (addhstbyX): Return value returned by cache_addhst.
11752 (readdhstbyname): Return value returned by addhstbyX.
11753 (readdhstbyaddr): Likewise.
11754 (readdhstbynamev6): Likewise.
11755 (readdhstbyaddrv6): Likewise.
11756 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11757 (readdinitgroups): Return value returned by addinitgroupsX.
11758 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11759 (prune_cache): Keep track of timeout value of re-added entries.
11760 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11761 * nscd/nscd.h: Adjust prototypes of readd* functions.
11763 2011-02-04 Roland McGrath <roland@redhat.com>
11765 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11766 (nis_stats): Likewise.
11767 * nis/nis_modify.c (nis_modify): Likewise.
11768 * nis/nis_remove.c (nis_remove): Likewise.
11769 * nis/nis_add.c (nis_add): Likewise.
11771 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11773 * posix/fnmatch_loop.c: Add some consts.
11775 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11777 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11780 * config.make.in (config-cflags-novzeroupper): Define.
11781 * configure.in: Substitute libc_cv_cc_novzeroupper.
11782 * elf/Makefile (AVX-CFLAGS): Define.
11783 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11784 (CFLAGS-tst-auditmod4a.c): Likewise.
11785 (CFLAGS-tst-auditmod4b.c): Likewise.
11786 (CFLAGS-tst-auditmod6b.c): Likewise.
11787 (CFLAGS-tst-auditmod6c.c): Likewise.
11788 (CFLAGS-tst-auditmod7b.c): Likewise.
11789 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11791 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11793 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11794 function to the callback.
11795 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11797 2011-02-02 Andreas Schwab <schwab@redhat.com>
11799 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11802 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11805 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11807 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11809 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11812 * elf/Makefile: Add rules to build and run new test.
11813 * elf/tst-initorder.c: New file.
11814 * elf/tst-initorder.exp: New file.
11815 * elf/tst-initordera1.c: New file.
11816 * elf/tst-initordera2.c: New file.
11817 * elf/tst-initordera3.c: New file.
11818 * elf/tst-initordera4.c: New file.
11819 * elf/tst-initorderb1.c: New file.
11820 * elf/tst-initorderb2.c: New file.
11821 * elf/tst-order-a1.c: New file.
11822 * elf/tst-order-a2.c: New file.
11823 * elf/tst-order-a3.c: New file.
11824 * elf/tst-order-a4.c: New file.
11825 * elf/tst-order-b1.c: New file.
11826 * elf/tst-order-b2.c: New file.
11827 * elf/tst-order-main.c: New file.
11828 New test case by George Gensure <werkt0@gmail.com>.
11830 2010-10-01 Andreas Schwab <schwab@redhat.com>
11832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11833 decoding ACE if AI_CANONIDN.
11835 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11837 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11839 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11841 * version.h (RELEASE): Bump for 2.13 release.
11842 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11844 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11846 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11848 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11855 * posix/getconf.c: Update copyright year.
11856 * catgets/gencat.c: Likewise.
11857 * csu/version.c: Likewise.
11858 * debug/catchsegv.sh: Likewise.
11859 * debug/xtrace.sh: Likewise.
11860 * elf/ldconfig.c: Likewise.
11861 * elf/ldd.bash.in: Likewise.
11862 * elf/sprof.c (print_version): Likewise.
11863 * iconv/iconv_prog.c: Likewise.
11864 * iconv/iconvconfig.c: Likewise.
11865 * locale/programs/locale.c: Likewise.
11866 * locale/programs/localedef.c: Likewise.
11867 * malloc/memusage.sh: Likewise.
11868 * malloc/mtrace.pl: Likewise.
11869 * nscd/nscd.c (print_version): Likewise.
11870 * nss/getent.c: Likewise.
11872 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11873 PF_CAIF, and PF_ALG.
11874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11876 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11878 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11879 (modules-names): Use them.
11880 (ifunc-test-modules, ifunc-pie-tests): Define.
11881 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11882 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11883 (test-extras): Likewise.
11884 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11885 $(compile-command.c).
11886 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11887 (all-built-dso): Define.
11888 (check-textrel.out, check-execstack.out): Depend on it.
11890 * configure.in: Don't override --enable-multi-arch.
11892 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11895 * nscd/hstcache.c (tryagain): Define.
11896 (cache_addhst): Return tryagain not notfound for temporary errors.
11897 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11900 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11903 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11904 to make the syscall.
11905 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11908 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11909 and fall back to matching as normal character if the string ends before
11910 the matching ']' is found. This is what POSIX requires.
11911 * posix/testfnm.c: Adjust test result.
11912 * posix/globtest.sh: Adjust test result. Add new test.
11913 * posix/tst-fnmatch.input: Likewise.
11914 * posix/tst-fnmatch2.c: Add new test.
11916 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11918 * elf/Makefile (check-execstack): Revert last change. Depend on
11920 (check-execstack.h): New target.
11921 (generated): Add check-execstack.h.
11922 * elf/check-execstack.c: Include "check-execstack.h".
11923 (main): Revert last change.
11924 (handle_file): Return zero if GNU_STACK is absent and
11925 DEFAULT_STACK_PERMS doesn't include PF_X.
11927 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11929 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11930 in child fails because the descriptor is already closed.
11931 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11932 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11933 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11936 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11940 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11941 temporary buffer used to handle multi lookups locally.
11942 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11944 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11946 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11949 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11951 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11952 alignment for SSE2.
11954 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11957 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11958 characters. When rounding increased number of integer digits recompute
11960 * stdio-common/tst-grouping.c: New file.
11961 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11963 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11965 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11966 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11968 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11970 * bits/select.h: Likewise.
11972 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11974 * po/ja.po: Update from translation team.
11976 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11979 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11980 implementation just like for lxstat, fxstatat, et al.
11982 2010-12-27 Jim Meyering <meyering@redhat.com>
11985 * posix/regexec.c (build_trtable): Return failure indication upon
11986 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11988 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11991 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11992 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11993 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11994 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11997 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12000 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12001 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12003 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12005 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12006 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12007 script has SORT_BY_INIT_PRIORITY.
12008 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12009 NO_CTORS_DTORS_SECTIONS is defined.
12010 * elf/soinit.c: Likewise.
12011 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12012 NO_CTORS_DTORS_SECTIONS is defined.
12013 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12014 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12015 * sysdeps/sh/init-first.c: Likewise.
12016 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12018 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12020 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12021 always use the slow path.
12023 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12025 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12026 similar rule which adds the sysdep directories to the header search in
12027 order to pick up the correct platform stackinfo.h.
12028 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12029 perform test if it is, otherwise return successfully without testing.
12030 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12031 DEFAULT_STACK_PERMS define in stackinfo.h.
12032 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12033 defined in stackinfo.h.
12034 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12035 DEFAULT_STACK_PERMS defined in stackinfo.h.
12036 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12037 * sysdeps/ia64/stackinfo.h: Likewise.
12038 * sysdeps/s390/stackinfo.h: Likewise.
12039 * sysdeps/sh/stackinfo.h: Likewise.
12040 * sysdeps/sparc/stackinfo.h: Likewise.
12041 * sysdeps/x86_64/stackinfo.h: Likewise.
12042 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12043 PF_X for powerpc64. Retain PF_X for powerpc32.
12045 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12047 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12049 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12050 GETDENTS_64BIT_ALIGNED.
12052 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12054 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12056 2010-12-10 Andreas Schwab <schwab@redhat.com>
12058 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12061 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12062 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12064 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12065 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12067 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12070 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12073 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12075 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12077 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12079 * po/it.po: Update from translation team.
12081 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12083 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12086 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12088 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12090 2010-11-24 Andreas Schwab <schwab@redhat.com>
12092 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12094 (gaih_getanswer_slice): Likewise.
12096 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12098 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12100 2010-05-31 Petr Baudis <pasky@suse.cz>
12103 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12104 silently even in the chroot mode.
12106 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12108 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12109 last patch a bit. Pretty printing
12111 2010-05-31 Petr Baudis <pasky@suse.cz>
12114 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12115 initialization of skip_initgroups_dyn.
12117 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12119 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12122 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12124 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12126 2010-11-11 Andreas Schwab <schwab@redhat.com>
12128 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12129 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12130 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12131 ($(objpfx)tst-fnmatch-mem): New rule.
12132 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12133 * posix/tst-fnmatch.c (main): Call mtrace.
12135 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12138 Support Intel processor model 6 and model 0x2c.
12140 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12142 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12145 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12148 * string/test-strncasecmp.c (check_result): New function.
12149 (do_one_test): Use it.
12150 (check1): New function.
12151 (test_main): Use it.
12152 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12153 Support strcasecmp and strncasecmp.
12155 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12158 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12159 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12161 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12163 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12167 * sysdeps/x86_64/multiarch/bzero.S: New file.
12168 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12169 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12170 * sysdeps/x86_64/multiarch/memset.S: New file.
12171 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12173 Set bit_Prefer_SSE_for_memop for Intel processors.
12174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12176 (index_Prefer_SSE_for_memop): Define.
12177 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12179 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12181 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12182 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12184 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12187 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12188 (__x86_64_raw_data_cache_size_half): Likewise.
12189 (__x86_64_raw_shared_cache_size): Likewise.
12190 (__x86_64_raw_shared_cache_size_half): Likewise.
12192 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12193 (__x86_64_raw_data_cache_size_half): Likewise.
12194 (__x86_64_raw_shared_cache_size): Likewise.
12195 (__x86_64_raw_shared_cache_size_half): Likewise.
12196 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12197 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12198 and __x86_64_raw_shared_cache_size_half. Round
12199 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12200 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12201 to multiple of 256 bytes.
12203 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12206 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12207 of inacessible symlinks. Verify result of symlink before returning it.
12208 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12209 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12211 2010-10-28 Erich Ritz <erichritz@gmail.com>
12213 * math/math.h (isinf): Fix typo in comment.
12215 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12217 * po/da.po: Update from translation team.
12219 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12221 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12222 is added to the list.
12224 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12225 Ulrich Drepper <drepper@gmail.com>
12227 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12228 the global list here. Move code to...
12229 (_dl_add_to_namespace_list): ...here. New function.
12230 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12231 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12232 * elf/dl-load.c (lose): Don't remove the element from the list.
12233 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12234 (_dl_map_object): Likewise.
12236 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12239 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12240 into all bytes of SSE register.
12241 Patch by Richard Li <richardpku@gmail.com>.
12243 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12246 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12249 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12251 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12252 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12253 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12254 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12259 2010-10-22 Andreas Schwab <schwab@redhat.com>
12261 * include/dlfcn.h (__RTLD_SECURE): Define.
12262 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12263 mode & __RTLD_SECURE instead.
12264 (open_path): Rename preloaded parameter to secure.
12265 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12266 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12267 * elf/dl-deps.c (openaux): Likewise.
12268 * elf/rtld.c (struct map_args): Remove is_preloaded.
12269 (map_doit): Don't use it.
12270 (dl_main): Likewise.
12271 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12272 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12274 2010-09-09 Andreas Schwab <schwab@redhat.com>
12276 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12277 (sysd-rules-targets): Remove duplicates.
12278 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12279 rtld-%.$o dependency.
12281 2010-10-18 Andreas Schwab <schwab@redhat.com>
12283 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12284 _dl_map_object do it.
12286 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12288 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12289 fast fma builtins, define the macros in the C99 standard.
12290 (FP_FAST_FMAF): Likewise.
12291 (FP_FAST_FMAL): Likewise.
12292 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12294 * bits/mathdef.h: Update copyright year.
12295 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12297 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12299 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12300 builtins, define the macros in the C99 standard.
12301 (FP_FAST_FMAF): Likewise.
12302 (FP_FAST_FMAL): Likewise.
12303 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12305 (FP_FAST_FMAF): Likewise.
12307 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12310 * math/libm-test.inc (fma_test): Some new testcases.
12311 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12312 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12313 y and infinite z. Do multiplication by C already in long double.
12314 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12316 y and infinite z. Do bitwise or of inexact bit into u.d.
12317 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12318 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12319 * sysdeps/i386/fpu/s_fma.S: Removed.
12320 * sysdeps/i386/fpu/s_fmal.S: Removed.
12322 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12325 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12326 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12327 computation is not scheduled after fetestexcept. Fix value
12328 of minimum denormal long double.
12330 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12333 * math/libm-test.inc (fma_test): Add some more tests.
12334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12337 2010-10-15 Andreas Schwab <schwab@redhat.com>
12339 * scripts/data/localplt-s390-linux-gnu.data: New file.
12340 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12342 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12345 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12346 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12348 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12350 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12352 if one of x and y is very large and the other is subnormal.
12353 * sysdeps/s390/fpu/s_fmaf.c: New file.
12354 * sysdeps/s390/fpu/s_fma.c: New file.
12355 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12356 * sysdeps/powerpc/fpu/s_fma.S: New file.
12357 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12358 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12359 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12361 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12364 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12366 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12367 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12368 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12369 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12370 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12371 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12374 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12377 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12378 * posix/bug-regex31.input: Add test case.
12380 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12382 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12383 * posix/bug-regex31.input: New file.
12386 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12387 (parse_sub_exp): Fix last change, use postorder.
12389 * posix/bug-regex31.c: New file.
12390 * posix/Makefile: Add rules to build and run bug-regex31.
12392 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12395 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12398 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12399 to have entries in sys_siglist.
12402 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12405 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12408 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12409 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12410 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12411 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12412 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12413 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12414 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12415 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12416 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12417 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12418 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12419 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12420 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12421 * math/ftestexcept.c (fetestexcept): Likewise.
12422 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12423 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12424 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12425 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12426 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12427 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12430 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12433 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12436 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12438 * string/bug-strstr1.c: New file.
12439 * string/Makefile: Add rules to build and run bug-strstr1.
12441 2010-10-05 Eric Blake <eblake@redhat.com>
12444 * string/str-two-way.h (two_way_long_needle): Always clear memory
12445 when skipping input due to the shift table.
12447 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12450 * malloc/mcheck.c: Handle large requests.
12453 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12454 for strncmp and strncasecmp.
12455 * string/stratcliff.c: Add tests for strcmp and strncmp.
12456 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12458 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12460 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12463 2010-09-30 Andreas Jaeger <aj@suse.de>
12465 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12466 (CGROUP_SUPER_MAGIC): Define.
12467 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12468 Handle btrfs and cgroup file systems.
12469 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12472 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12474 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12475 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12477 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12480 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12481 trying to locate the ELF header.
12483 2010-09-27 Andreas Schwab <schwab@redhat.com>
12486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12487 Mask out sign-bit copies when constructing f_fsid.
12489 2010-09-24 Petr Baudis <pasky@suse.cz>
12491 * debug/stack_chk_fail_local.c: Add missing licence exception.
12492 * debug/warning-nop.c: Likewise.
12494 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12496 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12497 implementing getdents64 using getdents syscall, set d_type if
12498 __ASSUME_GETDENTS32_D_TYPE.
12500 2010-09-16 Andreas Schwab <schwab@redhat.com>
12502 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12503 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12505 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12508 * posix/unistd.h: Undo change of feature selection for ftruncate from
12511 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12513 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12516 2010-09-20 Andreas Schwab <schwab@redhat.com>
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12520 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12522 2010-09-14 Andreas Schwab <schwab@redhat.com>
12524 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12525 variables after CHECK_SP call.
12526 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12528 2010-09-13 Andreas Schwab <schwab@redhat.com>
12529 Ulrich Drepper <drepper@redhat.com>
12531 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12532 re-relocationg ld.so.
12533 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12534 _dl_init_paths call.
12535 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12538 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12540 * resolv/res_init.c (__res_vinit): Count the default server we added.
12542 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12543 Ulrich Drepper <drepper@redhat.com>
12546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12547 (____longjmp_chk): Use %ebx for saving value across system call.
12550 2010-09-06 Andreas Schwab <schwab@redhat.com>
12552 * manual/Makefile: Don't mix pattern rules with normal rules.
12554 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12556 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12558 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12559 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12560 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12561 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12565 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12568 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12569 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12571 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12573 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12574 * sysdeps/x86_64/addmul_1.S: Likewise.
12575 * sysdeps/x86_64/lshift.S: Likewise.
12576 * sysdeps/x86_64/mul_1.S: Likewise.
12577 * sysdeps/x86_64/rshift.S: Likewise.
12578 * sysdeps/x86_64/sub_n.S: Likewise.
12579 * sysdeps/x86_64/submul_1.S: Likewise.
12581 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12583 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12584 Define __sched_param instead of SCHED_* and sched_param when
12585 <bits/sched.h> is included with __need_schedparam defined.
12586 * bits/sched.h [__need_schedparam]
12587 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12588 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12589 (__defined_schedparam): Define to 1.
12590 (__sched_param): New structure, identical to sched_param.
12591 (__need_schedparam): Undefine.
12593 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12595 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12596 (epoll_create1): Declare.
12598 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12600 2010-08-31 Andreas Schwab <schwab@redhat.com>
12603 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12604 shifting retval into place.
12606 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12608 * nis/rpcsvc/nis.h: Update copyright notice.
12609 * nis/rpcsvc/nis.x: Likewise.
12610 * nis/rpcsvc/nis_callback.h: Likewise.
12611 * nis/rpcsvc/nis_callback.x: Likewise.
12612 * nis/rpcsvc/nis_object.x: Likewise.
12613 * nis/rpcsvc/nis_tags.h: Likewise.
12614 * nis/rpcsvc/yp.h: Likewise.
12615 * nis/rpcsvc/yp.x: Likewise.
12616 * nis/rpcsvc/ypupd.h: Likewise.
12617 * nis/yp_xdr.c: Likewise.
12618 * nis/ypupdate_xdr.c: Likewise.
12620 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12621 mainly the body of pmap_getport. Add parameters to specify timeouts.
12622 (pmap_getport): Use __libc_rpc_getport.
12623 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12624 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12625 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12627 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12632 2010-08-27 Roland McGrath <roland@redhat.com>
12634 * sysdeps/i386/i686/multiarch/Makefile
12635 (CFLAGS-varshift.c): New variable.
12637 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12639 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12640 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12642 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12644 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12646 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12648 * sysdeps/x86_64/strlen.S: Unroll the loop.
12649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12650 strlen-sse2 strlen-sse2-bsf.
12651 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12652 __strlen_no_bsf if bit_Slow_BSF is set.
12653 (__strlen_sse42): Removed.
12654 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12655 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12657 2010-08-25 Roland McGrath <roland@redhat.com>
12659 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12660 * sysdeps/x86_64/multiarch/varshift.c: New file.
12661 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12662 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12663 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12664 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12666 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12668 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12669 strlen-sse2 strlen-sse2-bsf.
12670 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12671 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12672 (__strlen_sse2): Removed.
12673 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12674 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12676 bit_Slow_BSF for Atom.
12677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12678 (index_Slow_BSF): Define.
12679 (HAS_SLOW_BSF): Define.
12681 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12684 * resolv/res_init.c (__res_vinit): When no server address at all
12685 is given default to loopback.
12687 2010-08-24 Roland McGrath <roland@redhat.com>
12689 * configure.in: Remove config-name.h generation.
12690 * configure: Regenerated.
12691 * config-name.in: File removed.
12692 * scripts/config-uname.sh: New file.
12693 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12694 ($(objdir)config-name.h): New target.
12696 * sunrpc/rpc_parse.h: Avoid nested comment.
12698 2010-08-24 Richard Henderson <rth@redhat.com>
12699 Ulrich Drepper <drepper@redhat.com>
12700 H.J. Lu <hongjiu.lu@intel.com>
12702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12704 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12705 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12706 _mm_alignr_epi8 with _mm_loadu_si128.
12707 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12708 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12709 (__m128i_shift_right): Removed.
12710 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12711 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12712 * sysdeps/x86_64/multiarch/varshift.h: New file.
12713 * sysdeps/x86_64/multiarch/varshift.S: New file.
12715 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12717 * configure.in: Move assembler checks to before sysdep dir checking.
12719 2010-08-20 Petr Baudis <pasky@suse.cz>
12721 * LICENSES: Sync the sunrpc license.
12723 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12725 * sunrpc/auth_des.c: Update copyright notice once again.
12726 * sunrpc/auth_none.c: Likewise.
12727 * sunrpc/auth_unix.c: Likewise.
12728 * sunrpc/authdes_prot.c: Likewise.
12729 * sunrpc/authuxprot.c: Likewise.
12730 * sunrpc/bindrsvprt.c: Likewise.
12731 * sunrpc/clnt_gen.c: Likewise.
12732 * sunrpc/clnt_perr.c: Likewise.
12733 * sunrpc/clnt_raw.c: Likewise.
12734 * sunrpc/clnt_simp.c: Likewise.
12735 * sunrpc/clnt_tcp.c: Likewise.
12736 * sunrpc/clnt_udp.c: Likewise.
12737 * sunrpc/clnt_unix.c: Likewise.
12738 * sunrpc/des_crypt.c: Likewise.
12739 * sunrpc/des_soft.c: Likewise.
12740 * sunrpc/get_myaddr.c: Likewise.
12741 * sunrpc/getrpcport.c: Likewise.
12742 * sunrpc/key_call.c: Likewise.
12743 * sunrpc/key_prot.c: Likewise.
12744 * sunrpc/openchild.c: Likewise.
12745 * sunrpc/pm_getmaps.c: Likewise.
12746 * sunrpc/pm_getport.c: Likewise.
12747 * sunrpc/pmap_clnt.c: Likewise.
12748 * sunrpc/pmap_prot.c: Likewise.
12749 * sunrpc/pmap_prot2.c: Likewise.
12750 * sunrpc/pmap_rmt.c: Likewise.
12751 * sunrpc/rpc/auth.h: Likewise.
12752 * sunrpc/rpc/auth_unix.h: Likewise.
12753 * sunrpc/rpc/clnt.h: Likewise.
12754 * sunrpc/rpc/des_crypt.h: Likewise.
12755 * sunrpc/rpc/key_prot.h: Likewise.
12756 * sunrpc/rpc/netdb.h: Likewise.
12757 * sunrpc/rpc/pmap_clnt.h: Likewise.
12758 * sunrpc/rpc/pmap_prot.h: Likewise.
12759 * sunrpc/rpc/pmap_rmt.h: Likewise.
12760 * sunrpc/rpc/rpc.h: Likewise.
12761 * sunrpc/rpc/rpc_des.h: Likewise.
12762 * sunrpc/rpc/rpc_msg.h: Likewise.
12763 * sunrpc/rpc/svc.h: Likewise.
12764 * sunrpc/rpc/svc_auth.h: Likewise.
12765 * sunrpc/rpc/types.h: Likewise.
12766 * sunrpc/rpc/xdr.h: Likewise.
12767 * sunrpc/rpc_clntout.c: Likewise.
12768 * sunrpc/rpc_cmsg.c: Likewise.
12769 * sunrpc/rpc_common.c: Likewise.
12770 * sunrpc/rpc_cout.c: Likewise.
12771 * sunrpc/rpc_dtable.c: Likewise.
12772 * sunrpc/rpc_hout.c: Likewise.
12773 * sunrpc/rpc_main.c: Likewise.
12774 * sunrpc/rpc_parse.c: Likewise.
12775 * sunrpc/rpc_parse.h: Likewise.
12776 * sunrpc/rpc_prot.c: Likewise.
12777 * sunrpc/rpc_sample.c: Likewise.
12778 * sunrpc/rpc_scan.c: Likewise.
12779 * sunrpc/rpc_scan.h: Likewise.
12780 * sunrpc/rpc_svcout.c: Likewise.
12781 * sunrpc/rpc_tblout.c: Likewise.
12782 * sunrpc/rpc_util.c: Likewise.
12783 * sunrpc/rpc_util.h: Likewise.
12784 * sunrpc/rpcinfo.c: Likewise.
12785 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12786 * sunrpc/rpcsvc/key_prot.x: Likewise.
12787 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12788 * sunrpc/rpcsvc/mount.x: Likewise.
12789 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12790 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12791 * sunrpc/rpcsvc/rex.x: Likewise.
12792 * sunrpc/rpcsvc/rstat.x: Likewise.
12793 * sunrpc/rpcsvc/rusers.x: Likewise.
12794 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12795 * sunrpc/rpcsvc/spray.x: Likewise.
12796 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12797 * sunrpc/rtime.c: Likewise.
12798 * sunrpc/svc.c: Likewise.
12799 * sunrpc/svc_auth.c: Likewise.
12800 * sunrpc/svc_authux.c: Likewise.
12801 * sunrpc/svc_raw.c: Likewise.
12802 * sunrpc/svc_run.c: Likewise.
12803 * sunrpc/svc_simple.c: Likewise.
12804 * sunrpc/svc_tcp.c: Likewise.
12805 * sunrpc/svc_udp.c: Likewise.
12806 * sunrpc/svc_unix.c: Likewise.
12807 * sunrpc/svcauth_des.c: Likewise.
12808 * sunrpc/xcrypt.c: Likewise.
12809 * sunrpc/xdr.c: Likewise.
12810 * sunrpc/xdr_array.c: Likewise.
12811 * sunrpc/xdr_float.c: Likewise.
12812 * sunrpc/xdr_mem.c: Likewise.
12813 * sunrpc/xdr_rec.c: Likewise.
12814 * sunrpc/xdr_ref.c: Likewise.
12815 * sunrpc/xdr_sizeof.c: Likewise.
12816 * sunrpc/xdr_stdio.c: Likewise.
12818 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12821 2010-08-19 Andreas Schwab <schwab@redhat.com>
12823 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12825 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12827 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12829 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12830 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12831 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12832 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12833 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12834 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12835 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12836 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12837 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12838 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12839 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12840 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12842 2010-07-26 Anton Blanchard <anton@samba.org>
12844 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12845 * malloc/arena.c (heap_trim): Likewise.
12847 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12849 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12852 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12854 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12856 * sysdeps/i386/elf/Makefile: New file.
12858 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12860 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12861 from fanotify_init.
12862 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12865 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12867 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12869 * sysdeps/multiarch/strcmp.S: Likewise.
12871 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12873 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12874 strncase_l-nonascii.
12875 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12876 Add strncase_l-ssse3.
12877 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12878 * sysdeps/x86_64/strcmp.S: Likewise.
12879 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12880 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12881 * sysdeps/x86_64/strncase.S: New file.
12882 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12883 * sysdeps/x86_64/strncase_l.S: New file.
12884 * string/Makefile (strop-tests): Add strncasecmp.
12885 * string/test-strncasecmp.c: New file.
12887 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12890 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12891 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12893 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12895 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12897 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12899 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12900 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12903 2010-05-01 Alan Modra <amodra@gmail.com>
12905 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12906 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12907 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12908 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12909 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12910 tidying. Don't tail-call __sigjmp_save for static lib.
12911 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12913 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12914 (CALL_MCOUNT): Add eh info, and nop after bl.
12915 (TAIL_CALL_SYSCALL_ERROR): New macro.
12916 (PSEUDO_RET): Use it.
12917 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12918 Correct save location of integer regs and cr.
12919 (_dl_profile_resolve): Correct cr save location. Delete nops
12920 after bl when SHARED. Reduce cfi size a little by better
12921 placement of cfi directives.
12922 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12923 make a stack frame. Instead use parm save area as a temp.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12925 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12927 Don't make a stack frame for parent, use parm save area.
12928 Increase child stack frame to 112 bytes. Don't save unused reg,
12929 and adjust reg usage. Set up cfi on error recovery and
12930 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12932 (__makecontext): Add dummy nop after jump to exit.
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12934 Use correct parm save area and cr save, reduce stack frame.
12935 Correct cfi for possible PSEUDO_RET frame setup.
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12937 Branch to local label emitted by PSEUDO_RET rather than
12940 2010-08-12 Andreas Schwab <schwab@redhat.com>
12943 * locale/programs/locale.c (print_assignment): New function.
12944 (show_locale_vars): Use it.
12946 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12948 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12950 (struct statfs64): Likewise.
12951 (_STATFS_F_FLAGS): Define.
12952 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12953 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12954 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12955 (ST_VALID): Define locally.
12956 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12957 __statvfs_getflags, use the provided value.
12958 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12959 __ASSUME_STATFS_F_FLAGS.
12961 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12963 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12964 Add sys/fanotify.h.
12965 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12966 fanotify_mask for GLIBC_2.13.
12967 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12968 fanotify_init and fanotify_mark.
12969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12970 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12972 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12974 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12975 prlimit64 for GLIBC_2.13.
12976 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12978 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12981 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12982 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12983 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12986 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12989 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12990 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12992 * nss/Makefile: Add rules to build and run tst-nss-test1.
12993 * shlib-versions: Add entry for libnss_test1.
12994 * nss/nss_test1.c: New file.
12995 * nss/tst-nss-test1.c: New file.
12997 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12998 (__nss_configure_lookup): Set appropriate entry in
12999 __nss_configure_lookup to true.
13000 * nss/nsswitch.h: Define enum with indeces of databases in
13001 databases and __nss_database_custom arrays. Declare
13002 __nss_database_custom.
13003 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13004 to avoid using nscd when custom rules are installed.
13005 * nss/getXXbyYY_r.c: Likewise.
13006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13008 * nss/nss_files/files-parse.c: Whitespace fixes.
13010 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13013 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13014 * posix/fnmatch_loop.c: Likewise.
13016 2010-07-17 Andi Kleen <ak@linux.intel.com>
13018 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13019 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13020 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13021 * Versions.def [GLIBC_2.13]: Add.
13023 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13026 Also fail if tpwd after pwuid call is NULL.
13028 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13030 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13031 when converting to ms.
13033 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13035 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13036 EOPNOTSUPP errors with ENOTTY.
13037 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13038 EOPNOTSUPP errors with ENOTTY.
13040 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13042 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13043 Add strcasecmp_l-ssse3.
13044 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13046 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13047 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13048 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13050 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13052 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13054 * string/Makefile (strop-tests): Add strcasecmp.
13055 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13056 strcasecmp_l-nonascii.
13057 (gen-as-const-headers): Add locale-defines.sym.
13058 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13059 * sysdeps/x86_64/strcasecmp.S: New file.
13060 * sysdeps/x86_64/strcasecmp_l.S: New file.
13061 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13062 * sysdeps/x86_64/locale-defines.sym: New file.
13063 * string/test-strcasecmp.c: New file.
13065 * string/test-strcasestr.c: Test both ends of the range of characters.
13066 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13068 2010-07-29 Roland McGrath <roland@redhat.com>
13071 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13073 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13075 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13078 2010-07-27 Andreas Schwab <schwab@redhat.com>
13080 * manual/memory.texi (Malloc Tunable Parameters): Document
13083 2010-07-26 Roland McGrath <roland@redhat.com>
13086 * configure.in (-fgnu89-inline check): Set and substitute
13087 gnu89_inline, not libc_cv_gnu89_inline.
13088 * configure: Regenerated.
13089 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13091 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13093 * string/test-strnlen.c: New file.
13094 * string/Makefile (strop-tests): Add strnlen.
13095 * string/tester.c (test_strnlen): Add a few more test cases.
13096 * string/tst-strlen.c: Better error reporting.
13098 * sysdeps/x86_64/strnlen.S: New file.
13100 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13102 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13103 lower-latency instructions.
13105 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13107 * string/test-strcasestr.c: New file.
13108 * string/test-strstr.c: New file.
13109 * string/Makefile (strop-tests): Add strstr and strcasestr.
13110 * string/str-two-way.h: Don't undefine MAX.
13111 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13113 2010-07-21 Andreas Schwab <schwab@redhat.com>
13115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13116 strcasestr-nonascii.
13117 (CFLAGS-strcasestr-nonascii.c): Define.
13118 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13119 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13120 Remove unused attribute.
13122 2010-07-20 Roland McGrath <roland@redhat.com>
13124 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13125 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13126 ld.so.cache was broken. With it, there is no way to disable dsocaps
13127 like LD_HWCAP_MASK can disable hwcaps.
13129 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13131 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13133 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13135 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13136 call in strcasestr.
13137 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13138 __strcasestr_sse42_nonascii.
13139 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13140 strcasestr-nonascii.c.
13141 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13143 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13146 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13148 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13150 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13155 2010-07-06 Andreas Schwab <schwab@redhat.com>
13158 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13161 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13163 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13164 _PC_PIPE_BUF using F_GETPIPE_SZ.
13166 2010-07-05 Roland McGrath <roland@redhat.com>
13168 * manual/arith.texi (Rounding Functions): Fix rint description
13169 implicit in round description.
13171 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13173 * elf/Makefile: Fix linking for a few tests to make recent linker
13176 2010-06-30 Andreas Schwab <schwab@redhat.com>
13178 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13179 $(common-objpfx)libc_nonshared.a.
13181 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13183 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13184 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13185 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13186 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13187 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13188 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13189 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13190 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13205 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13206 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13207 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13208 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13209 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13210 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13211 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13212 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13213 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13214 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13215 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13216 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13232 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13234 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13235 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13236 * string/memmove.c (memmove): Renamed to ...
13237 (MEMMOVE): ...this. Default to memmove.
13238 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13239 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13242 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13243 mempcpy-ssse3-back memmove-ssse3-back.
13244 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13246 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13247 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13248 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13249 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13250 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13251 * sysdeps/x86_64/multiarch/memmove.c: New file.
13252 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13253 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13254 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13255 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13256 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13257 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13259 (index_Fast_Copy_Backward): Define.
13260 (HAS_ARCH_FEATURE): Define.
13261 (HAS_FAST_REP_STRING): Define.
13262 (HAS_FAST_COPY_BACKWARD): Define.
13264 2010-06-21 Andreas Schwab <schwab@redhat.com>
13266 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13267 Restore proper fallback handling.
13269 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13272 * posix/group_member.c (__group_member): Correct checking loop.
13274 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13275 OOM in getpwuid_r correctly. Return error number when the caller
13276 should return, otherwise -1.
13277 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13278 call returning > 0 value.
13279 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13281 2010-06-07 Andreas Schwab <schwab@redhat.com>
13283 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13284 libc_nonshared.a from targets in modules-names.
13286 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13288 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13291 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13293 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13294 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13296 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13298 2010-06-02 Andreas Schwab <schwab@redhat.com>
13300 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13302 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13304 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13308 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13310 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13313 2010-06-14 Roland McGrath <roland@redhat.com>
13315 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13317 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13319 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13320 __REDIRECT followed by __THROW.
13321 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13322 * posix/getopt.h (getopt): Likewise.
13324 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13326 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13327 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13328 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13330 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13331 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13333 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13335 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13337 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13341 Properly check family and model.
13343 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13345 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13347 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13349 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13351 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13353 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13356 2010-05-19 Andreas Schwab <schwab@redhat.com>
13358 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13361 2010-05-21 Andreas Schwab <schwab@redhat.com>
13363 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13364 and internal_recvmmsg.
13365 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13366 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13367 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13368 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13370 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13371 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13372 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13374 2010-05-20 Andreas Schwab <schwab@redhat.com>
13376 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13378 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13380 POWER7 optimizations.
13381 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13382 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13384 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13386 * version.h: Update for 2.13 development version.
13388 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13390 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13391 exceptions. Return 0.
13393 2010-05-07 Roland McGrath <roland@redhat.com>
13395 * elf/ldconfig.c (main): Add a const.
13397 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13399 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13400 (args_options): Add no-idn option.
13401 (ahosts_keys_int): Add idn_flags to ai_flags.
13402 (parse_option): Handle 'i' option to clear idn_flags.
13404 * malloc/malloc.c (_int_free): Possible race in the most recently
13405 added check. Only act on the data if no current modification
13408 See ChangeLog.17 for earlier changes.