1 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5 (LC_ALL): Use macro-int-constant.
6 (LC_COLLATE): Likewise.
8 (LC_MESSAGES): Likewise.
9 (LC_MONETARY): Likewise.
10 (LC_NUMERIC): Likewise.
12 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
17 [C99-based standards] (float_t): Expect type.
18 [C99-based standards] (double_t): Expect type.
19 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21 [C99-based standards] (HUGE_VALL): Likewise.
22 [C99-based standards] (INFINITY): Likewise.
23 [C99-based standards] (NAN): Likewise.
24 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25 [C99-based standards] (FP_NAN): Likewise.
26 [C99-based standards] (FP_NORMAL): Likewise.
27 [C99-based standards] (FP_SUBNORMAL): Likewise.
28 [C99-based standards] (FP_ZERO): Likewise.
29 [C99-based standards] (FP_FAST_FMA): Use
30 optional-macro-int-constant. Specify type. Require == 1.
31 [C99-based standards] (FP_FAST_FMAF): Likewise.
32 [C99-based standards] (FP_FAST_FMAL): Likewise.
33 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34 [C99-based standards] (FP_ILOGBNAN): Likewise.
35 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
37 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38 [C99-based standards] (math_errhandling): Specify type.
39 [ISO99 || ISO11] (signgam): Do not allow.
40 [non-C99-based standards] (copysignf): Do not allow.
41 [non-C99-based standards] (exp2f): Likewise.
42 [non-C99-based standards] (log2f): Likewise.
43 [non-C99-based standards] (modff): Allow.
44 [non-C99-based standards] (erff): Do not allow.
45 [non-C99-based standards] (erfcf): Likewise.
46 [non-C99-based standards] (gammaf): Likewise.
47 [non-C99-based standards] (hypotf): Likewise.
48 [non-C99-based standards] (j0f): Likewise.
49 [non-C99-based standards] (j1f): Likewise.
50 [non-C99-based standards] (jnf): Likewise.
51 [non-C99-based standards] (lgammaf): Likewise.
52 [non-C99-based standards] (tgammaf): Likewise.
53 [non-C99-based standards] (y0f): Likewise.
54 [non-C99-based standards] (y1f): Likewise.
55 [non-C99-based standards] (ynf): Likewise.
56 [non-C99-based standards] (isnanf): Likewise.
57 [non-C99-based standards] (acoshf): Likewise.
58 [non-C99-based standards] (asinhf): Likewise.
59 [non-C99-based standards] (atanhf): Likewise.
60 [non-C99-based standards] (cbrtf): Likewise.
61 [non-C99-based standards] (expm1f): Likewise.
62 [non-C99-based standards] (ilogbf): Likewise.
63 [non-C99-based standards] (log1pf): Likewise.
64 [non-C99-based standards] (logbf): Likewise.
65 [non-C99-based standards] (nextafterf): Likewise.
66 [non-C99-based standards] (remainderf): Likewise.
67 [non-C99-based standards] (rintf): Likewise.
68 [non-C99-based standards] (scalbf): Likewise.
69 [non-C99-based standards] (copysignl): Likewise.
70 [non-C99-based standards] (exp2l): Likewise.
71 [non-C99-based standards] (log2l): Likewise.
72 [non-C99-based standards] (modfl): Allow.
73 [non-C99-based standards] (erfl): Do not allow.
74 [non-C99-based standards] (erfcl): Likewise.
75 [non-C99-based standards] (gammal): Likewise.
76 [non-C99-based standards] (hypotl): Likewise.
77 [non-C99-based standards] (j0l): Likewise.
78 [non-C99-based standards] (j1l): Likewise.
79 [non-C99-based standards] (jnl): Likewise.
80 [non-C99-based standards] (lgammal): Likewise.
81 [non-C99-based standards] (tgammal): Likewise.
82 [non-C99-based standards] (y0l): Likewise.
83 [non-C99-based standards] (y1l): Likewise.
84 [non-C99-based standards] (ynl): Likewise.
85 [non-C99-based standards] (isnanl): Likewise.
86 [non-C99-based standards] (acoshl): Likewise.
87 [non-C99-based standards] (asinhl): Likewise.
88 [non-C99-based standards] (atanhl): Likewise.
89 [non-C99-based standards] (cbrtl): Likewise.
90 [non-C99-based standards] (expm1l): Likewise.
91 [non-C99-based standards] (ilogbl): Likewise.
92 [non-C99-based standards] (log1pl): Likewise.
93 [non-C99-based standards] (logbl): Likewise.
94 [non-C99-based standards] (nextafterl): Likewise.
95 [non-C99-based standards] (remainderl): Likewise.
96 [non-C99-based standards] (rintl): Likewise.
97 [non-C99-based standards] (scalbl): Likewise.
98 [ISO || ISO99 || ISO11] (*_t): Do not allow.
99 [non-C99-based standards] (FP_*): Do not allow.
100 [C99-based standards] (FP_*): Change to
101 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
102 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
104 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
106 [X/Open-based standards] (SIG_HOLD): Likewise.
108 (SIGABRT): Use macro-int-constant. Specify type. Require
115 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
116 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
117 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
118 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
119 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
120 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
121 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
122 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
123 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
124 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
125 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
126 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
127 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
128 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
129 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
130 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
131 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
132 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
133 [X/Open-based standards] (SIGTRAP): Likewise.
134 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
135 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
136 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
137 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
138 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
141 2012-05-08 Ian Wienand <ianw@vmware.com>
144 * time/tzset.c (__tzset_parse_tz): Update default rules for
145 daylight time changes in the Energy Policy Act of 2005.
147 2012-05-09 Andreas Jaeger <aj@suse.de>
150 * elf/ldconfig.c (parse_conf): Change string to make clear that
151 ldconfig only issued a warning if ld.so.conf does not exist.
153 2012-05-08 David S. Miller <davem@davemloft.net>
155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
156 movxtod instead of popping the value on the stack.
158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
160 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
162 * config.h.in: Add HAVE_ARM_PCS_VFP.
164 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
167 * include/features.h: Warn if user requests __FORTIFY_SOURCE
168 checking but the checks are disabled for any reason.
170 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
172 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
173 and ELF64_R_TYPE with ELFW(R_TYPE).
175 2012-05-08 Joseph Myers <joseph@codesourcery.com>
177 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
180 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
181 (settimeofday): Likewise.
183 2012-05-08 Mike Frysinger <vapier@gentoo.org>
185 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
186 a struct th_u2 inside the union, and move tu_block/tu_code into
187 a new th_u3 union of tu_block/tu_code inside of that. Move
188 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
189 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
190 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
191 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
192 (th_stuff): Change to th_u1.tu_stuff.
194 (th_msg): Change to th_u1.th_u2.tu_data.
196 2012-05-07 David S. Miller <davem@davemloft.net>
198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
201 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
202 (SETUP_PIC_REG): Use it.
203 (SETUP_PIC_REG_LEAF): Use it.
205 2012-05-07 Joseph Myers <joseph@codesourcery.com>
209 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
211 (EXPL_FINITE): Likewise.
213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
214 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
216 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
218 (EXPL_FINITE): Likewise.
220 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
221 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
223 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
224 test of -max_value argument for long double.
225 * sysdeps/i386/fpu/libm-test-ulps: Update.
226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
228 2012-05-06 David S. Miller <davem@davemloft.net>
230 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
231 quad soft-float symbols whose references which are compiler
233 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
235 2012-05-06 Joseph Myers <joseph@codesourcery.com>
239 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
241 (EXPL_FINITE): Likewise.
245 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
246 Adjust comments for base varying.
247 (__expl_finite): Change alias to EXPL_FINITE.
248 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
250 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
251 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
253 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
254 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
256 (EXPL_FINITE): Likewise.
260 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
261 Adjust comments for base varying.
262 (__expl_finite): Change alias to EXPL_FINITE.
263 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
268 * math/libm-test.inc (check_float_internal): Correct ulp
269 calculation for subnormal expected results.
271 2012-05-06 Andreas Jaeger <aj@suse.de>
273 * Makeconfig (+math-flags): New, set to -frounding-math.
274 (+cflags): Add +math-flags so that all of glibc gets compiled with
277 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
279 2012-05-05 Joseph Myers <joseph@codesourcery.com>
281 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
287 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
288 (__ieee754_expl): Allow for and saturate large arguments.
289 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
290 (u_threshold): Likewise.
291 (__exp): Call __ieee754_exp before checking for overflow and
293 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
294 (u_threshold): Likewise.
295 (__expf): Call __ieee754_expf before checking for overflow and
297 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
298 (u_threshold): Likewise.
299 (__expl): Call __ieee754_expl before checking for overflow and
301 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
302 (__ieee754_expl): Allow for and saturate large arguments.
303 * math/libm-test.inc (exp_test): Add another test. Do not allow
304 missing overflow exception on overflow.
305 (expm1_test): Do not allow missing overflow exception on overflow.
307 * sysdeps/i386/fpu/e_expl.c: Move to ...
308 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
309 rather than using inline asm.
310 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
311 * sysdeps/x86_64/fpu/e_expl.S: Copy from
312 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
314 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
321 2012-05-04 Joseph Myers <joseph@codesourcery.com>
323 * sysdeps/unix/syscalls.list (adjtime): Add entry from
324 sysdeps/unix/common/syscalls.list.
327 (ftruncate): Likewise.
328 (getrusage): Likewise.
329 (gettimeofday): Likewise.
331 (setregid): Likewise.
332 (setreuid): Likewise.
333 (sigaction): Likewise.
334 (truncate): Likewise.
336 * sysdeps/unix/common/syscalls.list: Remove file.
337 * sysdeps/unix/bsd/Implies: Don't include unix/common.
338 * sysdeps/unix/sysv/linux/Implies: Likewise.
340 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
342 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
343 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
344 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
348 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
351 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
354 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
357 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
360 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
363 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
366 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
368 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
370 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
374 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
377 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
379 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
381 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
383 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
385 2012-05-04 Joseph Myers <joseph@codesourcery.com>
387 * sysdeps/unix/common/bits/dirent.h: Remove file.
388 * sysdeps/unix/common/bits/fcntl.h: Likewise.
390 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
391 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
392 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
393 * sysdeps/unix/bsd/isatty.c: Likewise.
394 * sysdeps/unix/bsd/tcdrain.c: Likewise.
395 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
396 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
398 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
401 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
402 long double comparison inaccuracies.
403 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
406 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
408 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
411 2012-05-04 Joseph Myers <joseph@codesourcery.com>
414 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
415 nonzero digits before rounding a hex value.
416 * stdlib/tst-strtod.c (tests): Add another test.
418 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
420 * sysdeps/s390/fpu/libm-test-ulps: Update.
422 2012-05-03 Andreas Jaeger <aj@suse.de>
424 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
425 does not get optimized out.
426 (malloc_opt_barrier): New.
428 2012-05-03 Andreas Jaeger <aj@suse.de>
429 Roland McGrath <roland@hack.frob.com>
431 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
432 intermediate file deletion.
433 (generated): Add .symlist files.
435 2012-05-03 Joseph Myers <joseph@codesourcery.com>
438 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
439 Redirect under this condition.
440 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
441 [__USE_GNU] (__dprintf_chk): Not under this condition.
442 [__USE_GNU] (__vdprintf_chk): Likewise.
443 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
444 under this condition.
445 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
446 [__USE_XOPEN2K8] (dprintf): Define under this condition.
447 [__USE_XOPEN2K8] (vdprintf): Likewise.
448 [__USE_GNU] (__dprintf_chk): Not under this condition.
449 [__USE_GNU] (__vdprintf_chk): Likewise.
450 [__USE_GNU] (dprintf): Likewise.
451 [__USE_GNU] (vdprintf): Likewise.
453 2012-05-03 Roland McGrath <roland@hack.frob.com>
455 * elf/Makefile (common-generated): Set this instead of generated for
456 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
457 $(all-built-dso)-derived lists.
459 2012-05-03 Andreas Jaeger <aj@suse.de>
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
465 * scripts/gen-FAQ.pl: Likewise.
466 * manual/install.texi (Installation): Point to online location of
468 * Makefile (files-for-dist): Remove FAQ.
471 2012-05-02 Allan McRae <allan@archlinux.org>
473 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
474 (LDFLAGS-reldepmod5.so): Likewise.
475 (LDFLAGS-reldep6mod1.so): Likewise.
476 (LDFLAGS-reldep6mod4.so): Likewise.
477 (LDFLAGS-reldep8mod3.so): Likewise.
478 (LDFLAGS-unload4mod1.so): Likewise.
479 (LDFLAGS-unload4mod2.so): Likewise.
480 (LDFLAGS-tst-initorder): Likewise.
481 (LDFLAGS-tst-initordera2.so): Likewise.
482 (LDFLAGS-tst-initordera3.so): Likewise.
483 (LDFLAGS-tst-initordera4.so): Likewise.
484 (LDFLAGS-tst-initorderb2.so): Likewise.
485 (LDFLAGS-noload): Likewise.
486 (LDFLAGS-next): Likewise.
487 (LDFLAGS-order2mod1.so): Likewise.
488 (LDFLAGS-order2mod2.so): Likewise.
489 (LDFLAGS-tst-initorder2): Likewise.
490 (LDFLAGS-tst-initorder2a.so): Likewise.
491 (LDFLAGS-tst-initorder2b.so): Likewise.
492 (LDFLAGS-tst-initorder2c.so): Likewise.
493 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
495 2012-05-02 David S. Miller <davem@davemloft.net>
497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
499 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
502 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
504 2012-05-02 Andreas Jaeger <aj@suse.de>
506 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
507 since we manipulate rounding mode.
508 (CPPFLAGS-test-idouble.c): Likewise.
509 (CPPFLAGS-test-ifloat.c): Likewise.
510 (CFLAGS-test-ldouble.c): Likewise.
511 (CFLAGS-test-double.c): Likewise.
512 (CFLAGS-test-float.c): Likewise.
513 (CFLAGS-test-misc.c): Likewise.
514 (CFLAGS-test-test-fenv.c): Likewise.
516 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
520 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
521 comparisons to determine direction to adjust input.
523 2012-05-01 Roland McGrath <roland@hack.frob.com>
525 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
526 output to the target.
528 * scripts/localplt.awk: New file.
529 * elf/Makefile ($(objpfx)check-localplt): Target removed.
530 (check-localplt-CFLAGS): Variable removed.
531 ($(all-built-dso:=.jmprel)): New static pattern rule.
532 (generated): Add those targets.
533 (localplt-built-dso): New variable.
534 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
536 * elf/check-localplt.c: File removed.
538 * scripts/check-execstack.awk: New file.
539 * elf/Makefile ($(objpfx)check-execstack): Target removed.
540 (check-execstack-CFLAGS): Variable removed.
541 ($(objpfx)check-execstack.h): Target removed.
542 ($(objpfx)execstack-default): New target.
543 (generated): Add that instead of check-execstack.h.
544 ($(all-built-dso:=.phdr)): New static pattern rule.
545 (generated): Add those targets.
546 * elf/check-execstack.c: File removed.
548 * scripts/check-textrel.awk: New file.
549 * elf/Makefile ($(objpfx)check-textrel): Target removed.
550 (check-textrel-CFLAGS): Variable removed.
551 (all-built-dso): Use := to define.o
552 ($(all-built-dso:=.dyn)): New static pattern rule.
553 (generated): Add those targets.
554 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
555 * config.make.in (READELF): New substituted variable.
556 * elf/check-textrel.c: File removed.
558 2012-05-01 Joseph Myers <joseph@codesourcery.com>
560 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
562 * conform/data/ctype.h-data [C99-based standards] (isblank):
564 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
565 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
567 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
568 Specify type. Require positive value.
571 [ISO || POSIX] (EILSEQ): Do not expect.
572 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
573 Specify type. Require positive value.
574 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
575 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
576 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
577 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
578 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
579 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
580 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
581 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
582 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
583 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
584 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
585 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
586 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
587 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
588 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
589 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
590 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
591 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
592 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
593 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
594 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
595 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
596 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
597 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
598 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
599 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
600 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
601 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
602 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
603 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
604 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
605 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
606 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
607 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
608 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
609 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
610 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
611 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
612 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
613 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
614 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
615 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
616 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
617 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
618 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
619 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
620 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
621 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
622 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
623 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
624 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
625 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
626 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
627 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
628 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
629 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
630 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
631 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
632 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
633 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
634 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
635 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
636 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
637 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
638 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
639 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
640 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
641 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
642 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
643 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
644 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
645 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
646 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
647 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
648 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
649 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
650 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
652 (FLT_ROUNDS): Expect as macro, not constant.
653 (FLT_MANT_DIG): Use macro-int-constant.
654 (DBL_MANT_DIG): Likewise.
655 (LDBL_MANT_DIG): Likewise.
658 (LDBL_DIG): Likewise.
659 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
660 (DBL_MIN_EXP): Likewise.
661 (LDBL_MIN_EXP): Likewise.
662 (FLT_MAX_EXP): Use macro-int-constant.
663 (DBL_MAX_EXP): Likewise.
664 (LDBL_MAX_EXP): Likewise.
665 (FLT_MAX_10_EXP): Likewise.
666 (DBL_MAX_10_EXP): Likewise.
667 (LDBL_MAX_10_EXP): Likewise.
668 (FLT_MAX): Use macro-constant.
670 (LDBL_MAX): Likewise.
671 (FLT_EPSILON): Use macro-constant. Give upper bound.
672 (DBL_EPSILON): Likewise.
673 (LDBL_EPSILON): Likewise.
676 (LDBL_MIN): Likewise.
677 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
678 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
679 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
680 [ISO11] (FLT_HAS_SUBNORM): Likewise.
681 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
682 [ISO11] (DBL_DECIMAL_DIG): Likewise.
683 [ISO11] (FLT_DECIMAL_DIG): Likewise.
684 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
685 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
686 [ISO11] (FLT_TRUE_MIN): Likewise.
687 [ISO11] (LDBL_TRUE_MIN): Likewise.
688 [ISO || ISO99 || ISO11] (*_t): Do not allow.
689 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
690 (SCHAR_MIN): Use macro-int-constant. Specify type.
691 (SCHAR_MAX): Likewise.
692 (UCHAR_MAX): Likewise.
693 (CHAR_MIN): Likewise.
694 (CHAR_MAX): Likewise.
695 (MB_LEN_MAX): Use macro-int-constant.
696 (SHRT_MIN): Use macro-int-constant. Specify type.
697 (SHRT_MAX): Likewise.
698 (USHRT_MAX): Likewise.
700 (INT_MIN): Use macro-int-constant. Specify type. Make upper
702 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
704 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
706 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
707 bound negative. Suffix upper bound with "L".
708 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
710 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
712 [C99-based standards] (LLONG_MAX): Likewise.
713 [C99-based standards] (ULLONG_MAX): Likewise.
714 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
716 [ISO11] (max_align_t): Require type.
717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
719 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
720 from $CFLAGS, without defining away __attribute__ calls.
721 (checknamespace): Use $CFLAGS_namespace.
723 * conform/conformtest.pl (@keywords): Only include C99 keywords
724 for standards based on C99 or C11.
726 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
728 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
731 * conform/conformtest.pl: Handle "macro-int-constant" and test for
732 usability of symbols in #if.
734 * conform/conformtest.pl: If macro or constant types start
735 "promoted:", expect the symbol to be of the following type
736 promoted by the integer promotions.
738 * conform/conformtest.pl: Parse all "constant" and "macro" lines
739 in one place. Also handle "macro-constant".
741 * conform/conformtest.pl: Only accept expected macro values with
742 "==". Parse all "macro" lines in one place.
743 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
745 * conform/conformtest.pl: Handle braced types on "constant" lines
746 instead of handling "typed-constant".
747 * conform/data/signal.h-data: Use "constant" instead of
750 * conform/conformtest.pl: Handle "optional-" at start of lines in
751 one place rather than duplicating several cases. Handle each
752 format of "macro" line with initial "optional-".
754 * conform/conformtest.pl: Only accept expected constant or
755 optional-constant values with "==". Parse all "constant" lines in
756 one place. Parse all "optional-constant" lines in one place.
757 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
758 * conform/data/fmtmsg.h-data: Likewise.
759 * conform/data/netinet/in.h-data: Likewise.
760 * conform/data/tar.h-data: Likewise.
761 * conform/data/limits.h-data: Use "==" form on "constant" and
762 "optional-constant" lines.
764 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
765 Use -std=c99 for XOPEN2K.
766 (@knownproblems): Remove.
767 (newtoken): Don't check %isknown.
769 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
771 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
772 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
773 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
774 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
775 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
776 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
777 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
778 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
779 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
780 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
781 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
782 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
783 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
784 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
785 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
786 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
787 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
788 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
789 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
790 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
791 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
792 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
793 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
794 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
795 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
796 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
797 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
798 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
799 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
800 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
801 [XPG3] (acosh): Likewise.
802 [XPG3] (asinh): Likewise.
803 [XPG3] (atanh): Likewise.
804 [XPG3] (cbrt): Likewise.
805 [XPG3] (expm1): Likewise.
806 [XPG3] (ilogb): Likewise.
807 [XPG3] (log1p): Likewise.
808 [XPG3] (logb): Likewise.
809 [XPG3] (nextafter): Likewise.
810 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
811 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
812 [XPG3] (remainder): Likewise.
813 [XPG3] (rint): Likewise.
814 [XPG3 || XPG4 || UNIX98] (round): Likewise.
815 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
816 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
817 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
818 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
819 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
820 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
821 [UNIX98 || XOPEN2K] (scalb): Expect.
822 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
823 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
824 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
825 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
826 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
827 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
828 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
829 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
830 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
831 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
832 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
833 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
834 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
835 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
836 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
837 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
838 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
839 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
840 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
841 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
842 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
843 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
844 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
845 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
846 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
847 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
848 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
849 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
850 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
851 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
852 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
853 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
854 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
855 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
856 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
857 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
858 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
859 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
860 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
861 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
862 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
863 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
864 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
865 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
866 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
867 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
868 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
869 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
870 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
871 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
872 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
873 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
874 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
875 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
876 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
877 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
878 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
879 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
880 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
881 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
882 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
883 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
884 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
885 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
886 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
887 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
888 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
889 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
890 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
891 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
892 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
893 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
894 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
895 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
896 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
897 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
898 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
899 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
900 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
901 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
902 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
903 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
904 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
905 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
906 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
907 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
908 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
909 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
910 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
911 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
912 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
913 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
914 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
915 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
916 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
917 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
918 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
919 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
920 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
921 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
922 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
923 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
924 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
925 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
926 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
927 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
928 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
929 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
930 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
931 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
932 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
933 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
934 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
935 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
936 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
937 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
938 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
939 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
940 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
941 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
942 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
943 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
944 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
945 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
946 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
947 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
948 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
949 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
950 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
951 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
952 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
953 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
954 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
955 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
956 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
957 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
958 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
960 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
961 _XOPEN_SOURCE_EXTENDED for XPG4.
963 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
965 * Makeconfig (localtime): Remove variable.
966 (inst_localtime-file): Likewise.
968 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
989 2012-05-01 Joseph Myers <joseph@codesourcery.com>
993 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
994 comparisons to determine direction to adjust input.
995 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
996 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
997 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
999 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1001 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1003 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1004 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1006 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1008 * math/libm-test.inc (nexttoward_test): Add more tests.
1010 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1013 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1014 in version GLIBC_2.1, not GLIBC_2.0.
1015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1018 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1021 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1023 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1024 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1025 * math/libm-test.inc (acos_test): Add more tests.
1026 (asin_test): Likewise.
1027 * sysdeps/i386/fpu/libm-test-ulps: Update.
1028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1031 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1033 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1034 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1035 * math/libm-test.inc (acos_test_tonearest): New function.
1036 (acos_test_towardzero): Likewise.
1037 (acos_test_downward): Likewise.
1038 (acos_test_upward): Likewise.
1039 (asin_test_tonearest): Likewise.
1040 (asin_test_towardzero): Likewise.
1041 (asin_test_downward): Likewise.
1042 (asin_test_upward): Likewise.
1043 (main): Call the new functions.
1044 * sysdeps/i386/fpu/libm-test-ulps: Update.
1045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1049 * math/e_exp10.c: Include <float.h>.
1050 (__ieee754_exp10): Handle underflow here rather than multiplying
1051 large negative argument by M_LN10.
1052 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1054 * math/e_exp10l.c: Include <float.h>.
1055 (__ieee754_exp10l): Handle underflow here rather than multiplying
1056 large negative argument by M_LN10l.
1057 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1058 spurious overflow exception on underflow.
1060 2012-04-29 Marek Polacek <polacek@redhat.com>
1062 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1063 (__fortify_function): New macro.
1064 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1065 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1066 __extern_always_inline.
1067 * libio/bits/stdio2.h: Likewise.
1068 * libio/bits/stdio.h: Likewise.
1069 * string/string.h: Likewise.
1070 * string/bits/string3.h: Likewise.
1071 * include/stdio.h: Likewise.
1072 * stdlib/bits/stdlib.h: Likewise.
1073 * stdlib/stdlib.h: Likewise.
1074 * rt/bits/mqueue2.h: Likewise.
1075 * rt/mqueue.h: Likewise.
1076 * posix/bits/unistd.h: Likewise.
1077 * posix/unistd.h: Likewise.
1078 * io/bits/poll2.h: Likewise.
1079 * io/bits/fcntl2.h: Likewise.
1080 * io/fcntl.h: Likewise.
1081 * io/sys/poll.h: Likewise.
1082 * misc/bits/syslog.h: Likewise.
1083 * misc/bits/syslog-ldbl.h: Likewise.
1084 * misc/sys/syslog.h: Likewise.
1085 * socket/bits/socket2.h: Likewise.
1086 * socket/sys/socket.h: Likewise.
1087 * debug/tst-chk1.c: Likewise.
1088 * wcsmbs/bits/wchar2.h: Likewise.
1089 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1090 * wcsmbs/wchar.h: Likewise.
1092 2012-04-29 Andreas Jaeger <aj@suse.de>
1094 * Makerules (tests): Remove enable-check-abi protection.
1095 (check-abi-warn): Remove.
1096 (check-abi-%): Remove check-abi-warn usage.
1098 * configure.in: Remove check-abi configure option.
1099 * configure: Regenerated.
1100 * config.make.in (enable-check-abi): Remove.
1102 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1105 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1106 double functions to double *_finite functions.
1109 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1110 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1112 * stdio-common/Makefile (tests): Add tst-sprintf3.
1113 * stdio-common/tst-sprintf3.c: New file.
1115 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1116 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1118 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1120 * conform/conformtest.pl: Remove duplicate typed-constant
1123 2012-04-28 David S. Miller <davem@davemloft.net>
1125 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1126 (check-abi-%): Remove AWK script prerequisite and explicit
1128 (check-abi): Rewrite to just diff the symlist with the abilist.
1129 (config-tls, config-abi-config): Delete, no longer used.
1130 (update-abi-%): Remove AWK script and explicit abilist directory.
1131 (update-abi): Rewrite to simply compare and conditionally copy the
1132 symlist and the sysdep abilist file. Remove update-abi-config
1134 * abilist/ld.abilist: Remove.
1135 * abilist/libBrokenLocale.abilist: Remove.
1136 * abilist/libanl.abilist: Remove.
1137 * abilist/libcrypt.abilist: Remove.
1138 * abilist/libdl.abilist: Remove.
1139 * abilist/librt.abilist: Remove.
1140 * abilist/libthread_db.abilist: Remove.
1141 * abilist/libutil.abilist: Remove.
1142 * scripts/extract-abilist.awk: Remove.
1143 * scripts/merge-abilist.awk: Remove.
1144 * sysdeps/generic/libcidn.abilist: New file.
1145 * sysdeps/generic/libnss_compat.abilist: New file.
1146 * sysdeps/generic/libnss_db.abilist: New file.
1147 * sysdeps/generic/libnss_dns.abilist: New file.
1148 * sysdeps/generic/libnss_files.abilist: New file.
1149 * sysdeps/generic/libnss_hesiod.abilist: New file.
1150 * sysdeps/generic/libnss_nis.abilist: New file.
1151 * sysdeps/generic/libnss_nisplus.abilist: New file.
1152 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1153 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1154 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1157 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1158 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1159 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1160 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1161 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1162 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1163 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1164 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1166 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1167 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1168 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1169 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1171 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1172 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1173 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1174 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1175 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1176 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1178 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1179 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1182 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1285 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1286 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1287 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1290 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1291 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1292 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1293 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1294 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1295 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1296 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1297 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1298 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1350 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1352 * conform/conformtest.pl: Fix typo in handling typed-constant from
1355 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1357 * README: Cut down references to pre-2.6 Linux kernels and
1358 Linuxthreads. Update lists of configurations in libc and ports
1359 and sort alphabetically. Say "or newer" with Linux kernel version
1362 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1364 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1367 * math/libm-test.inc (logb_test_downward): New test to expose
1368 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1371 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1374 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1376 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1377 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1379 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1381 * sysdeps/unix/i386/brk.S: Remove file.
1382 * sysdeps/unix/i386/dl-brk.S: Likewise.
1383 * sysdeps/unix/i386/pipe.S: Likewise.
1384 * sysdeps/unix/i386/sigreturn.S: Likewise.
1385 * sysdeps/unix/i386/syscall.S: Likewise.
1386 * sysdeps/unix/i386/vfork.S: Likewise.
1387 * sysdeps/unix/i386/wait.S: Likewise.
1389 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1390 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1392 * configure.in (arm*-none*): Do not allow without
1393 --enable-hacker-mode.
1394 (netbsd*): Remove case setting base_os.
1395 (386bsd*): Likewise.
1396 (freebsd*): Likewise.
1400 (ultrix*): Likewise.
1401 (newsos*): Likewise.
1411 (solaris[2-9]*): Likewise.
1413 * configure: Regenerated.
1415 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1419 overflow or cancellation in calculating denominator.
1420 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1421 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1422 down expression to avoid unexpected rounding in newer GCCs.
1423 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1425 2012-04-26 David S. Miller <davem@davemloft.net>
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1428 long-double compat symbols.
1429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1443 2012-04-25 David S. Miller <davem@davemloft.net>
1445 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1446 HWCAP_* values only after the memory barriers have been defined.
1447 (atomic_full_barrier): Define.
1448 (atomic_read_barrier): Define.
1449 (atomic_write_barrier): Define.
1451 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1453 * shlib-versions: Add libgcc_s version information.
1454 * sysdeps/generic/libgcc_s.h: Remove.
1455 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1457 * sysdeps/gnu/unwind-resume.c: Likewise.
1458 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1460 2012-04-25 David S. Miller <davem@davemloft.net>
1462 * sysdeps/unix/sparc/brk.S: Delete.
1463 * sysdeps/unix/sparc/dl-brk.S: Delete.
1464 * sysdeps/unix/sparc/pipe.S: Delete.
1465 * sysdeps/unix/sparc/sysdep.S: Delete.
1466 * sysdeps/unix/sparc/sysdep.h: Delete.
1467 * sysdeps/unix/sparc/vfork.S: Delete.
1468 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1469 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1470 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1471 ret_ERRVAL, r0, r1, MOVE): Define.
1472 (JUMPTARGET): Remove.
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1474 sysdeps/unix/sparc/sysdep.h
1475 (ENTRY, END): Remove.
1476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1478 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1480 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1481 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1484 * timezone/README: Update upstream location and email address for
1486 * timezone/zdump.c: Update from tzcode 2012b.
1487 * timezone/zic.c: Likewise.
1489 * configure.in (libc_cv_as_needed): Remove test.
1490 * configure: Regenerated.
1491 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1492 conditional definition.
1493 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1494 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1495 * config.make.in (have-as-needed): Remove variable.
1497 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1498 Paul Pluzhnikov <ppluzhnikov@google.com>
1500 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1503 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1505 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1506 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1507 * sysdeps/sh/strlen.S: Likewise.
1509 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1511 * sysdeps/unix/fork.S: Remove file.
1512 * sysdeps/unix/i386/fork.S: Likewise.
1513 * sysdeps/unix/sparc/fork.S: Likewise.
1515 * sysdeps/unix/system.c: Remove file.
1516 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1518 * sysdeps/unix/getegid.S: Remove file.
1519 * sysdeps/unix/geteuid.S: Likewise.
1521 2012-04-24 Roland McGrath <roland@hack.frob.com>
1523 * scripts/check-localplt.awk: New file.
1524 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1526 * scripts/data/localplt-generic.data: Add a comment.
1528 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1529 NODE when __dir_mkfile failed.
1530 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1531 Reported by Ludovic Courtès <ludo@gnu.org>.
1533 2012-04-24 Andreas Jaeger <aj@suse.de>
1535 * Makerules (common-clean): Also remove gen-as-const-headers
1538 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1540 * Makerules (native-compile): Do not change working directory for
1541 build. Use $(OUTPUT_OPTION) in command.
1542 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1544 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1548 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1549 * math/libm-test.inc (floor_test): Add more tests.
1550 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1552 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1554 * sysdeps/unix/getdents.c: Remove file.
1555 * sysdeps/unix/sysv/getdents.c: Likewise.
1556 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1558 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1559 sysdeps/unix/mman/syscalls.list.
1561 (mprotect): Likewise.
1564 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1565 * sysdeps/unix/mman/syscalls.list: Remove.
1566 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1568 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1569 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1570 * configure: Regenerated.
1571 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1573 * config.make.in (libgcc_s_suffix): Remove variable.
1575 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1577 * sysdeps/unix/sysv/gethostname.c: Move to ...
1578 * sysdeps/posix/gethostname.c: ... here.
1580 * sysdeps/unix/execve.S: Remove file.
1582 * sysdeps/unix/_exit.S: Remove file.
1584 2012-04-23 Andreas Jaeger <aj@suse.de>
1587 * manual/Makefile: Remove make dist support, there's no
1588 need for a stand-alone documentation tar ball.
1589 (TEXI2DVI): Define always, it's not in Makeconfig.
1593 (glibc-doc-$(edition).tar): Removed
1597 (ETAGS): Remove, it's in Makeconfig.
1598 (move-if-change): Remove, it's in Makeconfig.
1600 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1603 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1604 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1605 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1606 (strtod_l, strtof_l, strtold_l): Remove __wur.
1607 It is not necessarily an error to ignore strtol's return value.
1608 One can reliably look at the stored endptr to decide whether
1609 the number had valid syntax.
1611 2012-04-21 Andreas Jaeger <aj@suse.de>
1614 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1616 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1618 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1619 * sysdeps/unix/sysv/Versions: Remove file.
1621 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1626 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1630 version from __vm86.
1632 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1634 * sysdeps/unix/common/lxstat.c: Remove file.
1635 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1637 * sysdeps/unix/sysv/Makefile: Remove file.
1639 * sysdeps/unix/sysv/direct.h: Remove file.
1641 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1642 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1643 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1644 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1645 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1646 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1647 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1649 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1651 * sysdeps/unix/xmknod.c: Remove file.
1652 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1654 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1656 * sysdeps/unix/sysv/i386/time.S: Remove file.
1658 * sysdeps/unix/fxstat.c: Remove file.
1659 * sysdeps/unix/xstat.c: Likewise.
1660 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1662 * sysdeps/unix/sysv/sigaction.c: Remove file.
1664 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1665 (sysdep_headers): Remove variable.
1666 [termio.h not in sysdep_headers] (generated): Likewise.
1667 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1668 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1669 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1670 * sysdeps/unix/sysv/tcflow.c: Likewise.
1671 * sysdeps/unix/sysv/tcflush.c: Likewise.
1672 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1673 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1674 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1675 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1676 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1678 * sysdeps/unix/siglist.c: Remove file.
1680 * sysdeps/unix/getppid.S: Remove file.
1682 * sysdeps/unix/mkdir.c: Remove file.
1683 * sysdeps/unix/rmdir.c: Likewise.
1685 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1687 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1689 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1690 errlist-compat value.
1692 2012-04-18 David S. Miller <davem@davemloft.net>
1694 * sysdeps/generic/memcopy.h (reg_char): Delete.
1695 * debug/strcat_chk.c: Use char, not reg_char.
1696 * debug/strcpy_chk.c: Likewise.
1697 * debug/strncat_chk.c: Likewise.
1698 * debug/strncpy_chk.c: Likewise.
1699 * string/memchr.c: Likewise.
1700 * string/memrchr.c: Likewise.
1701 * string/rawmemchr.c: Likewise.
1702 * string/strcat.c: Likewise.
1703 * string/strchr.c: Likewise.
1704 * string/strchrnul.c: Likewise.
1705 * string/strcmp.c: Likewise.
1706 * string/strcpy.c: Likewise.
1707 * string/strncat.c: Likewise.
1708 * string/strncmp.c: Likewise.
1709 * string/strncpy.c: Likewise.
1711 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1713 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1714 __builtin_memcopy is called when src and dest ranges are known to not
1717 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1719 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1720 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1721 fwd_align_merge macro call.
1722 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1723 bwd_align_merge macro call.
1724 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1726 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1728 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1729 bwd_align_merge macros.
1730 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1731 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1732 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1734 2012-04-18 David S. Miller <davem@davemloft.net>
1736 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1738 2012-04-18 Andreas Jaeger <aj@suse.de>
1741 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1742 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1743 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1746 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1747 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1749 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1750 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1751 Adjust for changed ldbl-128 files.
1753 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1754 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1757 2012-04-17 David S. Miller <davem@davemloft.net>
1759 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1761 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1763 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1764 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1765 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1766 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1767 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1768 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1770 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1774 * math/libm-test.inc: Add ilogb errno and exception tests.
1775 * math/w_ilogb.c: New file: ilogb wrapper.
1776 * math/w_ilogbf.c: New file: ilogbf wrapper.
1777 * math/w_ilogbl.c: New file: ilogbl wrapper.
1778 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1779 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1780 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1781 exception being thrown with 0.0 as argument.
1782 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1783 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1784 exception being thrown with 0.0 as argument.
1785 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1786 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1787 exception being thrown with 0.0 as argument.
1788 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1789 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1790 exception being thrown with 0.0 as argument.
1791 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1792 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1793 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1794 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1795 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1796 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1797 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1798 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1799 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1801 2012-04-17 Petr Baudis <pasky@ucw.cz>
1803 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1806 2012-04-16 Marek Polacek <polacek@redhat.com>
1808 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1810 2012-04-16 Marek Polacek <polacek@redhat.com>
1812 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1813 operands of fdivp instruction.
1815 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1817 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1818 * elf/tst-auditmod3b.c: Likewise.
1819 * elf/tst-auditmod4b.c: Likewise.
1820 * elf/tst-auditmod5b.c: Likewise.
1821 * elf/tst-auditmod6b.c: Likewise.
1822 * elf/tst-auditmod6c.c: Likewise.
1823 * elf/tst-auditmod7b.c: Likewise.
1824 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1825 * sysdeps/x86_64/preconfigure.in: Likewise.
1826 * sysdeps/x86_64/preconfigure: Regenerated.
1828 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1830 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1833 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1836 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1838 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1841 * locale/iso-639.def: Fix gl language name. Spotted by
1844 2012-04-12 Roland McGrath <roland@hack.frob.com>
1847 * libio/libio.h (__io_write_fn): Update comment.
1849 2012-04-12 Petr Baudis <pasky@ucw.cz>
1852 * stdio.texi (Hook Functions): The user provided writer function
1853 is not allowed to return -1.
1855 2012-04-11 David S. Miller <davem@davemloft.net>
1857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1859 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1861 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1862 Add a leading slash to rtkaio.
1864 2012-04-11 Jim Meyering <meyering@redhat.com>
1867 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1868 It is not necessarily an error to ignore fwrite's return
1869 value. One can reliably use ferror to test for errors after
1872 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1874 * bits/types.h (__snseconds_t): New type.
1875 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1877 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1878 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1879 (__SNSECONDS_T_TYPE): Likewise.
1880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1881 (__SNSECONDS_T_TYPE): Likewise.
1882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1883 (__SNSECONDS_T_TYPE): Likewise.
1885 2012-04-10 Andreas Jaeger <aj@suse.de>
1888 * manual/time.texi (Processor Time): Return type of times is
1889 elapsed real time since an arbitrary point in the past.
1890 (CPU Time): Move CLK_TCK from here...
1891 (Processor Time): ...to here. Correct description.
1892 * manual/conf.texi (Constants for Sysconf): Correct description of
1895 2012-04-10 David S. Miller <davem@davemloft.net>
1898 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1899 where the is a gap between DT_REL(A) and DT_JMPREL.
1901 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1903 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1904 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1905 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1907 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1909 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1910 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1911 (dl_main): Handle --inhibit-cache.
1912 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1914 * elf/dl-load.c (_dl_map_object): Use it.
1915 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1917 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1920 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1921 (__ieee754_powl): Saturate large exponents rather than testing for
1922 overflow of y*log2(x).
1923 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1924 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1928 * math/s_ctan.c: Include <float.h>.
1929 (__ctan): Avoid internal overflow or cancellation in calculating
1931 * math/s_ctanf.c: Likewise.
1932 * math/s_ctanl.c: Likewise.
1933 * math/s_ctanh.c: Likewise.
1934 * math/s_ctanhf.c: Likewise.
1935 * math/s_ctanhl.c: Likewise.
1936 * math/libm-test.inc (ctan_test): Add more tests.
1937 (ctanh_test): Likewise.
1938 * sysdeps/i386/fpu/libm-test-ulps: Update.
1939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1941 2012-04-09 Andreas Jaeger <aj@suse.de>
1944 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1945 is an optional BSD extension.
1948 * manual/stdio.texi (Opening Streams): Document additional fopen
1951 2012-04-09 Roland McGrath <roland@hack.frob.com>
1953 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1954 %eax without telling the compiler.
1956 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1959 * manual/install.texi: Use sourceware.org.
1961 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1964 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1965 (__ieee754_pow): Generate overflow and underflow using huge*huge
1966 and tiny*tiny rather than just returning constant infinity or zero
1967 for large exponents.
1968 * math/libm-test.inc (pow_test): Require overflow exceptions for
1969 applicable cases of large exponents.
1972 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1973 (__ieee754_pow): Use iterative multiplication algorithm only for
1974 integer exponents with absolute value below 1024. Check for odd
1975 integer exponents when using algorithm for real exponents.
1976 * math/libm-test.inc (pow_test): Add more tests.
1977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1979 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1982 * math/libm-test.inc (exp_test): Do not allow overflow exception
1985 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1988 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1989 instead of __kernel_standard_f.
1991 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1993 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1994 * sysdeps/x86_64/memset_chk.S: Likewise.
1996 2012-04-08 Andreas Jaeger <aj@suse.de>
1999 * manual/startup.texi (Environment Access): Describe return value
2000 for putenv and setenv.
2003 * manual/filesys.texi (Directory Entries): Add description for
2007 * manual/filesys.texi (Directory Entries): Clarify that it's file
2008 system not operating system in the description of DT_UNKNOWN.
2011 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2013 2012-04-08 Stephen Compall <s11@member.fsf.org>
2016 * manual/llio.texi (Opening and Closing Files): Add cross
2017 reference to explain mode argument.
2019 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2021 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2022 * sysdeps/x86_64/memset_chk.S: Likewise.
2024 2012-04-07 David S. Miller <davem@davemloft.net>
2026 * elf/elf.h (R_SPARC_WDISP10): Define.
2027 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2029 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2030 R_SPARC_SIZE64 and R_SPARC_H34.
2032 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2035 conditions and remove no longer applicable assertion.
2037 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2039 * bits/byteswap.h: Include <features.h>.
2040 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2041 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2043 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2045 * bits/byteswap.h (__bswap_16): Removed.
2046 Include <bits/byteswap-16.h> to get __bswap_16.
2047 * sysdeps/i386/bits/byteswap.h: Likewise.
2048 * sysdeps/s390/bits/byteswap.h: Likewise.
2049 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2050 * bits/byteswap-16.h: New file.
2051 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2052 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2053 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2054 * string/Makefile (headers): Add bits/byteswap-16.h.
2056 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2059 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2061 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2062 * nss/tst-nss-static.c: New.
2064 2012-04-06 Robert Millan <rmh@gnu.org>
2067 * manual/llio.texi (File Position Primitive): lseek
2068 refers to WHENCE when it really means OFFSET.
2070 2012-04-06 Andreas Jaeger <aj@suse.de>
2072 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2073 strncmp declarations.
2075 * abilist/libc.abilist: Add __poll and __ppoll.
2077 2012-04-05 David S. Miller <davem@davemloft.net>
2079 * scripts/check-local-headers.sh: Accept a host triplet in the
2080 path matched by the exclude regexp.
2082 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2084 * sysdeps/powerpc/powerpc32/dl-machine.h
2085 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2086 * sysdeps/s390/s390-32/dl-machine.h
2087 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2088 * sysdeps/sparc/sparc32/dl-machine.h
2089 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2090 * sysdeps/sparc/sparc64/dl-machine.h
2091 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2093 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2095 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2096 undefined symbol errors.
2098 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2101 2012-04-05 Michael Matz <matz@suse.de>
2104 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2106 2012-04-05 Andreas Jaeger <aj@suse.de>
2109 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2112 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2114 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2115 which ROUND is no valid rounding mode.
2117 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2119 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2121 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2123 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2125 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2126 an exception using FPU order intentionally.
2128 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2130 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2131 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2132 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2133 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2135 2012-04-05 Simon Josefsson <simon@josefsson.org>
2138 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2139 EINVAL when BUFLEN is too smal.
2141 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2144 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2145 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2147 2012-04-03 Andreas Jaeger <aj@suse.de>
2150 * manual/setjmp.texi (System V contexts): Fix sentence.
2153 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2154 New macro for this case.
2155 [!__GNUC__] (__bswap_64): New inline function for this case.
2156 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2157 * bits/byteswap.h: Likewise.
2158 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2159 ull, guard with __GLIBC_HAVE_LONG_LONG.
2161 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2162 __GLIBC_HAVE_LONG_LONG.
2164 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2165 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2167 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2170 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2171 inptr and inend, rather than using last_ch.
2173 2012-04-02 David S. Miller <davem@davemloft.net>
2175 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2176 * stdio-common/printf-parse.h (read_int): Change return type to
2177 'int', return -1 on INT_MAX overflow.
2178 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2179 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2180 overflows INT_MAX. Check for overflow of in-format-string precision
2181 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2182 SIZE_MAX not INT_MAX for integer overflow test.
2183 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2184 skip the construct in the format string but do not record anything.
2185 * stdio-common/bug22.c: Adjust to test both width/prevision
2186 INT_MAX overflow as well as total length INT_MAX overflow. Check
2187 explicitly for proper errno values.
2189 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2191 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2193 * string/test-strcmp.c [! WIDE]: Likewise.
2194 * time/tst-mktime2.c: Likewise for INT_MAX.
2195 * string/test-string.h: #include <sys/param.h> for MIN.
2197 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2198 * sysdeps/i386/init-first.c (init): Likewise.
2199 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2200 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2201 * sysdeps/sh/init-first.c (init): Likewise.
2203 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2205 * po/ru.po: Update from translation team.
2206 * po/vi.po: Likewise.
2208 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2210 * resolv/nss_dns/dns-host.c: Merge copyright years.
2212 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2214 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2215 Optimize memcpy with prefetch if
2216 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2217 src, dst pointers have unequal 16 byte alignments.
2219 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2222 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2223 from a CNAME entry and return the minimum ttl for the query.
2224 (gaih_getanswer_slice): Likewise.
2226 2012-03-30 Jeff Law <law@redhat.com>
2228 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2230 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2231 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2233 * resolv/nss_dns/dns-host.c: Update copyright year.
2235 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2237 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2238 requests to save a system call. Fix check that all bytes are sent.
2240 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2241 comments for sendmmsg.
2243 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2246 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2247 with only 1 character between 0x0041 and 0x01b0.
2248 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2249 * wcsmbs/tst-mbsnrtowcs.c: New file.
2251 2012-03-29 David S. Miller <davem@davemloft.net>
2253 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2254 small copies by hand.
2256 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2259 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2260 _nss_compat_initgroups_dyn): Fall back to malloc/free
2261 for large group memberships.
2263 2012-03-28 David S. Miller <davem@davemloft.net>
2265 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2266 that branches into memcpy.
2267 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2270 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2273 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2275 * sysdeps/sparc/mempcpy.S: New file.
2277 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2278 the IFUNC routine in the libc case.
2279 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2281 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2282 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2283 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2284 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2285 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2286 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2287 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2288 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2290 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2291 loop to 256 bytes instead of 64 bytes and fix test signedness.
2293 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2294 * sysdeps/sparc/sparc32/Makefile: rather than here...
2295 * sysdeps/sparc/sparc64/Makefile: and here.
2297 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2299 * malloc/mallocbug.c: Avoid warnings about unused variables.
2301 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2304 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2305 in the right place. Discard and retry query if response is
2306 larger than input buffer size.
2308 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2313 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2314 x for large integer exponent.
2315 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2316 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2317 sign of result as needed afterwards.
2318 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2319 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2320 result for underflowing pow the same as for overflow.
2321 (__kernel_standard_l): Handle powl overflow and underflow here
2322 rather than calling __kernel_standard.
2323 * math/libm-test.inc (pow_test): Add more tests.
2338 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2339 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2340 (__kernel_standard_l): New function.
2341 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2343 * math/w_acosl.c (__acosl): Likewise.
2344 * math/w_asinl.c (__asinl): Likewise.
2345 * math/w_atan2l.c (__atan2l): Likewise.
2346 * math/w_atanhl.c (__atanhl): Likewise.
2347 * math/w_coshl.c (__coshl): Likewise.
2348 * math/w_exp10l.c (__exp10l): Likewise.
2349 * math/w_exp2l.c (__exp2l): Likewise.
2350 * math/w_fmodl.c (__fmodl): Likewise.
2351 * math/w_hypotl.c (__hypotl): Likewise.
2352 * math/w_j0l.c (__j0l, __y0l): Likewise.
2353 * math/w_j1l.c (__j1l, __y1l): Likewise.
2354 * math/w_jnl.c (__jnl, __ynl): Likewise.
2355 * math/w_lgammal.c (__lgammal): Likewise.
2356 * math/w_log10l.c (__log10l): Likewise.
2357 * math/w_log2l.c (__log2l): Likewise.
2358 * math/w_logl.c (__logl): Likewise.
2359 * math/w_powl.c (__powl): Likewise.
2360 * math/w_remainderl.c (__remainderl): Likewise.
2361 * math/w_scalbl.c (sysv_scalbl): Likewise.
2362 * math/w_sinhl.c (__sinhl): Likewise.
2363 * math/w_sqrtl.c (__sqrtl): Likewise.
2364 * math/w_tgammal.c (__tgammal): Likewise.
2365 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2366 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2367 * math/libm-test.inc (acos_test): Add more tests.
2368 (acosh_test): Likewise.
2369 (asin_test): Likewise.
2370 (atanh_test): Likewise.
2371 (exp_test): Likewise.
2372 (exp10_test): Likewise.
2373 (exp2_test): Likewise.
2374 (expm1_test): Likewise.
2375 (lgamma_test): Likewise.
2376 (log_test): Likewise.
2377 (log10_test): Likewise.
2378 (log1p_test): Likewise.
2379 (log2_test): Likewise.
2380 (pow_test): Do not allow some spurious overflow exceptions.
2381 (sqrt_test): Add more tests.
2382 (tgamma_test): Likewise.
2383 (y0_test): Likewise.
2384 (y1_test): Likewise.
2385 (yn_test): Likewise.
2387 2012-03-27 Anton Blanchard <anton@samba.org>
2389 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2391 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2392 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2393 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2395 2012-03-27 David S. Miller <davem@davemloft.net>
2397 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2399 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2402 2012-03-27 Andreas Jaeger <aj@suse.de>
2404 * sysdeps/x86_64/elf/configure.in: Moved to ...
2405 * sysdeps/x86_64/configure.in: ... here.
2406 * sysdeps/x86_64/elf/start.S: Moved to ...
2407 * sysdeps/x86_64/start.S: ... here.
2408 * sysdeps/x86_64/elf/configure: Delete.
2410 * sysdeps/x86_64/configure.in: Merge contents from
2411 sysdeps/i386/configure.in (without i686 check).
2413 * sysdeps/i386/elf/Versions: Merge into ...
2414 * sysdeps/i386/Versions: ... this.
2415 * sysdeps/i386/elf/Versions: Delete file.
2416 * sysdeps/i386/elf/start.S: Moved to ...
2417 * sysdeps/i386/start.S: ...here.
2418 * sysdeps/i386/elf/configure.in: Merge into...
2419 * sysdeps/i386/configure.in: ...here.
2420 * sysdeps/i386/elf/configure.in: Delete file.
2421 * sysdeps/i386/elf/configure: Delete file.
2423 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2424 * debug/backtracesyms.c: ... here.
2425 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2426 * debug/backtracesymsfd.c: ... here.
2427 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2428 * sysdeps/generic/ifunc-sel.h: ... here.
2430 * sysdeps/unix/i386/start.c: Delete file.
2431 * sysdeps/unix/sparc/start.c: Delete file.
2432 * sysdeps/unix/start.c: Delete file.
2434 * sysdeps/sh/elf/configure.in: Moved to ...
2435 * sysdeps/sh/configure.in: ... here.
2436 * sysdeps/sh/elf/start.S: Moved to ...
2437 * sysdeps/sh/start.S: ... here.
2438 * sysdeps/sh/elf/configure: Delete file.
2440 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2441 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2442 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2443 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2444 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2445 * sysdeps/powerpc/powerpc64/start.S: here.
2446 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2447 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2448 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2449 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2450 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2452 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2453 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2454 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2455 * sysdeps/powerpc/powerpc32/start.S: ... here.
2456 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2457 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2458 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2460 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2461 * sysdeps/powerpc/ifunc-sel.h: ... here.
2462 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2463 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2465 * sysdeps/sparc/elf/configure.in: Moved to ...
2466 * sysdeps/sparc/configure.in: ... here.
2467 * sysdeps/sparc/elf/configure: Delete file.
2468 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2469 * sysdeps/sparc/sparc32/start.S: ... here.
2470 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2471 * sysdeps/sparc/sparc64/start.S: ... here.
2472 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2473 * sysdeps/sparc/sparc32/Makefile: ... this.
2474 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2475 * sysdeps/sparc/sparc64/Makefile: ... this.
2477 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2478 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2479 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2480 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2481 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2482 * sysdeps/s390/s390-32/setjmp.S: ... here.
2483 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2484 * sysdeps/s390/s390-32/configure.in: ... here.
2485 * sysdeps/s390/s390-32/elf/configure: Delete file.
2486 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2487 * sysdeps/s390/s390-32/start.S: ... here.
2489 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2490 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2491 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2492 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2493 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2494 * sysdeps/s390/s390-64/setjmp.S: ... here.
2495 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2496 * sysdeps/s390/s390-64/configure.in: ... here
2497 * sysdeps/s390/s390-64/elf/configure: Delete file.
2498 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2499 * sysdeps/s390/s390-64/start.S: ... here.
2500 * sysdeps/s390/s390-64/elf/configure: Delete.
2502 * configure.in: Remove support for elf directories in sysdeps.
2504 * configure: Regenerated.
2505 * sysdeps/i386/configure: Regenerated.
2506 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2507 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2508 * sysdeps/s390/s390-32/configure: Regenerated.
2509 * sysdeps/s390/s390-64/configure: Regenerated.
2510 * sysdeps/sh/configure: Regenerated.
2511 * sysdeps/sparc/configure: Regenerated.
2512 * sysdeps/x86_64/configure: Regenerated.
2514 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2519 denormal result into account.
2521 2012-03-25 Roland McGrath <roland@hack.frob.com>
2523 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2524 Reported by Allan McRae <allan@archlinux.org>.
2526 2012-03-23 Jeff Law <law@redhat.com>
2528 * nss/getnssent.c (__nss_getent): Fix typo.
2530 2012-03-23 David S. Miller <davem@davemloft.net>
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2534 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2536 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2537 to pad to uint64_t for each field.
2538 (dl_tls_index): Replace unsigned long with uint64_t.
2540 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2541 Paul Pluzhnikov <ppluzhnikov@google.com>
2544 * grp/Makefile (otherlibs): Don't set it.
2545 * inet/Makefile (otherlibs): Likewise.
2546 * login/Makefile (otherlibs): Likewise.
2547 * nscd/Makefile (otherlibs): Likewise.
2548 * posix/Makefile (otherlibs): Likewise.
2549 * pwd/Makefile (otherlibs): Likewise.
2550 * rt/Makefile (otherlibs): Likewise.
2551 * sunrpc/Makefile (otherlibs): Likewise.
2552 * nss/Makefile (otherlibs): Likewise.
2553 Add libnss_files to routines and static-only-routines.
2554 ($(objpfx)getent): Remove rule.
2555 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2556 static-only-routines.
2558 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2561 * math/s_cexp.c: Include <float.h>.
2562 (__cexp): Handle exp result overflowing not necessarily
2563 overflowing both real and imaginary parts of result.
2564 * math/s_cexpf.c: Likewise.
2565 * math/s_cexpl.c: Likewise.
2566 * math/libm-test.inc (cexp_test): Add more tests.
2567 * sysdeps/i386/fpu/libm-test-ulps: Update.
2568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2570 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2572 * include/link.h (ELFW): New macro.
2573 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2574 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2576 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2578 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2581 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2583 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2585 (struct La_x32_retval): Likewise.
2587 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2589 * sysdeps/x86_64/preconfigure.in: New file.
2590 * sysdeps/x86_64/preconfigure: New generated file.
2592 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2595 * math/e_exp2l.c: Include <float.h>.
2596 (__ieee754_exp2l): Handle overflow and underflow cases
2597 separately. Only pass fractional part of argument to
2599 * math/libm-test.inc (exp2_test): Add more tests.
2601 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2602 negating x to take absolute value.
2603 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2605 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2606 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2608 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2609 computing low part if x was negated.
2610 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2612 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2614 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2616 (pltexit): Cast int_retval to ptrdiff_t.
2617 * elf/tst-auditmod3b.c: Likewise.
2618 * elf/tst-auditmod4b.c: Likewise.
2619 * elf/tst-auditmod5b.c: Likewise.
2620 * elf/tst-auditmod6b.c: Likewise.
2621 * elf/tst-auditmod6c.c: Likewise.
2622 * elf/tst-auditmod7b.c: Likewise.
2624 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2625 and x32_gnu_pltexit.
2627 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2629 (La_x32_regs): New macro.
2630 (La_x32_retval): Likewise.
2631 (la_x32_gnu_pltenter): New function prototype.
2632 (la_x32_gnu_pltexit): Likewise.
2634 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2636 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2641 * configure.in (libc_cv_cc_nofma): Check for option to disable
2642 generation of FMA instructions.
2643 * configure: Regenerate.
2644 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2645 * sysdeps/ieee754/dbl-64/Makefile: New file.
2646 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2647 Remove brandred-fma4.
2648 (CFLAGS-brandred-fma4.c): Remove.
2649 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2650 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2652 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2655 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2657 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2658 LLONG_MAX != LONG_MAX.
2659 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2660 (_fitoa_word): Likewise.
2661 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2662 LLONG_MAX != LONG_MAX.
2663 * stdio-common/_itowa.h: Include <_itoa.h>.
2664 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2665 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2666 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2667 only if not defined.
2668 (_ITOA_WORD_TYPE): Likewise.
2669 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2670 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2672 2012-03-21 David S. Miller <davem@davemloft.net>
2674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2676 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2678 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2679 of x86_64 when setting libc_cv_slibdir, libdir and
2681 * sysdeps/unix/sysv/linux/configure: Regenerated.
2683 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2685 * manual/lang.texi (Old Varargs): Remove section.
2686 (How Variadic): Update menu.
2687 (va_start): Do not mention varargs.h.
2689 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2690 Joseph Myers <joseph@codesourcery.com>
2692 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2694 * configure: Regenerated.
2696 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2698 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2699 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2702 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2705 * Makefile (files-for-dist): Remove NOTES.
2706 (NOTES): Remove rule.
2707 * README: Don't refer to NOTES.
2708 * manual/creature.texi: Don't include macros.texi.
2709 * manual/intro.texi (creature.texi): Remove comment referring to
2712 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2713 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2714 * configure: Regenerated.
2715 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2717 (libc_cv_as_i686): Likewise.
2718 (libc_cv_cc_avx): Likewise.
2719 (libc_cv_cc_sse2avx): Likewise.
2720 (libc_cv_cc_fma4): Likewise.
2721 (libc_cv_cc_novzeroupper): Likewise.
2722 * sysdeps/i386/configure: Regenerated.
2725 * sysdeps/i386/fpu/s_cexp.S: Remove.
2726 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2727 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2728 * math/libm-test.inc (cexp_test): Add more tests.
2729 * sysdeps/i386/fpu/libm-test-ulps: Update.
2730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2732 2012-03-21 Allan McRae <allan@archlinux.org>
2734 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2736 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2739 * math/w_exp2.c: Do not include <float.h>.
2740 (o_threshold, u_threshold): Remove.
2741 (__exp2): Calculate result before checking finiteness and calling
2743 * math/w_exp2f.c: Likewise.
2744 * math/w_exp2l.c: Likewise.
2745 * math/libm-test.inc (exp2_test): Require overflow exception for
2749 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2750 range of signed 64-bit integers before using fistpll. Remove
2751 checks for whether integers fit in mantissa bits.
2752 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2753 the range of signed 32-bit integers before using fistpl. Remove
2754 checks for whether integers fit in mantissa bits.
2755 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2756 (__ieee754_powl): Test for y outside the range of signed 64-bit
2757 integers before using fistpll. Reduce 64-bit values to 63-bit
2759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2760 divide-by-zero is raised for zero to large negative powers.
2761 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2762 (__ieee754_powl): Test for y outside the range of signed 64-bit
2763 integers before using fistpll. Reduce 64-bit values to 63-bit
2765 * math/libm-test.inc (pow_test): Add more tests.
2767 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2769 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2770 <stdio-common/_itoa.h>.
2771 * debug/segfault.c: Likewise.
2772 * elf/dl-cache.c: Likewise.
2773 * elf/dl-minimal.c: Likewise.
2774 * elf/dl-misc.c: Likewise.
2775 * elf/dl-sysdep.c: Likewise.
2776 * elf/dl-version.c: Likewise.
2777 * elf/rtld.c: Likewise.
2778 * hurd/hurdsock.c: Likewise.
2779 * hurd/lookup-retry.c: Likewise.
2780 * malloc/malloc.c: Likewise.
2781 * malloc/mtrace.c: Likewise.
2782 * nscd/nscd_getgr_r.c: Likewise.
2783 * nscd/nscd_getpw_r.c: Likewise.
2784 * nscd/nscd_getserv_r.c: Likewise.
2785 * posix/getopt_init.c: Likewise.
2786 * posix/wordexp.c: Likewise.
2787 * stdio-common/_itoa.c: Likewise.
2788 * stdio-common/printf_fphex.c: Likewise.
2789 * stdio-common/vfprintf.c: Likewise.
2790 * string/_strerror.c: Likewise.
2791 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2792 * sysdeps/i386/i686/hp-timing.h: Likewise.
2793 * sysdeps/mach/_strerror.c: Likewise.
2794 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2795 * sysdeps/mach/hurd/sethostid.c: Likewise.
2796 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2797 * sysdeps/mach/xpg-strerror.c: Likewise.
2798 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2799 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2800 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2801 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2802 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2803 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2804 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2805 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2806 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2807 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2808 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2809 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2810 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2811 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2812 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2813 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2814 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2815 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2816 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2817 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2820 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2822 * stdio-common/_itoa.h: Moved to ...
2823 * sysdeps/generic/_itoa.h: Here.
2825 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2827 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2828 instead of "_itoa.h" and "_itowa.h".
2829 * stdio-common/vfprintf.: Likewise.
2831 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2833 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2835 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2836 (__signbit): Likwise.
2840 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2842 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2845 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2847 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2848 OVERFLOW_EXCEPTION_OK.
2849 * math/libm-test.inc ("Philosophy"): Update comment about
2851 (OVERFLOW_EXCEPTION): Define.
2852 (OVERFLOW_EXCEPTION_OK): Likewise.
2853 (INVALID_EXCEPTION_OK): Renumber.
2854 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2855 (IGNORE_ZERO_INF_SIGN): Likewise.
2856 (test_exceptions): Handle FE_OVERFLOW.
2857 (exp10_test): Expect overflow exceptions.
2858 (exp2_test): Likewise.
2859 (expm1_test): Likewise.
2860 (nextafter_test): Likewise.
2861 (pow_test): Likewise.
2862 (scalbn_test): Likewise.
2863 (scalbln_test): Likewise.
2865 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2867 * sysdeps/x86_64/bits/atomic.h
2868 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2870 (atomic_exchange_acq): Likewise.
2871 (__arch_exchange_and_add_body): Likewise.
2872 (__arch_add_body): Likewise.
2873 (atomic_add_negative): Likewise.
2874 (atomic_add_zero): Likewise.
2876 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2878 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2879 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2881 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2883 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2884 Check __x86_64__ instead of __WORDSIZE.
2886 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2888 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2890 2012-03-19 David S. Miller <davem@davemloft.net>
2892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2894 * sysdeps/sparc/fpu/fenv_private.h: New file.
2895 * sysdeps/sparc/fpu/math_private.h: Use it.
2896 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2898 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2899 (libc_feholdexcept_setroundl): Remove.
2900 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2902 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2903 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2905 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2907 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2908 int64_t instead of long int.
2909 (INSERT_WORDS64): Likwise.
2911 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2913 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2914 _Unwind_GetCFA return to _Unwind_Ptr first.
2916 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2919 * math/s_clog.c: Include <float.h>.
2920 (__clog): Scale large or subnormal inputs.
2921 * math/s_clogf.c: Likewise.
2922 * math/s_clogl.c: Likewise.
2923 * math/s_clog10.c: Include <float.h>.
2924 (M_LOG10_2): Define.
2925 (__clog10): Scale large or subnormal inputs.
2926 * math/s_clog10f.c: Likewise.
2927 * math/s_clog10l.c: Likewise.
2928 * math/libm-test.inc (clog_test): Add more tests.
2929 (clog10_test): Likewise.
2930 * sysdeps/i386/fpu/libm-test-ulps: Update.
2931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2934 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2936 * math/libm-test.inc (atan2_test): Add another test.
2938 * Makerules (common-objdir-compile): Remove.
2939 * sysdeps/unix/Makefile (config-generated): Do not add
2940 $(unix-generated) to variable.
2941 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2942 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2944 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2946 [generic bits/local_lim.h] (before-compile): Do not append to
2948 [generic bits/local_lim.h] (common-generated): Likewise.
2949 [generic sys/param.h] (before-compile): Do not append to variable.
2950 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2951 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2952 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2953 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2955 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2956 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2957 [generic sys/param.h] ($(addprefix
2958 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2959 [generic sys/param.h] (common-generated): Do not append to
2961 [generic sys/param.h] (sysdep_headers): Likewise.
2962 [generic bits/errno.h] (before-compile): Do not append to
2964 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2966 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2967 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2968 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2969 [generic bits/errno.h] (common-generated): Do not append to
2971 [generic bits/ioctls.h] (before-compile): Do not append to
2973 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2975 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2976 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2977 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2979 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2980 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2981 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2982 [generic bits/ioctls.h] (common-generated): Do not append to
2984 [generic sys/syscall.h] (syscall.h): Remove variable.
2985 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2987 [generic sys/syscall.h] (before-compile): Do not append to
2989 [generic sys/syscall.h] (common-generated): Likewise.
2990 * sysdeps/unix/errnos-tmpl.c: Remove file.
2991 * sysdeps/unix/errnos.awk: Likewise.
2992 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2993 * sysdeps/unix/ioctls.awk: Likewise.
2994 * sysdeps/unix/mk-local_lim.c: Likewise.
2995 * sysdeps/unix/snarf-ioctls: Likewise.
2997 2012-03-19 Richard Henderson <rth@twiddle.net>
2999 * sysdeps/i386/fpu/fenv_private.h: New file.
3000 * sysdeps/i386/fpu/math_private.h: Use it.
3001 (math_opt_barrier, math_force_eval): Remove.
3002 (libc_feholdexcept_setround_53bit): Remove.
3003 (libc_feupdateenv_53bit): Remove.
3004 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3005 (math_opt_barrier, math_force_eval): Remove.
3006 (libc_feholdexcept): Remove.
3007 (libc_feholdexcept_setround): Remove.
3008 (libc_fetestexcept, libc_fesetenv): Remove.
3009 (libc_feupdateenv_test): Remove.
3010 (libc_feupdateenv, libc_feholdsetround): Remove.
3011 (libc_feresetround): Remove.
3013 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3014 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3016 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3017 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3018 (libc_feupdateenv_testl): New.
3019 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3020 (libc_feupdateenv_testf): New.
3021 (libc_feupdateenv): Use libc_feupdateenv_test.
3022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3023 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3025 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3026 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3027 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3028 (libc_feresetround_noex): New.
3029 (libc_feresetround_noexf): New.
3030 (libc_feresetround_noexl): New.
3031 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3032 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3033 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3034 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3039 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3040 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3041 SET_RESTORE_ROUND_NOEX.
3042 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3043 SET_RESTORE_ROUND_NOEXF.
3044 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3045 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3046 (libc_feholdsetroundf): New.
3047 (libc_feresetround, libc_feresetroundf): New.
3049 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3050 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3051 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3053 * sysdeps/generic/math_private.h: Include <fenv.h>.
3054 (default_libc_feholdexcept): New.
3055 (default_libc_feholdexcept_setround): New.
3056 (default_libc_fesetenv, default_libc_feupdateenv): New.
3057 (libc_feholdexcept): Only define if undefined.
3058 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3059 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3060 (libc_feholdexcept_setroundl): Likewise.
3061 (libc_feholdexcept_setround_53bit): Likewise.
3062 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3063 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3064 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3065 (libc_feupdateenv_53bit): Likewise.
3066 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3067 (libc_feholdexcept): Convert from macro to inline function.
3068 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3069 (libc_fesetenv, libc_feupdateenv): Likewise.
3071 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3072 not previously defined.
3073 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3074 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3075 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3076 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3077 * sysdeps/ieee754/flt-32/math_private.h: New file.
3078 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3079 math_private.h below SET_FLOAT_WORD.
3080 (__isnan, __isinf_ns, __finite): Remove.
3081 (__isnanf, __isinf_nsf, __finitef): Remove.
3083 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3087 2012-03-17 David S. Miller <davem@davemloft.net>
3090 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3093 2012-03-16 David S. Miller <davem@davemloft.net>
3095 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3099 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3101 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3102 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3103 sysdep_routines when subdir is sysvipc.
3104 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3107 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3109 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3111 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3114 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3117 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3118 (__lround): Renamed to ...
3119 (__llround): This. Replace long int with long long int.
3120 Define lround functions as aliases of llround functions.
3121 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3123 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3125 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3126 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3127 adresses to uintptr_t. Replace "long int" and "unsigned long
3128 int" with "greg_t" on va_arg.
3130 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3132 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3133 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3135 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3136 Move e_machine check before EI_CLASS check. Handle x32
3137 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3138 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3139 SKIP_EM_IA_64 and include
3140 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3142 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3143 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3144 (add_system_dir): New macro.
3146 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3147 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3149 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3160 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3162 * math/w_j0f.c (j0f): Likewise.
3164 * math/w_j0l.c (__j0l): Likewise.
3166 * math/w_j1.c (j1): Likewise.
3168 * math/w_j1f.c (j1f): Likewise.
3170 * math/w_j1l.c (__j1l): Likewise.
3172 * math/w_jn.c (jn): Likewise.
3174 * math/w_jnf.c (jnf): Likewise.
3176 * math/w_jnl.c (__jnl): Likewise.
3178 * math/libm-test.inc (j0_test): Add more tests.
3179 (j1_test): Likewise.
3180 (jn_test): Likewise. Add trailing semicolon to existing test.
3181 (y0_test): Likewise.
3182 (y1_test): Likewise.
3183 * sysdeps/i386/fpu/libm-test-ulps: Update.
3184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3189 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3190 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3191 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3192 (__tanl): Set errno for infinite argument.
3193 * sysdeps/i386/fpu/mptan.c: Remove.
3194 * sysdeps/i386/fpu/s_tan.S: Likewise.
3195 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3196 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3197 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3198 * math/libm-test.inc (tan_test): Add more tests and enable more
3199 tests for double and long double.
3200 * sysdeps/i386/fpu/libm-test-ulps: Update.
3201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3203 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3205 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3206 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3208 2012-03-16 Roland McGrath <roland@hack.frob.com>
3210 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3211 * configure.in: Use it for both main tree and add-ons.
3212 * configure: Regenerated.
3214 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3216 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3218 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3220 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3224 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3225 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3227 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3228 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3230 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3231 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3233 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3234 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3235 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3236 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3237 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3238 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3239 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3240 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3241 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3242 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3243 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3244 * math/libm-test.inc (cos_test): Add more tests and enable more
3245 tests for long double.
3246 (sin_test): Likewise.
3247 (sincos_test): Likewise.
3248 * sysdeps/i386/fpu/libm-test-ulps: Update.
3249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3251 2012-03-16 David S. Miller <davem@davemloft.net>
3253 * sysdeps/sparc/fpu/math_private.h: New file.
3255 2012-03-15 David S. Miller <davem@davemloft.net>
3257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3263 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3264 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3265 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3266 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3267 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3271 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3272 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3274 * sysdeps/sparc/sparc-ifunc.h: New file.
3275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3301 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3302 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3315 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3317 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3320 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3322 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3326 2012-03-15 Andreas Jaeger <aj@suse.de>
3329 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3330 ieee754/flt-32 implementation for sin, cos and sincos.
3331 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3332 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3333 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3334 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3335 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3336 ieee754/flt-32 implementation for tan.
3338 * math/libm-test.inc (cos_test): Enable some large input tests for
3340 (sin_test): Likewise.
3341 (sincos_test): Likewise.
3342 (tan_test): Add tests for large input.
3344 * sysdeps/i386/fpu/libm-test-ulps: Update.
3346 2012-03-15 Andreas Jaeger <aj@suse.de>
3349 * math/libm-test.inc (cos_test): Add more test cases.
3350 (sin_test): Likewise.
3351 (sincos_test): Likewise.
3353 2012-03-15 Andreas Jaeger <aj@suse.de>
3356 * math/libm-test.inc (cos_test): Add a test case for large input
3358 (sin_test): Likewise.
3359 (sincos_test): Likewise.
3361 2012-03-15 Andreas Jaeger <aj@suse.de>,
3362 Joseph Myers <joseph@codesourcery.com>
3365 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3366 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3367 * sysdeps/i386/fpu/branred.c: Likewise.
3368 * sysdeps/i386/fpu/dosincos.c: Likewise.
3369 * sysdeps/i386/fpu/mpa.c: Likewise.
3370 * sysdeps/i386/fpu/s_cos.S: Likewise.
3371 * sysdeps/i386/fpu/s_sin.S: Likewise.
3372 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3373 * sysdeps/i386/fpu/sincos32.c: Likewise.
3375 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3377 (libc_feupdateenv_53bit): Define.
3378 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3380 (libc_feupdateenv_53bit): Define.
3382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3383 53 bit (without extend i386 double precision).
3385 * math/libm-test.inc (sincos_test): Add tests for large input.
3389 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3391 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3395 2012-03-15 David S. Miller <davem@davemloft.net>
3397 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3398 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3399 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3400 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3425 fmin/fmax sysdep routines.
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3428 2012-03-14 David S. Miller <davem@davemloft.net>
3430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3434 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3456 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3457 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3458 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3507 * sysdeps/sparc/configure.in: New file.
3508 * sysdeps/sparc/configure: Generate.
3509 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3510 * configure: Regenerate.
3511 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3512 * config.make.in (have-as-vis3): New.
3513 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3514 available use -Av9d instead of -Av9a.
3515 * sysdeps/sparc/sparc64/Makefile: Likewise.
3516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3525 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3527 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3528 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3531 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3532 fzeros/fnegs to load 0x80000000 into a float register instead of
3534 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3536 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3540 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3541 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3542 ($(inst_includedir)/bits/syscall.h): Remove rule.
3543 ($(objpfx)bits/syscall.d): Include instead of
3544 $(objpfx)syscall-list.d.
3545 (generated): Change syscall-list.h and syscall-list.d to
3546 bits/syscall.h and bits/syscall.d.
3548 2012-03-14 Roland McGrath <roland@hack.frob.com>
3551 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3553 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3556 * math/s_csqrt.c: Include <float.h>.
3557 (__csqrt): Scale large or subnormal inputs.
3558 * math/s_csqrtf.c: Likewise.
3559 * math/s_csqrtl.c: Likewise.
3560 * math/libm-test.inc (csqrt_test): Add more tests.
3561 * sysdeps/i386/fpu/libm-test-ulps: Update.
3562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3565 * math/libm-test.inc (hypot_test): Add more tests.
3567 2012-03-13 David S. Miller <davem@davemloft.net>
3570 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3571 double-precision for the calculation instead of scaling.
3573 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3575 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3576 manipulate bits before adding and subtracting TWO52[sx].
3577 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3582 2012-03-13 David S. Miller <davem@davemloft.net>
3584 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3585 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3587 rtld-global-offsets.h
3588 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3590 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3593 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3595 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3596 'err' in the ifdef scope in which it is actually used.
3598 * nss/nss_db/db-init.c: Include string.h
3600 2012-03-12 David S. Miller <davem@davemloft.net>
3602 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3603 masking out of the most significant byte of random value used.
3604 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3605 Fix coding style in previous change.
3607 * sysdeps/unix/sysv/linux/kernel-features.h
3608 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3609 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3611 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3614 2012-03-11 David S. Miller <davem@davemloft.net>
3616 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3617 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3619 for 'resultvar' otherwise things get truncated on 64-bit.
3621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3622 Fix masking out of the most significant byte of random value used.
3624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3626 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3630 2012-03-09 David S. Miller <davem@davemloft.net>
3632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3633 variables with appropriate CPP guards.
3634 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3635 frame pointer, not the stack pointer. Correct layout comments. Fix test
3636 on resulting framesize and the management of the outregs buffer for pltexit.
3637 Preserve floating point return values across _dl_call_pltexit call.
3638 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3639 framesize and the management of the outregs buffer for pltexit.
3640 Preserve floating point return values across _dl_call_pltexit
3642 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3643 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3644 (print_exit): Fix format string for return register value.
3646 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3648 * sunrpc/Makefile (others): Add rpcgen.
3649 ($(objpfx)rpcgen): Remove special build rule and dependency on
3651 * sunrpc/rpcgen.c: New file.
3653 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3656 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3657 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3658 * sysdeps/i386/crti.S: Likewise.
3659 * sysdeps/i386/crtn.S: Likewise.
3660 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3661 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3662 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3663 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3664 * sysdeps/sh/crti.S: Likewise.
3665 * sysdeps/sh/crtn.S: Likewise.
3666 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3669 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3671 * locale/programs/locfile-kw.gperf: Likewise.
3672 * locale/programs/charmap-kw.h: Regenerated.
3673 * locale/programs/locfile-kw.h: Likewise.
3676 * intl/plural.y: Replace FSF snail mail address with URL.
3677 * intl/plural.c: Regenerated.
3679 2012-03-09 Richard Henderson <rth@twiddle.net>
3681 * include/math_private.h: Remove file.
3682 * math/math_private.h: Move file ...
3683 * sysdeps/generic/math_private.h: ... here.
3685 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3686 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3687 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3689 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3690 and <math_private.h>.
3691 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3692 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3693 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3694 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3695 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3697 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3698 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3699 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3702 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3703 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3705 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3706 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3708 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3709 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3710 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3712 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3713 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3715 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3716 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3717 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3718 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3720 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3721 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3723 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3724 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3725 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3726 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3727 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3728 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3729 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3764 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3765 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3767 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3769 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3770 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3779 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3780 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3781 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3782 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3783 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3784 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3785 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3786 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3788 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3789 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3790 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3791 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3792 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3793 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3794 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3795 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3796 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3797 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3798 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3799 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3801 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3802 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3803 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3804 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3805 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3806 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3807 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3808 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3809 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3810 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3811 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3812 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3813 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3814 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3815 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3817 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3818 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3819 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3820 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3821 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3822 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3823 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3826 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3828 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3829 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3830 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3831 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3832 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3833 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3835 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3836 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3837 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3838 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3840 * sysdeps/ieee754/k_standard.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3956 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3973 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3989 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3990 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3991 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3995 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4001 * sysdeps/ieee754/s_lib_version.c: Likewise.
4002 * sysdeps/ieee754/s_matherr.c: Likewise.
4003 * sysdeps/ieee754/s_signgam.c: Likewise.
4004 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4005 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4007 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4008 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4009 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4010 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4011 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4012 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4013 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4014 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4015 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4016 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4017 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4018 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4019 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4020 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4021 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4022 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4026 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4028 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4029 * sunrpc/rpc_main.c: Likewise.
4030 * sunrpc/rpc_svcout.c: Likewise.
4032 2012-03-09 David S. Miller <davem@davemloft.net>
4034 * include/math_private.h: New file.
4036 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4038 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4039 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4040 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4041 from <bits/socket_type.h>.
4042 (enum __socket_type): Don't define here.
4043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4044 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4048 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4051 * Makerules ($(inst_includedir)/%.h): New rule.
4052 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4053 (install-others): Remove variable setting.
4054 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4056 2012-03-08 Richard Henderson <rth@twiddle.net>
4058 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4059 from macro to inline function; merge with the
4060 !__LIBC_INTERNAL_MATH_INLINES version.
4061 (__ieee754_sqrtf): Likewise.
4063 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4065 (__rintf, __floor, __floorf): Likewise.
4067 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4068 macro to inline function.
4069 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4071 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4072 not <math/math_private.h>.
4074 2012-03-08 David S. Miller <davem@davemloft.net>
4076 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4078 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4080 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4082 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4084 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4085 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4087 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4089 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4090 be defined individually, they must be defined as a block. Define
4091 S for printing a string instead of hidint the different by using a
4092 macro for adding the 'l'.
4093 * stdio-common/tst-fphex-wide.c: Adjust.
4095 2012-03-07 Marek Polacek <polacek@redhat.com>
4097 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4099 2012-03-08 Marek Polacek <polacek@redhat.com>
4102 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4103 * stdio-common/tst-fphex.c: Define a few macros to make the
4104 test reusable. Use them.
4105 * stdio-common/tst-fphex-wide.c: New file.
4107 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4110 * manual/macros.texi (gnusystems): New macro.
4111 (nongnusystems): Likewise.
4112 (gnulinuxhurdsystems): Likewise.
4113 (gnuhurdsystems): Likewise..
4114 (gnulinuxsystems): Likewise.
4115 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4116 variants of the GNU system, not "GNU system".
4117 * manual/conf.texi: Likewise.
4118 * manual/errno.texi: Likewise. Update example of errno macro
4120 * manual/filesys.texi: Likewise.
4121 (getumask): Document as specific to GNU/Hurd.
4122 * manual/install.texi: Likewise. Reword some references to
4124 * manual/intro.texi: Likewise.
4125 * manual/io.texi: Likewise.
4126 (File Name Portability): Detail which constraints are inapplicable
4127 to all GNU systems and which are only inapplicable to GNU/Hurd.
4128 * manual/job.texi: Likewise.
4129 * manual/llio.texi: Likewise.
4130 (O_NOCTTY): Document as present on GNU/Linux.
4131 * manual/maint.texi: Likewise.
4132 * manual/memory.texi: Likewise.
4133 * manual/pattern.texi: Likewise.
4134 * manual/pipe.texi: Likewise.
4135 * manual/process.texi: Likewise.
4136 * manual/resource.texi: Likewise.
4137 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4139 * manual/setjmp.texi: Likewise.
4140 * manual/signal.texi: Likewise.
4141 * manual/startup.texi: Likewise.
4142 * manual/stdio.texi: Likewise.
4143 * manual/terminal.texi: Likewise.
4144 (ONLCR): Document as POSIX.
4145 (OXTABS): Document availability on GNU/Linux as XTABS.
4146 (ONOEOT): Document availability separately from other bits.
4147 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4148 * manual/time.texi: Likewise.
4149 * manual/users.texi: Likewise.
4150 * INSTALL: Regenerated.
4151 * sysdeps/gnu/errlist.c: Regenerated.
4153 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4154 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4155 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4157 * configure: Regenerated.
4159 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4161 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4162 default includes instead of AC_HEADER_CHECK.
4163 * sysdeps/i386/configure: Regenerated.
4166 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4167 * math/s_cacoshf.c (__cacoshf): Likewise.
4168 * math/s_cacoshl.c (__cacoshl): Likewise.
4169 * math/s_casinh.c (__casinh): Set signs of result from argument.
4170 * math/s_casinhf.c (__casinhf): Likewise.
4171 * math/s_casinhl.c (__casinhl): Likewise.
4172 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4173 (casinh_test): Add more tests.
4174 * sysdeps/i386/fpu/libm-test-ulps: Update.
4175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4177 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4179 * po/zh_TW.po: Update from translation team.
4181 * login/Makefile (distribute): Remove variable.
4182 * catgets/Makefile: Likewise.
4183 * mach/Makefile: Likewise.
4184 * malloc/Makefile: Likewise.
4185 * misc/Makefile: Likewise.
4186 * iconv/Makefile: Likewise.
4187 * nscd/Makefile: Likewise.
4188 * hurd/Makefile: Likewise.
4189 * manual/Makefile: Likewise.
4190 * locale/Makefile: Likewise.
4191 * intl/Makefile: Likewise.
4192 * conform/Makefile: Likewise.
4193 * nss/Makefile: Likewise.
4194 * time/Makefile: Likewise.
4195 * soft-fp/Makefile: Likewise.
4196 * dirent/Makefile: Likewise.
4197 * gmon/Makefile: Likewise.
4198 * po/Makefile: Likewise.
4199 * rt/Makefile: Likewise.
4200 * socket/Makefile: Likewise.
4201 * math/Makefile: Likewise.
4202 * signal/Makefile: Likewise.
4203 * debug/Makefile: Likewise.
4204 * elf/Makefile: Likewise.
4205 * timezone/Makefile: Likewise.
4206 * stdlib/Makefile: Likewise.
4207 * iconvdata/Makefile: Likewise.
4208 * sunrpc/Makefile: Likewise.
4209 * io/Makefile: Likewise.
4210 * argp/Makefile: Likewise.
4211 * inet/Makefile: Likewise.
4212 * hesiod/Makefile: Likewise.
4213 * grp/Makefile: Likewise.
4214 * csu/Makefile: Likewise.
4215 * wctype/Makefile: Likewise.
4216 * crypt/Makefile: Likewise.
4217 * libio/Makefile: Likewise.
4218 * string/Makefile: Likewise.
4219 * nis/Makefile: Likewise.
4220 * resolv/Makefile: Likewise.
4221 * stdio-common/Makefile: Likewise.
4222 * wcsmbs/Makefile: Likewise.
4223 * dlfcn/Makefile: Likewise.
4224 * posix/Makefile: Likewise.
4227 * timezone/Makefile: Don't install timezone files, just the programs
4230 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4232 * nss/databases.def: Add missing gshadow entry.
4234 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4236 2012-03-06 Marek Polacek <polacek@redhat.com>
4239 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4240 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4241 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4242 * stdio-common/tst-long-dbl-fphex.c: New file.
4244 2012-03-06 David S. Miller <davem@davemloft.net>
4246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4247 (set_obp_int): New function.
4248 (get_obp_int): New function.
4249 (__get_clockfreq_via_dev_openprom): Likewise.
4250 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4251 Avoid unused variable warnings on 'val' and use builtin_expect.
4252 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4254 (INLINE_CLONE_SYSCALL): Likewise.
4256 2012-03-05 David S. Miller <davem@davemloft.net>
4258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4260 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4264 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4268 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4271 Replace gettimeofday with __vdso_gettimeofday.
4273 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4274 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4275 __vdso_clock_gettime and __vdso_getcpu.
4277 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4278 time with __vdso_time.
4280 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4282 * manual/lang.texi (size_t): Note types to which size_t may be
4283 equivalent with the GNU C Library, but do not describe when
4284 differences between them are significant.
4286 2012-03-05 Andreas Jaeger <aj@suse.de>
4288 * sysdeps/i386/fpu/libm-test-ulps: Update.
4290 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4293 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4294 (__ieee754_pow): Save and restore rounding mode and use
4295 round-to-nearest for main computations.
4296 * math/libm-test.inc (pow_test_tonearest): New function.
4297 (pow_test_towardzero): Likewise.
4298 (pow_test_downward): Likewise.
4299 (pow_test_upward): Likewise.
4300 (main): Call the new functions.
4301 * sysdeps/i386/fpu/libm-test-ulps: Update.
4302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4305 * math/libm-test.inc (cosh_test_tonearest): New function.
4306 (cosh_test_towardzero): Likewise.
4307 (cosh_test_downward): Likewise.
4308 (cosh_test_upward): Likewise.
4309 (sinh_test_tonearest): Likewise.
4310 (sinh_test_towardzero): Likewise.
4311 (sinh_test_downward): Likewise.
4312 (sinh_test_upward): Likewise.
4313 (main): Call the new functions.
4314 * sysdeps/i386/fpu/libm-test-ulps: Update.
4315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4317 2012-03-05 Tom de Vries <tom@codesourcery.com>
4319 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4320 default stack guard is set in last bytes.
4321 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4323 2012-03-05 Kees Cook <keescook@chromium.org>
4325 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4328 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4329 possibly allocate from heap instead of stack.
4330 * stdio-common/bug-vfprintf-nargs.c: New file.
4331 * stdio-common/Makefile (tests): Add nargs overflow test.
4333 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4337 2012-03-03 Marek Polacek <polacek@redhat.com>
4339 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4340 * math/math_private.h: Likewise.
4341 * stdlib/tst-strtod.c: Likewise.
4342 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4343 * sysdeps/x86_64/bits/atomic.h: Likewise.
4345 2012-03-02 David S. Miller <davem@davemloft.net>
4347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4351 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4352 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4353 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4354 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4356 2012-03-02 Roland McGrath <roland@hack.frob.com>
4359 * manual/examples/README: New file, says the example source files
4360 can be used under GPL>=2.
4361 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4362 line containing just "*/".
4363 * manual/examples/add.c: Add copyright header (GPL>=2).
4364 * manual/examples/argp-ex1.c: Likewise.
4365 * manual/examples/argp-ex2.c: Likewise.
4366 * manual/examples/argp-ex3.c: Likewise.
4367 * manual/examples/argp-ex4.c: Likewise.
4368 * manual/examples/atexit.c: Likewise.
4369 * manual/examples/db.c: Likewise.
4370 * manual/examples/dir.c: Likewise.
4371 * manual/examples/dir2.c: Likewise.
4372 * manual/examples/execinfo.c: Likewise.
4373 * manual/examples/filecli.c: Likewise.
4374 * manual/examples/filesrv.c: Likewise.
4375 * manual/examples/fmtmsgexpl.c: Likewise.
4376 * manual/examples/genpass.c: Likewise.
4377 * manual/examples/inetcli.c: Likewise.
4378 * manual/examples/inetsrv.c: Likewise.
4379 * manual/examples/isockad.c: Likewise.
4380 * manual/examples/longopt.c: Likewise.
4381 * manual/examples/memopen.c: Likewise.
4382 * manual/examples/memstrm.c: Likewise.
4383 * manual/examples/mkfsock.c: Likewise.
4384 * manual/examples/mkisock.c: Likewise.
4385 * manual/examples/mygetpass.c: Likewise.
4386 * manual/examples/pipe.c: Likewise.
4387 * manual/examples/popen.c: Likewise.
4388 * manual/examples/rprintf.c: Likewise.
4389 * manual/examples/search.c: Likewise.
4390 * manual/examples/select.c: Likewise.
4391 * manual/examples/setjmp.c: Likewise.
4392 * manual/examples/sigh1.c: Likewise.
4393 * manual/examples/sigusr.c: Likewise.
4394 * manual/examples/stpcpy.c: Likewise.
4395 * manual/examples/strdupa.c: Likewise.
4396 * manual/examples/strftim.c: Likewise.
4397 * manual/examples/strncat.c: Likewise.
4398 * manual/examples/subopt.c: Likewise.
4399 * manual/examples/swapcontext.c: Likewise.
4400 * manual/examples/termios.c: Likewise.
4401 * manual/examples/testopt.c: Likewise.
4402 * manual/examples/testpass.c: Likewise.
4403 * manual/examples/timeval_subtract.c: Likewise.
4406 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4408 * manual/timeval_subtract.c.texi: ... here, new file.
4410 2012-03-02 David S. Miller <davem@davemloft.net>
4412 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4414 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4417 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4418 (__sin): Save and restore rounding mode and use round-to-nearest
4419 for all computations.
4420 (__cos): Save and restore rounding mode and use round-to-nearest
4421 for all computations.
4422 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4424 (tan): Save and restore rounding mode and use round-to-nearest for
4426 * math/libm-test.inc (cos_test_tonearest): New function.
4427 (cos_test_towardzero): Likewise.
4428 (cos_test_downward): Likewise.
4429 (cos_test_upward): Likewise.
4430 (sin_test_tonearest): Likewise.
4431 (sin_test_towardzero): Likewise.
4432 (sin_test_downward): Likewise.
4433 (sin_test_upward): Likewise.
4434 (tan_test_tonearest): Likewise.
4435 (tan_test_towardzero): Likewise.
4436 (tan_test_downward): Likewise.
4437 (tan_test_upward): Likewise.
4438 (main): Call the new functions.
4439 * sysdeps/i386/fpu/libm-test-ulps: Update.
4440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4443 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4444 small n, then large n, before computing and testing k+n.
4445 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4446 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4450 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4451 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4452 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4453 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4456 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4457 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4458 * math/libm-test.inc (scalbn_test): Add more tests.
4459 (scalbln_test): Likewise.
4461 * manual/filesys.texi (mode_t): Describe constraints on size and
4462 signedness, not exact equivalence to a particular type.
4464 (ino64_t): Likewise.
4466 (nlink_t): Likewise.
4467 (blkcnt_t): Likewise.
4468 (blkcnt64_t): Likewise.
4469 * manual/llio.texi (off_t): Likewise.
4472 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4473 (__ieee754_exp): Save and restore rounding mode and use
4474 round-to-nearest for all computations.
4475 * math/libm-test.inc (exp_test_tonearest): New function.
4476 (exp_test_towardzero): Likewise.
4477 (exp_test_downward): Likewise.
4478 (exp_test_upward): Likewise.
4479 (main): Call the new functions.
4480 * sysdeps/i386/fpu/libm-test-ulps: Update.
4481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4483 2012-03-01 Chris Demetriou <cgd@google.com>
4485 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4486 have predictable order.
4488 2012-03-01 David S. Miller <davem@davemloft.net>
4490 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4492 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4493 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4494 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4495 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4497 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4498 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4499 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4501 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4502 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4503 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4504 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4505 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4509 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4510 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4513 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4514 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4515 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4516 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4517 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4518 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4519 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4520 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4521 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4522 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4523 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4525 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4527 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4528 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4529 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4530 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4531 * sysdeps/sparc/elf/configure: Regenerated.
4533 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4535 * configure.in (AS, LD): Require binutils 2.20 or later.
4536 * configure: Regenerated.
4537 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4538 as required minimum version.
4539 * INSTALL: Regenerated.
4543 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4544 before squaring exponent.
4545 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4546 bottom long double and 27 bits of top long double before squaring
4548 * math/libm-test.inc (erfc_test): Add more tests.
4549 * sysdeps/i386/fpu/libm-test-ulps: Update.
4550 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4553 2012-03-01 Kai Tietz <ktietz@redhat.com>
4555 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4556 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4557 containing bit-fields.
4558 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4559 * soft-fp/single.h (_FP_UNION_S): Likewise.
4560 * soft-fp/double.h (_FP_UNION_D): Likewise.
4562 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4565 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4566 not include ../strcmp.S.
4567 [USE_AS_STRNCASECMP_L]: Likewise.
4568 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4569 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4570 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4571 (__strncasecmp_l_ia32): Define as alias to
4572 __strncasecmp_l_nonascii.
4575 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4576 * sysdeps/i386/fpu/libm-test-ulps: Update.
4577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4579 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4582 2012-02-29 Jeff Law <law@redhat.com>
4584 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4587 2012-02-29 Marek Polacek <polacek@redhat.com>
4590 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4591 * elf/Makefile: Add rules to run tst-unused-dep.out.
4593 2012-02-28 David S. Miller <davem@davemloft.net>
4595 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4596 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4597 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4598 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4599 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4600 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4602 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4604 * math/libm-test.inc (llround_test): Move one test from
4605 lround_test. Use TEST_f_L in moved test.
4606 (lround_test): Move misplaced test to llround_test. Add testcase
4609 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4611 * sysdeps/x86_64/fpu/e_expf.S: New file.
4612 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4614 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4617 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4618 of remain_len that may cause incomplete multi-byte character and
4620 * posix/bug-regex33.c: New file.
4621 * posix/Makefile (tests): Add bug-regex33.
4623 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4625 * manual/macros.texi: New file.
4626 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4627 * manual/libc.texinfo: Include macros.texi.
4628 * manual/creatute.texi: Likewise.
4629 * manual/install.texi: Likewise.
4630 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4631 @glibcadj{} in references to the GNU C Library.
4632 * manual/charset.texi: Likewise.
4633 * manual/conf.texi: Likewise.
4634 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4635 when not using those macros.
4636 * manual/creature.texi: Likewise.
4637 * manual/crypt.texi: Likewise.
4638 * manual/errno.texi: Likewise.
4639 * manual/filesys.texi: Likewise.
4640 * manual/header.texi: Likewise.
4641 * manual/install.texi: Likewise.
4642 * manual/intro.texi: Likewise.
4643 * manual/io.texi: Likewise.
4644 * manual/job.texi: Likewise.
4645 * manual/lang.texi: Likewise.
4646 * manual/libc.texiinfo: Likewise.
4647 * manual/llio.texi: Likewise.
4648 * manual/locale.texi: Likewise.
4649 * manual/maint.texi: Likewise.
4650 * manual/math.texi: Likewise.
4651 * manual/memory.texi: Likewise.
4652 * manual/message.texi: Likewise.
4653 * manual/nss.texi: Likewise.
4654 * manual/pattern.texi: Likewise.
4655 * manual/process.texi: Likewise.
4656 * manual/resource.texi: Likewise.
4657 * manual/search.texi: Likewise.
4658 * manual/setjmp.texi: Likewise.
4659 * manual/signal.texi: Likewise.
4660 * manual/socket.texi: Likewise.
4661 * manual/startup.texi: Likewise.
4662 * manual/stdio.texi: Likewise.
4663 * manual/string.texi: Likewise.
4664 * manual/sysinfo.texi: Likewise.
4665 * manual/syslog.texi: Likewise.
4666 * manual/terminal.texi: Likewise.
4667 * manual/time.texi: Likewise.
4668 * manual/users.texi: Likewise.
4669 * INSTALL: Regenerated.
4670 * NOTES: Regenerated.
4671 * sysdeps/gnu/errlist.c: Regenerated.
4673 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4675 * include/dirent.h: Include <dirstream.h> before
4678 2012-02-28 David S. Miller <davem@davemloft.net>
4680 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4681 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4682 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4683 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4685 2012-02-27 David S. Miller <davem@davemloft.net>
4687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4689 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4690 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4693 frame pointer instead of stack pointer relative arg slot.
4694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4695 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4696 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4698 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4701 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4703 2012-02-27 David S. Miller <davem@davemloft.net>
4705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4709 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4710 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4711 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4712 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4714 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4716 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4717 later. Allow versions 5-9.
4718 * configure: Regenerated.
4719 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4720 required minimum version and 4.6 as recommended version. Do not
4721 mention bugs in GCC 2.7 and 2.8.
4722 * INSTALL: Regenerated.
4724 2012-02-27 David S. Miller <davem@davemloft.net>
4726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4730 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4731 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4732 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4733 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4736 manipulate bits before adding and subtracting TWO112[sx].
4737 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4739 2012-02-27 Roland McGrath <roland@hack.frob.com>
4742 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4743 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4744 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4745 being in POSIX, because they are in 1003.1-2008.
4747 * rt/tst-aio.c: Include <fcntl.h>.
4748 * rt/tst-aio7.c: Likewise.
4749 * rt/tst-aio64.c: Likewise.
4751 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4753 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4755 * manual/install.texi (--with-headers): Describe headers as
4756 interface headers, not private headers.
4757 (Specific advice for GNU/Linux systems): Describe use of headers
4758 from "make headers_install", not private headers from older
4760 * INSTALL: Regenerated.
4761 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4763 * sysdeps/unix/sysv/linux/configure: Regenerated.
4765 * manual/llio.texi (fclean): Remove documentation.
4767 * manual/Makefile (libc-texi-generated): New variable. Include
4769 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4770 $(libc-texi-generated), not duplicated list of files.
4771 (version.texi, stamp-version): New rules.
4772 (realclean): Remove $(libc-texi-generated), not individual files
4773 from that list. Do not remove dir-add.texinfo.
4774 * manual/libc.texinfo: Comment out uses of edition numbers and
4775 references to printed manual. Remove last-updated dates.
4776 (EDITION): Comment out.
4778 (VERSION, UPDATED): Remove.
4779 (version.texi): Include.
4781 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4783 * sysdeps/posix/spawni.c: Include <signal.h>.
4784 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4785 * sysdeps/pthread/aio_fsync.c: Likewise.
4787 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4789 * conform/Makefile (tests): Run only when not cross-compiling and
4790 when fast-check is not defined.
4792 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4793 * conform/data/limits.h-data: Fixes for POSIX2008.
4794 * conform/run-conformtest.sh: Run all tests.
4795 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4797 * include/bits/dlfcn.h: Likewise.
4798 * include/langinfo.h: Likewise.
4799 * include/monetary.h: Likewise.
4800 * include/sys/poll.h: Likewise.
4802 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4804 * posix/spawn.h: Define __need_sigset_t.
4805 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4806 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4807 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4808 to get sigevent_t only.
4809 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4812 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4813 process_vm_writev only for __USE_GNU.
4814 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4816 * conform/Makefile: For now ignore errors from run-conformtest.
4817 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4818 POSIX to avoid namespace pollution. Don't prepend headers.
4819 * conform/data/aio.h-data: Fixes for POSIX testing.
4820 * conform/data/fcntl.h-data: Likewise.
4821 * conform/data/glob.h-data: Likewise.
4822 * conform/data/grp.h-data: Likewise.
4823 * conform/data/pthread.h-data: Likewise.
4824 * conform/data/pwd.h-data: Likewise.
4825 * conform/data/signal.h-data: Likewise.
4826 * conform/data/spawn.h-data: Likewise.
4827 * conform/data/stdio.h-data: Likewise.
4828 * conform/data/stdlib.h-data: Likewise.
4829 * conform/data/stropts.h-data: Likewise.
4830 * conform/data/sys/mman.h-data: Likewise.
4831 * conform/data/sys/stat.h-data: Likewise.
4832 * conform/data/sys/types.h-data: Likewise.
4833 * conform/data/sys/wait.h-data: Likewise.
4834 * conform/data/time.h-data: Likewise.
4835 * conform/data/unistd.h-data: Likewise.
4836 * conform/data/utime.h-data: Likewise.
4838 * io/sys/stat.h: fchmod was always in POSIX.
4839 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4840 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4841 * rt/aio.h: Define __need_timespec before including <time.h>.
4842 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4843 struct. Add forward declaration of pthread_attr_t and use it in
4845 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4846 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4847 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4848 always remove CLK_TCK definition.
4850 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4852 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4854 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4856 * conform/run-conformtest.sh: New file.
4857 * conform/Makefile: Run run-conformtest for tests.
4858 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4861 * conform/data/uchar.h-data: New file.
4862 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4863 * conform/data/arpa/inet.h-data: Likewise.
4864 * conform/data/assert.h-data: Likewise.
4865 * conform/data/complex.h-data: Likewise.
4866 * conform/data/cpio.h-data: Likewise.
4867 * conform/data/ctype.h-data: Likewise.
4868 * conform/data/dirent.h-data: Likewise.
4869 * conform/data/dlfcn.h-data: Likewise.
4870 * conform/data/errno.h-data: Likewise.
4871 * conform/data/fcntl.h-data: Likewise.
4872 * conform/data/float.h-data: Likewise.
4873 * conform/data/fmtmsg.h-data: Likewise.
4874 * conform/data/fnmatch.h-data: Likewise.
4875 * conform/data/ftw.h-data: Likewise.
4876 * conform/data/glob.h-data: Likewise.
4877 * conform/data/grp.h-data: Likewise.
4878 * conform/data/iconv.h-data: Likewise.
4879 * conform/data/inttypes.h-data: Likewise.
4880 * conform/data/langinfo.h-data: Likewise.
4881 * conform/data/libgen.h-data: Likewise.
4882 * conform/data/limits.h-data: Likewise.
4883 * conform/data/locale.h-data: Likewise.
4884 * conform/data/math.h-data: Likewise.
4885 * conform/data/monetary.h-data: Likewise.
4886 * conform/data/mqueue.h-data: Likewise.
4887 * conform/data/ndbm.h-data: Likewise.
4888 * conform/data/net/if.h-data: Likewise.
4889 * conform/data/netdb.h-data: Likewise.
4890 * conform/data/netinet/in.h-data: Likewise.
4891 * conform/data/nl_types.h-data: Likewise.
4892 * conform/data/poll.h-data: Likewise.
4893 * conform/data/pthread.h-data: Likewise.
4894 * conform/data/pwd.h-data: Likewise.
4895 * conform/data/regex.h-data: Likewise.
4896 * conform/data/sched.h-data: Likewise.
4897 * conform/data/search.h-data: Likewise.
4898 * conform/data/semaphore.h-data: Likewise.
4899 * conform/data/setjmp.h-data: Likewise.
4900 * conform/data/signal.h-data: Likewise.
4901 * conform/data/spawn.h-data: Likewise.
4902 * conform/data/stdarg.h-data: Likewise.
4903 * conform/data/stdio.h-data: Likewise.
4904 * conform/data/stdlib.h-data: Likewise.
4905 * conform/data/string.h-data: Likewise.
4906 * conform/data/strings.h-data: Likewise.
4907 * conform/data/stropts.h-data: Likewise.
4908 * conform/data/sys/ipc.h-data: Likewise.
4909 * conform/data/sys/mman.h-data: Likewise.
4910 * conform/data/sys/msg.h-data: Likewise.
4911 * conform/data/sys/resource.h-data: Likewise.
4912 * conform/data/sys/select.h-data: Likewise.
4913 * conform/data/sys/sem.h-data: Likewise.
4914 * conform/data/sys/shm.h-data: Likewise.
4915 * conform/data/sys/socket.h-data: Likewise.
4916 * conform/data/sys/stat.h-data: Likewise.
4917 * conform/data/sys/statvfs.h-data: Likewise.
4918 * conform/data/sys/time.h-data: Likewise.
4919 * conform/data/sys/timeb.h-data: Likewise.
4920 * conform/data/sys/times.h-data: Likewise.
4921 * conform/data/sys/types.h-data: Likewise.
4922 * conform/data/sys/uio.h-data: Likewise.
4923 * conform/data/sys/un.h-data: Likewise.
4924 * conform/data/sys/utsname.h-data: Likewise.
4925 * conform/data/sys/wait.h-data: Likewise.
4926 * conform/data/syslog.h-data: Likewise.
4927 * conform/data/tar.h-data: Likewise.
4928 * conform/data/termios.h-data: Likewise.
4929 * conform/data/utime.h-data: Likewise.
4930 * conform/data/utmpx.h-data: Likewise.
4931 * conform/data/varargs.h-data: Likewise.
4932 * conform/data/wchar.h-data: Likewise.
4933 * conform/data/wctype.h-data: Likewise.
4934 * conform/data/wordexp.h-data: Likewise.
4936 * include/stropts.h: New file.
4937 * include/uchar.h: New file.
4938 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4939 * include/assert.h: Likewise.
4940 * include/ctype.h: Likewise.
4941 * include/dirent.h: Likewise.
4942 * include/dlfcn.h: Likewise.
4943 * include/fcntl.h: Likewise.
4944 * include/fnmatch.h: Likewise.
4945 * include/glob.h: Likewise.
4946 * include/grp.h: Likewise.
4947 * include/libio.h: Likewise.
4948 * include/locale.h: Likewise.
4949 * include/math.h: Likewise.
4950 * include/net/if.h: Likewise.
4951 * include/netdb.h: Likewise.
4952 * include/netinet/in.h: Likewise.
4953 * include/pthread.h: Likewise.
4954 * include/pwd.h: Likewise.
4955 * include/regex.h: Likewise.
4956 * include/sched.h: Likewise.
4957 * include/search.h: Likewise.
4958 * include/setjmp.h: Likewise.
4959 * include/signal.h: Likewise.
4960 * include/stdio.h: Likewise.
4961 * include/stdlib.h: Likewise.
4962 * include/string.h: Likewise.
4963 * include/sys/cdefs.h: Likewise.
4964 * include/sys/mman.h: Likewise.
4965 * include/sys/msg.h: Likewise.
4966 * include/sys/resource.h: Likewise.
4967 * include/sys/select.h: Likewise.
4968 * include/sys/socket.h: Likewise.
4969 * include/sys/stat.h: Likewise.
4970 * include/sys/statvfs.h: Likewise.
4971 * include/sys/time.h: Likewise.
4972 * include/sys/times.h: Likewise.
4973 * include/sys/uio.h: Likewise.
4974 * include/sys/utsname.h: Likewise.
4975 * include/sys/wait.h: Likewise.
4976 * include/termios.h: Likewise.
4977 * include/time.h: Likewise.
4978 * include/ulimit.h: Likewise.
4979 * include/unistd.h: Likewise.
4980 * include/utime.h: Likewise.
4981 * include/wchar.h: Likewise.
4982 * include/wctype.h: Likewise.
4983 * include/wordexp.h: Likewise.
4985 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4987 * time/time.h: TIME_UTC must be a macro.
4988 Make timespec_get available for ISO C11 only as well.
4990 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4992 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4993 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4995 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4997 * configure.in: Use -o not -a in test for unsupported multi-arch.
4999 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5001 * manual/texinfo.tex: Update to version 2012-01-19.16.
5003 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5005 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5007 2012-02-24 Roland McGrath <roland@hack.frob.com>
5010 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5011 * manual/fdl-1.3.texi: New file.
5012 * manual/fdl-1.1.texi: File removed.
5015 * manual/libc.texinfo (FDL_VERSION): New @set.
5016 Use it for mention of FDL in cover text.
5017 (Documentation License): Use it in @include file name.
5019 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5020 Roland McGrath <roland@hack.frob.com>
5023 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5024 not LONG_LONG_MAX and LONG_LONG_MIN.
5025 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5026 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5028 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5030 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5034 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5035 manipulate bits before adding and subtracting TWO23[sx].
5036 * math/libm-test.inc (nearbyint_test): Add more tests.
5038 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5041 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5042 bits before adding and subtracting TWO23[sx].
5043 * math/libm-test.inc (rint_test): Add more tests.
5044 (rint_test_tonearest): Likewise.
5045 (rint_test_towardzero): Likewise.
5046 (rint_test_downward): Likewise.
5047 (rint_test_upward: Likewise.
5049 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5052 * include/stdc-predef.h: New file. Extracted from features.h.
5053 * include/features.h: Include stdc-predef.h.
5054 * Makefile (headers): Add stdc-predef.h.
5055 * CONFORMANCE (Compiler limitations): Update.
5057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5059 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5061 2012-02-21 David S. Miller <davem@davemloft.net>
5063 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5064 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5066 2012-02-20 David S. Miller <davem@davemloft.net>
5068 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5069 using a normal save/restore sequence, rather than allocating a
5070 dummy stack frame just to store a frame pointer and restore.
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5073 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5075 * manual/install.texi: Fix stray word in line-wrapped comment.
5077 2012-02-20 David S. Miller <davem@davemloft.net>
5079 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5080 both binutils and gcc support GOTDATA.
5082 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5083 "rd %pc" in the PIC register setup sequences.
5085 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5086 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5087 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5088 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5089 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5091 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5092 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5094 (SYSCALL_ERROR_HANDLER): Likewise.
5095 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5096 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5097 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5098 (SYSCALL_ERROR_HANDLER): Likewise.
5100 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5101 (HAVE_GCC_GOTDATA): New.
5102 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5103 relocation support in both binutils and gcc.
5104 * sysdeps/sparc/elf/configure: Regenerate.
5106 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5107 * sysdeps/sparc/sparc32/elf/configure: Delete.
5108 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5109 * sysdeps/sparc/sparc64/elf/configure: Delete.
5110 * sysdeps/sparc/elf/configure.in: New file.
5111 * sysdeps/sparc/elf/configure: Generate.
5113 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5114 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5115 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5116 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5117 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5119 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5121 * manual/install.texi: Do not mention specific glibc version
5123 * manual/libc.texinfo (VERSION, UPDATED): Update.
5124 (@copying): Use @copyright{} and range of years.
5126 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5129 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5130 [crti.S not in sysdirs] (generated): Do not append.
5131 [crti.S not in sysdirs] (omit-deps): Likewise.
5132 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5133 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5134 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5135 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5136 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5138 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5139 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5140 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5141 * csu/defs.awk: Remove file.
5142 * sysdeps/generic/initfini.c: Likewise.
5143 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5145 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5148 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5150 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5151 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5152 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5153 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5154 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5155 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5157 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5158 (__EPOLL_PACKED): Define to empty if not defined by
5160 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5164 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5166 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5167 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5168 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5169 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5171 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5175 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5177 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5179 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5180 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5181 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5184 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5186 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5187 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5189 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5191 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5192 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5194 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5196 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5199 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5201 * math/w_acos.c: Use non-signaling floating-point comparisons.
5202 * math/w_acosf.c: Likewise.
5203 * math/w_acosh.c: Likewise.
5204 * math/w_acoshf.c: Likewise.
5205 * math/w_acoshl.c: Likewise.
5206 * math/w_acosl.c: Likewise.
5207 * math/w_asin.c: Likewise.
5208 * math/w_asinf.c: Likewise.
5209 * math/w_asinl.c: Likewise.
5210 * math/w_atanh.c: Likewise.
5211 * math/w_atanhf.c: Likewise.
5212 * math/w_atanhl.c: Likewise.
5213 * math/w_exp2.c: Likewise.
5214 * math/w_exp2f.c: Likewise.
5215 * math/w_exp2l.c: Likewise.
5216 * math/w_j0.c: Likewise.
5217 * math/w_j0f.c: Likewise.
5218 * math/w_j0l.c: Likewise.
5219 * math/w_j1.c: Likewise.
5220 * math/w_j1f.c: Likewise.
5221 * math/w_j1l.c: Likewise.
5222 * math/w_jn.c: Likewise.
5223 * math/w_jnf.c: Likewise.
5224 * math/w_log.c: Likewise.
5225 * math/w_log10.c: Likewise.
5226 * math/w_log10f.c: Likewise.
5227 * math/w_log10l.c: Likewise.
5228 * math/w_log2.c: Likewise.
5229 * math/w_log2f.c: Likewise.
5230 * math/w_log2l.c: Likewise.
5231 * math/w_logf.c: Likewise.
5232 * math/w_logl.c: Likewise.
5233 * math/w_sqrt.c: Likewise.
5234 * math/w_sqrtf.c: Likewise.
5235 * math/w_sqrtl.c: Likewise.
5236 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5237 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5238 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5239 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5240 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5242 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5245 * manual/string.texi (strnlen): Use correct parameter name in
5246 equivalent expression.
5248 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5251 * manual/users.texi (seteuid): Consistently use neweuid for
5254 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5257 * manual/nss.texi (Services in the NSS configuration): Correct
5258 list of services in example configuration file.
5260 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5263 * manual/arith.texi: Remove statements about negative zero
5264 behaving identically to zero.
5266 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5269 * manual/install.texi: Do not document upgrading from libc5.
5271 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5274 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5276 2012-02-18 David S. Miller <davem@davemloft.net>
5278 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5279 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5280 %o7 across the call.
5281 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5286 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5287 * sysdeps/sparc/crtn.S: Likewise.
5289 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5291 * aout/Makefile: Remove.
5293 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5296 * manual/examples/argp-ex1.c (main): Format definition in GNU
5298 * manual/examples/argp-ex2.c (main): Likewise.
5299 * manual/examples/argp-ex3.c (main): Likewise.
5300 * manual/examples/argp-ex4.c (main): Likewise.
5301 * manual/examples/longopt.c (main): Use new-style prototype
5303 * manual/examples/strncat.c (main): Specify return type and use
5304 (void) for arguments.
5305 * manual/examples/subopt.c (main): Use char **argv argument.
5307 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5310 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5313 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5316 * manual/string.texi (strchr): Change when strchrnul is
5319 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5322 * manual/locale.texi (setlocale): Document LOCPATH.
5324 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5327 * manual/process.texi (execle): Move @dots{} before last argument.
5329 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5332 * manual/charset.texi (Generic Charset Conversion): Fix typo
5333 (LC_TYPE -> LC_CTYPE).
5335 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5338 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5339 (scalbnf): Likewise.
5340 (scalbnl): Likewise.
5341 (scalbln): Likewise.
5342 (scalblnf): Likewise.
5343 (scalblnl): Likewise.
5344 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5348 * manual/filesys.texi (telldir): Use braces around return type.
5349 * manual/llio.texi (mmap): Add space after comma.
5351 * manual/math.texi (jn): Use @var{} on parameter names.
5357 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5359 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5361 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5362 (sched_get_priority_max): Likewise.
5363 * manual/signal.texi (sigvec): Add space after comma.
5364 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5366 (if_indextoname): Likewise.
5367 (if_freenameindex): Likewise.
5368 (sendto): Use ',' instead of '.' in prototype.
5369 * manual/startup.texi (syscall): Use @dots{} instead of literal
5371 * manual/stdio.texi (__fpending): Separate initial words of
5372 paragraph from @deftypefun line.
5373 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5375 (vsyslog): Use @var{} on parameter names.
5376 * manual/terminal.texi (stty): Use @var{} on parameter names.
5377 * manual/users.texi (getutmp): Use @var{} on parameter names.
5378 (getutmpx): Likewise.
5380 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5383 * manual/stdio.texi (fopen): Fix typos in description of
5386 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5389 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5390 get clock_id definition.
5392 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5395 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5396 (madvise): Cast every argument to void on its own.
5398 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5401 * manual/startup.texi (Exit Status): Fix typo.
5403 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5406 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5407 * manual/examples/argp-ex2.c: Likewise.
5408 * manual/examples/argp-ex3.c: Likewise.
5410 2012-02-16 Richard Henderson <rth@redhat.com>
5412 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5413 * sysdeps/s390/s390-32/initfini.c: Remove.
5414 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5415 * sysdeps/s390/s390-64/initfini.c: Remove.
5417 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5419 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5420 compiler output for sysdeps/generic/initfini.c.
5421 * sysdeps/sh/elf/initfini.c: Remove file.
5423 2012-02-16 David S. Miller <davem@davemloft.net>
5426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5428 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5429 * sysdeps/sparc/crti.S: New file.
5430 * sysdeps/sparc/crtn.S: New file.
5431 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5432 * sysdeps/sparc/sparc64/Makefile: Likewise.
5434 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5437 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5439 2012-02-15 Roland McGrath <roland@hack.frob.com>
5442 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5444 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5445 (write, read, close): Likewise.
5446 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5448 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5450 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5451 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5452 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5453 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5455 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5459 2012-02-14 Marek Polacek <polacek@redhat.com>
5461 * sysdeps/x86_64/crti.S: New file.
5462 * sysdeps/x86_64/crtn.S: New file.
5463 * sysdeps/x86_64/elf/initfini.c: Remove file.
5465 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5467 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5468 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5469 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5470 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5472 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5476 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5478 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5479 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5480 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5481 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5483 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5487 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5489 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5490 __feraiseexcept instead of feraiseexcept.
5492 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5493 nanosleep invocations.
5494 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5495 strings, and add error checking for a nanosleep invocations.
5497 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5499 Replace FSF snail mail address with URLs, as per GNU coding standards.
5500 Most of the snail mail addresses were wrong anyway, and omitting
5501 them makes the source code easier to maintain. Almost all of the
5502 changes are to license notices and to locale LC_IDENTIFICATION
5503 addresses, except for this one:
5504 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5505 not its snail mail address.
5507 2012-02-09 Richard Henderson <rth@twiddle.net>
5509 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5510 of kernel-features.h.
5512 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5514 2012-02-08 Marek Polacek <polacek@redhat.com>
5516 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5517 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5518 * sysdeps/gnu/_G_config.h: Likewise.
5519 * sysdeps/generic/_G_config.h: Likewise.
5521 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5523 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5527 * sysdeps/powerpc/powerpc32/crti.S: New file.
5528 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5529 * sysdeps/powerpc/powerpc64/crti.S: New file.
5530 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5532 * Makeconfig (have-initfini): Don't set.
5533 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5534 * configure.in (nopic_initfini): Don't substitute.
5535 * config.h.in (HAVE_INITFINI): Don't #undef.
5536 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5537 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5539 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5541 Support crti.S and crtn.S provided directly by architectures.
5542 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5543 [crti.S in sysdirs] (omit-deps): Likewise.
5544 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5545 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5546 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5547 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5548 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5549 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5550 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5551 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5552 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5553 compiler output for sysdeps/generic/initfini.c.
5554 * sysdeps/i386/elf/Makefile: Remove file.
5555 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5557 2012-02-07 Marek Polacek <polacek@redhat.com>
5559 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5560 * sysdeps/gnu/_G_config.h: Likewise.
5561 * sysdeps/mach/hurd/_G_config.h: Likewise.
5563 2012-02-07 Marek Polacek <polacek@redhat.com>
5565 * math/Makefile (tests): Add tst-CMPLX2.
5566 * math/tst-CMPLX2.c: New file.
5568 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5570 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5572 * math/libm-test.inc (jn_test): Add missing L suffix.
5574 2012-02-06 Marek Polacek <polacek@redhat.com>
5576 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5577 * sysdeps/i386/fpu/e_powf.S: Likewise.
5578 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5579 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5580 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5581 * sysdeps/i386/fpu/e_pow.S: Likewise.
5582 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5583 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5584 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5585 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5586 * sysdeps/i386/fpu/e_log2.S: Likewise.
5587 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5588 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5589 * sysdeps/i386/fpu/e_powl.S: Likewise.
5590 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5591 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5592 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5593 * sysdeps/i386/fpu/e_logl.S: Likewise.
5594 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5595 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5596 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5597 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5598 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5599 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5600 * sysdeps/i386/fpu/e_log.S: Likewise.
5601 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5603 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5604 * sysdeps/i386/fpu/e_logf.S: Likewise.
5605 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5606 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5607 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5608 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5609 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5610 * sysdeps/i386/fpu/e_log10.S: Likewise.
5611 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5612 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5613 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5614 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5615 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5616 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5617 * sysdeps/i386/asm-syntax.h: Likewise.
5618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5619 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5620 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5621 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5622 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5623 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5624 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5625 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5626 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5627 * sysdeps/powerpc/sysdep.h: Likewise.
5628 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5629 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5631 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5634 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5636 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5638 * sysdeps/i386/sysdep.h: Include <features.h>.
5639 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5642 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5644 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5646 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5649 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5651 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5652 (SETUP_PIC_REG): Use GET_PC_THUNK.
5653 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5656 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5658 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5659 for non-PIC compilation.
5660 (SETUP_PIC_REG): Add .p2align directive.
5661 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5662 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5663 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5664 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5665 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5666 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5667 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5668 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5669 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5670 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5671 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5672 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5673 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5674 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5675 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5676 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5677 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5679 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5680 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5681 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5682 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5683 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5684 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5685 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5687 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5688 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5689 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5690 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5691 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5692 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5693 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5694 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5695 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5696 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5697 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5698 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5699 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5700 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5701 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5703 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5705 * math/tst-CMPLX.c: Include <stdio.h>.
5707 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5709 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5711 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5712 * sysdeps/sparc/bits/mathdef.h: Likewise.
5714 2012-01-31 Marek Polacek <polacek@redhat.com>
5716 * libio/libio.h: Don't define _PARAMS.
5717 * locale/programs/config.h: Don't define PARAMS.
5718 * stdlib/strtol_l.c: Likewise.
5719 (__strtol_l): Remove PARAMS from the prototype.
5721 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5723 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5724 names. Just use the correct names. Remove unnecessary wrapper
5726 * malloc/arena.c: Likewise.
5727 * malloc/hooks.c: Likewise.
5729 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5730 ARENA_TEST says not to. Simplify test for creation of a new arena.
5731 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5733 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5735 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5737 (update_get_addr): New function.
5738 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5739 GET_ADDR_MODULE parameter.
5741 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5743 * crypt/cert.c: Remove __STDC__ conditionals.
5744 * crypt/crypt-entry.c: Likewise.
5745 * crypt/crypt_util.c: Likewise.
5746 * libio/filedoalloc.c: Likewise.
5747 * libio/fileops.c: Likewise.
5748 * libio/genops.c: Likewise.
5749 * libio/iofclose.c: Likewise.
5750 * libio/iofdopen.c: Likewise.
5751 * libio/iofopen.c: Likewise.
5752 * libio/iofopen64.c: Likewise.
5753 * libio/iogetdelim.c: Likewise.
5754 * libio/iopopen.c: Likewise.
5755 * libio/obprintf.c: Likewise.
5756 * libio/oldfileops.c: Likewise.
5757 * libio/oldiofclose.c: Likewise.
5758 * libio/oldiofdopen.c: Likewise.
5759 * libio/oldiofopen.c: Likewise.
5760 * libio/oldiopopen.c: Likewise.
5761 * libio/wfiledoalloc.c: Likewise.
5762 * libio/wgenops.c: Likewise.
5763 * locale/programs/xmalloc.c: Likewise.
5764 * misc/syslog.c: Likewise.
5765 * stdio-common/xbug.c: Likewise.
5766 * string/memchr.c: Likewise.
5767 * string/memcmp.c: Likewise.
5768 * string/memrchr.c: Likewise.
5769 * string/rawmemchr.c: Likewise.
5770 * sysdeps/posix/getcwd.c: Likewise.
5771 * time/strftime_l.c: Likewise.
5773 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5775 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5776 * config.make.in (config-cflags-sse2avx): Define.
5777 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5780 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5782 * scripts/config.guess: Update from upstream config git repository.
5783 * scripts/config.sub: Likewise.
5785 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5787 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5789 (R_TILEPRO_*, R_TILEGX_*): New macros.
5791 * scripts/firstversions.awk: Fix bug in version range handling.
5793 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5795 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5797 * include/sys/epoll.h: New file.
5798 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5801 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5803 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5804 Avoid unnecessary __WORDSIZE == 64 test.
5805 (fmaxf): Use VEX format if possible.
5810 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5811 * math/math_private.h: Remove libc_fegetround* and
5813 * sysdeps/i386/configure.in: Check for -msse2avx.
5814 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5815 also if SSE2AVX is defined.
5816 Remove libc_fegetround* and libc_fesetround*.
5817 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5818 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5827 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5829 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5831 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5833 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5835 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5838 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5840 * Makeconfig (libm): Define.
5841 * elf/Makefile: Add rules to build and run tst-relsort1.
5842 * elf/tst-relsort1.c: New file.
5843 * elf/tst-relsort1mod1.c: New file.
5844 * elf/tst-relsort1mod2.c: New file.
5846 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5848 * math/s_ldexp.c: Remove __STDC__ conditionals.
5849 * math/s_ldexpf.c: Likewise.
5850 * math/s_ldexpl.c: Likewise.
5851 * math/s_nextafter.c: Likewise.
5852 * math/s_nexttowardf.c: Likewise.
5853 * math/s_significand.c: Likewise.
5854 * math/s_significandf.c: Likewise.
5855 * math/s_significandl.c: Likewise.
5856 * math/w_jnl.c: Likewise.
5857 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5858 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5859 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5860 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5861 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5863 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5864 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5866 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5867 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5868 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5869 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5870 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5871 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5872 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5873 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5874 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5875 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5876 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5877 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5878 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5879 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5880 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5881 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5882 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5883 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5884 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5885 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5886 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5887 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5888 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5889 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5890 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5891 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5892 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5893 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5894 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5895 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5896 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5897 * sysdeps/ieee754/k_standard.c: Likewise.
5898 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5899 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5902 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5904 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5906 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5907 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5908 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5909 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5910 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5912 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5913 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5914 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5915 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5916 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5919 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5920 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5921 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5922 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5923 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5924 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5927 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5928 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5929 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5930 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5932 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5933 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5934 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5936 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5937 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5938 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5940 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5941 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5942 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5943 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5944 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5945 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5946 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5947 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5948 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5949 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5950 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5951 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5952 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5953 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5954 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5955 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5956 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5957 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5958 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5959 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5961 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5962 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5963 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5964 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5965 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5966 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5967 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5968 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5970 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5971 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5972 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5973 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5974 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5975 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5977 * sysdeps/ieee754/s_matherr.c: Likewise.
5978 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5979 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5980 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5981 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5983 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5985 * crypt/md5.h: Remove __STDC__ conditionals.
5986 * libio/libioP.h: Likewise.
5987 * locale/programs/config.h: Likewise.
5988 * sysdeps/generic/sysdep.h: Likewise.
5989 * sysdeps/i386/asm-syntax.h: Likewise.
5990 * sysdeps/s390/asm-syntax.h: Likewise.
5991 * sysdeps/unix/sysdep.h: Likewise.
5992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5995 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5997 * libio/libio.h: Remove __STDC__ conditionals.
5998 * malloc/obstack.h: Likewise.
5999 * math/complex.h: Likewise.
6000 * math/math.h: Likewise.
6001 * sysdeps/generic/_G_config.h: Likewise.
6002 * sysdeps/gnu/_G_config.h: Likewise.
6003 * sysdeps/mach/hurd/_G_config.h: Likewise.
6004 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6005 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6006 * sysdeps/sparc/bits/mathdef.h: Likewise.
6008 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6011 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6012 Clean up HAS_* macros.
6013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6014 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6016 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6018 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6019 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6020 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6021 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6022 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6024 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6026 * elf/tst-unique3.cc (gets): Remove declaration.
6027 * elf/tst-unique3lib.cc (gets): Likewise.
6028 * elf/tst-unique3lib2.cc (gets): Likewise.
6029 * elf/tst-unique4.cc (gets): Likewise.
6031 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6033 * include/stdio.h: Add C++ protection. Add gets declarations and
6035 * debug/tst-chk1.c: Don't declare gets here.
6036 * stdio-common/tst-gets.c: Likewise.
6038 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6040 * posix/glob: Remove directory.
6042 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6044 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6046 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6048 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6049 of the non-standard EPFNOSUPPORT.
6051 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6053 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6054 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6055 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6057 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6059 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6061 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6063 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6065 * nscd/grpcache.c (cache_addgr): Likewise.
6066 * nscd/hstcache.c (cache_addhst): Likewise.
6067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6068 * nscd/pwdcache.c (cache_addpw): Likewise.
6069 * nscd/servicescache.c (cache_addserv): Likewise.
6071 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6073 * malloc/malloc.c: Various cleanups.
6074 * malloc/hooks.c: Likewise.
6076 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6077 * stdlib/bug-fmtmsg1.c: New file.
6079 * stdlib/fmtmsg.c (init): Add missing unlock.
6080 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6082 2012-01-12 Marek Polacek <polacek@redhat.com>
6084 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6087 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6089 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6090 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6091 macro to ensure uniqueness of label name.
6092 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6093 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6095 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6097 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6099 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6100 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6101 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6104 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6106 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6108 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6109 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6110 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6112 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6114 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6115 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6116 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6119 * math/bits/math-finite.h: Add ldexp support.
6121 2012-01-10 Marek Polacek <polacek@redhat.com>
6123 * locale/programs/localedef.h (show_archive_content): Add noreturn
6126 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6128 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6130 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6132 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6134 * io/Makefile (headers): Add bits/poll2.h.
6136 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6139 typo #include statement.
6141 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6143 * include/sys/cdefs.h: Define __attribute_alloc_size.
6144 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6145 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6146 * elf/pldd.c: Likewise.
6147 * iconv/iconv_charmap.c: Likewise.
6148 * iconv/iconvconfig.c: Likewise.
6149 * iconv/strtab.c: Likewise.
6150 * locale/programs/locale.c: Likewise.
6151 * locale/programs/localedef.h: Likewise.
6152 * locale/programs/simple-hash.c: Likewise.
6153 * nscd/nscd.h: Likewise.
6154 * nss/makedb.c: Likewise.
6155 * sysdeps/generic/ldconfig.h: Likewise.
6156 * locale/programs/localedef.c: Remove xmalloc prototype.
6157 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6159 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6161 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6164 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6166 * math/Makefile (tests): Add tst-CMPLX.
6167 * math/tst-CMPLX.c: New file.
6169 * math/complex.h (CMPLXL): Fix typo.
6171 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6172 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6174 * debug/tst-chk1.c: Add poll and ppoll tests.
6175 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6176 * include/sys/poll.h: Add hidden proto for ppoll.
6177 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6178 * sysdeps/mach/hurd/ppoll.c: Likewise.
6179 * io/ppoll.c: Likewise.
6180 * debug/poll_chk.c: New file.
6181 * debug/ppoll_chk.c: New file.
6182 * include/bits/poll2.h: New file.
6183 * io/bits/poll2.h: New file.
6186 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6188 * configure.in: static is always set to yes. Remove.
6189 * config.make.in: Don't set build-static.
6190 * Makeconfig: Remove use of build-static.
6191 * dlfcn/Makefile: Likewise.
6192 * elf/Makefile: Likewise.
6193 * math/Makefile: Likewise.
6194 * misc/Makefile: Likewise.
6195 * nptl/Makefile: Likewise.
6196 * sysdeps/mach/hurd/Makefile: Likewise.
6198 * configure.in: PWD_P is not used anymore.
6199 * config.make.in: Remove PWD_P entry.
6201 * configure.in: Remove last remnants of RANLIB.
6202 No need to check for signed size_t anymore.
6203 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6205 Remove __builtin_expect test because we require at least gcc 3.4.
6206 * aclocal.m4: Likewise.
6208 * wcsmbs/mbrtoc16.c: Implement using towc function.
6209 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6210 * wcsmbs/wcsmbsload.c: Likewise.
6211 * iconv/gconv_simple.c: Likewise.
6212 * iconv/gconv_int.h: Likewise.
6213 * iconv/gconv_builtin.h: Likewise.
6214 * iconv/iconv_prog.c: Remove CHAR16 handling.
6216 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6218 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6220 * configure.in: Remove --with-elf and --enable-bounded options.
6221 Dont set base_machine for ia64. More non-ELF conditions removed.
6222 Remove testing and setting of leading underscore information.
6223 * config.make.in (build-bounded): Set to no.
6224 * config.h.in: Remove NO_UNDERSCORES entry.
6225 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6227 * csu/start.c: Remove !NO_UNDERSCORE code.
6228 * locale/localeinfo.h: Likewise.
6229 * sysdeps/generic/machine-gmon.h: Likewise.
6230 * sysdeps/generic/sysdep.h: Likewise.
6231 * sysdeps/i386/sysdep.h: Likewise.
6232 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6233 * sysdeps/mach/sysdep.h: Likewise.
6234 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6235 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6236 * sysdeps/sh/sysdep.h: Likewise.
6237 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6238 * sysdeps/unix/i386/sysdep.S: Likewise.
6239 * sysdeps/unix/sparc/start.c: Likewise.
6240 * sysdeps/unix/sparc/sysdep.S: Likewise.
6241 * sysdeps/unix/sparc/sysdep.h: Likewise.
6242 * sysdeps/unix/start.c: Likewise.
6243 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6244 * sysdeps/x86_64/sysdep.h: Likewise.
6246 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6249 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6251 * argp/argp-fmtstream.h: Use const instead __const.
6252 * argp/argp.h: Likewise.
6253 * assert/assert.h: Likewise.
6254 * bits/fenv.h: Likewise.
6255 * bits/sched.h: Likewise.
6256 * bits/sigset.h: Likewise.
6257 * bits/sigthread.h: Likewise.
6258 * catgets/nl_types.h: Likewise.
6259 * conform/data/pthread.h-data: Likewise.
6260 * crypt/crypt-private.h: Likewise.
6261 * crypt/crypt.h: Likewise.
6262 * crypt/crypt_util.c: Likewise.
6263 * ctype/ctype.h: Likewise.
6264 * debug/execinfo.h: Likewise.
6265 * debug/mbsnrtowcs_chk.c: Likewise.
6266 * debug/mbsrtowcs_chk.c: Likewise.
6267 * debug/wcsnrtombs_chk.c: Likewise.
6268 * debug/wcsrtombs_chk.c: Likewise.
6269 * debug/wcstombs_chk.c: Likewise.
6270 * dirent/dirent.h: Likewise.
6271 * dlfcn/dlfcn.h: Likewise.
6272 * elf/neededtest4.c: Likewise.
6273 * grp/grp.h: Likewise.
6274 * gshadow/gshadow.h: Likewise.
6275 * iconv/gconv.h: Likewise.
6276 * iconv/gconv_int.h: Likewise.
6277 * iconv/gconv_simple.c: Likewise.
6278 * iconv/iconv.h: Likewise.
6279 * iconv/loop.c: Likewise.
6280 * iconv/skeleton.c: Likewise.
6281 * include/aio.h: Likewise.
6282 * include/aliases.h: Likewise.
6283 * include/argz.h: Likewise.
6284 * include/arpa/inet.h: Likewise.
6285 * include/assert.h: Likewise.
6286 * include/dirent.h: Likewise.
6287 * include/dlfcn.h: Likewise.
6288 * include/execinfo.h: Likewise.
6289 * include/fcntl.h: Likewise.
6290 * include/fenv.h: Likewise.
6291 * include/glob.h: Likewise.
6292 * include/grp.h: Likewise.
6293 * include/libintl.h: Likewise.
6294 * include/mntent.h: Likewise.
6295 * include/netdb.h: Likewise.
6296 * include/pwd.h: Likewise.
6297 * include/rpc/netdb.h: Likewise.
6298 * include/sched.h: Likewise.
6299 * include/search.h: Likewise.
6300 * include/shadow.h: Likewise.
6301 * include/signal.h: Likewise.
6302 * include/stdio.h: Likewise.
6303 * include/stdlib.h: Likewise.
6304 * include/string.h: Likewise.
6305 * include/sys/socket.h: Likewise.
6306 * include/sys/stat.h: Likewise.
6307 * include/sys/statfs.h: Likewise.
6308 * include/sys/statvfs.h: Likewise.
6309 * include/sys/syslog.h: Likewise.
6310 * include/sys/time.h: Likewise.
6311 * include/sys/uio.h: Likewise.
6312 * include/time.h: Likewise.
6313 * include/unistd.h: Likewise.
6314 * include/utmp.h: Likewise.
6315 * include/wchar.h: Likewise.
6316 * include/wctype.h: Likewise.
6317 * inet/aliases.h: Likewise.
6318 * inet/arpa/inet.h: Likewise.
6319 * inet/netinet/ether.h: Likewise.
6320 * inet/netinet/in.h: Likewise.
6321 * intl/libintl.h: Likewise.
6322 * io/bits/fcntl2.h: Likewise.
6323 * io/fcntl.h: Likewise.
6324 * io/ftw.h: Likewise.
6325 * io/sys/poll.h: Likewise.
6326 * io/sys/stat.h: Likewise.
6327 * io/sys/statfs.h: Likewise.
6328 * io/sys/statvfs.h: Likewise.
6329 * io/utime.h: Likewise.
6330 * libio/bits/stdio.h: Likewise.
6331 * libio/bits/stdio2.h: Likewise.
6332 * libio/libio.h: Likewise.
6333 * libio/libioP.h: Likewise.
6334 * libio/stdio.h: Likewise.
6335 * locale/lc-ctype.c: Likewise.
6336 * locale/locale.h: Likewise.
6337 * login/utmp.h: Likewise.
6338 * malloc/arena.c: Likewise.
6339 * malloc/malloc.c: Likewise.
6340 * malloc/malloc.h: Likewise.
6341 * malloc/mcheck.c: Likewise.
6342 * malloc/mtrace.c: Likewise.
6343 * math/bits/mathcalls.h: Likewise.
6344 * math/fenv.h: Likewise.
6345 * math/math_private.h: Likewise.
6346 * misc/bits/error.h: Likewise.
6347 * misc/bits/syslog.h: Likewise.
6348 * misc/err.h: Likewise.
6349 * misc/error.h: Likewise.
6350 * misc/fstab.h: Likewise.
6351 * misc/mntent.h: Likewise.
6352 * misc/regexp.h: Likewise.
6353 * misc/search.h: Likewise.
6354 * misc/sgtty.h: Likewise.
6355 * misc/sys/mman.h: Likewise.
6356 * misc/sys/syslog.h: Likewise.
6357 * misc/sys/uio.h: Likewise.
6358 * misc/sys/xattr.h: Likewise.
6359 * misc/ttyent.h: Likewise.
6360 * nis/rpcsvc/ypclnt.h: Likewise.
6361 * nss/nss.h: Likewise.
6362 * posix/bits/unistd.h: Likewise.
6363 * posix/fnmatch.h: Likewise.
6364 * posix/glob.h: Likewise.
6365 * posix/sched.h: Likewise.
6366 * posix/spawn.h: Likewise.
6367 * posix/sys/wait.h: Likewise.
6368 * posix/unistd.h: Likewise.
6369 * posix/wordexp.h: Likewise.
6370 * pwd/pwd.h: Likewise.
6371 * resolv/netdb.h: Likewise.
6372 * resource/sys/resource.h: Likewise.
6373 * rt/aio.h: Likewise.
6374 * rt/bits/mqueue2.h: Likewise.
6375 * rt/mqueue.h: Likewise.
6376 * shadow/shadow.h: Likewise.
6377 * signal/signal.h: Likewise.
6378 * socket/send.c: Likewise.
6379 * socket/sendto.c: Likewise.
6380 * socket/sys/socket.h: Likewise.
6381 * stdio-common/printf.h: Likewise.
6382 * stdlib/bits/stdlib.h: Likewise.
6383 * stdlib/fmtmsg.h: Likewise.
6384 * stdlib/monetary.h: Likewise.
6385 * stdlib/stdlib.h: Likewise.
6386 * stdlib/ucontext.h: Likewise.
6387 * streams/stropts.h: Likewise.
6388 * string/argz.h: Likewise.
6389 * string/bits/string2.h: Likewise.
6390 * string/string.h: Likewise.
6391 * string/strings.h: Likewise.
6392 * sunrpc/rpc/auth.h: Likewise.
6393 * sunrpc/rpc/auth_des.h: Likewise.
6394 * sunrpc/rpc/clnt.h: Likewise.
6395 * sunrpc/rpc/netdb.h: Likewise.
6396 * sunrpc/rpc/pmap_clnt.h: Likewise.
6397 * sunrpc/rpc/xdr.h: Likewise.
6398 * sysdeps/generic/inttypes.h: Likewise.
6399 * sysdeps/generic/net/if.h: Likewise.
6400 * sysdeps/generic/sys/swap.h: Likewise.
6401 * sysdeps/gnu/net/if.h: Likewise.
6402 * sysdeps/gnu/utmpx.h: Likewise.
6403 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6404 * sysdeps/i386/i486/bits/string.h: Likewise.
6405 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6406 * sysdeps/s390/bits/string.h: Likewise.
6407 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6408 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6409 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6410 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6411 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6412 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6413 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6414 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6415 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6416 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6417 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6418 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6419 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6420 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6421 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6422 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6423 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6425 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6426 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6428 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6429 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6430 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6431 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6432 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6433 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6434 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6435 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6436 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6437 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6438 * sysvipc/sys/ipc.h: Likewise.
6439 * sysvipc/sys/msg.h: Likewise.
6440 * sysvipc/sys/sem.h: Likewise.
6441 * sysvipc/sys/shm.h: Likewise.
6442 * termios/termios.h: Likewise.
6443 * time/sys/time.h: Likewise.
6444 * time/time.h: Likewise.
6445 * wcsmbs/bits/wchar2.h: Likewise.
6446 * wcsmbs/uchar.h: Likewise.
6447 * wcsmbs/wchar.h: Likewise.
6448 * wctype/wctype.h: Likewise.
6451 * Makeconfig: Remove all but ELF support including AIX support.
6452 * Makerules: Likewise.
6453 * config.h.in: Likewise.
6454 * config.make.in: Likewise.
6455 * configure: Likewise.
6456 * configure.in: Likewise.
6457 * csu/Makefile: Likewise.
6458 * csu/version.c: Likewise.
6459 * debug/Makefile: Likewise.
6460 * dlfcn/Makefile: Likewise.
6461 * elf/Makefile: Likewise.
6462 * extra-lib.mk: Likewise.
6463 * iconv/Makefile: Likewise.
6464 * include/libc-symbols.h: Likewise.
6465 * include/shlib-compat.h: Likewise.
6466 * resolv/Makefile: Likewise.
6467 * resolv/res_libc.c: Likewise.
6468 * rt/Makefile: Likewise.
6469 * sysdeps/i386/asm-syntax.h: Likewise.
6470 * sysdeps/i386/sysdep.h: Likewise.
6471 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6472 * sysdeps/mach/sysdep.h: Likewise.
6473 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6474 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6475 * sysdeps/s390/asm-syntax.h: Likewise.
6476 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6477 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6478 * sysdeps/sh/sysdep.h: Likewise.
6479 * sysdeps/unix/sparc/sysdep.h: Likewise.
6480 * sysdeps/wordsize-32/divdi3.c: Likewise.
6481 * sysdeps/x86_64/sysdep.h: Likewise.
6483 * argp/Versions: Remove _argp_unlock_xxx.
6486 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6487 * abilist/libBrokenLocale.abilist: Likewise.
6488 * abilist/libanl.abilist: Likewise.
6489 * abilist/libc.abilist: Likewise.
6490 * abilist/libcrypt.abilist: Likewise.
6491 * abilist/libdl.abilist: Likewise.
6492 * abilist/libm.abilist: Likewise.
6493 * abilist/libnsl.abilist: Likewise.
6494 * abilist/libpthread.abilist: Likewise.
6495 * abilist/libresolv.abilist: Likewise.
6496 * abilist/librt.abilist: Likewise.
6497 * abilist/libthread_db.abilist: Likewise.
6498 * abilist/libutil.abilist: Likewise.
6499 * abilist/libnss_db.abilist: New file.
6501 * scripts/abilist.awk: Add support for indirect functions.
6503 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6505 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6507 * shlib-versions: Remove entries for ports architectures.
6509 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6511 * elf/stackguard-macros.h: Remove support for IA-64.
6512 * elf/tst-auditmod1.c: Likewise.
6513 * sysdeps/generic/ldsodefs.h: Likewise.
6515 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6516 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6520 * configure.in: Remove --enable-omitfp support.
6522 * config.make.in: Likewise.
6523 * Makeconfig: Likewise.
6524 * manual/install.texi: Likewise.
6526 In case anyone cares, the IA-64 architecture could move to ports.
6527 * sysdeps/ia64/*: Removed.
6528 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6529 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6532 * configure.in: Remove entries for unsupported architectures.
6535 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6536 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6538 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6539 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6540 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6541 fall back to using wcrtomb.
6542 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6543 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6545 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6546 * wcsmbs/tst-c16c32-1.c: New file.
6548 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6551 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6553 * elf/tst-unique3.cc: Add explicit declaration of gets.
6554 * elf/tst-unique3lib.cc: Likewise.
6555 * elf/tst-unique3lib2.cc: Likewise.
6556 * elf/tst-unique4.cc: Likewise.
6558 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6560 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6563 * assert/assert.h (static_assert): Don't define for C++.
6564 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6565 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6567 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6569 * iconv/loop.c (single loop): Fix assertion in storing of
6572 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6574 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6576 * posix/getconf.c: Update copyright year.
6577 * nss/getent.c: Likewise.
6578 * nss/makedb.c: Likewise.
6579 * iconv/iconvconfig.c: Likewise.
6580 * iconv/iconv_prog.c: Likewise.
6581 * elf/ldconfig.c: Likewise.
6582 * elf/pldd.c: Likewise.
6583 * elf/sotruss.ksh: Likewise.
6584 * catgets/gencat.c: Likewise.
6585 * csu/version.c: Likewise.
6586 * elf/ldd.bash.in: Likewise.
6587 * elf/sprof.c (print_version): Likewise.
6588 * locale/programs/locale.c: Likewise.
6589 * locale/programs/localedef.c: Likewise.
6590 * login/programs/pt_chown.c: Likewise.
6591 * nscd/nscd.c (print_version): Likewise.
6592 * debug/xtrace.sh: Likewise.
6593 * malloc/memusage.sh: Likewise.
6594 * malloc/mtrace.pl: Likewise.
6595 * debug/catchsegv.sh: Likewise.
6597 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6599 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6602 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6605 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6606 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6608 * iconv/gconv_int.h: Likewise.
6609 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6610 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6611 from libc for GLIBC_2.16.
6612 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6613 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6614 * wcsmbs/uchar.h: Really define mbstate_t.
6615 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6616 * wcsmbs/c16rtomb.c: New file.
6617 * wcsmbs/mbrtoc16.c: New file.
6618 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6620 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6621 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6623 * wcsmbs/wchar.h: Add missing __restrict.
6625 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6628 * time/Makefile (routines): Add timespec_get.
6629 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6630 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6631 timespec for ISO C11.
6632 * time/timespec_get.c: New file.
6633 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6634 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6637 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6638 * stdlib/stdlib.h: Declare aligned_alloc.
6639 * Versions.def: Add GLIBC_2.16 for libc.
6640 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6643 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6646 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6650 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6653 * assert/assert.h (static_assert): Define.
6655 * version.h: Update for 2.16 development version.
6658 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6661 * version.h (RELEASE): Bump for 2.15 release.
6662 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6664 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6665 Patch by Marek Polacek <mpolacek@redhat.com>.
6667 * bits/byteswap.h: Protect long long constants with __extension__.
6668 * sysdeps/i386/bits/byteswap.h: Likewise.
6669 * sysdeps/ia64/bits/byteswap.h: Likewise.
6670 * sysdeps/s390/bits/byteswap.h: Likewise.
6671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6673 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6678 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6680 2011-12-23 Marek Polacek <polacek@redhat.com>
6682 * elf/dl-addr.c (determine_info): Add inline keyword.
6683 * elf/tst-auditmod4b.c (check_avx): Likewise.
6684 * elf/tst-auditmod6b.c (check_avx): Likewise.
6685 * elf/tst-auditmod6c.c (check_avx): Likewise.
6686 * elf/tst-auditmod7b.c (check_avx): Likewise.
6688 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6690 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6693 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6696 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6697 processing for last bytes.
6699 2011-08-06 Bruno Haible <bruno@clisp.org>
6702 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6703 U+0385, not to U+1FEE.
6706 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6707 entry for U+00A5 U+0301.
6709 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6712 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6713 buffer for the output is too small.
6715 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6719 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6720 SSE flags if possible.
6722 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6725 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6726 processing for last bytes.
6728 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6730 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6731 (syscall-list-default-options, syscall-list-default-condition)
6732 (syscall-list-includes): Define.
6733 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6734 list of ABIs and options and #if conditions for each ABI. Do not
6735 handle common syscalls between ABIs specially.
6736 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6738 (syscall-list-variants, syscall-list-32bit-options)
6739 (syscall-list-32bit-condition, syscall-list-64bit-options)
6740 (syscall-list-64bit-condition): Define.
6741 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6742 (syscall-list-variants, syscall-list-32bit-options)
6743 (syscall-list-32bit-condition, syscall-list-64bit-options)
6744 (syscall-list-64bit-condition): Define.
6745 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
6752 (syscall-list-variants, syscall-list-32bit-options)
6753 (syscall-list-32bit-condition, syscall-list-64bit-options)
6754 (syscall-list-64bit-condition): Define.
6756 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6758 * locale/iso-639.def: Add brx entry.
6761 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6762 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6764 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6765 __feraiseexcept_renamed.
6767 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6770 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6771 EPOLLET with unsigned values.
6772 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6775 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6776 to large cancellation.
6777 * math/s_cacoshf.c: Likewise.
6778 * math/s_cacoshl.c: Likewise.
6780 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6784 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6785 * math/s_cacoshf.c: Likewise.
6786 * math/s_cacoshl.c: Likewise.
6788 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6791 * iconv/gconv.h: Define __GCONV_SWAP.
6792 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6793 * iconvdata/utf-16.c: Likewise.
6794 * iconvdata/utf-32.c: Likewise.
6796 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6799 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6800 numerator after shifting it by one limb.
6802 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6804 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6805 under [__USE_EXTERN_INLINES].
6807 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6810 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6812 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6814 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6815 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6817 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6818 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6819 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6820 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6821 for strncasecmp/strncasecmp_l compilation.
6822 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6823 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6825 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6828 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6831 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6834 * time/tzfile.c (__tzfile_read): Check values from file header.
6836 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6838 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6839 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6840 * powerpc/powerpc32/dl-start.S: Likewise.
6841 * powerpc/powerpc32/elf/start.S: Likewise.
6842 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6843 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6844 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6845 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6846 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6847 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6848 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6849 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6850 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6851 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6852 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6853 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6854 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6855 * powerpc/powerpc32/memset.S: Likewise.
6856 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6857 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6858 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6859 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6860 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6861 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6862 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6863 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6864 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6865 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6866 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6867 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6868 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6870 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872 * math/libm-test.inc: Added more nearbyint tests.
6873 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6874 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6875 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6876 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6878 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6880 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6883 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6885 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6886 Add wcscpy-ssse3 wcscpy-c.
6887 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6888 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6889 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6890 * sysdeps/x86_64/wcschr.S: New file.
6891 * sysdeps/x86_64/wcsrchr.S: New file.
6892 * string/test-strcmp.c: Remove checking of wcscmp function for
6894 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6895 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6896 wcsrchr-sse2 wcsrchr-c.
6897 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6898 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6899 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6900 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6901 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6902 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6903 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6904 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6905 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6906 * wcsmbc/wcschr.c (WCSCHR): New macro.
6908 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6910 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6911 * wcsmbs/test-wcsrchr.c: New file.
6912 * string/test-strrchr.c: Add wcsrchr support.
6914 * wcsmbs/test-wcscpy.c: New file.
6915 * string/test-strcpy.c: Add wcscpy support.
6918 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6923 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6926 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6928 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6930 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6931 Minor optimizations.
6933 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6934 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6935 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6937 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6939 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6940 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6941 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6942 for gcc to avoid warnings.
6943 * inet/Makefile (tests): Add tst-checks.
6944 * inet/tst-checks.c: New file.
6946 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6949 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6952 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6953 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6955 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6957 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6959 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6962 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6964 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6966 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6967 conditional on GCC version.
6968 (__arch_compare_and_exchange_val_8_acq)
6969 (__arch_compare_and_exchange_val_16_acq)
6970 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6971 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6972 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6974 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6976 * sysdeps/sh/backtrace.c: New file.
6978 2011-12-02 Andreas Schwab <schwab@redhat.com>
6980 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6983 2011-12-01 Andreas Schwab <schwab@redhat.com>
6985 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6986 falling back to utime.
6988 2011-11-30 Andreas Schwab <schwab@redhat.com>
6990 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6991 expectations for float.
6993 2011-11-29 Andreas Schwab <schwab@redhat.com>
6995 * locale/weight.h (findidx): Add parameter len.
6996 * locale/weightwc.h (findidx): Likewise.
6997 * posix/fnmatch_loop.c (FCT): Adjust caller.
6998 * posix/regcomp.c (build_equiv_class): Likewise.
6999 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7000 * posix/regexec.c (check_node_accept_bytes): Likewise.
7001 * string/strcoll_l.c (STRCOLL): Likewise.
7002 * string/strxfrm_l.c (STRXFRM): Likewise.
7004 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7006 * Makefile.in: Remove CVSOPT handling.
7007 * configure.in: Remove use of AC_REVISION.
7008 * iconvdata/Makefile (distribute): No need to filter out CVS.
7009 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7012 2011-11-16 Andreas Schwab <schwab@redhat.com>
7014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7015 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7016 [USE_AS_STRNCASECMP_L]: Likewise.
7017 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7018 NO_TLS_DIRECT_SEG_REFS.
7019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7020 Fix argument offsets for non-PIC.
7021 [USE_AS_STRNCASECMP_L]: Likewise.
7022 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7023 NO_TLS_DIRECT_SEG_REFS.
7025 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7027 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7029 * locale/loadlocale.c (_nl_load_locale): Likewise.
7031 2011-11-15 Andreas Schwab <schwab@redhat.com>
7033 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7034 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7035 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7036 (SYSCALL_GETTIME): Set errno on error.
7038 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7039 count references to noai6ai_cached.
7041 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7043 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7045 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7046 FD_CLOEXEC for /proc/self/maps.
7048 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7049 FD_CLOEXEC for /proc/meminfo.
7051 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7054 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7055 FD_CLOEXEC for given file.
7057 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7059 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7060 FD_CLOEXEC for /etc/hosts.
7061 (_gethtent): Likewise.
7063 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7065 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7066 cancellation and set FD_CLOEXEC for /etc/netgroup.
7068 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7069 reading /etc/publickey.
7071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7072 allow cancellation when reading /etc/group.
7074 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7076 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7078 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7079 when using data file.
7081 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7083 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7084 (write_nis_obj): Use "c" and "e" in fopen.
7086 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7088 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7090 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7092 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7094 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7097 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7099 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7101 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7103 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7104 file parsing and set FD_CLOEXEC.
7106 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7108 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7110 2011-11-14 Andreas Schwab <schwab@redhat.com>
7112 * malloc/arena.c (arena_get2): Don't call reused_arena when
7113 _int_new_arena failed.
7115 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7117 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7118 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7119 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7120 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7123 to compile strcasecmp and strncasecmp.
7124 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7125 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7129 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7131 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7132 locale-defines.sym to gen-as-const-headers.
7133 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7134 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7136 to compile strcasecmp and strncasecmp.
7137 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7138 strcasecmp_l and strncasecmp_l.
7139 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7140 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7141 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7142 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7143 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7144 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7145 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7146 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7147 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7148 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7149 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7151 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7153 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7154 result of SYSDEP_GETTIME_CPU to retval.
7155 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7156 parameter list to macro. Remove trailing semicolon. Adjust users.
7158 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7161 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7163 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7165 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7166 from unused variable.
7168 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7170 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7173 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7176 * sunrpc/rpc_prot.c (rejected): Fix case value.
7178 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7179 unsigned long long int to avoid warnings in shift.
7181 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7183 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7186 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7187 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7188 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7190 * nis/nis_table.c (nis_list): Use variable of correct type for
7191 result of __follow_path call.
7193 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7195 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7196 of math functions ceil, trunc, floor, round, and sqrt, when
7197 avaliable on the platform.
7198 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7200 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7201 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7202 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7204 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7206 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7209 2011-11-11 Roland McGrath <roland@hack.frob.com>
7211 * include/unistd.h: Fix __readlink return type.
7212 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7214 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7216 * stdlib/ucontext.h: Undo last change for makecontext.
7218 2011-11-11 Andreas Schwab <schwab@redhat.com>
7220 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7222 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7223 * setjmp/setjmp.h: Mark functions as non-leaf.
7224 * setjmp/bits/setjmp2.h: Likewise.
7225 * stdlib/ucontext.h: Likewise.
7227 2011-11-10 Andreas Schwab <schwab@redhat.com>
7229 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7230 (reused_arena): Don't check arena limit.
7231 (arena_get2): Atomically check arena limit.
7233 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7235 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7236 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7241 2011-11-07 Andreas Schwab <schwab@redhat.com>
7243 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7244 handler when locking.
7246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7247 Fix size of allocated buffer.
7249 2011-11-04 Andreas Schwab <schwab@redhat.com>
7252 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7253 declarations for long double functions.
7254 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7256 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7258 2011-11-03 Andreas Schwab <schwab@redhat.com>
7260 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7263 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7266 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7268 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7270 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7272 * include/alloca.h (stackinfo_alloca_round): Define.
7273 (extend_alloca): Use it.
7274 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7275 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7278 * scripts/check-local-headers.sh: Ignore libaudit.h.
7280 * nscd/Makefile (extra-objs): Make recursively expanded.
7282 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7284 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7287 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7288 * posix/tst-rfc3484-2.c: Likewise.
7289 * posix/tst-rfc3484-3.c: Likewise.
7291 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7293 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7295 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7296 process_vm_writev from libc using GLIBC_2.15 version.
7298 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7300 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7302 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7305 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7308 * nss/getent.c (initgroups_keys): Show error message in case no group
7311 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7312 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7313 __bump_nl_timestamp.
7314 * nscd/connections (nscd_init): When host database is served open
7315 netlink socket and request notification about configuration changes.
7316 (main_loop_poll): Track netlink file descriptor and bump timestamp
7317 in case data becomes available.
7318 (main_loop_epoll): Likewise.
7319 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7320 (database_pers_head): Add extra_data fileds.
7321 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7322 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7323 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7326 in6ai data, call __free_in6ai.
7327 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7329 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7330 interface information. Reuse previous data if netlink timestamp
7332 (__bump_nl_timestamp): New function.
7333 (__free_in6ai): New function.
7335 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7337 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7338 close_not_cancel_no_status here.
7339 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7341 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7344 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7347 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7348 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7349 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7351 2011-07-03 Andreas Jaeger <aj@suse.de>
7354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7355 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7356 * math/libm-test.inc (sin_test): Add test case.
7358 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7361 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7362 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7364 * elf/chroot_canon.c (chroot_canon): Cleanups.
7366 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7369 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7370 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7372 * string/test-strchr.c: Make usable for strchrnul testing.
7373 * string/test-strchrnul.c: New file.
7374 * string/Makefile (strop-tests): Add strchrnul.
7376 * po/it.po: Update from translation team.
7377 * po/es.po: Likewise.
7379 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7381 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7382 the three constants needed as parameters. Drop the others.
7383 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7384 __m128i_strloadu_tolower.
7385 Create and initialize variable zero and use it in all the places
7386 where _mm_setzero_si128 was used.
7388 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7389 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7390 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7391 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7393 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7394 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7395 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7396 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7397 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7398 __mpranred, __mptan.
7399 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7400 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7401 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7402 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7403 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7404 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7405 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7406 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7407 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7409 2011-10-28 Andreas Schwab <schwab@redhat.com>
7411 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7413 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7416 wide char related routines to wcsmbs subdir.
7418 2011-10-27 Andreas Schwab <schwab@redhat.com>
7421 * misc/sys/cdefs.h (__THROWNL): Define.
7422 * posix/unistd.h: Use __THREADNL instead of __THREAD
7423 for memory synchronization functions.
7425 2011-10-26 Roland McGrath <roland@hack.frob.com>
7428 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7430 * manual/stdio.texi (Obstack Streams): Node removed.
7432 2011-10-26 Andreas Schwab <schwab@redhat.com>
7434 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7435 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7436 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7438 * math/math_private.h (math_force_eval): Allow non-addressable
7440 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7442 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7444 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7447 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7448 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7449 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7450 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7451 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7452 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7453 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7454 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7456 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7457 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7458 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7459 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7460 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7461 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7462 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7463 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7464 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7465 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7466 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7467 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7468 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7469 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7470 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7471 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7472 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7473 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7474 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7476 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7477 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7480 place. Use VEX encoding when compiling for AVX.
7482 2011-10-25 Andreas Schwab <schwab@redhat.com>
7484 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7485 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7487 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7489 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7491 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7492 useless if() expression.
7493 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7494 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7495 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7497 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7498 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7499 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7500 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7502 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7504 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7506 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7507 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7508 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7509 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7510 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7511 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7513 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7515 2011-10-25 Andreas Schwab <schwab@redhat.com>
7517 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7519 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7521 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7523 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7524 .text section. Avoid duplicate constants.
7525 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7527 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7529 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7533 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7534 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7535 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7536 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7537 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7540 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7542 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7548 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7549 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7550 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7551 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7552 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7553 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7554 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7555 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7556 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7557 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7558 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7559 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7560 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7561 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7563 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7564 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7565 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7566 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7567 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7571 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7573 * sysdeps/x86_64/dla.h: Move to ...
7574 * sysdeps/x86_64/fpu/dla.h: ...here.
7575 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7576 situations. Use __builtin_fma only for gcc 4.6 and up.
7578 * config.make.in: Add have-mfma4 entry.
7579 * configure.in: Substitute libc_cv_cc_fma4.
7580 * math/Makefile (dbl-only-routines): Add sincostab.
7581 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7582 Use __sincostab not sincos.
7583 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7585 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7590 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7591 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7592 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7593 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7595 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7596 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7598 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7599 define aliases when function name is a macro.
7600 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7601 sysdeps/ieee754/dbl-64/sincos.tbl.
7602 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7603 fma4-enabled routines.
7604 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7605 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7606 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7607 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7608 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7609 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7610 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7611 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7612 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7613 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7614 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7615 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7616 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7617 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7618 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7619 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7620 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7621 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7622 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7623 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7624 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7625 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7627 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7628 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7629 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7630 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7631 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7633 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7635 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7637 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7639 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7640 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7643 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7646 2011-10-24 Andreas Schwab <schwab@redhat.com>
7648 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7650 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7654 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7656 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7658 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7659 Remove unused variable magic_bits.
7660 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7662 * string/strnlen.c: Define and use STRNLEN macro.
7663 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7664 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7666 * wcsmbs/wcslen.c: Define and use WCSLEN.
7667 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7668 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7669 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7670 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7671 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7672 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7673 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7675 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7678 strnlen-sse2-no-bsf.
7679 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7681 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7682 Add strnlen support.
7683 (USE_AS_STRNLEN): New macro.
7684 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7685 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7686 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7687 * sysdeps/x86_64/wcslen.S: New file.
7689 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7691 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7692 XMM-moves are used for copying on small sizes.
7694 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7696 * wcsmbs/Makefile (strop-tests): Add wcschr.
7697 * wcsmbs/test-wcschr.c: New file.
7698 * string/test-strchr.c: Update.
7702 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7704 * wcsmbs/Makefile (strop-tests): Add wcslen.
7705 * wcsmbs/test-wcslen.c: New file.
7706 * string/test-strlen.c: Update.
7710 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7712 * po/it.po: Update from translation team.
7714 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7716 * sysdeps/x86_64/wcscmp.S: Update.
7717 Fix wrong comparison semantics.
7718 wcscmp shall use signed comparison not unsigned.
7719 Don't use substraction to avoid overflow bug.
7720 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7721 * wcsmbc/wcscmp.c: Likewise.
7722 * string/test-strcmp.c: Likewise.
7723 Add new tests to check cases with negative values.
7725 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7727 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7728 * sysdeps/x86_64/dla.h: ...here. New file.
7729 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7734 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7739 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7742 __ynl_finite aliases.
7744 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7748 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7750 [DLA_FMA] (EMULV): Use DLA_FMA.
7751 [DLA_FMA] (MUL12): Use EMULV.
7752 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7753 that are not needed.
7754 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7762 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7764 * math/s_nan.c: Undef __nan.
7765 * math/s_nanf.c: Undef __nanf.
7766 * math/s_nanl.c: Undef __nanl.
7767 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7770 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7772 * math/s_catan.c: Add branch predictions.
7773 * math/s_catanf.c: Likewise.
7774 * math/s_catanh.c: Likewise.
7775 * math/s_catanhf.c: Likewise.
7776 * math/s_catanhl.c: Likewise.
7777 * math/s_catanl.c: Likewise.
7778 * math/s_cexp.c: Likewise.
7779 * math/s_cexpf.c: Likewise.
7780 * math/s_cexpl.c: Likewise.
7781 * math/s_clog.c: Likewise.
7782 * math/s_clog10.c: Likewise.
7783 * math/s_clog10f.c: Likewise.
7784 * math/s_clog10l.c: Likewise.
7785 * math/s_clogf.c: Likewise.
7786 * math/s_clogl.c: Likewise.
7787 * math/s_csqrt.c: Likewise.
7788 * math/s_csqrtf.c: Likewise.
7789 * math/s_csqrtl.c: Likewise.
7790 * math/s_ctanf.c: Likewise.
7791 * math/s_ctanh.c: Likewise.
7792 * math/s_ctanhf.c: Likewise.
7793 * math/s_ctanhl.c: Likewise.
7794 * math/s_ctanl.c: Likewise.
7796 * math/math_private.h: Define __nan, __nanf, __nanl.
7797 * math/s_cacosh.c: Include <math_private.h>.
7798 * math/s_cacoshl.c: Likewise.
7799 * math/s_casinh.c: Likewise.
7800 * math/s_casinhf.c: Likewise.
7801 * math/s_casinhl.c: Likewise.
7802 * math/s_ccos.c: Rely entire on ccosh.
7803 * math/s_ccosf.c: Rely entire on ccoshf.
7804 * math/s_ccosl.c: Rely entirely on ccoshl.
7805 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7806 Remove tests for FE_INVALID.
7807 * math/s_ccoshf.c: Likewise.
7808 * math/s_ccoshl.c: Likewise.
7809 * math/s_csin.c: Likewise.
7810 * math/s_csinf.c: Likewise.
7811 * math/s_csinh.c Likewise.
7812 * math/s_csinhf.c: Likewise.
7813 * math/s_csinhl.c: Likewise.
7814 * math/s_csinl.c: Likewise.
7815 * math/s_ctan.c: Likewise.
7816 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7817 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7818 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7820 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7823 compilation problems.
7825 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7828 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7830 * sysdeps/i386/configure.in: Test for -mfma4 option.
7831 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7832 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7833 COMMON_CPUID_INDEX_80000001.
7834 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7835 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7836 use it if FMA3 is not supported.
7837 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7839 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7840 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7842 2011-10-20 Andreas Schwab <schwab@redhat.com>
7845 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7846 it would create a cycle with a link time dependency.
7848 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7850 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7852 * string/Makefile (strop-tests): Add rawmemchr.
7853 * string/test-rawmemchr.c: New file.
7855 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7856 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7857 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7858 when compiling str{,n}casecmp and when AVX is available. Hook up
7859 new optimized code in initializers.
7861 2011-10-19 Andreas Schwab <schwab@redhat.com>
7863 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7864 __feraiseexcept instead of feraiseexcept.
7866 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7868 * math/math_private.h: Define defaults for libc_fetestexcept and
7870 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7871 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7872 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7873 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7874 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7875 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7876 libc_fetestexcept and libc_feupdateenv.
7878 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7879 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7880 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7881 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7882 libc_feholdexcept_setround.
7884 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7885 Add s_nearbyint-c and s_nearbyintf-c.
7886 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7888 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7889 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7890 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7891 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7893 * math/math_private.h: Define defaults for libc_fegetround,
7894 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7895 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7896 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7897 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7898 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7900 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7901 Remove comments and hacks for old compiler versions.
7902 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7903 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7906 2011-10-18 Andreas Schwab <schwab@redhat.com>
7908 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7909 (__feraiseexcept_renamed): Add __NTH.
7910 (feraiseexcept): Add __NTH. Rename local variables to fix
7911 namespace violations.
7913 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7915 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7917 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7919 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7920 recently added interfaces.
7921 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7923 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7924 about macro parameter expansion.
7926 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7927 __NO_MATH_INLINES is defined. Cleanups.
7929 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7930 and __floorf is target has SSE4.1.
7931 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7932 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7933 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7934 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7936 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7940 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7942 2011-10-17 Andreas Schwab <schwab@redhat.com>
7944 * misc/sys/cdefs.h: Fix last change.
7946 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7949 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7951 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7953 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7955 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7956 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7957 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7959 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7960 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7961 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7962 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7963 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7964 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7965 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7966 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7967 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7968 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7969 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7970 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7971 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7972 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7973 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7974 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7976 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7977 ceil, ceilf, floor, floorf.
7979 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7980 Perform IRELATIVE relocations last.
7982 * elf/do-rel.h: Add another parameter nrelative, replacing the
7983 local variable with the same name. Change name of the function
7984 to end in Rel or Rela (uppercase).
7985 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7986 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7987 elf_dynamic_do_##reloc function.
7989 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7991 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7992 is sufficient, at least on modern CPUs.
7994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7996 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7997 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7999 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8001 * math/bits/math-finite.h: Add entries for exp.
8002 * math/e_expl.c: Add __*_finite alias.
8003 * sysdeps/i386/fpu/e_exp.S: Likewise.
8004 * sysdeps/i386/fpu/e_expf.S: Likewise.
8005 * sysdeps/i386/fpu/e_expl.c: Likewise.
8006 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8007 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8008 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8010 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8011 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8012 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8014 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8015 is sufficient, at least on modern CPUs.
8017 * ctype/ctype-info.c (__ctype_init): Define.
8018 * include/ctype.h (__ctype_init): Declare.
8019 (__ctype_b_loc): The variable is always initialized.
8020 (__ctype_toupper_loc): Likewise.
8021 (__ctype_tolower_loc): Likewise.
8022 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8023 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8025 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8027 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8029 * configure.in: Also look in $cxxmachine/include for C++ system
8032 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8034 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8035 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8036 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8037 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8038 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8039 (USE_AS_WMEMCMP): New macro.
8041 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8042 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8043 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8044 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8045 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8046 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8047 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8048 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8049 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8050 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8051 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8052 (USE_AS_WMEMCMP): New macro.
8053 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8054 * sysdeps/string/test-memcmp.c: Update.
8057 * wcsmbs/wmemcmp.c: Update.
8058 (WMEMCMP): New macro.
8061 2011-10-12 Andreas Jaeger <aj@suse.de>
8064 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8066 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8068 * libio/iofwide.c (do_length): Avoid warning.
8070 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8072 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8074 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8076 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8077 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8078 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8079 * sysdeps/i386/i686/fpu/e_log.S: New file.
8080 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8081 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8083 * ctype/ctype.h: Add support for inlined isXXX functions when
8086 2011-10-14 Andreas Schwab <schwab@redhat.com>
8088 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8090 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8092 2011-10-13 Roland McGrath <roland@hack.frob.com>
8095 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8097 2011-10-13 Andreas Schwab <schwab@redhat.com>
8099 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8100 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8103 * sysdeps/x86_64/memrchr.S: Check for zero size.
8105 * string/stratcliff.c: Add memrchr tests.
8107 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8110 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8111 rawmemchr-sse2 rawmemchr-sse2-bsf.
8112 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8113 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8114 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8115 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8116 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8117 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8118 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8119 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8120 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8121 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8122 * string/memrchr.c (MEMRCHR): New macro.
8124 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8126 Add integration with gcc's -ffinite-math-only and optimize wrapper
8128 * Versions.def: Define GLIBC_2.15 version for libm.
8129 * math/Makefile (headers): Add bits/math-finite.h.
8130 * math/bits/math-finite.h: New file.
8131 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8132 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8133 * math/e_acoshl.c: Add __*_finite alias.
8134 * math/e_acosl.c: Likewise.
8135 * math/e_asinl.c: Likewise.
8136 * math/e_atan2l.c: Likewise.
8137 * math/e_atanhl.c: Likewise.
8138 * math/e_coshl.c: Likewise.
8139 * math/e_exp10.c: Likewise.
8140 * math/e_exp10f.c: Likewise.
8141 * math/e_exp10l.c: Likewise.
8142 * math/e_exp2l.c: Likewise.
8143 * math/e_fmodl.c: Likewise.
8144 * math/e_gammal_r.c: Likewise.
8145 * math/e_hypotl.c: Likewise.
8146 * math/e_j0l.c: Likewise.
8147 * math/e_j1l.c: Likewise.
8148 * math/e_jnl.c: Likewise.
8149 * math/e_lgammal_r.c: Likewise.
8150 * math/e_log10l.c: Likewise.
8151 * math/e_log2l.c: Likewise.
8152 * math/e_logl.c: Likewise.
8153 * math/e_powl.c: Likewise.
8154 * math/e_sinhl.c: Likewise.
8155 * math/e_sqrtl.c: Likewise.
8156 * math/e_scalb.c: Completely rewritten and optimized.
8157 * math/e_scalbf.c: Likewise.
8158 * math/e_scalbl.c: Likewise.
8159 * math/w_acos.c: Likewise.
8160 * math/w_acosf.c: Likewise.
8161 * math/w_acosl.c: Likewise.
8162 * math/w_acosh.c: Likewise.
8163 * math/w_acoshf.c: Likewise.
8164 * math/w_acoshl.c: Likewise.
8165 * math/w_asin.c: Likewise.
8166 * math/w_asinf.c: Likewise.
8167 * math/w_asinl.c: Likewise.
8168 * math/w_atan2.c: Likewise.
8169 * math/w_atan2f.c: Likewise.
8170 * math/w_atan2l.c: Likewise.
8171 * math/w_atanh.c: Likewise.
8172 * math/w_atanhf.c: Likewise.
8173 * math/w_atanhl.c: Likewise.
8174 * math/w_exp10.c: Likewise.
8175 * math/w_exp10f.c: Likewise.
8176 * math/w_exp10l.c: Likewise.
8177 * math/w_fmod.c: Likewise.
8178 * math/w_fmodf.c: Likewise.
8179 * math/w_fmodl.c: Likewise.
8180 * math/w_j0.c: Likewise.
8181 * math/w_j0f.c: Likewise.
8182 * math/w_j0l.c: Likewise.
8183 * math/w_j1.c: Likewise.
8184 * math/w_j1f.c: Likewise.
8185 * math/w_j1l.c: Likewise.
8186 * math/w_jn.c: Likewise.
8187 * math/w_jnf.c: Likewise.
8188 * math/w_log.c: Likewise.
8189 * math/w_logf.c: Likewise.
8190 * math/w_logl.c: Likewise.
8191 * math/w_log10.c: Likewise.
8192 * math/w_log10f.c: Likewise.
8193 * math/w_log10l.c: Likewise.
8194 * math/w_log2.c: Likewise.
8195 * math/w_log2f.c: Likewise.
8196 * math/w_log2l.c: Likewise.
8197 * math/w_pow.c: Likewise.
8198 * math/w_powf.c: Likewise.
8199 * math/w_powl.c: Likewise.
8200 * math/w_remainder.c: Likewise.
8201 * math/w_remainderf.c: Likewise.
8202 * math/w_remainderl.c: Likewise.
8203 * math/w_scalb.c: Likewise.
8204 * math/w_scalbf.c: Likewise.
8205 * math/w_scalbl.c: Likewise.
8206 * math/w_sqrt.c: Likewise.
8207 * math/w_sqrtf.c: Likewise.
8208 * math/w_sqrtl.c: Likewise.
8209 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8210 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8212 * math/math_private.h: Declare __kernel_standard_f.
8213 * math/w_cosh.c: Remove cruft and optimize a bit.
8214 * math/w_coshf.c: Likewise.
8215 * math/w_coshl.c: Likewise.
8216 * math/w_exp2.c: Likewise.
8217 * math/w_exp2f.c: Likewise.
8218 * math/w_exp2l.c: Likewise.
8219 * math/w_hypot.c: Likewise.
8220 * math/w_hypotf.c: Likewise.
8221 * math/w_hypotl.c: Likewise.
8222 * math/w_lgamma.c: Likewise.
8223 * math/w_lgamma_r.c: Likewise.
8224 * math/w_lgammaf.c: Likewise.
8225 * math/w_lgammaf_r.c: Likewise.
8226 * math/w_lgammal.c: Likewise.
8227 * math/w_lgammal_r.c: Likewise.
8228 * math/w_sinh.c: Likewise.
8229 * math/w_sinhf.c: Likewise.
8230 * math/w_sinhl.c: Likewise.
8231 * math/w_tgamma.c: Likewise.
8232 * math/w_tgammaf.c: Likewise.
8233 * math/w_tgammal.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8235 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8236 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8237 Minor optimizations. Pretty printing. Remove cruft.
8238 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8239 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8240 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8241 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8242 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8243 * sysdeps/i386/fpu/e_asin.S: Likewise.
8244 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8245 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8246 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8247 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8248 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8250 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8251 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8252 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8253 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8254 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8255 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8256 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8257 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8258 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8259 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8260 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8261 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8262 * sysdeps/i386/fpu/e_log.S: Likewise.
8263 * sysdeps/i386/fpu/e_log10.S: Likewise.
8264 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8265 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8266 * sysdeps/i386/fpu/e_log2.S: Likewise.
8267 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8268 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8269 * sysdeps/i386/fpu/e_logf.S: Likewise.
8270 * sysdeps/i386/fpu/e_logl.S: Likewise.
8271 * sysdeps/i386/fpu/e_pow.S: Likewise.
8272 * sysdeps/i386/fpu/e_powf.S: Likewise.
8273 * sysdeps/i386/fpu/e_powl.S: Likewise.
8274 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8275 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8276 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8277 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8278 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8280 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8281 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8282 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8304 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8307 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8308 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8309 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8310 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8311 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8312 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8313 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8314 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8315 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8316 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8317 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8318 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8319 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8320 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8321 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8322 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8323 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8324 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8374 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8375 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8376 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8377 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8378 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8379 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8380 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8381 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8382 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8383 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8384 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8385 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8386 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8387 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8389 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8390 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8391 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8392 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8393 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8394 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8395 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8396 (__isnanf): Likewise.
8397 (__isinf_ns): Likewise.
8398 (__isinf_nsf): Likewise.
8399 (__finite): Likewise.
8400 (__finitef): Likewise.
8401 (__ieee754_sqrt): Define as macro.
8402 (__ieee754_sqrtf): Define as macro.
8403 (__ieee754_sqrtl): Define as macro.
8404 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8406 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8407 __FINITE_MATH_ONLY__ consistent.
8408 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8410 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8412 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8415 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8417 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8419 * po/ja.po: Update from translation team.
8421 2011-10-08 Roland McGrath <roland@hack.frob.com>
8423 * locale/programs/locarchive.c (prepare_address_space): New function.
8424 (create_archive, enlarge_archive, open_archive): Use it.
8426 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8427 inside [SHARED], where it is used.
8429 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8431 * nss/getent.c (netgroup_keys): Remove unused variable.
8432 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8434 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8436 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8437 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8439 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8440 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8441 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8442 * math/Makefile (libm-calls): Add s_isinf_ns.
8443 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8444 * math/multc3.c: Likewise.
8445 * math/s_casin.c: Likewise.
8446 * math/s_casinf.c: Likewise.
8447 * math/s_casinl.c: Likewise.
8448 * math/s_ccos.c: Likewise.
8449 * math/s_ccosf.c: Likewise.
8450 * math/s_ccosl.c: Likewise.
8451 * math/s_ctan.c: Likewise.
8452 * math/s_ctanf.c: Likewise.
8453 * math/s_ctanh.c: Likewise.
8454 * math/s_ctanhf.c: Likewise.
8455 * math/s_ctanhl.c: Likewise.
8456 * math/s_ctanl.c: Likewise.
8457 * math/w_fmod.c: Likewise.
8458 * math/w_fmodf.c: Likewise.
8459 * math/w_fmodl.c: Likewise.
8460 * math/w_remainder.c: Likewise.
8461 * math/w_remainderf.c: Likewise.
8462 * math/w_remainderl.c: Likewise.
8463 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8464 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8465 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8467 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8468 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8469 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8470 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8472 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8474 * stdio-common/printf_fphex.c: Likewise.
8475 * stdio-common/printf_size.c: Likewise.
8477 * math/e_exp10.c: Include math_private.h using <...> not "...".
8478 * math/e_exp10f.c: Likewise.
8479 * math/e_exp10l.c: Likewise.
8480 * math/e_exp2l.c: Likewise.
8481 * math/e_j0l.c: Likewise.
8482 * math/e_j1l.c: Likewise.
8483 * math/e_jnl.c: Likewise.
8484 * math/e_lgammal_r.c: Likewise.
8485 * math/e_rem_pio2l.c: Likewise.
8486 * math/e_scalb.c: Likewise.
8487 * math/e_scalbf.c: Likewise.
8488 * math/e_scalbl.c: Likewise.
8489 * math/k_cosl.c: Likewise.
8490 * math/k_sinl.c: Likewise.
8491 * math/k_tanl.c: Likewise.
8492 * math/s_cacoshf.c: Likewise.
8493 * math/s_catan.c: Likewise.
8494 * math/s_catanf.c: Likewise.
8495 * math/s_catanh.c: Likewise.
8496 * math/s_catanhf.c: Likewise.
8497 * math/s_catanhl.c: Likewise.
8498 * math/s_catanl.c: Likewise.
8499 * math/s_ccosh.c: Likewise.
8500 * math/s_ccoshf.c: Likewise.
8501 * math/s_ccoshl.c: Likewise.
8502 * math/s_cexp.c: Likewise.
8503 * math/s_cexpf.c: Likewise.
8504 * math/s_cexpl.c: Likewise.
8505 * math/s_clog.c: Likewise.
8506 * math/s_clog10.c: Likewise.
8507 * math/s_clog10f.c: Likewise.
8508 * math/s_clog10l.c: Likewise.
8509 * math/s_clogf.c: Likewise.
8510 * math/s_clogl.c: Likewise.
8511 * math/s_csin.c: Likewise.
8512 * math/s_csinf.c: Likewise.
8513 * math/s_csinh.c: Likewise.
8514 * math/s_csinhf.c: Likewise.
8515 * math/s_csinhl.c: Likewise.
8516 * math/s_csinl.c: Likewise.
8517 * math/s_csqrt.c: Likewise.
8518 * math/s_csqrtf.c: Likewise.
8519 * math/s_csqrtl.c: Likewise.
8520 * math/s_ctan.c: Likewise.
8521 * math/s_ctanf.c: Likewise.
8522 * math/s_ctanh.c: Likewise.
8523 * math/s_ctanhf.c: Likewise.
8524 * math/s_ctanhl.c: Likewise.
8525 * math/s_ctanl.c: Likewise.
8526 * math/s_ldexp.c: Likewise.
8527 * math/s_ldexpf.c: Likewise.
8528 * math/s_ldexpl.c: Likewise.
8529 * math/s_significand.c: Likewise.
8530 * math/s_significandf.c: Likewise.
8531 * math/s_significandl.c: Likewise.
8532 * math/w_acos.c: Likewise.
8533 * math/w_acosf.c: Likewise.
8534 * math/w_acosh.c: Likewise.
8535 * math/w_acoshf.c: Likewise.
8536 * math/w_acoshl.c: Likewise.
8537 * math/w_acosl.c: Likewise.
8538 * math/w_asin.c: Likewise.
8539 * math/w_asinf.c: Likewise.
8540 * math/w_asinl.c: Likewise.
8541 * math/w_atan2.c: Likewise.
8542 * math/w_atan2f.c: Likewise.
8543 * math/w_atan2l.c: Likewise.
8544 * math/w_atanh.c: Likewise.
8545 * math/w_atanhf.c: Likewise.
8546 * math/w_atanhl.c: Likewise.
8547 * math/w_cosh.c: Likewise.
8548 * math/w_coshf.c: Likewise.
8549 * math/w_coshl.c: Likewise.
8550 * math/w_dremf.c: Likewise.
8551 * math/w_exp10.c: Likewise.
8552 * math/w_exp10f.c: Likewise.
8553 * math/w_exp10l.c: Likewise.
8554 * math/w_exp2.c: Likewise.
8555 * math/w_exp2f.c: Likewise.
8556 * math/w_fmod.c: Likewise.
8557 * math/w_fmodf.c: Likewise.
8558 * math/w_fmodl.c: Likewise.
8559 * math/w_hypot.c: Likewise.
8560 * math/w_hypotf.c: Likewise.
8561 * math/w_hypotl.c: Likewise.
8562 * math/w_j0.c: Likewise.
8563 * math/w_j0f.c: Likewise.
8564 * math/w_j0l.c: Likewise.
8565 * math/w_j1.c: Likewise.
8566 * math/w_j1f.c: Likewise.
8567 * math/w_j1l.c: Likewise.
8568 * math/w_jn.c: Likewise.
8569 * math/w_jnf.c: Likewise.
8570 * math/w_jnl.c: Likewise.
8571 * math/w_lgamma.c: Likewise.
8572 * math/w_lgamma_r.c: Likewise.
8573 * math/w_lgammaf.c: Likewise.
8574 * math/w_lgammaf_r.c: Likewise.
8575 * math/w_lgammal.c: Likewise.
8576 * math/w_lgammal_r.c: Likewise.
8577 * math/w_log.c: Likewise.
8578 * math/w_log10.c: Likewise.
8579 * math/w_log10f.c: Likewise.
8580 * math/w_log10l.c: Likewise.
8581 * math/w_log2.c: Likewise.
8582 * math/w_log2f.c: Likewise.
8583 * math/w_log2l.c: Likewise.
8584 * math/w_logf.c: Likewise.
8585 * math/w_logl.c: Likewise.
8586 * math/w_pow.c: Likewise.
8587 * math/w_powf.c: Likewise.
8588 * math/w_powl.c: Likewise.
8589 * math/w_remainder.c: Likewise.
8590 * math/w_remainderf.c: Likewise.
8591 * math/w_remainderl.c: Likewise.
8592 * math/w_scalb.c: Likewise.
8593 * math/w_scalbf.c: Likewise.
8594 * math/w_scalbl.c: Likewise.
8595 * math/w_sinh.c: Likewise.
8596 * math/w_sinhf.c: Likewise.
8597 * math/w_sinhl.c: Likewise.
8598 * math/w_sqrt.c: Likewise.
8599 * math/w_sqrtf.c: Likewise.
8600 * math/w_sqrtl.c: Likewise.
8601 * math/w_tgamma.c: Likewise.
8602 * math/w_tgammaf.c: Likewise.
8603 * math/w_tgammal.c: Likewise.
8605 * po/ja.po: Update from translation team.
8607 2011-09-29 Andreas Jaeger <aj@suse.de>
8610 * sunrpc/netname.c (netname2host): Fix logic.
8614 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8616 * math/w_remainder.c (__remainder): Likewise.
8617 * math/w_remainderf.c (__remainderf): Likewise.
8618 * math/libm-test.inc (remainder_test): Add test cases.
8620 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8622 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8625 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8627 * string/test-memcmp.c: Avoid unncessary #defines.
8628 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8630 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8632 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8633 Use new sse2 version for core i3 - i7 as it's faster
8635 (bit_Prefer_PMINUB_for_stringop): New.
8636 * sysdeps/x86_64/rawmemchr.S: Update.
8637 Replace with faster SSE2 version.
8638 * sysdeps/x86_64/memrchr.S: New file.
8639 * sysdeps/x86_64/memchr.S: Update.
8640 Replace with faster SSE2 version.
8642 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8644 * elf/dl-load.c (lose): Add cast to avoid warning.
8646 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8648 * po/ca.po: Update from translation team.
8650 * inet/getnetgrent_r.c: Hook up nscd.
8651 * nscd/Makefile (routines): Add nscd_netgroup.
8652 (nscd-modules): Add netgroupcache.
8653 (CFLAGS-netgroupcache.c): Define.
8654 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8655 (cache_search): Add const to second parameter.
8656 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8658 (dbs): Add netgrdb entry.
8659 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8660 (verify_persistent_db): Handle netgrdb.
8661 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8662 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8664 (netgroup_response_header): Define.
8665 (innetgroup_response_header): Define.
8666 (datahead): Add netgroup_response_header and innetgroup_response_header
8668 * nscd/nscd.conf: Add entries for netgroup cache.
8669 * nscd/nscd.h (dbtype): Add netgrdb.
8670 (_PATH_NSCD_NETGROUP_DB): Define.
8671 (netgroup_iov_disabled): Declare.
8672 (xmalloc, xcalloc, xrealloc): Move declarations here.
8673 (cache_search): Adjust prototype.
8674 Add netgroup-related prototypes.
8675 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8676 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8677 (__nscd_innetgr): Declare.
8678 * nscd/selinux.c (perms): Use access_vector_t as element type and
8679 add netgroup-related initializers.
8680 * nscd/netgroupcache.c: New file.
8681 * nscd/nscd_netgroup.c: New file.
8682 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8683 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8684 For four parameters use innetgr.
8685 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8686 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8687 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8688 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8690 * nscd/connections.c (register_traced_file): Don't register file
8691 for disabled databases.
8693 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8695 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8697 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8698 from tree and freeing node.
8700 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8702 * nss/nsswitch.c (__nss_database_lookup): Handle
8703 nss_parse_service_list out of memory case.
8705 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8707 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8710 2011-10-04 Andreas Schwab <schwab@redhat.com>
8712 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8713 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8715 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8716 elf_machine_rela, elf_machine_lazy_rel.
8717 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8718 (ELF_DYNAMIC_DO_REL): Likewise.
8719 (ELF_DYNAMIC_DO_RELA): Likewise.
8720 (ELF_DYNAMIC_RELOCATE): Likewise.
8721 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8722 to ELF_DYNAMIC_DO_REL.
8723 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8724 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8725 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8727 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8728 skip_ifunc, don't call ifunc function if non-zero.
8729 (elf_machine_rela): Likewise.
8730 (elf_machine_lazy_rel): Likewise.
8731 (elf_machine_lazy_rela): Likewise.
8732 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8733 (elf_machine_lazy_rel): Likewise.
8734 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8736 (elf_machine_lazy_rel): Likewise.
8737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8739 (elf_machine_lazy_rel): Likewise.
8740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8741 (elf_machine_lazy_rel): Likewise.
8742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8743 (elf_machine_lazy_rel): Likewise.
8744 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8745 (elf_machine_lazy_rel): Likewise.
8746 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8747 (elf_machine_lazy_rel): Likewise.
8748 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8749 (elf_machine_lazy_rel): Likewise.
8750 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8751 (elf_machine_lazy_rel): Likewise.
8753 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8755 * nss/nss_files/files-init.c (_nss_files_init): Use static
8756 initialization for all the *_traced_file variables.
8758 2011-09-28 Andreas Schwab <schwab@redhat.com>
8760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8762 2011-09-27 Roland McGrath <roland@hack.frob.com>
8765 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8767 2011-09-27 Andreas Schwab <schwab@redhat.com>
8769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8770 Reread the line before reparsing it.
8772 2011-09-26 Andreas Schwab <schwab@redhat.com>
8774 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8776 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8777 Maxim Kuvyrkov <maxim@codesourcery.com>
8778 Joseph Myers <joseph@codesourcery.com>
8780 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8781 if needed for __stack_chk_guard.
8783 2011-09-19 Roland McGrath <roland@hack.frob.com>
8785 * sysdeps/posix/spawni.c (script_execute): Always define it.
8786 It will be optimized away if unused.
8787 (maybe_script_execute): New function.
8788 (__spawni): Call it.
8790 * Makerules: Don't include tls.make.
8791 (config-tls): Always set to thread.
8792 * tls.make.c: File removed.
8794 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8796 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8797 * config.make.in (CPPFLAGS-config): New substituted variable.
8799 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8804 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8805 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8807 2011-09-15 Roland McGrath <roland@hack.frob.com>
8809 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8810 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8812 (CALL_FAIL): Likewise.
8813 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8814 (CALL_FAIL): Macro removed.
8815 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8817 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8819 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8820 for __FINITE_MATH_ONLY__ == 1.
8822 2011-09-15 Andreas Schwab <schwab@redhat.com>
8824 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8825 __ieee754_sqrt instead of sqrt.
8826 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8827 __ieee754_sqrtf instead of sqrtf.
8828 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8829 __floorf instead of floorf.
8830 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8831 __floorf, __truncf instead of floorf, truncf.
8833 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8835 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8837 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8838 __extern_always_inline.
8839 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8842 2011-09-14 Andreas Schwab <schwab@redhat.com>
8844 * elf/rtld.c (dl_main): Also relocate in dependency order when
8845 doing symbol dependency testing.
8847 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8849 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8850 Always define `refsym'.
8852 2011-09-13 Andreas Schwab <schwab@redhat.com>
8854 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8855 (__FD_ELT): Renamed from __FDELT.
8856 * misc/bits/select2.h (__FD_ELT): Likewise.
8857 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8858 __FD_MASK instead of __FDELT, __FDMASK.
8859 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8861 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8864 * elf/Makefile (gen-ldd): Fix pattern.
8866 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8867 (init_tls): Likewise.
8869 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8873 2011-09-12 Andreas Schwab <schwab@redhat.com>
8875 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8876 `struct cmsghdr *' instead of `void *'.
8877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8880 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8882 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8884 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8887 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8889 * configure.in: Remove --with-tls option.
8890 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8891 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8892 out in case it is missing.
8893 * sysdeps/ia64/elf/configure.in: Likewise.
8894 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8895 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8896 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8897 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8898 * sysdeps/sh/elf/configure.in: Likewise.
8899 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8900 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8901 * sysdeps/x86_64/elf/configure.in: Likewise.
8902 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8903 * sysdeps/mach/hurd/tls.h: Likewise.
8906 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8909 * configure.in: Fix use of AC_INIT.
8911 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8913 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8915 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8917 * malloc/hooks.c: Likewise.
8920 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8921 variables statically.
8922 (narenas): Initialize.
8923 (list_lock): Initialize.
8924 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8925 initializtion of main_arena and list_lock. Small cleanups.
8926 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8927 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8928 Add initializers to main_arena and mp_.
8929 (malloc_state): Remove pagesize member. Change all users to use
8932 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8933 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8934 is always initialized.
8936 * malloc/malloc.c: Removed unused configurations and dead code.
8937 * malloc/arena.c: Likewise.
8938 * malloc/hooks.c: Likewise.
8939 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8941 * include/tls.h: Removed. USE___THREAD must always be defined.
8942 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8943 * elf/dl-libc.c: Likewise.
8944 * elf/dl-tsd.c: Likewise.
8945 * include/errno.h: Likewise.
8946 * include/netdb.h: Likewise.
8947 * include/resolv.h: Likewise.
8948 * inet/herrno-loc.c: Likewise.
8949 * inet/herrno.c: Likewise.
8950 * malloc/arena.c: Likewise.
8951 * malloc/hooks.c: Likewise.
8952 * malloc/malloc.c: Likewise.
8953 * resolv/res-state.c: Likewise.
8954 * resolv/res_libc.c: Likewise.
8955 * sysdeps/i386/dl-machine.h: Likewise.
8956 * sysdeps/ia64/dl-machine.h: Likewise.
8957 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8958 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8959 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8960 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8961 * sysdeps/sh/dl-machine.h: Likewise.
8962 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8963 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8964 * sysdeps/unix/i386/sysdep.S: Likewise.
8965 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8966 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8967 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8968 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8969 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8970 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8971 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8972 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8973 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8975 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8976 * sysdeps/x86_64/dl-machine.h: Likewise.
8977 * tls.make.c: Likewise.
8979 * configure.in: Remove --with-__thread option. Make tests for
8980 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8981 tls_model attribute fail if no support is available. Remove
8983 * Makeconfig: Adjust for dropped configure option. All features are
8985 * Makerules: Likewise.
8986 * Versions.def: Likewise.
8987 * argp/argp-fmtstream.c: Likewise.
8988 * argp/argp-fmtstream.h: Likewise.
8989 * argp/argp-help.c: Likewise.
8990 * assert/assert.c: Likewise.
8991 * config.h.in: Likewise.
8992 * config.make.in: Likewise.
8993 * configure: Likewise.
8994 * configure.in: Likewise.
8995 * csu/Versions: Likewise.
8996 * csu/init.c: Likewise.
8997 * elf/tst-audit2.c: Likewise.
8998 * elf/tst-tls10.c: Likewise.
8999 * elf/tst-tls10.h: Likewise.
9000 * elf/tst-tls11.c: Likewise.
9001 * elf/tst-tls12.c: Likewise.
9002 * elf/tst-tls14.c: Likewise.
9003 * elf/tst-tlsmod11.c: Likewise.
9004 * elf/tst-tlsmod12.c: Likewise.
9005 * elf/tst-tlsmod13.c: Likewise.
9006 * elf/tst-tlsmod13a.c: Likewise.
9007 * elf/tst-tlsmod14a.c: Likewise.
9008 * elf/tst-tlsmod15b.c: Likewise.
9009 * elf/tst-tlsmod16a.c: Likewise.
9010 * elf/tst-tlsmod16b.c: Likewise.
9011 * elf/tst-tlsmod7.c: Likewise.
9012 * elf/tst-tlsmod8.c: Likewise.
9013 * elf/tst-tlsmod9.c: Likewise.
9014 * gmon/gmon.c: Likewise.
9015 * grp/fgetgrent_r.c: Likewise.
9016 * grp/putgrent.c: Likewise.
9017 * hurd/fopenport.c: Likewise.
9018 * include/libc-symbols.h: Likewise.
9019 * include/tls.h: Likewise.
9020 * intl/gettextP.h: Likewise.
9021 * intl/loadinfo.h: Likewise.
9022 * locale/global-locale.c: Likewise.
9023 * locale/localeinfo.h: Likewise.
9024 * mach/devstream.c: Likewise.
9025 * malloc/arena.c: Likewise.
9026 * malloc/set-freeres.c: Likewise.
9027 * misc/err.c: Likewise.
9028 * misc/getttyent.c: Likewise.
9029 * misc/mntent_r.c: Likewise.
9030 * posix/getopt.c: Likewise.
9031 * posix/wordexp.c: Likewise.
9032 * pwd/fgetpwent_r.c: Likewise.
9033 * resolv/Versions: Likewise.
9034 * resolv/res_hconf.c: Likewise.
9035 * shadow/fgetspent_r.c: Likewise.
9036 * shadow/putspent.c: Likewise.
9037 * stdio-common/printf_fphex.c: Likewise.
9038 * stdio-common/tmpfile.c: Likewise.
9039 * stdlib/abort.c: Likewise.
9040 * stdlib/fmtmsg.c: Likewise.
9041 * sunrpc/auth_unix.c: Likewise.
9042 * sunrpc/clnt_perr.c: Likewise.
9043 * sunrpc/clnt_tcp.c: Likewise.
9044 * sunrpc/clnt_udp.c: Likewise.
9045 * sunrpc/clnt_unix.c: Likewise.
9046 * sunrpc/openchild.c: Likewise.
9047 * sunrpc/svc_simple.c: Likewise.
9048 * sunrpc/svc_tcp.c: Likewise.
9049 * sunrpc/svc_udp.c: Likewise.
9050 * sunrpc/svc_unix.c: Likewise.
9051 * sunrpc/xdr.c: Likewise.
9052 * sunrpc/xdr_array.c: Likewise.
9053 * sunrpc/xdr_rec.c: Likewise.
9054 * sunrpc/xdr_ref.c: Likewise.
9055 * sunrpc/xdr_stdio.c: Likewise.
9057 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9059 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9061 2011-07-03 Andreas Jaeger <aj@suse.de>
9063 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9064 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9065 regenerate with gen-libm-tests.pl.
9067 2010-05-12 Petr Baudis <pasky@suse.cz>
9070 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9071 around j0() zero points by switching to j1().
9072 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9075 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9077 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9079 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9081 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9083 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9084 Patch in part by Pavel Roskin <proski@gnu.org>.
9087 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9089 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9090 Free memory block if necessary.
9093 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9094 be NULL. Don't lock in this case.
9096 2011-09-09 Roland McGrath <roland@hack.frob.com>
9098 * elf/elf.h (ELFOSABI_GNU): New macro.
9099 (ELFOSABI_LINUX): Define to that.
9101 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9103 * string/strncat.c (strncat): Undef the symbol in case it has been
9104 defined in bits/string.h.
9106 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9108 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9110 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9113 2011-08-17 Andreas Jaeger <aj@suse.de>
9115 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9117 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9118 Ian Lance Taylor <iant@google.com>
9120 * math/libm-test.inc (lround_test): New testcase.
9121 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9123 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9125 * Makefile: Remove support for automatic cvs check-ins.
9126 * Makerules: Likewise.
9127 * config.make.in: Likewise.
9128 * configure.in: Likewise.
9129 * intl/Makefile: Likewise.
9130 * locale/Makefile: Likewise.
9131 * po/Makefile: Likewise.
9132 * posix/Makefile: Likewise.
9133 * sysdeps/gnu/Makefile: Likewise.
9134 * sysdeps/mach/hurd/Makefile: Likewise.
9135 * sysdeps/sparc/sparc32/Makefile: Likewise.
9138 * posix/Makefile (bug-regex32-ENV): Define.
9139 Patch by John Stanley <jpsinthemix@verizon.net>.
9141 * misc/Makefile (headers): Add bits/select2.h.
9142 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9143 * misc/bits/select2.h: New file.
9144 * include/bits/select2.h: New file.
9145 * debug/Makefile (routines): Add fdelt_chk.
9146 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9147 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9149 * debug/fdelt_chk.c: New file.
9151 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9152 * wcsmbs/test-wmemcmp.c: Likewise.
9153 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9154 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9156 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9158 * string/Makefile (strop-tests): Add memcmp.
9159 * string/test-wmemcmp.c: New file.
9160 * string/test-memcmp.c: Add wmemcmp support.
9162 2011-09-08 Roland McGrath <roland@hack.frob.com>
9165 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9168 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9169 garbage value in a __mach_port_mod_refs call in the cases of the
9170 task-self and thread-self ports.
9172 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9174 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9176 2011-09-08 Andreas Schwab <schwab@redhat.com>
9178 * elf/dl-load.c (lose): Check for non-null L.
9180 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9182 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9184 * elf/dl-libc.c (dlerror_run): Pass back error code from
9188 * elf/dl-load.c (lose): Free l_origin if it is valid.
9190 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9192 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9193 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9194 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9195 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9196 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9197 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9199 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9201 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9202 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9203 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9204 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9205 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9206 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9207 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9208 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9209 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9210 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9212 2011-08-15 Alan Modra <amodra@gmail.com>
9215 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9216 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9217 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9218 ppc_mcount to static-only-routines.
9219 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9221 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9222 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9224 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9226 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9227 for finite and infinity parameters.
9229 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9231 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9232 and add nop instructions for throughput optimization.
9233 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9235 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9237 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9238 aligned copy for power7 with vector-scalar instructions.
9239 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9241 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9246 2011-09-07 Andreas Schwab <schwab@redhat.com>
9249 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9252 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9254 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9255 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9256 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9257 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9260 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9262 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9263 Forgot to demangle the pointer.
9265 * sysdeps/i386/sysdep.h: Define atom_text_section.
9266 * sysdeps/x86_64/sysdep.h: Likewise.
9267 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9268 section with atom_text_section.
9269 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9271 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9272 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9273 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9275 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9276 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9277 already be defined. Change to take two parameters and don't assign
9278 result to variable. Adjust all users.
9279 Define INTERNAL_GETTIME if not already defined.
9280 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9283 HAVE_CLOCK_GETTIME_VSYSCALL.
9284 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9286 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9287 gettimeofday vsyscall, just use time.
9289 2011-09-06 Andreas Schwab <schwab@redhat.com>
9291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9294 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9296 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9298 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9300 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9301 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9302 syscall if possible.
9304 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9306 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9307 e_ident. Don't pass to find_mapsXX.
9308 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9310 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9313 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9314 * sysdeps/x86_64/multiarch/strchr.S: Update.
9315 Check bit_slow_BSF bit.
9316 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9317 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9318 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9320 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9323 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9326 (__spawni): Change last parameter to be flag. Test
9327 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9328 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9329 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9330 * posix/spawni.c: Likewise.
9331 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9332 * posix/spawnp.c: Likewise. Change normal version to use
9333 SPAWN_XFLAGS_USE_PATH.
9334 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9335 SPAWN_XFLAGS_TRY_SHELL.
9338 * posix/glob.h: Remove gcc 1.x support.
9341 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9343 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9346 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9348 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9349 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9350 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9351 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9352 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9353 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9355 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9357 * sysdeps/x86_64/wcscmp.S: New file.
9359 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9360 wcscmp-c wcscmp-sse2
9361 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9362 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9363 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9364 * wcsmbs/wcscmp.c: Allow renaming.
9366 2011-09-05 David S. Miller <davem@davemloft.net>
9368 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9369 stack slot, rather than the struct return pointer slot.
9370 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9371 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9373 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9375 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9377 * po/ja.po: Update from translation team.
9380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9381 kernel in 64-bit binaries.
9383 2011-09-01 David S. Miller <davem@davemloft.net>
9385 * elf/elf.h (HWCAP_SPARC_*): Move to..
9386 * sysdeps/sparc/sysdep.h: this new file and add new values.
9387 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9388 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9389 _DL_HWCAP_COUNT to 24.
9390 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9392 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9393 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9394 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9396 instead of magic constants.
9397 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9399 2011-08-31 David S. Miller <davem@davemloft.net>
9401 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9403 Reimplement to do errno handling inline.
9404 (SYSCALL_ERROR_HANDLER): New macro.
9405 (__SYSCALL_STRING): Do not do errno handling in asm.
9406 (__CLONE_SYSCALL_STRING): Delete.
9407 (__INTERNAL_SYSCALL_STRING): Delete.
9408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9409 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9410 (PSEUDO): Reimplement to do errno handling inline.
9411 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9412 (SYSCALL_ERROR_HANDLER): New macro.
9413 (__SYSCALL_STRING): Do not do errno handling in asm.
9414 (__CLONE_SYSCALL_STRING): Delete.
9415 (__INTERNAL_SYSCALL_STRING): Delete.
9416 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9417 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9419 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9420 (inline_syscall*): Add 'err' argument.
9421 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9422 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9423 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9424 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9426 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9427 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9429 2011-08-30 Andreas Schwab <schwab@redhat.com>
9431 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9433 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9435 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9438 2011-08-24 David S. Miller <davem@davemloft.net>
9440 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9442 2011-08-24 Andreas Schwab <schwab@redhat.com>
9444 * elf/Makefile: Add rules to build and run unload8 test.
9445 * elf/unload8.c: New file.
9446 * elf/unload8mod1.c: New file.
9447 * elf/unload8mod1x.c: New file.
9448 * elf/unload8mod2.c: New file.
9449 * elf/unload8mod3.c: New file.
9451 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9454 2011-08-23 David S. Miller <davem@davemloft.net>
9456 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9457 subtract stack bias.
9458 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9459 %sp not %fp in calculations.
9460 (_JMPBUF_UNWINDS_ADJ): Likewise.
9462 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9463 (aio_suspend): Call it to force an exception region around the
9464 AIO_MISC_WAIT() invocation.
9466 2011-08-23 Andreas Schwab <schwab@redhat.com>
9468 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9471 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9473 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9475 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9477 (Elf64_FuncDesc): Remove.
9479 2011-08-22 David S. Miller <davem@davemloft.net>
9481 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9482 sigaltstack check, add missing cfi directives.
9483 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9484 missing cfi directives, and sigaltstack handling.
9486 2011-08-16 Andreas Schwab <schwab@redhat.com>
9489 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9490 object is seen twice.
9491 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9493 * elf/Makefile (distribute): Add tst-initorder2.c.
9494 (tests): Add tst-initorder2.
9495 (modules-names): Add tst-initorder2a tst-initorder2b
9496 tst-initorder2c tst-initorder2d. Add rules to build them.
9497 ($(objpfx)tst-initorder2.out): New rule.
9498 * elf/tst-initorder2.c: New file.
9499 * elf/tst-initorder2.exp: New file.
9501 2011-08-22 Andreas Schwab <schwab@redhat.com>
9503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9505 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9506 dependencies back to end of function.
9508 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9511 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9514 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9515 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9516 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9517 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9518 of __vdso_gettimeofday.
9519 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9520 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9522 (_libc_vdso_platform_setup): Remove initialization of
9523 __vdso_gettimeofday and __vdso_time.
9525 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9527 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9529 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9532 * elf/dl-open.c (add_to_global): Report additions to the global scope
9533 for LD_DEBUG=scopes.
9534 (dl_open_worker): Also print scope of newly loaded dependencies.
9535 (_dl_show_scope): Indicate if there is no scope.
9538 * stdio-common/Makefile (tests): Add bug24.
9539 * stdio-common/bug24.c: New file.
9541 2011-08-19 Andreas Jaeger <aj@suse.de>
9544 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9545 non-existant file when using close-on-exec mode.
9547 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9549 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9550 the very first instruction.
9552 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9553 the CFI state in the end.
9554 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9555 inclusion of dl-trampoline.h.
9556 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9558 2011-08-19 Andreas Schwab <schwab@redhat.com>
9560 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9561 expectations for long double.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9564 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9566 2011-08-14 David S. Miller <davem@davemloft.net>
9568 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9569 artificual limit depends upon the system page size.
9571 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9573 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9574 * resolv/Makefile: Define CFLAGS-libresolv.
9576 2011-08-17 Andreas Schwab <schwab@redhat.com>
9578 * nss/makedb.c (compute_tables): Make variables used in nested
9581 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9583 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9584 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9585 if buffer was too small.
9587 * elf/pldd.c (main): Attach to all threads in the process.
9588 Rewrite /proc handling to use *at functions.
9590 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9592 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9593 specifies first scope to show.
9594 (dl_open_worker): Update callers. Move printing scope of new
9595 object to before the relocation.
9596 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9597 * sysdeps/generic/ldsodefs.h: Update declaration.
9599 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9600 string for the scope number.
9602 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9604 * nscd/servicescache.c (cache_addserv): Make sure written is always
9607 2011-08-14 Roland McGrath <roland@hack.frob.com>
9609 * sysdeps/i386/i486/bits/atomic.h
9610 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9611 statement expression, so as to suppress "set but not used" warning.
9612 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9614 * string/strncat.c (STRNCAT): Use prototype definition.
9616 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9617 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9619 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9620 (localedef-modules): Add localedef.
9621 (locale-modules): Add locale.
9623 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9624 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9627 2011-08-14 David S. Miller <davem@davemloft.net>
9629 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9630 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9632 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9634 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9635 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9636 * elf/rtld.c (dl_main): Set l_name of vDSO.
9637 Call _dl_show_scope when DL_DEBUG_SCOPES.
9638 (process_dl_debug): Recognize scopes flag and also set it for all.
9639 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9640 Declare _dl_show_scope.
9642 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9643 (do_dlopen): Pass caller_dlopen to dl_open.
9644 (__libc_dlopen_mode): Initialize caller_dlopen.
9646 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9647 of libc. Make tolower call locale-independent. Optimize a bit by
9648 using isdigit instead of isalnum.
9649 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9651 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9653 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9654 was a dependency or dynamically loaded.
9656 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9658 * intl/l10nflist.c: Allow architecture-specific pop function.
9659 * sysdeps/x86_64/l10nflist.c: New file.
9661 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9664 2011-08-10 Andreas Schwab <schwab@redhat.com>
9666 * include/dirent.h: Add libc_hidden_proto for scandirat and
9667 scandirat64. Don't declare __scandirat64.
9668 * dirent/scandirat.c: Add libc_hidden_def.
9669 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9670 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9672 2011-08-10 David S. Miller <davem@davemloft.net>
9674 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9678 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9680 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9682 * Versions.def [libc]: Add GLIBC_2.15.
9683 * dirent/Makefile (routines): Add scandirat and scandirat64.
9684 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9686 * dirent/dirent.h: Declare scandirat and scandirat64.
9687 * dirent/scandirat.c: New file.
9688 * dirent/scandirat64.c: New file.
9689 * sysdeps/wordsize-64/scandirat.c: New file.
9690 * sysdeps/wordsize-64/scandirat64.c: New file.
9691 * dirent/opendir.c: Define opendirat.
9692 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9694 * dirent/scandir64.c: Adjust for scandir.c change.
9695 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9696 __scandirat64, and __scandir_cancel_handler.
9697 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9698 additional parameter and use openat instead of open (outside of ld.so).
9699 Add new __opendir as wrapper around __opendirat.
9700 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9701 here without requiring old scandirat implementation.
9703 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9705 * dirent/scandir.c (cancel_handler): Renamed to
9706 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9707 defined. Adjust users.
9708 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9709 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9711 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9713 * string/test-string.h (IMPL): Use __STRING to expand name and then
9716 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9719 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9721 * string/Makefile: Update.
9722 (strop-tests): Append strncat.
9723 * string/test-wcscmp.c: New file.
9724 New comprehensive test for wcscmp.
9725 * string/test-strcmp.c: Update.
9728 2011-07-22 Andreas Schwab <schwab@redhat.com>
9730 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9733 2011-07-26 Andreas Schwab <schwab@redhat.com>
9735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9736 encoding to ACE if AI_IDN.
9738 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9740 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9741 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9743 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9745 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9746 Fix overflow bug in strncat.
9747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9749 * string/test-strncat.c: Update.
9750 Add new tests for checking overflow bugs.
9752 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9754 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9755 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9756 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9757 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9758 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9759 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9760 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9761 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9762 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9764 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9765 (USE_AS_STRCAT): Define.
9766 Add strcat and strncat support.
9767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9769 2011-07-25 Andreas Schwab <schwab@redhat.com>
9771 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9772 __n bigger than INT_MAX+1.
9773 (__strncmp_g): Likewise.
9775 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9777 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9778 * libio/stido.h: Likewise.
9780 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9785 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9788 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9789 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9792 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9797 (_dl_x86_64_save_sse): Likewise.
9799 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9803 (_dl_x86_64_save_sse): Likewise.
9805 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9807 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9809 2011-07-21 Andreas Schwab <schwab@redhat.com>
9811 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9813 (_dl_x86_64_save_sse): Use correct AVX check.
9815 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9818 bug in strncpy/strncat.
9819 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9821 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9823 * string/tester.c (test_strcat): Add tests for different alignments
9824 of source and destination.
9825 (test_strncat): Likewise.
9827 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9830 * posix/glob.c (glob): Check passed in values before using them in
9831 expressions to avoid some overflows.
9832 (glob_in_dir): Likewise.
9835 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9836 check for AVX enablement so that we don't crash with old kernels and
9838 * elf/tst-audit4.c: Add same checks here.
9839 * elf/tst-audit6.c: Likewise.
9841 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9843 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9845 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9847 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9849 * po/cs.po: Update from translation team.
9850 * po/bg.po: Likewise.
9852 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9854 * misc/sys/cdefs.h: Add support for const attribute.
9855 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9856 to gnu_dev_{major,minor,makedev} functions.
9858 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9860 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9862 2011-07-20 Andreas Schwab <schwab@redhat.com>
9864 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9867 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9870 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9871 register in order to avoid conflicts with the soft frame pointer
9872 being held in r11 when necessary.
9873 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9874 (INTERNAL_VSYSCALL_NCS): Likewise.
9876 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9878 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9879 * elf/dl-fini.c (_dl_fini): Adjust caller.
9880 * elf/dl-close.c (_dl_close_worker): Likewise.
9881 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9883 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9885 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9886 "aux_cache->nlibs < 0".
9888 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9889 in the reload-count case.
9891 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9894 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9895 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9896 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9897 * sysdeps/x86_64/multiarch/strcat.S: New file.
9898 * sysdeps/x86_64/multiarch/strncat.S: New file.
9899 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9900 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9901 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9902 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9903 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9904 (USE_AS_STRCAT): Define.
9905 Add strcat and strncat support.
9906 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9907 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9908 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9909 * string/strncat.c: Update.
9910 (USE_AS_STRNCAT): Define.
9911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9912 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9914 * sysdeps/x86_64/multiarch/init-arch.h
9915 (bit_Prefer_PMINUB_for_stringop): New.
9916 (index_Prefer_PMINUB_for_stringop): Likewise.
9917 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9918 bit_Prefer_PMINUB_for_stringop.
9920 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9922 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9924 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9925 of casting of buffer.
9926 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9927 buffer32 and buffer64.
9928 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9929 writes instead of casting of buffer.
9930 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9932 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9935 2011-07-19 Andreas Schwab <schwab@redhat.com>
9937 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9939 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9941 * nscd/nscd.c (termination_handler): Don't do anything for a database
9942 if it has not yet been initialized.
9944 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9946 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9948 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9950 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9952 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9954 * po/nl.po: Update from translation team.
9955 * po/sv.po: Likewise.
9957 2011-07-16 Roland McGrath <roland@hack.frob.com>
9959 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9960 now disallowed by GCC.
9962 * configure.in (use-default-link): Default to yes if a test -shared
9963 link meets our qualifications.
9964 * configure: Regenerated.
9966 * config.make.in (output-format): New variable.
9967 * configure.in: Check for ld --print-output-format support.
9968 * configure: Regenerated.
9969 * Makerules ($(common-objpfx)format.lds)
9970 [$(output-format) != unknown]: Just use $(output-format),
9971 instead of the linker-script munging.
9973 2011-07-14 Roland McGrath <roland@hack.frob.com>
9975 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9976 of $(common-objpfx)shlib.lds.
9977 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9979 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9980 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9982 * configure.in (-z relro check): Adjust test code to add a large
9983 writable data section after it.
9984 * configure: Regenerated.
9986 2011-07-11 Roland McGrath <roland@hack.frob.com>
9988 * configure.in (-z relro check): Fix test code to make the variable
9990 * configure: Regenerated.
9992 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9994 * nscd/nscd.h (struct traced_file): Define.
9995 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9996 elements. Add traced_files.
9997 (inotify_fd): Declare.
9998 (register_traced_file): Declare.
9999 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10000 (inotify_fd): Export.
10001 (resolv_conf_descr): Remove.
10002 (nscd_init): Move inotify descriptor creation to main.
10003 Don't register files for notification here.
10004 (register_traced_file): New function.
10005 (invalidate_cache): Don't use reset_res to determine whether to call
10006 res_init, go through the list of registered files.
10007 (main_loop_poll): The inotify descriptors are now stored in the
10008 structures for the traced files.
10009 (main_loop_epoll): Likewise
10010 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10011 to __nss_disable_nscd.
10012 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10013 for a database anymore. Check the records for all the registered
10015 * nss/Makefile (libnss_files-routines): Add files-init.
10016 (libnss_db-routines): Add db-init.
10017 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10018 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10019 * nss/nss_db/db-init.c: New file.
10020 * nss/nss_files/files-init.c: New file.
10021 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10022 __nss_lookup_function.
10023 (__nss_lookup_function): Call nss_load_library.
10024 (nss_load_all_libraries): New function.
10025 (__nss_disable_nscd): Take parameter with callback function for files
10026 to register. Set is_nscd. Load all the DSOs for the NSS modules
10027 used for the cached services.
10028 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10029 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10030 options for features to all the files in nscd.
10032 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10034 2011-07-10 Roland McGrath <roland@hack.frob.com>
10036 * csu/elf-init.c (__libc_csu_init): Comment typo.
10038 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10040 * po/pl.po: Update from translation team.
10041 * po/ja.po: Likewise.
10042 * po/ru.po: Likewise.
10043 * po/ko.po: Likewise.
10044 * po/fr.po: Likewise.
10046 2011-07-09 Roland McGrath <roland@hack.frob.com>
10048 * configure.in (.ctors/.dtors header and trailer check):
10049 Use an empirical test on a built program.
10050 * configure: Regenerated.
10052 * configure.in (-z relro check): Use an empirical test on a built DSO.
10053 Detect, but do not require, on ia64.
10054 * configure: Regenerated.
10056 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10057 Update tests that use readelf to use $READELF instead.
10058 * configure: Regenerated.
10060 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10062 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10063 if the result is not used.
10065 2011-07-05 Andreas Jaeger <aj@suse.de>
10068 * stdlib/tst-strtod.c: Add testcase.
10070 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10072 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10073 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10074 The latter has a higher limit. Take additional parameter to pass to
10076 (__pathconf): Pass file to __statfs_link_max.
10077 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10079 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10083 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10087 (__statfs_filesize_max): Likewise.
10088 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10090 2011-07-05 Andreas Jaeger <aj@suse.de>
10092 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10094 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10096 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10098 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10101 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10103 * Makefile (strop-tests): Add strncat.
10104 * string/test-strncat.c: New file.
10106 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10108 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10110 2011-06-21 Andreas Jaeger <aj@suse.de>
10112 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10113 Copy rule from iconvdata/Makefile.
10115 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10118 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10119 but no long options are defined, just return 'W'.
10121 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10124 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10126 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10128 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10130 (innetgr): Likewise.
10132 2011-07-05 Roland McGrath <roland@hack.frob.com>
10134 * config.make.in (install_root): Default to $(DESTDIR).
10136 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10138 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10140 2011-07-02 Roland McGrath <roland@hack.frob.com>
10142 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10144 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10145 containing directory rather than embedding absolute directory names.
10147 * scripts/check-local-headers.sh: Rewritten using awk.
10148 Match by word, not by line. Print error messages for matches.
10149 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10151 * Makerules [shlib-lds-flags empty]:
10152 ($(common-objpfx)libc_pic.opts): New target.
10153 ($(common-objpfx)libc_pic.os.clean): New target.
10154 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10156 * config.make.in (OBJCOPY): New variable.
10157 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10158 * configure: Regenerated.
10160 * config.make.in (use-default-link): New variable.
10161 * configure.in (use_default_link): Grok --with-default-link to set it.
10162 * configure: Regenerated.
10163 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10164 (shlib-lds, shlib-lds-flags): Define to empty.
10166 * Makerules (shlib-lds): New variable.
10167 (shlib-lds-flags): New variable.
10168 (build-shlib, build-moduile, build-module-asneeded): Use it.
10169 ($(common-objpfx)libc.so): Use $(shlib-lds).
10170 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10171 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10173 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10174 DT_FLAGS/DT_FLAGS_1 with zero flags.
10176 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10177 linker script munging.
10179 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10181 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10183 * crypt/sha512.c (sha512_process_block): Perform total addition using
10184 128-bit if possible.
10185 (__sha512_finish_ctx): Likewise.
10186 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10188 * crypt/sha256.c (SWAP64): Define.
10189 (sha256_process_block): Perform total addition using 64-bit if
10191 (__sha256_finish_ctx): Likewise.
10193 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10195 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10196 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10197 * nscd/hstcache.c (cache_addhst): Likewise.
10198 * nscd/grpcache.c (cache_addgr): Likewise.
10199 * nscd/aicache.c (addhstaiX): Likewise
10200 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10202 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10204 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
10210 2011-07-01 Andreas Schwab <schwab@redhat.com>
10212 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10213 domain only when needed.
10215 2011-06-30 Andreas Schwab <schwab@redhat.com>
10217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10218 is always restored.
10220 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10222 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10223 are re-adding the entry.
10224 * nscd/servicescache.c (cache_addserv): Likewise.
10226 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10228 * sysdeps/generic/dl-irel.h: fix protection against multiple
10230 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10232 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10235 * malloc/memusage.sh: Fix quoting in message.
10236 * debug/xtrace.sh: Likewise.
10238 * configure.in: Remove support for --experimental-malloc option, make
10240 * config.make.in: Likewise.
10241 * malloc/Makefile: Likewise.
10243 2011-06-27 Andreas Schwab <schwab@redhat.com>
10245 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10246 two-byte characters.
10248 2011-06-27 Roland McGrath <roland@hack.frob.com>
10250 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10251 AC_CACHE_CHECK invocation.
10252 * configure: Regenerated.
10254 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10256 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10259 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10260 bit from old_res_options.
10262 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10264 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10265 value type for setfct.
10267 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10270 __gettimeofday instead of gettimeofday.
10272 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10274 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10276 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10278 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10280 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10283 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10285 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10286 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10287 strcpy-sse2-unaligned strncpy-sse2-unaligned
10288 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10289 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10290 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10291 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10292 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10293 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10294 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10295 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10296 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10297 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10298 (STRCPY): Support SSE2 and SSSE3 versions.
10300 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10303 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10304 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10305 kernels which artificially limit size of requests.
10307 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10309 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10310 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10311 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10312 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10313 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10314 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10315 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10316 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10317 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10318 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10319 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10320 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10321 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10322 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10323 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10325 Enable unaligned load optimization for Intel Core i3, i5 and i7
10327 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10329 (index_Fast_Unaligned_Load): Define.
10330 (HAS_FAST_UNALIGNED_LOAD): Define.
10332 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10334 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10336 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10339 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10340 until it is clear that the information is realy needed.
10341 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10343 2011-06-22 Andreas Schwab <schwab@redhat.com>
10345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10347 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10349 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10350 /sys/devices/system/cpu/online if it is usable.
10352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10353 reading the information from the /proc filesystem to once a second.
10355 2011-06-21 Andreas Jaeger <aj@suse.de>
10357 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10358 NULL after inclusion of kernel headers.
10360 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10362 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10363 calls to internal_setent.
10366 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10367 addresses using gethostbyname4_r ignore IPv4 addresses.
10369 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10370 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10372 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10374 2011-06-20 David S. Miller <davem@davemloft.net>
10376 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10378 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10380 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10381 (elf_irel): Use it.
10382 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10383 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10384 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10385 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10386 * sysdeps/x86_64/dl-irel.h: Likewise.
10388 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10389 * elf/dl-sym.c: Likewise.
10391 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10393 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10394 need to dereference resplen2.
10396 2011-06-14 Andreas Schwab <schwab@redhat.com>
10398 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10400 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10402 * Makeconfig: Define vardbdir and inst_vardbdir.
10403 * nss/Makefile: Add rules to install db-Makefile.
10405 * nss/nss_db/db-XXX.c: Cleanup.
10407 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10408 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10410 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10411 * nss/makedb.c: Implement -g option to specify that value strings
10412 are generated and should not be added to table iterated over for
10414 * nss/nss_db/db-initgroups.c: New file.
10416 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10419 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10420 (internal_getgrouplist): Adjust to name change.
10421 Update use_initgroups_entry if this is not the first call.
10422 * nss/databases.def: Add initgroups entry.
10424 * nss/makedb.c (compute_tables): Check result of multiple hash table
10425 sizes to minimize maximum chain length.
10427 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10429 * Versions.def: Add entry for libnss_db.
10430 * shlib-versions: Likewise.
10431 * nss/Makefile: Add rules to build libnss_db.
10432 * nss/Versions: Add libnss_db information. Organize libnss_files
10434 * nss/db-Makefile: Add gshadow support. Change rules for the new
10435 makedb progra. Some minor improvements to generate smaller files.
10436 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10438 * nss/makedb.c: ...here.
10439 Improve database format to be smaller and require less memory at
10441 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10443 * nss/nss_db/db-netgrp.c: Likewise.
10444 * nss/nss_db/db-open.c: Likewise.
10445 * nss/nss_files/flies-XXX.x: Adjust comments.
10446 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10447 * nss/nss_files/files-grp.c: Likewise.
10448 * nss/nss_files/files-hosts.c: Likewise.
10449 * nss/nss_files/files-network.c: Likewise.
10450 * nss/nss_files/files-proto.c: Likewise.
10451 * nss/nss_files/files-pwd.c: Likewise.
10452 * nss/nss_files/files-rpc.c: Likewise.
10453 * nss/nss_files/files-service.c: Likewise.
10454 * nss/nss_files/files-sgrp.c: Likewise.
10455 * nss/nss_files/files-spwd.c: Likewise.
10456 * nss/nss_db/db-alias.c: Removed.
10457 * nss/nss_db/dummy-db.h: Removed.
10459 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10461 * nss/makedb.c: Rewritten to not use database library.
10462 * nss/Makefile: Update to build new makedb program.
10464 2011-06-14 Andreas Jaeger <aj@suse.de>
10466 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10467 memset declaration.
10469 2011-06-10 Andreas Schwab <schwab@redhat.com>
10471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10474 2011-06-10 Roland McGrath <roland@hack.frob.com>
10476 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10477 * elf/Makefile ($(objpfx)ld.so): Likewise.
10479 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10480 Don't list ld.so twice in dependencies.
10482 * posix/bug-regex31.c: Include <stdlib.h>.
10484 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10486 * nis/nss_compat/compat-spwd.c
10487 (getspent_next_nss_netgr): Remove unused variable.
10488 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10490 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10491 nonmembers" output to use the right array.
10493 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10495 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10497 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10498 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10499 * catgets/gencat.c (read_input_file): Likewise.
10500 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10502 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10503 variable definition inside #if's controlling its use.
10505 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10507 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10509 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10511 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10514 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10516 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10517 * configure: Regenerated.
10519 * Makerules: Revert last change.
10520 * elf/Makefile: Likewise.
10522 2011-06-09 Roland McGrath <roland@hack.frob.com>
10524 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10525 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10526 (reloc-link): Likewise.
10528 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10530 * elf/Makefile: Add rules to build pldd.
10531 * elf/pldd.c: New file.
10532 * elf/pldd-xx.c: New file.
10534 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10536 * version.h: Update for 2.15 development version.
10538 2011-06-07 David S. Miller <davem@davemloft.net>
10540 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10543 elf_machine_lazy_rel): Likewise.
10544 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10546 elf_machine_lazy_rel): Likewise.
10547 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10548 dl_hwcap via passed in argument.
10549 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10552 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10554 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10556 2011-06-06 Roland McGrath <roland@hack.frob.com>
10559 * manual/fdl-1.1.texi: New file, verbatim from:
10560 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10561 * manual/lgpl-2.1.texi: New file, verbatim from:
10562 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10563 * manual/Makefile (licenses): New variable, list those new file names.
10565 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10567 * manual/fdl.texi: File removed.
10568 * manual/lesser.texi: File removed.
10569 * manual/libc.texinfo (Copying, Documentation License):
10570 Use new @include file names, put @appendix directive before @include.
10572 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10575 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10576 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10577 (mq_open): Add __NTH.
10579 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10582 Assume Intel Core i3/i5/i7 processor if AVX is available.
10584 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10589 2011-05-31 Andreas Schwab <schwab@redhat.com>
10591 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10592 memory. Use alloca_account. Fix memory leak when retrying.
10594 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10596 * version.h (RELEASE): Bump for 2.14 release.
10597 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10599 * config.make.in (RANLIB): Remove entry.
10601 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10603 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10604 (libc.pot): Work around missing support for .ksh extension in xgettext.
10607 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10608 if both request failed.
10609 (send_dg): In case of server errors clear resplen or *resplen2.
10612 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10613 when there are multiple maps.
10614 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10615 (_dl_fini): Remove test here.
10617 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10619 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10622 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10623 bit from old_res_options.
10624 (gaih_inet): Likewise.
10627 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10630 * resolv/res_init.c (res_setoptions): Make the code more compact.
10633 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10637 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10639 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10642 * malloc/malloc.h: Declare malloc hook variables as volatile.
10644 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10648 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10649 raise in the comment.
10650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10651 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10652 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10654 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10657 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10658 grow the buffers more if it already has to be sufficient.
10659 (build_wcs_upper_buffer): Likewise.
10660 * posix/regexec.c (check_matching): Likewise.
10661 (clean_state_log_if_needed): Likewise.
10662 (extend_buffers): Don't enlarge buffers beyond size of the input
10664 Patches mostly by Emil Wojak <emil@wojak.eu>.
10665 * posix/bug-regex32.c: New file.
10666 * posix/Makefile (tests): Add bug-regex32.
10668 * locale/findlocale.c (_nl_find_locale): Return right away if
10669 _nl_explode_name failed.
10670 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10672 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10674 * debug/xtrace.sh: Unify messages.
10675 * malloc/memusage.sh: Likewise.
10678 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10679 time symbol from vDSO. Substitute with vsyscall if not available.
10680 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10683 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10684 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10685 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10686 Add sendmmsg and internal_sendmmsg.
10687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10688 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10691 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10692 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10693 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10695 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10698 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10699 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10701 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10705 * iconvdata/Makefile (tests): Add bug-iconv9.
10706 * iconvdata/bug-iconv9.c: New file.
10708 2011-05-27 Andreas Schwab <schwab@redhat.com>
10711 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10713 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10715 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10716 (struct user_regs_struct): Change intcs field back to cs.
10718 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10720 * po/ja.po: Update from translation team.
10722 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10725 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10726 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10728 2011-05-20 Andreas Schwab <schwab@redhat.com>
10730 * stdlib/longlong.h: Update from GCC.
10732 2011-05-23 Andreas Schwab <schwab@redhat.com>
10734 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10736 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10737 Add parameter name.
10738 (__sysconf): Pass it down.
10740 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10743 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10745 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10746 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10747 add in in __libc_use_alloca calls. Adjust callers.
10748 (glob): Use malloc in some situations.
10750 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10751 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10754 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10756 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10757 and CLOCK_BOOTTIME_ALARM.
10760 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10763 * string/_strerror.c (__strerror_r): Print negative errors as signed
10767 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10768 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10769 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10771 * configure.in: Fix typo in redirection and correct removal of test
10772 files in two cases.
10775 * locale/setlocale.c (new_composite_name): Fix test to check for
10776 identical name of all categories.
10779 * libio/filedoalloc.c (local_isatty): New function.
10780 (_IO_file_doallocate): Use local_isatty.
10781 * stdio-common/perror.c (perror): In case a new stream is used
10782 forward the stream error.
10783 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10786 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10791 * include/alloca.h (extend_alloca_account): Define.
10794 * posix/regex.h: Fix comments with documentation of user-accessible
10795 fields after compilation and describe correct free'ing of pattern
10796 after re_compile_pattern.
10797 Patch by Reuben Thomas <rrt@sc3d.org>.
10799 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10801 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10802 and -mno-altivec to prevent the compiler from using Altivec and/or
10803 VSX instructions when the corresponding registers are not available.
10805 2011-05-19 Andreas Schwab <schwab@redhat.com>
10807 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10809 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10811 * libio/freopen.c (freopen): Use __dup2, not dup2.
10812 * libio/freopen64.c (freopen64): Likewise.
10814 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10817 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10818 * math/Makefile (tests): Add test-powl.
10819 (CFLAGS-test-powl.c): Define.
10820 * math/test-powl.c: New file.
10822 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10824 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10826 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10829 * iconvdata/gb18030.c: Update to GB18020-2005.
10831 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10833 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10834 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10835 Patch by Aharon Robbins <arnold@skeeve.com>.
10838 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10842 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10843 through underflows.
10846 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10847 point to strings before performing equality test for error_one_per_line
10851 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10855 (struct user_fpregs_struct): Avoid __uint*_t types.
10858 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10859 symbol info. Use it instead of calling _dl_addr locally.
10860 (lock_and_info): New function.
10861 (tr_freehook): Call lock_and_info and pass symbol info as additional
10862 parameter to tr_where.
10863 (tr_mallochook): Likewise.
10864 (tr_reallochook): Likewise.
10865 (tr_memalignhook): Likewise.
10867 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10868 used and couldn't be at all thread-safe.
10870 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10872 * libio/freopen.c (freopen): Don't close old file descriptor
10873 before the new one is opened. Instead dup the new file descriptor
10874 to the old one after the new stream is created.
10875 * libio/freopen64.c (freopen64): Likewise.
10876 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10877 * libio/fileops.c (_IO_new_file_close_it): Handle new
10878 _IO_FLAGS2_NOCLOSE flag.
10879 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10880 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10881 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10882 _IO_FLAGS2_NOCLOSE flag.
10883 * include/unistd.h: Add hidden_proto for dup3.
10884 Define __have_dup3.
10885 * io/dup3.c: Define hidden symbol.
10886 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10889 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10890 when an incomplete long option is used.
10891 * posix/tst-getopt_long1.c: New file.
10892 * posix/Makefile (tests): Add tst-getopt_long1.
10895 * scripts/config.guess: Update from autoconf-2.68.
10896 * scripts/config.sub: Likewise.
10899 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10901 (has_cpuclock): ...this. New function.
10902 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10903 macro here based on has_cpuclock code.
10906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10907 First byte (not low byte) is now always NUL.
10908 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10911 Use non-cancelable interfaces.
10914 * locale/iso-639.def: Add entry for Sorani.
10917 * include/stdlib.h: Move include protection to the right place.
10918 Define abort_msg_s. Declare __abort_msg with it.
10919 * stdlib/abort.c (__abort_msg): Adjust type.
10920 * assert/assert.c (__assert_fail_base): New function. Majority
10921 of code from __assert_fail. Allocate memory for __abort_msg with
10923 (__assert_fail): Now call __assert_fail_base.
10924 * assert/assert-perr.c: Remove bulk of implementation. Use
10925 __assert_fail_base.
10926 * include/assert.hL Declare __assert_fail_base.
10927 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10929 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10931 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10935 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10936 until all modules are registered in the DTV.
10937 * elf/Makefile: Add rules to build and run tst-tls19.
10938 * elf/tst-tls19.c: New file.
10939 * elf/tst-tls19mod1.c: New file.
10940 * elf/tst-tls19mod2.c: New file.
10941 * elf/tst-tls19mod3.c: New file.
10942 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10945 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10949 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10950 two-byte sequence errors.
10951 * iconvdata/Makefile (tests): Add bug-iconv8.
10952 * iconvdata/bug-iconv8.c: New file.
10955 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10958 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10961 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10962 (dummy_getcfa): New function.
10963 (init): Get _Unwind_GetCFA address, use dummy if not found.
10964 (backtrace_helper): In recursion check, also check whether CFA changes.
10965 (__backtrace): Completely initialize arg.
10967 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10968 storing incomplete byte sequence in state object. Avoid testing for
10969 guaranteed too small input if we know there is enough data available.
10971 2011-05-11 Andreas Schwab <schwab@redhat.com>
10973 * Makeconfig (+link-pie): Indent.
10974 * Rules (binaries-pie): Define if $(have-fpie) and
10976 (binaries-shared): Also filter out $(binaries-pie).
10977 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10978 * nscd/Makefile (others-pie): Add nscd.
10979 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10980 ($(objpfx)nscd): Remove command override.
10981 * login/Makefile (others-pie): Add pt_chown.
10982 ($(objpfx)pt_chown): Remove command override.
10983 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10984 remove command overrides.
10986 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10988 * libio/tst_putwc.c: Fix error messages.
10991 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10992 currently writing and seek to current position when not.
10993 * libio/Makefile (tests): Add bug-fclose1.
10994 * libio/bug-fclose1.c: New file.
10996 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10999 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11000 don't set DF_1_NODELETE here.
11001 (do_lookup_x): When entering new entry test for copy relocation
11002 and if necessary set DF_1_NODELETE flag.
11003 * elf/tst-unique4.cc: New file.
11004 * elf/tst-unique4.h: New file.
11005 * elf/tst-unique4lib.cc: New file.
11006 * elf/Makefile: Add rules to build and run tst-unique4.
11007 Patch by Piotr Bury <pbury@goahead.com>.
11009 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11012 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11015 * misc/mntent_r.c (addmntent): Flush the stream after the output
11018 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11019 (is_trusted_path_normalize): Skip initial colon. Append slash
11020 to empty buffer. Duplicate is_trusted_path code but allow
11021 constructed patch to be prefix.
11022 (is_dst): Allow $ORIGIN followed by /.
11023 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11024 Correct testing of result of is_trusted_path_normalize
11025 (decompose_rpath): Fix warning.
11027 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11030 * grp/initgroups.c (internal_getgrouplist): When we found the service
11031 list through the initgroups entry in nsswitch.conf do not always
11032 continue on a successful lookup. Don't always use the
11033 __nss_group_database value if it is set.
11034 * nss/nsswitch.conf (initgroups): Change action for successful db
11035 lookup to continue for compatibility.
11037 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11040 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11042 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11044 * iconvdata/tst-tables.sh: Likewise.
11045 * iconvdata/cp770.c: New file.
11046 * iconvdata/cp771.c: New file.
11047 * iconvdata/cp772.c: New file.
11048 * iconvdata/cp773.c: New file.
11049 * iconvdata/cp774.c: New file.
11050 * iconvdata/testdata/CP770: New file.
11051 * iconvdata/testdata/CP770..UTF8: New file.
11052 * iconvdata/testdata/CP771: New file.
11053 * iconvdata/testdata/CP771..UTF8: New file.
11054 * iconvdata/testdata/CP772: New file.
11055 * iconvdata/testdata/CP772..UTF8: New file.
11056 * iconvdata/testdata/CP773: New file.
11057 * iconvdata/testdata/CP773..UTF8: New file.
11058 * iconvdata/testdata/CP774: New file.
11059 * iconvdata/testdata/CP774..UTF8: New file.
11061 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11063 * iconvdata/gen-8bit-gap.sh: Likewise.
11064 * iconvdata/gen-8bit.sh: Likewise.
11066 * locale/iso-639.def: Add ary entry.
11069 * locale/C-translit.h.in: Add U20A1 transliteration.
11072 * locale/iso-639.def: Add wae entry.
11073 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11076 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11080 * locale/C-translit.h.in: Add entry for U20B9.
11081 Patch by pravin.d.s@gmail.com.
11083 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11086 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11087 ENAMETOOLONG use generic getcwd.
11088 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11089 in rtld. Use *stat64.
11090 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11091 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11092 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11093 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11094 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11095 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11096 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11097 __fstatat64 macros.
11098 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11099 * dirent/rewinddir.c: Add libc_hidden_def.
11100 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11101 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11103 * include/dirent.h (__alloc_dir): Add flags parameter.
11104 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11105 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11107 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11108 from fdopendir if O_CLOEXEC is already set.
11110 2011-03-15 Alan Modra <amodra@gmail.com>
11112 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11113 l_tls_firstbyte_offset non-zero. Save padding offset in
11114 l_tls_firstbyte_offset for later use.
11115 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11116 freeing static tls block.
11118 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11120 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11121 where #ifdef was intended. The intent is to prevent ARG_MAX from
11122 being defined by the kernel headers.
11124 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11127 * resolv/resolv.h: Define RES_NOTLDQUERY.
11128 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11129 no-tld-query and set RES_NOTLDQUERY.
11130 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11131 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11132 modern BIND to search name as TLD unless forbidden.
11134 2011-05-07 Petr Baudis <pasky@suse.cz>
11135 Ulrich Drepper <drepper@gmail.com>
11138 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11139 (is_trusted_path): ...to here.
11140 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11141 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11142 using is_trusted_path_normalize() in setuid scripts.
11144 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11146 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11147 __BEGIN/__END_DECLS.
11149 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11152 NSS_STATUS_NOTFOUND if no record was found.
11154 2011-05-05 Andreas Schwab <schwab@redhat.com>
11156 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11157 (headers-not-in-tirpc): Remove rpc/netdb.h
11158 * resolv/netdb.h: Revert last change.
11160 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11162 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11163 circular dependency between libgcc.a and libc.a.
11165 2011-05-05 Andreas Schwab <schwab@redhat.com>
11167 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11168 * nis/Makefile: Don't install rpcsvc/*.
11169 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11170 instead of <rpc/types.h>.
11171 (MAXHOSTNAMELEN): Define.
11173 2011-05-03 Andreas Schwab <schwab@redhat.com>
11175 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11177 2011-04-28 Maciej Babinski <mbabinski@google.com>
11180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11181 gethostbyname4_r when IPv6 results are possible.
11183 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11186 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11187 _PC_PIPE_BUF handling.
11189 2011-04-30 Bruno Haible <bruno@clisp.org>
11192 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11193 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11195 * inet/getnameinfo.c (getnameinfo): Likewise.
11197 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11199 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11200 to groups setting in database lookup.
11201 * nss/nsswitch.conf: Add initgroups entry.
11203 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11206 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11208 Patch by Eric Blake <eblake@redhat.com>.
11210 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11212 * sunrpc/Makefile (need-export-routines): Add svc_run.
11213 (routines): Remove svc_run.
11214 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11215 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11216 * sunrpc/svc_run.c (svc_run): Likewise.
11217 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11219 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11221 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11222 problem in reallocation in last patch.
11224 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11226 * sunrpc/Makefile: Move inclusion of Rules.
11228 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11230 * nss/nss_files/files-initgroups.c: New file.
11231 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11232 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11233 _nss_files_initgroups_dyn.
11235 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11237 * elf/elf.h (R_ARM_IRELATIVE): Define.
11239 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11241 * po/ru.po: Update from translation team.
11243 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11245 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11248 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11251 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11252 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11253 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11254 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11255 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11257 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11259 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11261 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11262 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11263 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11265 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11268 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11270 * stdlib/bug-getcontext.c: New file.
11271 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11273 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11275 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11276 instructions into .machine "z9-109".
11277 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11278 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11280 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11282 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11283 between environment variables and auxiliary vector.
11285 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11287 * Makefile: Add rules to build linkobj/libc.so.
11288 * include/libc-symbols.h: Define libc_hidden_nolink.
11289 * include/rpc/auth.h: Mark functions which are to be hidden.
11290 * include/rpc/auth_des.h: Likewise.
11291 * include/rpc/auth_unix.h: Likewise.
11292 * include/rpc/clnt.h: Likewise.
11293 * include/rpc/des_crypt.h: Likewise.
11294 * include/rpc/key_prot.h: Likewise.
11295 * include/rpc/pmap_clnt.h: Likewise.
11296 * include/rpc/pmap_prot.h: Likewise.
11297 * include/rpc/pmap_rmt.h: Likewise.
11298 * include/rpc/rpc_msg.h: Likewise.
11299 * include/rpc/svc.h: Likewise.
11300 * include/rpc/svc_auth.h: Likewise.
11301 * include/rpc/xdr.h: Likewise.
11302 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11303 * nss/Makefile: Likewise.
11304 * sunrpc/Makefile: Don't install headers. Build library with normal
11305 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11306 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11307 for the compat linking library. Remove use of INTDEF/INTUSE.
11308 * sunrpc/auth_none.c: Likewise.
11309 * sunrpc/auth_unix.c: Likewise.
11310 * sunrpc/authdes_prot.c: Likewise.
11311 * sunrpc/authuxprot.c: Likewise.
11312 * sunrpc/clnt_gen.c: Likewise.
11313 * sunrpc/clnt_perr.c: Likewise.
11314 * sunrpc/clnt_raw.c: Likewise.
11315 * sunrpc/clnt_simp.c: Likewise.
11316 * sunrpc/clnt_tcp.c: Likewise.
11317 * sunrpc/clnt_udp.c: Likewise.
11318 * sunrpc/clnt_unix.c: Likewise.
11319 * sunrpc/des_crypt.c: Likewise.
11320 * sunrpc/des_soft.c: Likewise.
11321 * sunrpc/get_myaddr.c: Likewise.
11322 * sunrpc/key_call.c: Likewise.
11323 * sunrpc/key_prot.c: Likewise.
11324 * sunrpc/netname.c: Likewise.
11325 * sunrpc/pm_getmaps.c: Likewise.
11326 * sunrpc/pm_getport.c: Likewise.
11327 * sunrpc/pmap_clnt.c: Likewise.
11328 * sunrpc/pmap_prot.c: Likewise.
11329 * sunrpc/pmap_prot2.c: Likewise.
11330 * sunrpc/pmap_rmt.c: Likewise.
11331 * sunrpc/publickey.c: Likewise.
11332 * sunrpc/rpc_cmsg.c: Likewise.
11333 * sunrpc/rpc_common.c: Likewise.
11334 * sunrpc/rpc_dtable.c: Likewise.
11335 * sunrpc/rpc_prot.c: Likewise.
11336 * sunrpc/rpc_thread.c: Likewise.
11337 * sunrpc/rtime.c: Likewise.
11338 * sunrpc/svc.c: Likewise.
11339 * sunrpc/svc_auth.c: Likewise.
11340 * sunrpc/svc_authux.c: Likewise.
11341 * sunrpc/svc_raw.c: Likewise.
11342 * sunrpc/svc_run.c: Likewise.
11343 * sunrpc/svc_simple.c: Likewise.
11344 * sunrpc/svc_tcp.c: Likewise.
11345 * sunrpc/svc_udp.c: Likewise.
11346 * sunrpc/svc_unix.c: Likewise.
11347 * sunrpc/svcauth_des.c: Likewise.
11348 * sunrpc/xcrypt.c: Likewise.
11349 * sunrpc/xdr.c: Likewise.
11350 * sunrpc/xdr_array.c: Likewise.
11351 * sunrpc/xdr_float.c: Likewise.
11352 * sunrpc/xdr_intXX_t.c: Likewise.
11353 * sunrpc/xdr_mem.c: Likewise.
11354 * sunrpc/xdr_rec.c: Likewise.
11355 * sunrpc/xdr_ref.c: Likewise.
11356 * sunrpc/xdr_sizeof.c: Likewise.
11357 * sunrpc/xdr_stdio.c: Likewise.
11359 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11362 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11363 * sysdeps/ia64/dl-tls.h: Likewise.
11364 * sysdeps/powerpc/dl-tls.h: Likewise.
11365 * sysdeps/s390/dl-tls.h: Likewise.
11366 * sysdeps/sh/dl-tls.h: Likewise.
11367 * sysdeps/sparc/dl-tls.h: Likewise.
11368 * sysdeps/x86_64/dl-tls.h: Likewise.
11369 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11371 2011-03-14 Andreas Schwab <schwab@redhat.com>
11373 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11374 rpath element also skip the following colon.
11375 (expand_dynamic_string_token): Add is_path parameter and pass
11376 down to DL_DST_REQUIRED and _dl_dst_substitute.
11377 (decompose_rpath): Call expand_dynamic_string_token with
11378 non-zero is_path. Ignore empty rpaths.
11379 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11382 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11387 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11390 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11391 Patch by Filipe David Manana <fdmanana@apache.org>.
11393 2011-04-07 Andreas Schwab <schwab@redhat.com>
11395 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11396 Maintain aligned stack.
11397 (CHECK_RSP): Remove unused macro.
11399 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11401 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11402 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11404 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11406 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11408 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11410 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11413 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11414 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11415 * sysdeps/x86_64/memmove.c: New file.
11416 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11417 (memcpy): Renamed to ...
11418 (__new_memcpy): This.
11419 (memcpy): Provide GLIBC_2_14 memcpy.
11420 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11421 (memcpy): Provide GLIBC_2_2_5 memcpy.
11423 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11426 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11428 2011-03-30 Andreas Schwab <schwab@redhat.com>
11430 * misc/syncfs.c: New file.
11431 * misc/Makefile (routines): Add syncfs.
11432 * posix/unistd.h: Declare syncfs.
11433 * sysdeps/unix/syscalls.list: Add syncfs.
11435 2011-04-01 Andreas Schwab <schwab@redhat.com>
11437 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11440 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11443 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11444 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11447 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11449 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11451 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11453 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11457 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11458 sync_file_range.c with -fexceptions.
11459 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11460 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11461 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11462 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11463 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11464 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11466 sync_file_range as cancellation point
11467 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11468 now a wrapper around __call_sync_file_range with cancellation handling.
11469 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11470 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11471 function name to __call_sync_file_range.
11472 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11473 Add call_sync_file_range.
11475 2011-04-01 Andreas Schwab <schwab@redhat.com>
11477 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11480 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11482 * iconv/iconv.h: Fix typo in comment.
11483 * io/fcntl.h: Likewise.
11484 * libio/stdio.h: Likewise.
11485 * posix/spawn.h: Likewise.
11486 * posix/unistd.h: Likewise.
11487 * stdlib/stdlib.h: Likewise.
11488 * time/time.h: Likewise.
11489 * wcsmbs/wchar.h: Likewise.
11491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11492 open_by_handle): Add.
11493 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11494 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11495 Augment a few comments.
11496 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11497 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11498 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11499 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11500 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11501 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11504 * io/fcntl.h (AT_EMPTY_PATH): Define.
11506 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11508 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11509 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11510 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11512 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11513 * Versions.def: Add GLIBC_2.14.
11514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11517 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11519 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11521 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11523 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11526 * string/test-strncmp.c (do_page_test): New function.
11527 (check2): Likewise.
11528 (test_main): Call check2.
11529 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11531 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11534 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11535 Handle cache information in CPU leaf 4.
11536 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11538 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11541 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11542 character representation.
11543 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11545 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11547 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11548 END(__isnan) to END(__isnanf) to match function entry point/label
11549 EALIGN(__isnanf,...).
11551 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11553 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11555 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11558 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11559 copy from the symbol referenced in the relocation to initialize the
11561 Patch by Piotr Bury <pbury@goahead.com>.
11562 * elf/Makefile: Add rules to build and tst-unique3.
11563 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11564 * elf/tst-unique3.cc: New file.
11565 * elf/tst-unique3.h: New file.
11566 * elf/tst-unique3lib.cc: New file.
11567 * elf/tst-unique3lib2.cc: New file.
11569 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11571 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11573 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11574 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11577 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11579 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11580 to-be-loaded object along a path to loader is ld.so.
11582 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11583 Ulrich Drepper <drepper@gmail.com>
11585 * sysdeps/x86_64/memset.S: After aligning destination, code
11586 branches to different locations depending on the value of
11587 misalignment, when multiarch is enabled. Fix this.
11589 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11591 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11592 Set _x86_64_preferred_memory_instruction for AMD processsors.
11593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11594 Set bit_Prefer_SSE_for_memop for AMD processors.
11596 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11598 * libio/fmemopen.c (fmemopen): Optimize a bit.
11600 2011-03-03 Andreas Schwab <schwab@redhat.com>
11602 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11604 2011-03-03 Roland McGrath <roland@redhat.com>
11606 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11608 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11610 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11611 __bzero_ultra1 instead of __memset_ultra1.
11613 2011-02-23 Andreas Schwab <schwab@redhat.com>
11614 Ulrich Drepper <drepper@gmail.com>
11617 * include/link.h (struct link_map): Add l_orig_initfini.
11618 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11619 returning unsuccessfully.
11620 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11621 close of a file loaded at startup, restore the original l_initfini
11623 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11624 list, store the pointer.
11625 * elf/Makefile ($(objpfx)noload-mem): New rule.
11626 (noload-ENV): Define.
11627 (tests): Add $(objpfx)noload-mem.
11628 * elf/noload.c: Include <memcheck.h>.
11629 (main): Call mtrace. Close all opened handles.
11631 2011-02-17 Andreas Schwab <schwab@redhat.com>
11634 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11635 dependencies are missing.
11637 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11639 Fix __if_freereq crash: Unlike the generic version which uses free,
11641 * sysdeps/mach/hurd/ifreq.h: New file.
11643 2011-01-27 Petr Baudis <pasky@suse.cz>
11644 Ulrich Drepper <drepper@gmail.com>
11647 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11648 to extend_alloca().
11649 * stdio-common/bug23.c: New file.
11650 * stdio-common/Makefile (tests): Add bug23.
11652 2010-09-28 Andreas Schwab <schwab@redhat.com>
11653 Ulrich Drepper <drepper@gmail.com>
11656 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11657 before performing relro protection. At old place add assertion
11658 to make sure nothing changed.
11660 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11661 Glauber de Oliveira Costa <glommer@gmail.com>
11663 * elf/elf.h: Add new ARM TLS relocs.
11665 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11668 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11670 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11672 * sysdeps/wordsize-64/tst-writev.c: New file.
11674 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11676 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11677 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11678 insns in _dl_start to prevent a TOC reference before relocs are
11681 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11684 * Makeconfig: Remove RANLIB definition.
11685 * Makerules: Don't use RANLIB.
11686 * aclocal.m4: Remove ranlib test.
11687 * configure.in: No need to check for ranlib.
11688 * elf/rtld-Rules: Don't use RANLIB.
11690 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11692 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11694 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11695 inclusion protection macro.
11697 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11698 SIGRTMIN and SIGRTMAX and print information in that case only when
11699 SIGRTMIN is defined.
11701 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11703 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11704 arginfo fn returning -1.
11706 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11707 and thousands string is zero terminated.
11709 2011-02-03 Andreas Schwab <schwab@redhat.com>
11711 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11712 sysdeps/unix/sysv/linux/bits/socket.h.
11714 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11716 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11717 (__CPU_COUNT): Remove old macros.
11718 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11719 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11720 (__CPU_ALLOC, __CPU_FREE): Add macros.
11721 (__sched_cpualloc, __sched_cpufree): Add declarations.
11723 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11725 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11726 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11727 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11728 (readdhstai): Return value of addhstaiX call.
11729 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11730 (addgrbyX): Return value returned by cache_addgr.
11731 (readdgrbyname): Return value returned by addgrbyX.
11732 (readdgrbygid): Likewise.
11733 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11734 (addpwbyX): Return value returned by cache_addpw.
11735 (readdpwbyname): Return value returned by addhstbyX.
11736 (readdpwbyuid): Likewise.
11737 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11738 (addservbyX): Return value returned by cache_addserv.
11739 (readdservbyname): Return value returned by addservbyX:
11740 (readdservbyport): Likewise.
11741 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11742 (addhstbyX): Return value returned by cache_addhst.
11743 (readdhstbyname): Return value returned by addhstbyX.
11744 (readdhstbyaddr): Likewise.
11745 (readdhstbynamev6): Likewise.
11746 (readdhstbyaddrv6): Likewise.
11747 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11748 (readdinitgroups): Return value returned by addinitgroupsX.
11749 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11750 (prune_cache): Keep track of timeout value of re-added entries.
11751 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11752 * nscd/nscd.h: Adjust prototypes of readd* functions.
11754 2011-02-04 Roland McGrath <roland@redhat.com>
11756 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11757 (nis_stats): Likewise.
11758 * nis/nis_modify.c (nis_modify): Likewise.
11759 * nis/nis_remove.c (nis_remove): Likewise.
11760 * nis/nis_add.c (nis_add): Likewise.
11762 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11764 * posix/fnmatch_loop.c: Add some consts.
11766 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11768 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11771 * config.make.in (config-cflags-novzeroupper): Define.
11772 * configure.in: Substitute libc_cv_cc_novzeroupper.
11773 * elf/Makefile (AVX-CFLAGS): Define.
11774 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11775 (CFLAGS-tst-auditmod4a.c): Likewise.
11776 (CFLAGS-tst-auditmod4b.c): Likewise.
11777 (CFLAGS-tst-auditmod6b.c): Likewise.
11778 (CFLAGS-tst-auditmod6c.c): Likewise.
11779 (CFLAGS-tst-auditmod7b.c): Likewise.
11780 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11782 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11784 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11785 function to the callback.
11786 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11788 2011-02-02 Andreas Schwab <schwab@redhat.com>
11790 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11793 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11796 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11798 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11800 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11803 * elf/Makefile: Add rules to build and run new test.
11804 * elf/tst-initorder.c: New file.
11805 * elf/tst-initorder.exp: New file.
11806 * elf/tst-initordera1.c: New file.
11807 * elf/tst-initordera2.c: New file.
11808 * elf/tst-initordera3.c: New file.
11809 * elf/tst-initordera4.c: New file.
11810 * elf/tst-initorderb1.c: New file.
11811 * elf/tst-initorderb2.c: New file.
11812 * elf/tst-order-a1.c: New file.
11813 * elf/tst-order-a2.c: New file.
11814 * elf/tst-order-a3.c: New file.
11815 * elf/tst-order-a4.c: New file.
11816 * elf/tst-order-b1.c: New file.
11817 * elf/tst-order-b2.c: New file.
11818 * elf/tst-order-main.c: New file.
11819 New test case by George Gensure <werkt0@gmail.com>.
11821 2010-10-01 Andreas Schwab <schwab@redhat.com>
11823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11824 decoding ACE if AI_CANONIDN.
11826 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11828 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11830 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11832 * version.h (RELEASE): Bump for 2.13 release.
11833 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11835 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11837 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11839 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11840 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11841 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11842 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11843 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11844 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11846 * posix/getconf.c: Update copyright year.
11847 * catgets/gencat.c: Likewise.
11848 * csu/version.c: Likewise.
11849 * debug/catchsegv.sh: Likewise.
11850 * debug/xtrace.sh: Likewise.
11851 * elf/ldconfig.c: Likewise.
11852 * elf/ldd.bash.in: Likewise.
11853 * elf/sprof.c (print_version): Likewise.
11854 * iconv/iconv_prog.c: Likewise.
11855 * iconv/iconvconfig.c: Likewise.
11856 * locale/programs/locale.c: Likewise.
11857 * locale/programs/localedef.c: Likewise.
11858 * malloc/memusage.sh: Likewise.
11859 * malloc/mtrace.pl: Likewise.
11860 * nscd/nscd.c (print_version): Likewise.
11861 * nss/getent.c: Likewise.
11863 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11864 PF_CAIF, and PF_ALG.
11865 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11867 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11869 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11870 (modules-names): Use them.
11871 (ifunc-test-modules, ifunc-pie-tests): Define.
11872 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11873 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11874 (test-extras): Likewise.
11875 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11876 $(compile-command.c).
11877 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11878 (all-built-dso): Define.
11879 (check-textrel.out, check-execstack.out): Depend on it.
11881 * configure.in: Don't override --enable-multi-arch.
11883 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11886 * nscd/hstcache.c (tryagain): Define.
11887 (cache_addhst): Return tryagain not notfound for temporary errors.
11888 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11891 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11894 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11895 to make the syscall.
11896 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11899 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11900 and fall back to matching as normal character if the string ends before
11901 the matching ']' is found. This is what POSIX requires.
11902 * posix/testfnm.c: Adjust test result.
11903 * posix/globtest.sh: Adjust test result. Add new test.
11904 * posix/tst-fnmatch.input: Likewise.
11905 * posix/tst-fnmatch2.c: Add new test.
11907 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11909 * elf/Makefile (check-execstack): Revert last change. Depend on
11911 (check-execstack.h): New target.
11912 (generated): Add check-execstack.h.
11913 * elf/check-execstack.c: Include "check-execstack.h".
11914 (main): Revert last change.
11915 (handle_file): Return zero if GNU_STACK is absent and
11916 DEFAULT_STACK_PERMS doesn't include PF_X.
11918 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11920 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11921 in child fails because the descriptor is already closed.
11922 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11923 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11924 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11927 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11931 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11932 temporary buffer used to handle multi lookups locally.
11933 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11935 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11937 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11940 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11942 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11943 alignment for SSE2.
11945 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11948 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11949 characters. When rounding increased number of integer digits recompute
11951 * stdio-common/tst-grouping.c: New file.
11952 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11954 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11956 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11957 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11959 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11961 * bits/select.h: Likewise.
11963 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11965 * po/ja.po: Update from translation team.
11967 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11970 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11971 implementation just like for lxstat, fxstatat, et al.
11973 2010-12-27 Jim Meyering <meyering@redhat.com>
11976 * posix/regexec.c (build_trtable): Return failure indication upon
11977 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11979 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11982 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11983 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11984 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11985 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11988 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11991 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11992 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11994 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11996 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11997 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11998 script has SORT_BY_INIT_PRIORITY.
11999 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12000 NO_CTORS_DTORS_SECTIONS is defined.
12001 * elf/soinit.c: Likewise.
12002 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12003 NO_CTORS_DTORS_SECTIONS is defined.
12004 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12005 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12006 * sysdeps/sh/init-first.c: Likewise.
12007 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12009 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12011 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12012 always use the slow path.
12014 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12016 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12017 similar rule which adds the sysdep directories to the header search in
12018 order to pick up the correct platform stackinfo.h.
12019 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12020 perform test if it is, otherwise return successfully without testing.
12021 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12022 DEFAULT_STACK_PERMS define in stackinfo.h.
12023 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12024 defined in stackinfo.h.
12025 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12026 DEFAULT_STACK_PERMS defined in stackinfo.h.
12027 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12028 * sysdeps/ia64/stackinfo.h: Likewise.
12029 * sysdeps/s390/stackinfo.h: Likewise.
12030 * sysdeps/sh/stackinfo.h: Likewise.
12031 * sysdeps/sparc/stackinfo.h: Likewise.
12032 * sysdeps/x86_64/stackinfo.h: Likewise.
12033 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12034 PF_X for powerpc64. Retain PF_X for powerpc32.
12036 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12038 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12040 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12041 GETDENTS_64BIT_ALIGNED.
12043 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12045 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12047 2010-12-10 Andreas Schwab <schwab@redhat.com>
12049 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12052 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12053 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12055 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12056 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12058 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12061 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12064 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12066 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12068 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12070 * po/it.po: Update from translation team.
12072 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12077 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12079 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12081 2010-11-24 Andreas Schwab <schwab@redhat.com>
12083 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12085 (gaih_getanswer_slice): Likewise.
12087 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12089 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12091 2010-05-31 Petr Baudis <pasky@suse.cz>
12094 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12095 silently even in the chroot mode.
12097 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12099 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12100 last patch a bit. Pretty printing
12102 2010-05-31 Petr Baudis <pasky@suse.cz>
12105 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12106 initialization of skip_initgroups_dyn.
12108 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12110 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12111 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12113 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12115 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12117 2010-11-11 Andreas Schwab <schwab@redhat.com>
12119 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12120 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12121 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12122 ($(objpfx)tst-fnmatch-mem): New rule.
12123 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12124 * posix/tst-fnmatch.c (main): Call mtrace.
12126 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12129 Support Intel processor model 6 and model 0x2c.
12131 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12136 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12139 * string/test-strncasecmp.c (check_result): New function.
12140 (do_one_test): Use it.
12141 (check1): New function.
12142 (test_main): Use it.
12143 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12144 Support strcasecmp and strncasecmp.
12146 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12149 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12150 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12152 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12154 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12158 * sysdeps/x86_64/multiarch/bzero.S: New file.
12159 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12160 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12161 * sysdeps/x86_64/multiarch/memset.S: New file.
12162 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12163 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12164 Set bit_Prefer_SSE_for_memop for Intel processors.
12165 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12167 (index_Prefer_SSE_for_memop): Define.
12168 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12170 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12172 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12173 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12175 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12178 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12179 (__x86_64_raw_data_cache_size_half): Likewise.
12180 (__x86_64_raw_shared_cache_size): Likewise.
12181 (__x86_64_raw_shared_cache_size_half): Likewise.
12183 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12184 (__x86_64_raw_data_cache_size_half): Likewise.
12185 (__x86_64_raw_shared_cache_size): Likewise.
12186 (__x86_64_raw_shared_cache_size_half): Likewise.
12187 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12188 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12189 and __x86_64_raw_shared_cache_size_half. Round
12190 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12191 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12192 to multiple of 256 bytes.
12194 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12197 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12198 of inacessible symlinks. Verify result of symlink before returning it.
12199 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12200 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12202 2010-10-28 Erich Ritz <erichritz@gmail.com>
12204 * math/math.h (isinf): Fix typo in comment.
12206 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12208 * po/da.po: Update from translation team.
12210 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12212 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12213 is added to the list.
12215 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12216 Ulrich Drepper <drepper@gmail.com>
12218 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12219 the global list here. Move code to...
12220 (_dl_add_to_namespace_list): ...here. New function.
12221 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12222 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12223 * elf/dl-load.c (lose): Don't remove the element from the list.
12224 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12225 (_dl_map_object): Likewise.
12227 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12230 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12231 into all bytes of SSE register.
12232 Patch by Richard Li <richardpku@gmail.com>.
12234 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12237 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12240 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12242 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12243 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12244 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12245 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12250 2010-10-22 Andreas Schwab <schwab@redhat.com>
12252 * include/dlfcn.h (__RTLD_SECURE): Define.
12253 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12254 mode & __RTLD_SECURE instead.
12255 (open_path): Rename preloaded parameter to secure.
12256 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12257 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12258 * elf/dl-deps.c (openaux): Likewise.
12259 * elf/rtld.c (struct map_args): Remove is_preloaded.
12260 (map_doit): Don't use it.
12261 (dl_main): Likewise.
12262 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12263 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12265 2010-09-09 Andreas Schwab <schwab@redhat.com>
12267 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12268 (sysd-rules-targets): Remove duplicates.
12269 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12270 rtld-%.$o dependency.
12272 2010-10-18 Andreas Schwab <schwab@redhat.com>
12274 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12275 _dl_map_object do it.
12277 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12279 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12280 fast fma builtins, define the macros in the C99 standard.
12281 (FP_FAST_FMAF): Likewise.
12282 (FP_FAST_FMAL): Likewise.
12283 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12285 * bits/mathdef.h: Update copyright year.
12286 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12288 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12290 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12291 builtins, define the macros in the C99 standard.
12292 (FP_FAST_FMAF): Likewise.
12293 (FP_FAST_FMAL): Likewise.
12294 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12296 (FP_FAST_FMAF): Likewise.
12298 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12301 * math/libm-test.inc (fma_test): Some new testcases.
12302 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12303 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12304 y and infinite z. Do multiplication by C already in long double.
12305 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12307 y and infinite z. Do bitwise or of inexact bit into u.d.
12308 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12309 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12310 * sysdeps/i386/fpu/s_fma.S: Removed.
12311 * sysdeps/i386/fpu/s_fmal.S: Removed.
12313 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12316 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12318 computation is not scheduled after fetestexcept. Fix value
12319 of minimum denormal long double.
12321 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12324 * math/libm-test.inc (fma_test): Add some more tests.
12325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12328 2010-10-15 Andreas Schwab <schwab@redhat.com>
12330 * scripts/data/localplt-s390-linux-gnu.data: New file.
12331 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12333 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12336 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12337 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12339 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12341 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12343 if one of x and y is very large and the other is subnormal.
12344 * sysdeps/s390/fpu/s_fmaf.c: New file.
12345 * sysdeps/s390/fpu/s_fma.c: New file.
12346 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12347 * sysdeps/powerpc/fpu/s_fma.S: New file.
12348 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12349 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12350 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12352 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12355 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12357 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12358 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12359 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12360 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12361 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12362 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12363 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12365 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12368 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12369 * posix/bug-regex31.input: Add test case.
12371 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12373 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12374 * posix/bug-regex31.input: New file.
12377 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12378 (parse_sub_exp): Fix last change, use postorder.
12380 * posix/bug-regex31.c: New file.
12381 * posix/Makefile: Add rules to build and run bug-regex31.
12383 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12386 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12389 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12390 to have entries in sys_siglist.
12393 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12396 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12399 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12400 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12401 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12402 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12403 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12404 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12405 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12406 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12407 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12408 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12409 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12410 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12411 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12412 * math/ftestexcept.c (fetestexcept): Likewise.
12413 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12414 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12415 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12416 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12417 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12418 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12419 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12421 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12424 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12427 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12429 * string/bug-strstr1.c: New file.
12430 * string/Makefile: Add rules to build and run bug-strstr1.
12432 2010-10-05 Eric Blake <eblake@redhat.com>
12435 * string/str-two-way.h (two_way_long_needle): Always clear memory
12436 when skipping input due to the shift table.
12438 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12441 * malloc/mcheck.c: Handle large requests.
12444 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12445 for strncmp and strncasecmp.
12446 * string/stratcliff.c: Add tests for strcmp and strncmp.
12447 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12449 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12451 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12454 2010-09-30 Andreas Jaeger <aj@suse.de>
12456 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12457 (CGROUP_SUPER_MAGIC): Define.
12458 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12459 Handle btrfs and cgroup file systems.
12460 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12463 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12465 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12466 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12468 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12471 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12472 trying to locate the ELF header.
12474 2010-09-27 Andreas Schwab <schwab@redhat.com>
12477 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12478 Mask out sign-bit copies when constructing f_fsid.
12480 2010-09-24 Petr Baudis <pasky@suse.cz>
12482 * debug/stack_chk_fail_local.c: Add missing licence exception.
12483 * debug/warning-nop.c: Likewise.
12485 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12487 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12488 implementing getdents64 using getdents syscall, set d_type if
12489 __ASSUME_GETDENTS32_D_TYPE.
12491 2010-09-16 Andreas Schwab <schwab@redhat.com>
12493 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12494 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12496 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12499 * posix/unistd.h: Undo change of feature selection for ftruncate from
12502 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12504 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12507 2010-09-20 Andreas Schwab <schwab@redhat.com>
12509 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12511 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12513 2010-09-14 Andreas Schwab <schwab@redhat.com>
12515 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12516 variables after CHECK_SP call.
12517 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12519 2010-09-13 Andreas Schwab <schwab@redhat.com>
12520 Ulrich Drepper <drepper@redhat.com>
12522 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12523 re-relocationg ld.so.
12524 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12525 _dl_init_paths call.
12526 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12529 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12531 * resolv/res_init.c (__res_vinit): Count the default server we added.
12533 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12534 Ulrich Drepper <drepper@redhat.com>
12537 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12538 (____longjmp_chk): Use %ebx for saving value across system call.
12541 2010-09-06 Andreas Schwab <schwab@redhat.com>
12543 * manual/Makefile: Don't mix pattern rules with normal rules.
12545 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12547 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12549 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12550 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12551 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12552 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12556 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12559 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12560 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12562 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12564 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12565 * sysdeps/x86_64/addmul_1.S: Likewise.
12566 * sysdeps/x86_64/lshift.S: Likewise.
12567 * sysdeps/x86_64/mul_1.S: Likewise.
12568 * sysdeps/x86_64/rshift.S: Likewise.
12569 * sysdeps/x86_64/sub_n.S: Likewise.
12570 * sysdeps/x86_64/submul_1.S: Likewise.
12572 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12574 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12575 Define __sched_param instead of SCHED_* and sched_param when
12576 <bits/sched.h> is included with __need_schedparam defined.
12577 * bits/sched.h [__need_schedparam]
12578 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12579 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12580 (__defined_schedparam): Define to 1.
12581 (__sched_param): New structure, identical to sched_param.
12582 (__need_schedparam): Undefine.
12584 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12587 (epoll_create1): Declare.
12589 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12591 2010-08-31 Andreas Schwab <schwab@redhat.com>
12594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12595 shifting retval into place.
12597 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12599 * nis/rpcsvc/nis.h: Update copyright notice.
12600 * nis/rpcsvc/nis.x: Likewise.
12601 * nis/rpcsvc/nis_callback.h: Likewise.
12602 * nis/rpcsvc/nis_callback.x: Likewise.
12603 * nis/rpcsvc/nis_object.x: Likewise.
12604 * nis/rpcsvc/nis_tags.h: Likewise.
12605 * nis/rpcsvc/yp.h: Likewise.
12606 * nis/rpcsvc/yp.x: Likewise.
12607 * nis/rpcsvc/ypupd.h: Likewise.
12608 * nis/yp_xdr.c: Likewise.
12609 * nis/ypupdate_xdr.c: Likewise.
12611 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12612 mainly the body of pmap_getport. Add parameters to specify timeouts.
12613 (pmap_getport): Use __libc_rpc_getport.
12614 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12615 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12616 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12618 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12623 2010-08-27 Roland McGrath <roland@redhat.com>
12625 * sysdeps/i386/i686/multiarch/Makefile
12626 (CFLAGS-varshift.c): New variable.
12628 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12630 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12631 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12635 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12637 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12639 * sysdeps/x86_64/strlen.S: Unroll the loop.
12640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12641 strlen-sse2 strlen-sse2-bsf.
12642 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12643 __strlen_no_bsf if bit_Slow_BSF is set.
12644 (__strlen_sse42): Removed.
12645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12646 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12648 2010-08-25 Roland McGrath <roland@redhat.com>
12650 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12651 * sysdeps/x86_64/multiarch/varshift.c: New file.
12652 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12653 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12654 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12655 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12657 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12660 strlen-sse2 strlen-sse2-bsf.
12661 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12662 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12663 (__strlen_sse2): Removed.
12664 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12667 bit_Slow_BSF for Atom.
12668 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12669 (index_Slow_BSF): Define.
12670 (HAS_SLOW_BSF): Define.
12672 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12675 * resolv/res_init.c (__res_vinit): When no server address at all
12676 is given default to loopback.
12678 2010-08-24 Roland McGrath <roland@redhat.com>
12680 * configure.in: Remove config-name.h generation.
12681 * configure: Regenerated.
12682 * config-name.in: File removed.
12683 * scripts/config-uname.sh: New file.
12684 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12685 ($(objdir)config-name.h): New target.
12687 * sunrpc/rpc_parse.h: Avoid nested comment.
12689 2010-08-24 Richard Henderson <rth@redhat.com>
12690 Ulrich Drepper <drepper@redhat.com>
12691 H.J. Lu <hongjiu.lu@intel.com>
12693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12695 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12696 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12697 _mm_alignr_epi8 with _mm_loadu_si128.
12698 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12699 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12700 (__m128i_shift_right): Removed.
12701 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12702 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12703 * sysdeps/x86_64/multiarch/varshift.h: New file.
12704 * sysdeps/x86_64/multiarch/varshift.S: New file.
12706 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12708 * configure.in: Move assembler checks to before sysdep dir checking.
12710 2010-08-20 Petr Baudis <pasky@suse.cz>
12712 * LICENSES: Sync the sunrpc license.
12714 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12716 * sunrpc/auth_des.c: Update copyright notice once again.
12717 * sunrpc/auth_none.c: Likewise.
12718 * sunrpc/auth_unix.c: Likewise.
12719 * sunrpc/authdes_prot.c: Likewise.
12720 * sunrpc/authuxprot.c: Likewise.
12721 * sunrpc/bindrsvprt.c: Likewise.
12722 * sunrpc/clnt_gen.c: Likewise.
12723 * sunrpc/clnt_perr.c: Likewise.
12724 * sunrpc/clnt_raw.c: Likewise.
12725 * sunrpc/clnt_simp.c: Likewise.
12726 * sunrpc/clnt_tcp.c: Likewise.
12727 * sunrpc/clnt_udp.c: Likewise.
12728 * sunrpc/clnt_unix.c: Likewise.
12729 * sunrpc/des_crypt.c: Likewise.
12730 * sunrpc/des_soft.c: Likewise.
12731 * sunrpc/get_myaddr.c: Likewise.
12732 * sunrpc/getrpcport.c: Likewise.
12733 * sunrpc/key_call.c: Likewise.
12734 * sunrpc/key_prot.c: Likewise.
12735 * sunrpc/openchild.c: Likewise.
12736 * sunrpc/pm_getmaps.c: Likewise.
12737 * sunrpc/pm_getport.c: Likewise.
12738 * sunrpc/pmap_clnt.c: Likewise.
12739 * sunrpc/pmap_prot.c: Likewise.
12740 * sunrpc/pmap_prot2.c: Likewise.
12741 * sunrpc/pmap_rmt.c: Likewise.
12742 * sunrpc/rpc/auth.h: Likewise.
12743 * sunrpc/rpc/auth_unix.h: Likewise.
12744 * sunrpc/rpc/clnt.h: Likewise.
12745 * sunrpc/rpc/des_crypt.h: Likewise.
12746 * sunrpc/rpc/key_prot.h: Likewise.
12747 * sunrpc/rpc/netdb.h: Likewise.
12748 * sunrpc/rpc/pmap_clnt.h: Likewise.
12749 * sunrpc/rpc/pmap_prot.h: Likewise.
12750 * sunrpc/rpc/pmap_rmt.h: Likewise.
12751 * sunrpc/rpc/rpc.h: Likewise.
12752 * sunrpc/rpc/rpc_des.h: Likewise.
12753 * sunrpc/rpc/rpc_msg.h: Likewise.
12754 * sunrpc/rpc/svc.h: Likewise.
12755 * sunrpc/rpc/svc_auth.h: Likewise.
12756 * sunrpc/rpc/types.h: Likewise.
12757 * sunrpc/rpc/xdr.h: Likewise.
12758 * sunrpc/rpc_clntout.c: Likewise.
12759 * sunrpc/rpc_cmsg.c: Likewise.
12760 * sunrpc/rpc_common.c: Likewise.
12761 * sunrpc/rpc_cout.c: Likewise.
12762 * sunrpc/rpc_dtable.c: Likewise.
12763 * sunrpc/rpc_hout.c: Likewise.
12764 * sunrpc/rpc_main.c: Likewise.
12765 * sunrpc/rpc_parse.c: Likewise.
12766 * sunrpc/rpc_parse.h: Likewise.
12767 * sunrpc/rpc_prot.c: Likewise.
12768 * sunrpc/rpc_sample.c: Likewise.
12769 * sunrpc/rpc_scan.c: Likewise.
12770 * sunrpc/rpc_scan.h: Likewise.
12771 * sunrpc/rpc_svcout.c: Likewise.
12772 * sunrpc/rpc_tblout.c: Likewise.
12773 * sunrpc/rpc_util.c: Likewise.
12774 * sunrpc/rpc_util.h: Likewise.
12775 * sunrpc/rpcinfo.c: Likewise.
12776 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12777 * sunrpc/rpcsvc/key_prot.x: Likewise.
12778 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12779 * sunrpc/rpcsvc/mount.x: Likewise.
12780 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12781 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12782 * sunrpc/rpcsvc/rex.x: Likewise.
12783 * sunrpc/rpcsvc/rstat.x: Likewise.
12784 * sunrpc/rpcsvc/rusers.x: Likewise.
12785 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12786 * sunrpc/rpcsvc/spray.x: Likewise.
12787 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12788 * sunrpc/rtime.c: Likewise.
12789 * sunrpc/svc.c: Likewise.
12790 * sunrpc/svc_auth.c: Likewise.
12791 * sunrpc/svc_authux.c: Likewise.
12792 * sunrpc/svc_raw.c: Likewise.
12793 * sunrpc/svc_run.c: Likewise.
12794 * sunrpc/svc_simple.c: Likewise.
12795 * sunrpc/svc_tcp.c: Likewise.
12796 * sunrpc/svc_udp.c: Likewise.
12797 * sunrpc/svc_unix.c: Likewise.
12798 * sunrpc/svcauth_des.c: Likewise.
12799 * sunrpc/xcrypt.c: Likewise.
12800 * sunrpc/xdr.c: Likewise.
12801 * sunrpc/xdr_array.c: Likewise.
12802 * sunrpc/xdr_float.c: Likewise.
12803 * sunrpc/xdr_mem.c: Likewise.
12804 * sunrpc/xdr_rec.c: Likewise.
12805 * sunrpc/xdr_ref.c: Likewise.
12806 * sunrpc/xdr_sizeof.c: Likewise.
12807 * sunrpc/xdr_stdio.c: Likewise.
12809 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12812 2010-08-19 Andreas Schwab <schwab@redhat.com>
12814 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12816 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12818 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12819 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12820 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12821 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12822 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12823 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12824 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12825 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12826 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12827 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12828 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12829 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12830 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12831 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12833 2010-07-26 Anton Blanchard <anton@samba.org>
12835 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12836 * malloc/arena.c (heap_trim): Likewise.
12838 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12840 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12842 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12843 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12845 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12847 * sysdeps/i386/elf/Makefile: New file.
12849 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12851 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12852 from fanotify_init.
12853 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12856 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12858 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12860 * sysdeps/multiarch/strcmp.S: Likewise.
12862 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12864 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12865 strncase_l-nonascii.
12866 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12867 Add strncase_l-ssse3.
12868 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12869 * sysdeps/x86_64/strcmp.S: Likewise.
12870 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12871 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12872 * sysdeps/x86_64/strncase.S: New file.
12873 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12874 * sysdeps/x86_64/strncase_l.S: New file.
12875 * string/Makefile (strop-tests): Add strncasecmp.
12876 * string/test-strncasecmp.c: New file.
12878 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12881 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12882 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12884 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12886 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12888 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12890 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12891 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12892 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12894 2010-05-01 Alan Modra <amodra@gmail.com>
12896 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12897 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12898 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12899 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12900 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12901 tidying. Don't tail-call __sigjmp_save for static lib.
12902 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12904 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12905 (CALL_MCOUNT): Add eh info, and nop after bl.
12906 (TAIL_CALL_SYSCALL_ERROR): New macro.
12907 (PSEUDO_RET): Use it.
12908 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12909 Correct save location of integer regs and cr.
12910 (_dl_profile_resolve): Correct cr save location. Delete nops
12911 after bl when SHARED. Reduce cfi size a little by better
12912 placement of cfi directives.
12913 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12914 make a stack frame. Instead use parm save area as a temp.
12915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12916 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12918 Don't make a stack frame for parent, use parm save area.
12919 Increase child stack frame to 112 bytes. Don't save unused reg,
12920 and adjust reg usage. Set up cfi on error recovery and
12921 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12923 (__makecontext): Add dummy nop after jump to exit.
12924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12925 Use correct parm save area and cr save, reduce stack frame.
12926 Correct cfi for possible PSEUDO_RET frame setup.
12927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12928 Branch to local label emitted by PSEUDO_RET rather than
12931 2010-08-12 Andreas Schwab <schwab@redhat.com>
12934 * locale/programs/locale.c (print_assignment): New function.
12935 (show_locale_vars): Use it.
12937 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12939 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12941 (struct statfs64): Likewise.
12942 (_STATFS_F_FLAGS): Define.
12943 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12944 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12945 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12946 (ST_VALID): Define locally.
12947 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12948 __statvfs_getflags, use the provided value.
12949 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12950 __ASSUME_STATFS_F_FLAGS.
12952 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12954 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12955 Add sys/fanotify.h.
12956 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12957 fanotify_mask for GLIBC_2.13.
12958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12959 fanotify_init and fanotify_mark.
12960 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12961 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12963 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12965 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12966 prlimit64 for GLIBC_2.13.
12967 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12972 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12973 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12977 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12980 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12981 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12983 * nss/Makefile: Add rules to build and run tst-nss-test1.
12984 * shlib-versions: Add entry for libnss_test1.
12985 * nss/nss_test1.c: New file.
12986 * nss/tst-nss-test1.c: New file.
12988 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12989 (__nss_configure_lookup): Set appropriate entry in
12990 __nss_configure_lookup to true.
12991 * nss/nsswitch.h: Define enum with indeces of databases in
12992 databases and __nss_database_custom arrays. Declare
12993 __nss_database_custom.
12994 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12995 to avoid using nscd when custom rules are installed.
12996 * nss/getXXbyYY_r.c: Likewise.
12997 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12999 * nss/nss_files/files-parse.c: Whitespace fixes.
13001 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13004 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13005 * posix/fnmatch_loop.c: Likewise.
13007 2010-07-17 Andi Kleen <ak@linux.intel.com>
13009 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13010 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13011 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13012 * Versions.def [GLIBC_2.13]: Add.
13014 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13016 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13017 Also fail if tpwd after pwuid call is NULL.
13019 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13021 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13022 when converting to ms.
13024 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13026 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13027 EOPNOTSUPP errors with ENOTTY.
13028 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13029 EOPNOTSUPP errors with ENOTTY.
13031 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13033 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13034 Add strcasecmp_l-ssse3.
13035 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13037 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13038 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13039 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13041 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13043 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13045 * string/Makefile (strop-tests): Add strcasecmp.
13046 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13047 strcasecmp_l-nonascii.
13048 (gen-as-const-headers): Add locale-defines.sym.
13049 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13050 * sysdeps/x86_64/strcasecmp.S: New file.
13051 * sysdeps/x86_64/strcasecmp_l.S: New file.
13052 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13053 * sysdeps/x86_64/locale-defines.sym: New file.
13054 * string/test-strcasecmp.c: New file.
13056 * string/test-strcasestr.c: Test both ends of the range of characters.
13057 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13059 2010-07-29 Roland McGrath <roland@redhat.com>
13062 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13064 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13066 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13069 2010-07-27 Andreas Schwab <schwab@redhat.com>
13071 * manual/memory.texi (Malloc Tunable Parameters): Document
13074 2010-07-26 Roland McGrath <roland@redhat.com>
13077 * configure.in (-fgnu89-inline check): Set and substitute
13078 gnu89_inline, not libc_cv_gnu89_inline.
13079 * configure: Regenerated.
13080 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13082 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13084 * string/test-strnlen.c: New file.
13085 * string/Makefile (strop-tests): Add strnlen.
13086 * string/tester.c (test_strnlen): Add a few more test cases.
13087 * string/tst-strlen.c: Better error reporting.
13089 * sysdeps/x86_64/strnlen.S: New file.
13091 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13093 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13094 lower-latency instructions.
13096 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13098 * string/test-strcasestr.c: New file.
13099 * string/test-strstr.c: New file.
13100 * string/Makefile (strop-tests): Add strstr and strcasestr.
13101 * string/str-two-way.h: Don't undefine MAX.
13102 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13104 2010-07-21 Andreas Schwab <schwab@redhat.com>
13106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13107 strcasestr-nonascii.
13108 (CFLAGS-strcasestr-nonascii.c): Define.
13109 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13110 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13111 Remove unused attribute.
13113 2010-07-20 Roland McGrath <roland@redhat.com>
13115 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13116 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13117 ld.so.cache was broken. With it, there is no way to disable dsocaps
13118 like LD_HWCAP_MASK can disable hwcaps.
13120 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13122 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13124 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13126 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13127 call in strcasestr.
13128 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13129 __strcasestr_sse42_nonascii.
13130 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13131 strcasestr-nonascii.c.
13132 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13134 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13136 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13137 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13138 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13139 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13141 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13143 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13146 2010-07-06 Andreas Schwab <schwab@redhat.com>
13149 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13152 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13154 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13155 _PC_PIPE_BUF using F_GETPIPE_SZ.
13157 2010-07-05 Roland McGrath <roland@redhat.com>
13159 * manual/arith.texi (Rounding Functions): Fix rint description
13160 implicit in round description.
13162 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13164 * elf/Makefile: Fix linking for a few tests to make recent linker
13167 2010-06-30 Andreas Schwab <schwab@redhat.com>
13169 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13170 $(common-objpfx)libc_nonshared.a.
13172 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13174 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13175 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13176 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13177 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13178 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13179 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13180 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13181 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13196 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13197 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13198 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13199 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13200 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13201 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13202 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13203 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13204 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13205 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13206 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13207 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13223 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13225 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13226 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13227 * string/memmove.c (memmove): Renamed to ...
13228 (MEMMOVE): ...this. Default to memmove.
13229 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13230 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13233 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13234 mempcpy-ssse3-back memmove-ssse3-back.
13235 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13236 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13238 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13239 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13240 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13241 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13242 * sysdeps/x86_64/multiarch/memmove.c: New file.
13243 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13244 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13245 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13246 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13247 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13248 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13250 (index_Fast_Copy_Backward): Define.
13251 (HAS_ARCH_FEATURE): Define.
13252 (HAS_FAST_REP_STRING): Define.
13253 (HAS_FAST_COPY_BACKWARD): Define.
13255 2010-06-21 Andreas Schwab <schwab@redhat.com>
13257 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13258 Restore proper fallback handling.
13260 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13263 * posix/group_member.c (__group_member): Correct checking loop.
13265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13266 OOM in getpwuid_r correctly. Return error number when the caller
13267 should return, otherwise -1.
13268 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13269 call returning > 0 value.
13270 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13272 2010-06-07 Andreas Schwab <schwab@redhat.com>
13274 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13275 libc_nonshared.a from targets in modules-names.
13277 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13279 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13282 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13285 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13286 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13287 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13289 2010-06-02 Andreas Schwab <schwab@redhat.com>
13291 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13293 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13295 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13304 2010-06-14 Roland McGrath <roland@redhat.com>
13306 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13308 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13310 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13311 __REDIRECT followed by __THROW.
13312 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13313 * posix/getopt.h (getopt): Likewise.
13315 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13317 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13318 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13319 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13321 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13322 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13324 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13326 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13328 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13332 Properly check family and model.
13334 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13336 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13338 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13340 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13342 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13344 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13347 2010-05-19 Andreas Schwab <schwab@redhat.com>
13349 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13352 2010-05-21 Andreas Schwab <schwab@redhat.com>
13354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13355 and internal_recvmmsg.
13356 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13357 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13358 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13359 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13361 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13362 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13363 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13365 2010-05-20 Andreas Schwab <schwab@redhat.com>
13367 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13369 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13371 POWER7 optimizations.
13372 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13373 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13375 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13377 * version.h: Update for 2.13 development version.
13379 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13381 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13382 exceptions. Return 0.
13384 2010-05-07 Roland McGrath <roland@redhat.com>
13386 * elf/ldconfig.c (main): Add a const.
13388 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13390 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13391 (args_options): Add no-idn option.
13392 (ahosts_keys_int): Add idn_flags to ai_flags.
13393 (parse_option): Handle 'i' option to clear idn_flags.
13395 * malloc/malloc.c (_int_free): Possible race in the most recently
13396 added check. Only act on the data if no current modification
13399 See ChangeLog.17 for earlier changes.