1 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7 2012-05-10 Joseph Myers <joseph@codesourcery.com>
9 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10 sysdeps/unix/sysv/syscalls.list.
13 * sysdeps/unix/sysv/syscalls.list: Remove file.
15 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21 (__LC_IDENTIFICATION): Make these macros useful in #if
22 expressions, as required by C99.
24 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
26 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32 * stdlib/longlong.h: Updated from GCC.
34 2012-05-09 Andreas Jaeger <aj@suse.de>
36 * nscd/nscd.c (run_modes): Make named enum, reorder so that
37 default is first entry.
39 (main): Remove informal message about syslog.
43 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50 (nearbyint): Likewise.
51 (nearbyintf): Likewise.
53 2012-05-09 Andreas Jaeger <aj@suse.de>
54 Pedro Alves <palves@redhat.com>
56 * nscd/nscd.c (run_mode): Use enum.
57 (main): Cleanup coding style issue.
59 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
60 Andreas Jaeger <aj@suse.de>
62 * nscd/nscd.c (go_background): Replaced with...
64 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65 (options): Add -F --foreground.
67 (parse_opt): Parse it.
69 2012-05-09 Andreas Jaeger <aj@suse.de>
72 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
73 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
78 2012-05-09 Joseph Myers <joseph@codesourcery.com>
80 * conform/data/locale.h-data (NULL): Use macro-constant. Require
82 (LC_ALL): Use macro-int-constant.
83 (LC_COLLATE): Likewise.
85 (LC_MESSAGES): Likewise.
86 (LC_MONETARY): Likewise.
87 (LC_NUMERIC): Likewise.
89 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
90 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
91 [ISO || ISO99 || ISO11] (*_t): Do not allow.
92 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
94 [C99-based standards] (float_t): Expect type.
95 [C99-based standards] (double_t): Expect type.
96 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
98 [C99-based standards] (HUGE_VALL): Likewise.
99 [C99-based standards] (INFINITY): Likewise.
100 [C99-based standards] (NAN): Likewise.
101 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
102 [C99-based standards] (FP_NAN): Likewise.
103 [C99-based standards] (FP_NORMAL): Likewise.
104 [C99-based standards] (FP_SUBNORMAL): Likewise.
105 [C99-based standards] (FP_ZERO): Likewise.
106 [C99-based standards] (FP_FAST_FMA): Use
107 optional-macro-int-constant. Specify type. Require == 1.
108 [C99-based standards] (FP_FAST_FMAF): Likewise.
109 [C99-based standards] (FP_FAST_FMAL): Likewise.
110 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
111 [C99-based standards] (FP_ILOGBNAN): Likewise.
112 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
114 [C99-based standards] (MATH_ERREXCEPT): Likewise.
115 [C99-based standards] (math_errhandling): Specify type.
116 [ISO99 || ISO11] (signgam): Do not allow.
117 [non-C99-based standards] (copysignf): Do not allow.
118 [non-C99-based standards] (exp2f): Likewise.
119 [non-C99-based standards] (log2f): Likewise.
120 [non-C99-based standards] (modff): Allow.
121 [non-C99-based standards] (erff): Do not allow.
122 [non-C99-based standards] (erfcf): Likewise.
123 [non-C99-based standards] (gammaf): Likewise.
124 [non-C99-based standards] (hypotf): Likewise.
125 [non-C99-based standards] (j0f): Likewise.
126 [non-C99-based standards] (j1f): Likewise.
127 [non-C99-based standards] (jnf): Likewise.
128 [non-C99-based standards] (lgammaf): Likewise.
129 [non-C99-based standards] (tgammaf): Likewise.
130 [non-C99-based standards] (y0f): Likewise.
131 [non-C99-based standards] (y1f): Likewise.
132 [non-C99-based standards] (ynf): Likewise.
133 [non-C99-based standards] (isnanf): Likewise.
134 [non-C99-based standards] (acoshf): Likewise.
135 [non-C99-based standards] (asinhf): Likewise.
136 [non-C99-based standards] (atanhf): Likewise.
137 [non-C99-based standards] (cbrtf): Likewise.
138 [non-C99-based standards] (expm1f): Likewise.
139 [non-C99-based standards] (ilogbf): Likewise.
140 [non-C99-based standards] (log1pf): Likewise.
141 [non-C99-based standards] (logbf): Likewise.
142 [non-C99-based standards] (nextafterf): Likewise.
143 [non-C99-based standards] (remainderf): Likewise.
144 [non-C99-based standards] (rintf): Likewise.
145 [non-C99-based standards] (scalbf): Likewise.
146 [non-C99-based standards] (copysignl): Likewise.
147 [non-C99-based standards] (exp2l): Likewise.
148 [non-C99-based standards] (log2l): Likewise.
149 [non-C99-based standards] (modfl): Allow.
150 [non-C99-based standards] (erfl): Do not allow.
151 [non-C99-based standards] (erfcl): Likewise.
152 [non-C99-based standards] (gammal): Likewise.
153 [non-C99-based standards] (hypotl): Likewise.
154 [non-C99-based standards] (j0l): Likewise.
155 [non-C99-based standards] (j1l): Likewise.
156 [non-C99-based standards] (jnl): Likewise.
157 [non-C99-based standards] (lgammal): Likewise.
158 [non-C99-based standards] (tgammal): Likewise.
159 [non-C99-based standards] (y0l): Likewise.
160 [non-C99-based standards] (y1l): Likewise.
161 [non-C99-based standards] (ynl): Likewise.
162 [non-C99-based standards] (isnanl): Likewise.
163 [non-C99-based standards] (acoshl): Likewise.
164 [non-C99-based standards] (asinhl): Likewise.
165 [non-C99-based standards] (atanhl): Likewise.
166 [non-C99-based standards] (cbrtl): Likewise.
167 [non-C99-based standards] (expm1l): Likewise.
168 [non-C99-based standards] (ilogbl): Likewise.
169 [non-C99-based standards] (log1pl): Likewise.
170 [non-C99-based standards] (logbl): Likewise.
171 [non-C99-based standards] (nextafterl): Likewise.
172 [non-C99-based standards] (remainderl): Likewise.
173 [non-C99-based standards] (rintl): Likewise.
174 [non-C99-based standards] (scalbl): Likewise.
175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
176 [non-C99-based standards] (FP_*): Do not allow.
177 [C99-based standards] (FP_*): Change to
178 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
179 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
181 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
183 [X/Open-based standards] (SIG_HOLD): Likewise.
185 (SIGABRT): Use macro-int-constant. Specify type. Require
192 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
193 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
194 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
195 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
196 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
197 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
198 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
199 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
200 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
201 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
202 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
203 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
204 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
205 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
206 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
207 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
208 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
209 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
210 [X/Open-based standards] (SIGTRAP): Likewise.
211 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
212 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
213 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
214 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
215 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
218 2012-05-08 Ian Wienand <ianw@vmware.com>
221 * time/tzset.c (__tzset_parse_tz): Update default rules for
222 daylight time changes in the Energy Policy Act of 2005.
224 2012-05-09 Andreas Jaeger <aj@suse.de>
227 * elf/ldconfig.c (parse_conf): Change string to make clear that
228 ldconfig only issued a warning if ld.so.conf does not exist.
230 2012-05-08 David S. Miller <davem@davemloft.net>
232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
233 movxtod instead of popping the value on the stack.
235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
237 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
239 * config.h.in: Add HAVE_ARM_PCS_VFP.
241 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
244 * include/features.h: Warn if user requests __FORTIFY_SOURCE
245 checking but the checks are disabled for any reason.
247 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
249 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
250 and ELF64_R_TYPE with ELFW(R_TYPE).
252 2012-05-08 Joseph Myers <joseph@codesourcery.com>
254 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
257 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
258 (settimeofday): Likewise.
260 2012-05-08 Mike Frysinger <vapier@gentoo.org>
262 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
263 a struct th_u2 inside the union, and move tu_block/tu_code into
264 a new th_u3 union of tu_block/tu_code inside of that. Move
265 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
266 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
267 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
268 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
269 (th_stuff): Change to th_u1.tu_stuff.
271 (th_msg): Change to th_u1.th_u2.tu_data.
273 2012-05-07 David S. Miller <davem@davemloft.net>
275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
278 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
279 (SETUP_PIC_REG): Use it.
280 (SETUP_PIC_REG_LEAF): Use it.
282 2012-05-07 Joseph Myers <joseph@codesourcery.com>
286 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
288 (EXPL_FINITE): Likewise.
290 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
291 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
293 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
295 (EXPL_FINITE): Likewise.
297 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
298 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
300 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
301 test of -max_value argument for long double.
302 * sysdeps/i386/fpu/libm-test-ulps: Update.
303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
305 2012-05-06 David S. Miller <davem@davemloft.net>
307 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
308 quad soft-float symbols whose references which are compiler
310 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
312 2012-05-06 Joseph Myers <joseph@codesourcery.com>
316 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
318 (EXPL_FINITE): Likewise.
322 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
323 Adjust comments for base varying.
324 (__expl_finite): Change alias to EXPL_FINITE.
325 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
327 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
328 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
329 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
330 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
331 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
333 (EXPL_FINITE): Likewise.
337 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
338 Adjust comments for base varying.
339 (__expl_finite): Change alias to EXPL_FINITE.
340 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
342 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
345 * math/libm-test.inc (check_float_internal): Correct ulp
346 calculation for subnormal expected results.
348 2012-05-06 Andreas Jaeger <aj@suse.de>
350 * Makeconfig (+math-flags): New, set to -frounding-math.
351 (+cflags): Add +math-flags so that all of glibc gets compiled with
354 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
356 2012-05-05 Joseph Myers <joseph@codesourcery.com>
358 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
364 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
365 (__ieee754_expl): Allow for and saturate large arguments.
366 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
367 (u_threshold): Likewise.
368 (__exp): Call __ieee754_exp before checking for overflow and
370 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
371 (u_threshold): Likewise.
372 (__expf): Call __ieee754_expf before checking for overflow and
374 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
375 (u_threshold): Likewise.
376 (__expl): Call __ieee754_expl before checking for overflow and
378 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
379 (__ieee754_expl): Allow for and saturate large arguments.
380 * math/libm-test.inc (exp_test): Add another test. Do not allow
381 missing overflow exception on overflow.
382 (expm1_test): Do not allow missing overflow exception on overflow.
384 * sysdeps/i386/fpu/e_expl.c: Move to ...
385 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
386 rather than using inline asm.
387 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
388 * sysdeps/x86_64/fpu/e_expl.S: Copy from
389 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
391 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
398 2012-05-04 Joseph Myers <joseph@codesourcery.com>
400 * sysdeps/unix/syscalls.list (adjtime): Add entry from
401 sysdeps/unix/common/syscalls.list.
404 (ftruncate): Likewise.
405 (getrusage): Likewise.
406 (gettimeofday): Likewise.
408 (setregid): Likewise.
409 (setreuid): Likewise.
410 (sigaction): Likewise.
411 (truncate): Likewise.
413 * sysdeps/unix/common/syscalls.list: Remove file.
414 * sysdeps/unix/bsd/Implies: Don't include unix/common.
415 * sysdeps/unix/sysv/linux/Implies: Likewise.
417 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
419 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
421 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
425 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
428 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
430 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
431 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
434 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
437 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
439 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
440 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
443 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
447 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
451 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
454 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
458 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
462 2012-05-04 Joseph Myers <joseph@codesourcery.com>
464 * sysdeps/unix/common/bits/dirent.h: Remove file.
465 * sysdeps/unix/common/bits/fcntl.h: Likewise.
467 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
468 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
469 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
470 * sysdeps/unix/bsd/isatty.c: Likewise.
471 * sysdeps/unix/bsd/tcdrain.c: Likewise.
472 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
473 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
475 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
478 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
479 long double comparison inaccuracies.
480 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
483 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
485 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
486 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
488 2012-05-04 Joseph Myers <joseph@codesourcery.com>
491 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
492 nonzero digits before rounding a hex value.
493 * stdlib/tst-strtod.c (tests): Add another test.
495 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
497 * sysdeps/s390/fpu/libm-test-ulps: Update.
499 2012-05-03 Andreas Jaeger <aj@suse.de>
501 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
502 does not get optimized out.
503 (malloc_opt_barrier): New.
505 2012-05-03 Andreas Jaeger <aj@suse.de>
506 Roland McGrath <roland@hack.frob.com>
508 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
509 intermediate file deletion.
510 (generated): Add .symlist files.
512 2012-05-03 Joseph Myers <joseph@codesourcery.com>
515 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
516 Redirect under this condition.
517 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
518 [__USE_GNU] (__dprintf_chk): Not under this condition.
519 [__USE_GNU] (__vdprintf_chk): Likewise.
520 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
521 under this condition.
522 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
523 [__USE_XOPEN2K8] (dprintf): Define under this condition.
524 [__USE_XOPEN2K8] (vdprintf): Likewise.
525 [__USE_GNU] (__dprintf_chk): Not under this condition.
526 [__USE_GNU] (__vdprintf_chk): Likewise.
527 [__USE_GNU] (dprintf): Likewise.
528 [__USE_GNU] (vdprintf): Likewise.
530 2012-05-03 Roland McGrath <roland@hack.frob.com>
532 * elf/Makefile (common-generated): Set this instead of generated for
533 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
534 $(all-built-dso)-derived lists.
536 2012-05-03 Andreas Jaeger <aj@suse.de>
538 * sysdeps/i386/fpu/libm-test-ulps: Update.
542 * scripts/gen-FAQ.pl: Likewise.
543 * manual/install.texi (Installation): Point to online location of
545 * Makefile (files-for-dist): Remove FAQ.
548 2012-05-02 Allan McRae <allan@archlinux.org>
550 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
551 (LDFLAGS-reldepmod5.so): Likewise.
552 (LDFLAGS-reldep6mod1.so): Likewise.
553 (LDFLAGS-reldep6mod4.so): Likewise.
554 (LDFLAGS-reldep8mod3.so): Likewise.
555 (LDFLAGS-unload4mod1.so): Likewise.
556 (LDFLAGS-unload4mod2.so): Likewise.
557 (LDFLAGS-tst-initorder): Likewise.
558 (LDFLAGS-tst-initordera2.so): Likewise.
559 (LDFLAGS-tst-initordera3.so): Likewise.
560 (LDFLAGS-tst-initordera4.so): Likewise.
561 (LDFLAGS-tst-initorderb2.so): Likewise.
562 (LDFLAGS-noload): Likewise.
563 (LDFLAGS-next): Likewise.
564 (LDFLAGS-order2mod1.so): Likewise.
565 (LDFLAGS-order2mod2.so): Likewise.
566 (LDFLAGS-tst-initorder2): Likewise.
567 (LDFLAGS-tst-initorder2a.so): Likewise.
568 (LDFLAGS-tst-initorder2b.so): Likewise.
569 (LDFLAGS-tst-initorder2c.so): Likewise.
570 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
572 2012-05-02 David S. Miller <davem@davemloft.net>
574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
576 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
579 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
581 2012-05-02 Andreas Jaeger <aj@suse.de>
583 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
584 since we manipulate rounding mode.
585 (CPPFLAGS-test-idouble.c): Likewise.
586 (CPPFLAGS-test-ifloat.c): Likewise.
587 (CFLAGS-test-ldouble.c): Likewise.
588 (CFLAGS-test-double.c): Likewise.
589 (CFLAGS-test-float.c): Likewise.
590 (CFLAGS-test-misc.c): Likewise.
591 (CFLAGS-test-test-fenv.c): Likewise.
593 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
597 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
598 comparisons to determine direction to adjust input.
600 2012-05-01 Roland McGrath <roland@hack.frob.com>
602 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
603 output to the target.
605 * scripts/localplt.awk: New file.
606 * elf/Makefile ($(objpfx)check-localplt): Target removed.
607 (check-localplt-CFLAGS): Variable removed.
608 ($(all-built-dso:=.jmprel)): New static pattern rule.
609 (generated): Add those targets.
610 (localplt-built-dso): New variable.
611 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
613 * elf/check-localplt.c: File removed.
615 * scripts/check-execstack.awk: New file.
616 * elf/Makefile ($(objpfx)check-execstack): Target removed.
617 (check-execstack-CFLAGS): Variable removed.
618 ($(objpfx)check-execstack.h): Target removed.
619 ($(objpfx)execstack-default): New target.
620 (generated): Add that instead of check-execstack.h.
621 ($(all-built-dso:=.phdr)): New static pattern rule.
622 (generated): Add those targets.
623 * elf/check-execstack.c: File removed.
625 * scripts/check-textrel.awk: New file.
626 * elf/Makefile ($(objpfx)check-textrel): Target removed.
627 (check-textrel-CFLAGS): Variable removed.
628 (all-built-dso): Use := to define.o
629 ($(all-built-dso:=.dyn)): New static pattern rule.
630 (generated): Add those targets.
631 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
632 * config.make.in (READELF): New substituted variable.
633 * elf/check-textrel.c: File removed.
635 2012-05-01 Joseph Myers <joseph@codesourcery.com>
637 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
639 * conform/data/ctype.h-data [C99-based standards] (isblank):
641 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
642 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
643 [ISO || ISO99 || ISO11] (*_t): Do not allow.
644 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
645 Specify type. Require positive value.
648 [ISO || POSIX] (EILSEQ): Do not expect.
649 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
650 Specify type. Require positive value.
651 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
652 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
653 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
654 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
655 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
656 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
657 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
658 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
659 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
660 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
661 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
662 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
663 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
664 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
665 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
666 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
667 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
668 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
669 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
670 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
671 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
672 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
673 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
674 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
675 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
676 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
677 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
678 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
679 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
680 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
681 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
682 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
683 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
684 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
685 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
686 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
687 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
688 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
689 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
690 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
691 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
692 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
693 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
694 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
695 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
696 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
697 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
698 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
699 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
700 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
701 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
702 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
703 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
704 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
705 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
706 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
707 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
708 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
709 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
710 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
711 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
712 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
713 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
714 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
715 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
716 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
717 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
718 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
719 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
720 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
721 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
722 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
723 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
724 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
725 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
726 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
727 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
729 (FLT_ROUNDS): Expect as macro, not constant.
730 (FLT_MANT_DIG): Use macro-int-constant.
731 (DBL_MANT_DIG): Likewise.
732 (LDBL_MANT_DIG): Likewise.
735 (LDBL_DIG): Likewise.
736 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
737 (DBL_MIN_EXP): Likewise.
738 (LDBL_MIN_EXP): Likewise.
739 (FLT_MAX_EXP): Use macro-int-constant.
740 (DBL_MAX_EXP): Likewise.
741 (LDBL_MAX_EXP): Likewise.
742 (FLT_MAX_10_EXP): Likewise.
743 (DBL_MAX_10_EXP): Likewise.
744 (LDBL_MAX_10_EXP): Likewise.
745 (FLT_MAX): Use macro-constant.
747 (LDBL_MAX): Likewise.
748 (FLT_EPSILON): Use macro-constant. Give upper bound.
749 (DBL_EPSILON): Likewise.
750 (LDBL_EPSILON): Likewise.
753 (LDBL_MIN): Likewise.
754 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
755 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
756 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
757 [ISO11] (FLT_HAS_SUBNORM): Likewise.
758 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
759 [ISO11] (DBL_DECIMAL_DIG): Likewise.
760 [ISO11] (FLT_DECIMAL_DIG): Likewise.
761 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
762 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
763 [ISO11] (FLT_TRUE_MIN): Likewise.
764 [ISO11] (LDBL_TRUE_MIN): Likewise.
765 [ISO || ISO99 || ISO11] (*_t): Do not allow.
766 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
767 (SCHAR_MIN): Use macro-int-constant. Specify type.
768 (SCHAR_MAX): Likewise.
769 (UCHAR_MAX): Likewise.
770 (CHAR_MIN): Likewise.
771 (CHAR_MAX): Likewise.
772 (MB_LEN_MAX): Use macro-int-constant.
773 (SHRT_MIN): Use macro-int-constant. Specify type.
774 (SHRT_MAX): Likewise.
775 (USHRT_MAX): Likewise.
777 (INT_MIN): Use macro-int-constant. Specify type. Make upper
779 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
781 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
783 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
784 bound negative. Suffix upper bound with "L".
785 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
787 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
789 [C99-based standards] (LLONG_MAX): Likewise.
790 [C99-based standards] (ULLONG_MAX): Likewise.
791 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
793 [ISO11] (max_align_t): Require type.
794 [ISO || ISO99 || ISO11] (*_t): Do not allow.
796 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
797 from $CFLAGS, without defining away __attribute__ calls.
798 (checknamespace): Use $CFLAGS_namespace.
800 * conform/conformtest.pl (@keywords): Only include C99 keywords
801 for standards based on C99 or C11.
803 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
805 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
808 * conform/conformtest.pl: Handle "macro-int-constant" and test for
809 usability of symbols in #if.
811 * conform/conformtest.pl: If macro or constant types start
812 "promoted:", expect the symbol to be of the following type
813 promoted by the integer promotions.
815 * conform/conformtest.pl: Parse all "constant" and "macro" lines
816 in one place. Also handle "macro-constant".
818 * conform/conformtest.pl: Only accept expected macro values with
819 "==". Parse all "macro" lines in one place.
820 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
822 * conform/conformtest.pl: Handle braced types on "constant" lines
823 instead of handling "typed-constant".
824 * conform/data/signal.h-data: Use "constant" instead of
827 * conform/conformtest.pl: Handle "optional-" at start of lines in
828 one place rather than duplicating several cases. Handle each
829 format of "macro" line with initial "optional-".
831 * conform/conformtest.pl: Only accept expected constant or
832 optional-constant values with "==". Parse all "constant" lines in
833 one place. Parse all "optional-constant" lines in one place.
834 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
835 * conform/data/fmtmsg.h-data: Likewise.
836 * conform/data/netinet/in.h-data: Likewise.
837 * conform/data/tar.h-data: Likewise.
838 * conform/data/limits.h-data: Use "==" form on "constant" and
839 "optional-constant" lines.
841 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
842 Use -std=c99 for XOPEN2K.
843 (@knownproblems): Remove.
844 (newtoken): Don't check %isknown.
846 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
848 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
849 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
850 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
851 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
852 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
853 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
854 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
855 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
856 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
857 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
858 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
859 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
860 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
861 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
862 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
863 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
864 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
865 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
866 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
867 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
868 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
869 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
870 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
871 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
872 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
873 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
874 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
875 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
876 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
877 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
878 [XPG3] (acosh): Likewise.
879 [XPG3] (asinh): Likewise.
880 [XPG3] (atanh): Likewise.
881 [XPG3] (cbrt): Likewise.
882 [XPG3] (expm1): Likewise.
883 [XPG3] (ilogb): Likewise.
884 [XPG3] (log1p): Likewise.
885 [XPG3] (logb): Likewise.
886 [XPG3] (nextafter): Likewise.
887 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
888 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
889 [XPG3] (remainder): Likewise.
890 [XPG3] (rint): Likewise.
891 [XPG3 || XPG4 || UNIX98] (round): Likewise.
892 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
893 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
894 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
895 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
896 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
897 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
898 [UNIX98 || XOPEN2K] (scalb): Expect.
899 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
900 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
901 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
902 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
903 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
904 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
905 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
906 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
907 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
908 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
909 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
910 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
911 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
912 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
913 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
914 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
915 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
916 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
917 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
918 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
919 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
920 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
921 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
922 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
923 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
924 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
925 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
926 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
927 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
928 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
929 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
930 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
931 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
932 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
933 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
934 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
935 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
936 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
937 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
938 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
939 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
940 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
941 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
942 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
943 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
944 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
945 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
946 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
947 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
948 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
949 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
950 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
951 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
952 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
953 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
954 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
955 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
956 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
957 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
958 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
959 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
960 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
961 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
962 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
963 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
964 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
965 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
966 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
967 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
968 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
969 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
970 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
971 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
972 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
973 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
974 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
975 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
976 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
977 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
978 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
979 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
980 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
981 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
982 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
983 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
984 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
985 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
986 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
987 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
988 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
989 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
990 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
991 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
992 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
993 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
994 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
995 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
996 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
997 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
998 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
999 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1015 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1037 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1038 _XOPEN_SOURCE_EXTENDED for XPG4.
1040 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1042 * Makeconfig (localtime): Remove variable.
1043 (inst_localtime-file): Likewise.
1045 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1066 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1070 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1071 comparisons to determine direction to adjust input.
1072 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1073 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1074 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1076 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1080 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1081 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1083 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1085 * math/libm-test.inc (nexttoward_test): Add more tests.
1087 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1090 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1091 in version GLIBC_2.1, not GLIBC_2.0.
1092 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1095 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1098 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1100 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1101 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1102 * math/libm-test.inc (acos_test): Add more tests.
1103 (asin_test): Likewise.
1104 * sysdeps/i386/fpu/libm-test-ulps: Update.
1105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1108 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1110 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1111 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1112 * math/libm-test.inc (acos_test_tonearest): New function.
1113 (acos_test_towardzero): Likewise.
1114 (acos_test_downward): Likewise.
1115 (acos_test_upward): Likewise.
1116 (asin_test_tonearest): Likewise.
1117 (asin_test_towardzero): Likewise.
1118 (asin_test_downward): Likewise.
1119 (asin_test_upward): Likewise.
1120 (main): Call the new functions.
1121 * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1126 * math/e_exp10.c: Include <float.h>.
1127 (__ieee754_exp10): Handle underflow here rather than multiplying
1128 large negative argument by M_LN10.
1129 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1131 * math/e_exp10l.c: Include <float.h>.
1132 (__ieee754_exp10l): Handle underflow here rather than multiplying
1133 large negative argument by M_LN10l.
1134 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1135 spurious overflow exception on underflow.
1137 2012-04-29 Marek Polacek <polacek@redhat.com>
1139 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1140 (__fortify_function): New macro.
1141 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1142 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1143 __extern_always_inline.
1144 * libio/bits/stdio2.h: Likewise.
1145 * libio/bits/stdio.h: Likewise.
1146 * string/string.h: Likewise.
1147 * string/bits/string3.h: Likewise.
1148 * include/stdio.h: Likewise.
1149 * stdlib/bits/stdlib.h: Likewise.
1150 * stdlib/stdlib.h: Likewise.
1151 * rt/bits/mqueue2.h: Likewise.
1152 * rt/mqueue.h: Likewise.
1153 * posix/bits/unistd.h: Likewise.
1154 * posix/unistd.h: Likewise.
1155 * io/bits/poll2.h: Likewise.
1156 * io/bits/fcntl2.h: Likewise.
1157 * io/fcntl.h: Likewise.
1158 * io/sys/poll.h: Likewise.
1159 * misc/bits/syslog.h: Likewise.
1160 * misc/bits/syslog-ldbl.h: Likewise.
1161 * misc/sys/syslog.h: Likewise.
1162 * socket/bits/socket2.h: Likewise.
1163 * socket/sys/socket.h: Likewise.
1164 * debug/tst-chk1.c: Likewise.
1165 * wcsmbs/bits/wchar2.h: Likewise.
1166 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1167 * wcsmbs/wchar.h: Likewise.
1169 2012-04-29 Andreas Jaeger <aj@suse.de>
1171 * Makerules (tests): Remove enable-check-abi protection.
1172 (check-abi-warn): Remove.
1173 (check-abi-%): Remove check-abi-warn usage.
1175 * configure.in: Remove check-abi configure option.
1176 * configure: Regenerated.
1177 * config.make.in (enable-check-abi): Remove.
1179 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1182 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1183 double functions to double *_finite functions.
1186 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1187 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1189 * stdio-common/Makefile (tests): Add tst-sprintf3.
1190 * stdio-common/tst-sprintf3.c: New file.
1192 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1193 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1195 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1197 * conform/conformtest.pl: Remove duplicate typed-constant
1200 2012-04-28 David S. Miller <davem@davemloft.net>
1202 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1203 (check-abi-%): Remove AWK script prerequisite and explicit
1205 (check-abi): Rewrite to just diff the symlist with the abilist.
1206 (config-tls, config-abi-config): Delete, no longer used.
1207 (update-abi-%): Remove AWK script and explicit abilist directory.
1208 (update-abi): Rewrite to simply compare and conditionally copy the
1209 symlist and the sysdep abilist file. Remove update-abi-config
1211 * abilist/ld.abilist: Remove.
1212 * abilist/libBrokenLocale.abilist: Remove.
1213 * abilist/libanl.abilist: Remove.
1214 * abilist/libcrypt.abilist: Remove.
1215 * abilist/libdl.abilist: Remove.
1216 * abilist/librt.abilist: Remove.
1217 * abilist/libthread_db.abilist: Remove.
1218 * abilist/libutil.abilist: Remove.
1219 * scripts/extract-abilist.awk: Remove.
1220 * scripts/merge-abilist.awk: Remove.
1221 * sysdeps/generic/libcidn.abilist: New file.
1222 * sysdeps/generic/libnss_compat.abilist: New file.
1223 * sysdeps/generic/libnss_db.abilist: New file.
1224 * sysdeps/generic/libnss_dns.abilist: New file.
1225 * sysdeps/generic/libnss_files.abilist: New file.
1226 * sysdeps/generic/libnss_hesiod.abilist: New file.
1227 * sysdeps/generic/libnss_nis.abilist: New file.
1228 * sysdeps/generic/libnss_nisplus.abilist: New file.
1229 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1230 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1231 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1233 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1234 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1235 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1236 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1237 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1238 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1239 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1240 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1241 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1243 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1244 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1245 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1246 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1248 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1249 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1250 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1251 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1252 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1253 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1255 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1256 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1257 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1259 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1362 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1363 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1364 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1367 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1368 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1369 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1370 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1371 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1372 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1373 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1374 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1375 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1427 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1429 * conform/conformtest.pl: Fix typo in handling typed-constant from
1432 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1434 * README: Cut down references to pre-2.6 Linux kernels and
1435 Linuxthreads. Update lists of configurations in libc and ports
1436 and sort alphabetically. Say "or newer" with Linux kernel version
1439 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1441 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1444 * math/libm-test.inc (logb_test_downward): New test to expose
1445 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1448 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1451 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1453 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1454 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1456 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1458 * sysdeps/unix/i386/brk.S: Remove file.
1459 * sysdeps/unix/i386/dl-brk.S: Likewise.
1460 * sysdeps/unix/i386/pipe.S: Likewise.
1461 * sysdeps/unix/i386/sigreturn.S: Likewise.
1462 * sysdeps/unix/i386/syscall.S: Likewise.
1463 * sysdeps/unix/i386/vfork.S: Likewise.
1464 * sysdeps/unix/i386/wait.S: Likewise.
1466 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1467 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1469 * configure.in (arm*-none*): Do not allow without
1470 --enable-hacker-mode.
1471 (netbsd*): Remove case setting base_os.
1472 (386bsd*): Likewise.
1473 (freebsd*): Likewise.
1477 (ultrix*): Likewise.
1478 (newsos*): Likewise.
1488 (solaris[2-9]*): Likewise.
1490 * configure: Regenerated.
1492 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1495 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1496 overflow or cancellation in calculating denominator.
1497 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1498 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1499 down expression to avoid unexpected rounding in newer GCCs.
1500 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1502 2012-04-26 David S. Miller <davem@davemloft.net>
1504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1505 long-double compat symbols.
1506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1520 2012-04-25 David S. Miller <davem@davemloft.net>
1522 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1523 HWCAP_* values only after the memory barriers have been defined.
1524 (atomic_full_barrier): Define.
1525 (atomic_read_barrier): Define.
1526 (atomic_write_barrier): Define.
1528 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1530 * shlib-versions: Add libgcc_s version information.
1531 * sysdeps/generic/libgcc_s.h: Remove.
1532 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1534 * sysdeps/gnu/unwind-resume.c: Likewise.
1535 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1537 2012-04-25 David S. Miller <davem@davemloft.net>
1539 * sysdeps/unix/sparc/brk.S: Delete.
1540 * sysdeps/unix/sparc/dl-brk.S: Delete.
1541 * sysdeps/unix/sparc/pipe.S: Delete.
1542 * sysdeps/unix/sparc/sysdep.S: Delete.
1543 * sysdeps/unix/sparc/sysdep.h: Delete.
1544 * sysdeps/unix/sparc/vfork.S: Delete.
1545 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1546 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1547 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1548 ret_ERRVAL, r0, r1, MOVE): Define.
1549 (JUMPTARGET): Remove.
1550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1551 sysdeps/unix/sparc/sysdep.h
1552 (ENTRY, END): Remove.
1553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1555 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1557 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1558 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1561 * timezone/README: Update upstream location and email address for
1563 * timezone/zdump.c: Update from tzcode 2012b.
1564 * timezone/zic.c: Likewise.
1566 * configure.in (libc_cv_as_needed): Remove test.
1567 * configure: Regenerated.
1568 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1569 conditional definition.
1570 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1571 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1572 * config.make.in (have-as-needed): Remove variable.
1574 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1575 Paul Pluzhnikov <ppluzhnikov@google.com>
1577 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1580 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1582 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1583 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1584 * sysdeps/sh/strlen.S: Likewise.
1586 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1588 * sysdeps/unix/fork.S: Remove file.
1589 * sysdeps/unix/i386/fork.S: Likewise.
1590 * sysdeps/unix/sparc/fork.S: Likewise.
1592 * sysdeps/unix/system.c: Remove file.
1593 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1595 * sysdeps/unix/getegid.S: Remove file.
1596 * sysdeps/unix/geteuid.S: Likewise.
1598 2012-04-24 Roland McGrath <roland@hack.frob.com>
1600 * scripts/check-localplt.awk: New file.
1601 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1603 * scripts/data/localplt-generic.data: Add a comment.
1605 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1606 NODE when __dir_mkfile failed.
1607 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1608 Reported by Ludovic Courtès <ludo@gnu.org>.
1610 2012-04-24 Andreas Jaeger <aj@suse.de>
1612 * Makerules (common-clean): Also remove gen-as-const-headers
1615 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1617 * Makerules (native-compile): Do not change working directory for
1618 build. Use $(OUTPUT_OPTION) in command.
1619 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1621 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1625 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1626 * math/libm-test.inc (floor_test): Add more tests.
1627 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1629 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1631 * sysdeps/unix/getdents.c: Remove file.
1632 * sysdeps/unix/sysv/getdents.c: Likewise.
1633 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1635 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1636 sysdeps/unix/mman/syscalls.list.
1638 (mprotect): Likewise.
1641 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1642 * sysdeps/unix/mman/syscalls.list: Remove.
1643 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1645 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1646 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1647 * configure: Regenerated.
1648 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1650 * config.make.in (libgcc_s_suffix): Remove variable.
1652 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1654 * sysdeps/unix/sysv/gethostname.c: Move to ...
1655 * sysdeps/posix/gethostname.c: ... here.
1657 * sysdeps/unix/execve.S: Remove file.
1659 * sysdeps/unix/_exit.S: Remove file.
1661 2012-04-23 Andreas Jaeger <aj@suse.de>
1664 * manual/Makefile: Remove make dist support, there's no
1665 need for a stand-alone documentation tar ball.
1666 (TEXI2DVI): Define always, it's not in Makeconfig.
1670 (glibc-doc-$(edition).tar): Removed
1674 (ETAGS): Remove, it's in Makeconfig.
1675 (move-if-change): Remove, it's in Makeconfig.
1677 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1680 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1681 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1682 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1683 (strtod_l, strtof_l, strtold_l): Remove __wur.
1684 It is not necessarily an error to ignore strtol's return value.
1685 One can reliably look at the stored endptr to decide whether
1686 the number had valid syntax.
1688 2012-04-21 Andreas Jaeger <aj@suse.de>
1691 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1693 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1695 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1696 * sysdeps/unix/sysv/Versions: Remove file.
1698 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1703 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1706 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1707 version from __vm86.
1709 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1711 * sysdeps/unix/common/lxstat.c: Remove file.
1712 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1714 * sysdeps/unix/sysv/Makefile: Remove file.
1716 * sysdeps/unix/sysv/direct.h: Remove file.
1718 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1719 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1720 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1721 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1722 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1723 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1724 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1726 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1728 * sysdeps/unix/xmknod.c: Remove file.
1729 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1731 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1733 * sysdeps/unix/sysv/i386/time.S: Remove file.
1735 * sysdeps/unix/fxstat.c: Remove file.
1736 * sysdeps/unix/xstat.c: Likewise.
1737 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1739 * sysdeps/unix/sysv/sigaction.c: Remove file.
1741 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1742 (sysdep_headers): Remove variable.
1743 [termio.h not in sysdep_headers] (generated): Likewise.
1744 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1745 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1746 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1747 * sysdeps/unix/sysv/tcflow.c: Likewise.
1748 * sysdeps/unix/sysv/tcflush.c: Likewise.
1749 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1750 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1751 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1752 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1753 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1755 * sysdeps/unix/siglist.c: Remove file.
1757 * sysdeps/unix/getppid.S: Remove file.
1759 * sysdeps/unix/mkdir.c: Remove file.
1760 * sysdeps/unix/rmdir.c: Likewise.
1762 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1764 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1766 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1767 errlist-compat value.
1769 2012-04-18 David S. Miller <davem@davemloft.net>
1771 * sysdeps/generic/memcopy.h (reg_char): Delete.
1772 * debug/strcat_chk.c: Use char, not reg_char.
1773 * debug/strcpy_chk.c: Likewise.
1774 * debug/strncat_chk.c: Likewise.
1775 * debug/strncpy_chk.c: Likewise.
1776 * string/memchr.c: Likewise.
1777 * string/memrchr.c: Likewise.
1778 * string/rawmemchr.c: Likewise.
1779 * string/strcat.c: Likewise.
1780 * string/strchr.c: Likewise.
1781 * string/strchrnul.c: Likewise.
1782 * string/strcmp.c: Likewise.
1783 * string/strcpy.c: Likewise.
1784 * string/strncat.c: Likewise.
1785 * string/strncmp.c: Likewise.
1786 * string/strncpy.c: Likewise.
1788 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1790 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1791 __builtin_memcopy is called when src and dest ranges are known to not
1794 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1796 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1797 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1798 fwd_align_merge macro call.
1799 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1800 bwd_align_merge macro call.
1801 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1803 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1805 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1806 bwd_align_merge macros.
1807 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1808 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1809 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1811 2012-04-18 David S. Miller <davem@davemloft.net>
1813 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1815 2012-04-18 Andreas Jaeger <aj@suse.de>
1818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1819 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1820 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1822 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1823 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1824 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1826 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1827 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1828 Adjust for changed ldbl-128 files.
1830 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1831 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1832 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1834 2012-04-17 David S. Miller <davem@davemloft.net>
1836 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1838 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1840 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1841 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1842 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1843 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1844 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1845 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1847 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1850 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1851 * math/libm-test.inc: Add ilogb errno and exception tests.
1852 * math/w_ilogb.c: New file: ilogb wrapper.
1853 * math/w_ilogbf.c: New file: ilogbf wrapper.
1854 * math/w_ilogbl.c: New file: ilogbl wrapper.
1855 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1856 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1857 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1858 exception being thrown with 0.0 as argument.
1859 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1860 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1861 exception being thrown with 0.0 as argument.
1862 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1863 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1864 exception being thrown with 0.0 as argument.
1865 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1866 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1867 exception being thrown with 0.0 as argument.
1868 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1869 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1870 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1871 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1872 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1873 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1874 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1875 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1876 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1878 2012-04-17 Petr Baudis <pasky@ucw.cz>
1880 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1883 2012-04-16 Marek Polacek <polacek@redhat.com>
1885 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1887 2012-04-16 Marek Polacek <polacek@redhat.com>
1889 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1890 operands of fdivp instruction.
1892 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1894 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1895 * elf/tst-auditmod3b.c: Likewise.
1896 * elf/tst-auditmod4b.c: Likewise.
1897 * elf/tst-auditmod5b.c: Likewise.
1898 * elf/tst-auditmod6b.c: Likewise.
1899 * elf/tst-auditmod6c.c: Likewise.
1900 * elf/tst-auditmod7b.c: Likewise.
1901 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1902 * sysdeps/x86_64/preconfigure.in: Likewise.
1903 * sysdeps/x86_64/preconfigure: Regenerated.
1905 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1907 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1910 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1912 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1913 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1915 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1918 * locale/iso-639.def: Fix gl language name. Spotted by
1921 2012-04-12 Roland McGrath <roland@hack.frob.com>
1924 * libio/libio.h (__io_write_fn): Update comment.
1926 2012-04-12 Petr Baudis <pasky@ucw.cz>
1929 * stdio.texi (Hook Functions): The user provided writer function
1930 is not allowed to return -1.
1932 2012-04-11 David S. Miller <davem@davemloft.net>
1934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1936 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1938 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1939 Add a leading slash to rtkaio.
1941 2012-04-11 Jim Meyering <meyering@redhat.com>
1944 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1945 It is not necessarily an error to ignore fwrite's return
1946 value. One can reliably use ferror to test for errors after
1949 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1951 * bits/types.h (__snseconds_t): New type.
1952 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1954 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1956 (__SNSECONDS_T_TYPE): Likewise.
1957 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1958 (__SNSECONDS_T_TYPE): Likewise.
1959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1960 (__SNSECONDS_T_TYPE): Likewise.
1962 2012-04-10 Andreas Jaeger <aj@suse.de>
1965 * manual/time.texi (Processor Time): Return type of times is
1966 elapsed real time since an arbitrary point in the past.
1967 (CPU Time): Move CLK_TCK from here...
1968 (Processor Time): ...to here. Correct description.
1969 * manual/conf.texi (Constants for Sysconf): Correct description of
1972 2012-04-10 David S. Miller <davem@davemloft.net>
1975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1976 where the is a gap between DT_REL(A) and DT_JMPREL.
1978 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1980 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1981 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1982 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1984 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1986 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1987 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1988 (dl_main): Handle --inhibit-cache.
1989 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1991 * elf/dl-load.c (_dl_map_object): Use it.
1992 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1994 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1997 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1998 (__ieee754_powl): Saturate large exponents rather than testing for
1999 overflow of y*log2(x).
2000 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2001 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2005 * math/s_ctan.c: Include <float.h>.
2006 (__ctan): Avoid internal overflow or cancellation in calculating
2008 * math/s_ctanf.c: Likewise.
2009 * math/s_ctanl.c: Likewise.
2010 * math/s_ctanh.c: Likewise.
2011 * math/s_ctanhf.c: Likewise.
2012 * math/s_ctanhl.c: Likewise.
2013 * math/libm-test.inc (ctan_test): Add more tests.
2014 (ctanh_test): Likewise.
2015 * sysdeps/i386/fpu/libm-test-ulps: Update.
2016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2018 2012-04-09 Andreas Jaeger <aj@suse.de>
2021 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2022 is an optional BSD extension.
2025 * manual/stdio.texi (Opening Streams): Document additional fopen
2028 2012-04-09 Roland McGrath <roland@hack.frob.com>
2030 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2031 %eax without telling the compiler.
2033 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2036 * manual/install.texi: Use sourceware.org.
2038 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2041 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2042 (__ieee754_pow): Generate overflow and underflow using huge*huge
2043 and tiny*tiny rather than just returning constant infinity or zero
2044 for large exponents.
2045 * math/libm-test.inc (pow_test): Require overflow exceptions for
2046 applicable cases of large exponents.
2049 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2050 (__ieee754_pow): Use iterative multiplication algorithm only for
2051 integer exponents with absolute value below 1024. Check for odd
2052 integer exponents when using algorithm for real exponents.
2053 * math/libm-test.inc (pow_test): Add more tests.
2054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2056 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2059 * math/libm-test.inc (exp_test): Do not allow overflow exception
2062 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2065 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2066 instead of __kernel_standard_f.
2068 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2070 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2071 * sysdeps/x86_64/memset_chk.S: Likewise.
2073 2012-04-08 Andreas Jaeger <aj@suse.de>
2076 * manual/startup.texi (Environment Access): Describe return value
2077 for putenv and setenv.
2080 * manual/filesys.texi (Directory Entries): Add description for
2084 * manual/filesys.texi (Directory Entries): Clarify that it's file
2085 system not operating system in the description of DT_UNKNOWN.
2088 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2090 2012-04-08 Stephen Compall <s11@member.fsf.org>
2093 * manual/llio.texi (Opening and Closing Files): Add cross
2094 reference to explain mode argument.
2096 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2098 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2099 * sysdeps/x86_64/memset_chk.S: Likewise.
2101 2012-04-07 David S. Miller <davem@davemloft.net>
2103 * elf/elf.h (R_SPARC_WDISP10): Define.
2104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2107 R_SPARC_SIZE64 and R_SPARC_H34.
2109 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2111 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2112 conditions and remove no longer applicable assertion.
2114 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2116 * bits/byteswap.h: Include <features.h>.
2117 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2118 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2120 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2122 * bits/byteswap.h (__bswap_16): Removed.
2123 Include <bits/byteswap-16.h> to get __bswap_16.
2124 * sysdeps/i386/bits/byteswap.h: Likewise.
2125 * sysdeps/s390/bits/byteswap.h: Likewise.
2126 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2127 * bits/byteswap-16.h: New file.
2128 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2129 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2130 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2131 * string/Makefile (headers): Add bits/byteswap-16.h.
2133 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2136 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2138 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2139 * nss/tst-nss-static.c: New.
2141 2012-04-06 Robert Millan <rmh@gnu.org>
2144 * manual/llio.texi (File Position Primitive): lseek
2145 refers to WHENCE when it really means OFFSET.
2147 2012-04-06 Andreas Jaeger <aj@suse.de>
2149 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2150 strncmp declarations.
2152 * abilist/libc.abilist: Add __poll and __ppoll.
2154 2012-04-05 David S. Miller <davem@davemloft.net>
2156 * scripts/check-local-headers.sh: Accept a host triplet in the
2157 path matched by the exclude regexp.
2159 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2161 * sysdeps/powerpc/powerpc32/dl-machine.h
2162 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2163 * sysdeps/s390/s390-32/dl-machine.h
2164 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2165 * sysdeps/sparc/sparc32/dl-machine.h
2166 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2167 * sysdeps/sparc/sparc64/dl-machine.h
2168 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2170 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2172 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2173 undefined symbol errors.
2175 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2178 2012-04-05 Michael Matz <matz@suse.de>
2181 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2183 2012-04-05 Andreas Jaeger <aj@suse.de>
2186 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2189 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2191 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2192 which ROUND is no valid rounding mode.
2194 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2196 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2198 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2200 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2202 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2203 an exception using FPU order intentionally.
2205 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2207 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2208 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2209 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2210 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2212 2012-04-05 Simon Josefsson <simon@josefsson.org>
2215 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2216 EINVAL when BUFLEN is too smal.
2218 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2221 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2222 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2224 2012-04-03 Andreas Jaeger <aj@suse.de>
2227 * manual/setjmp.texi (System V contexts): Fix sentence.
2230 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2231 New macro for this case.
2232 [!__GNUC__] (__bswap_64): New inline function for this case.
2233 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2234 * bits/byteswap.h: Likewise.
2235 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2236 ull, guard with __GLIBC_HAVE_LONG_LONG.
2238 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2239 __GLIBC_HAVE_LONG_LONG.
2241 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2242 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2244 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2247 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2248 inptr and inend, rather than using last_ch.
2250 2012-04-02 David S. Miller <davem@davemloft.net>
2252 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2253 * stdio-common/printf-parse.h (read_int): Change return type to
2254 'int', return -1 on INT_MAX overflow.
2255 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2256 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2257 overflows INT_MAX. Check for overflow of in-format-string precision
2258 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2259 SIZE_MAX not INT_MAX for integer overflow test.
2260 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2261 skip the construct in the format string but do not record anything.
2262 * stdio-common/bug22.c: Adjust to test both width/prevision
2263 INT_MAX overflow as well as total length INT_MAX overflow. Check
2264 explicitly for proper errno values.
2266 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2268 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2270 * string/test-strcmp.c [! WIDE]: Likewise.
2271 * time/tst-mktime2.c: Likewise for INT_MAX.
2272 * string/test-string.h: #include <sys/param.h> for MIN.
2274 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2275 * sysdeps/i386/init-first.c (init): Likewise.
2276 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2277 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2278 * sysdeps/sh/init-first.c (init): Likewise.
2280 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2282 * po/ru.po: Update from translation team.
2283 * po/vi.po: Likewise.
2285 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2287 * resolv/nss_dns/dns-host.c: Merge copyright years.
2289 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2291 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2292 Optimize memcpy with prefetch if
2293 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2294 src, dst pointers have unequal 16 byte alignments.
2296 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2299 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2300 from a CNAME entry and return the minimum ttl for the query.
2301 (gaih_getanswer_slice): Likewise.
2303 2012-03-30 Jeff Law <law@redhat.com>
2305 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2307 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2308 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2310 * resolv/nss_dns/dns-host.c: Update copyright year.
2312 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2314 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2315 requests to save a system call. Fix check that all bytes are sent.
2317 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2318 comments for sendmmsg.
2320 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2323 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2324 with only 1 character between 0x0041 and 0x01b0.
2325 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2326 * wcsmbs/tst-mbsnrtowcs.c: New file.
2328 2012-03-29 David S. Miller <davem@davemloft.net>
2330 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2331 small copies by hand.
2333 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2336 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2337 _nss_compat_initgroups_dyn): Fall back to malloc/free
2338 for large group memberships.
2340 2012-03-28 David S. Miller <davem@davemloft.net>
2342 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2343 that branches into memcpy.
2344 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2346 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2347 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2350 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2352 * sysdeps/sparc/mempcpy.S: New file.
2354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2355 the IFUNC routine in the libc case.
2356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2358 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2359 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2360 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2361 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2362 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2363 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2364 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2365 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2367 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2368 loop to 256 bytes instead of 64 bytes and fix test signedness.
2370 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2371 * sysdeps/sparc/sparc32/Makefile: rather than here...
2372 * sysdeps/sparc/sparc64/Makefile: and here.
2374 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2376 * malloc/mallocbug.c: Avoid warnings about unused variables.
2378 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2381 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2382 in the right place. Discard and retry query if response is
2383 larger than input buffer size.
2385 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2390 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2391 x for large integer exponent.
2392 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2393 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2394 sign of result as needed afterwards.
2395 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2396 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2397 result for underflowing pow the same as for overflow.
2398 (__kernel_standard_l): Handle powl overflow and underflow here
2399 rather than calling __kernel_standard.
2400 * math/libm-test.inc (pow_test): Add more tests.
2415 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2416 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2417 (__kernel_standard_l): New function.
2418 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2420 * math/w_acosl.c (__acosl): Likewise.
2421 * math/w_asinl.c (__asinl): Likewise.
2422 * math/w_atan2l.c (__atan2l): Likewise.
2423 * math/w_atanhl.c (__atanhl): Likewise.
2424 * math/w_coshl.c (__coshl): Likewise.
2425 * math/w_exp10l.c (__exp10l): Likewise.
2426 * math/w_exp2l.c (__exp2l): Likewise.
2427 * math/w_fmodl.c (__fmodl): Likewise.
2428 * math/w_hypotl.c (__hypotl): Likewise.
2429 * math/w_j0l.c (__j0l, __y0l): Likewise.
2430 * math/w_j1l.c (__j1l, __y1l): Likewise.
2431 * math/w_jnl.c (__jnl, __ynl): Likewise.
2432 * math/w_lgammal.c (__lgammal): Likewise.
2433 * math/w_log10l.c (__log10l): Likewise.
2434 * math/w_log2l.c (__log2l): Likewise.
2435 * math/w_logl.c (__logl): Likewise.
2436 * math/w_powl.c (__powl): Likewise.
2437 * math/w_remainderl.c (__remainderl): Likewise.
2438 * math/w_scalbl.c (sysv_scalbl): Likewise.
2439 * math/w_sinhl.c (__sinhl): Likewise.
2440 * math/w_sqrtl.c (__sqrtl): Likewise.
2441 * math/w_tgammal.c (__tgammal): Likewise.
2442 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2443 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2444 * math/libm-test.inc (acos_test): Add more tests.
2445 (acosh_test): Likewise.
2446 (asin_test): Likewise.
2447 (atanh_test): Likewise.
2448 (exp_test): Likewise.
2449 (exp10_test): Likewise.
2450 (exp2_test): Likewise.
2451 (expm1_test): Likewise.
2452 (lgamma_test): Likewise.
2453 (log_test): Likewise.
2454 (log10_test): Likewise.
2455 (log1p_test): Likewise.
2456 (log2_test): Likewise.
2457 (pow_test): Do not allow some spurious overflow exceptions.
2458 (sqrt_test): Add more tests.
2459 (tgamma_test): Likewise.
2460 (y0_test): Likewise.
2461 (y1_test): Likewise.
2462 (yn_test): Likewise.
2464 2012-03-27 Anton Blanchard <anton@samba.org>
2466 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2468 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2469 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2470 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2472 2012-03-27 David S. Miller <davem@davemloft.net>
2474 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2476 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2479 2012-03-27 Andreas Jaeger <aj@suse.de>
2481 * sysdeps/x86_64/elf/configure.in: Moved to ...
2482 * sysdeps/x86_64/configure.in: ... here.
2483 * sysdeps/x86_64/elf/start.S: Moved to ...
2484 * sysdeps/x86_64/start.S: ... here.
2485 * sysdeps/x86_64/elf/configure: Delete.
2487 * sysdeps/x86_64/configure.in: Merge contents from
2488 sysdeps/i386/configure.in (without i686 check).
2490 * sysdeps/i386/elf/Versions: Merge into ...
2491 * sysdeps/i386/Versions: ... this.
2492 * sysdeps/i386/elf/Versions: Delete file.
2493 * sysdeps/i386/elf/start.S: Moved to ...
2494 * sysdeps/i386/start.S: ...here.
2495 * sysdeps/i386/elf/configure.in: Merge into...
2496 * sysdeps/i386/configure.in: ...here.
2497 * sysdeps/i386/elf/configure.in: Delete file.
2498 * sysdeps/i386/elf/configure: Delete file.
2500 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2501 * debug/backtracesyms.c: ... here.
2502 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2503 * debug/backtracesymsfd.c: ... here.
2504 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2505 * sysdeps/generic/ifunc-sel.h: ... here.
2507 * sysdeps/unix/i386/start.c: Delete file.
2508 * sysdeps/unix/sparc/start.c: Delete file.
2509 * sysdeps/unix/start.c: Delete file.
2511 * sysdeps/sh/elf/configure.in: Moved to ...
2512 * sysdeps/sh/configure.in: ... here.
2513 * sysdeps/sh/elf/start.S: Moved to ...
2514 * sysdeps/sh/start.S: ... here.
2515 * sysdeps/sh/elf/configure: Delete file.
2517 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2518 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2519 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2520 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2521 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2522 * sysdeps/powerpc/powerpc64/start.S: here.
2523 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2524 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2525 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2526 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2527 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2529 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2530 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2531 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2532 * sysdeps/powerpc/powerpc32/start.S: ... here.
2533 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2534 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2535 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2537 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2538 * sysdeps/powerpc/ifunc-sel.h: ... here.
2539 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2540 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2542 * sysdeps/sparc/elf/configure.in: Moved to ...
2543 * sysdeps/sparc/configure.in: ... here.
2544 * sysdeps/sparc/elf/configure: Delete file.
2545 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2546 * sysdeps/sparc/sparc32/start.S: ... here.
2547 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2548 * sysdeps/sparc/sparc64/start.S: ... here.
2549 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2550 * sysdeps/sparc/sparc32/Makefile: ... this.
2551 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2552 * sysdeps/sparc/sparc64/Makefile: ... this.
2554 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2555 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2556 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2557 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2558 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2559 * sysdeps/s390/s390-32/setjmp.S: ... here.
2560 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2561 * sysdeps/s390/s390-32/configure.in: ... here.
2562 * sysdeps/s390/s390-32/elf/configure: Delete file.
2563 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2564 * sysdeps/s390/s390-32/start.S: ... here.
2566 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2567 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2568 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2569 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2570 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2571 * sysdeps/s390/s390-64/setjmp.S: ... here.
2572 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2573 * sysdeps/s390/s390-64/configure.in: ... here
2574 * sysdeps/s390/s390-64/elf/configure: Delete file.
2575 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2576 * sysdeps/s390/s390-64/start.S: ... here.
2577 * sysdeps/s390/s390-64/elf/configure: Delete.
2579 * configure.in: Remove support for elf directories in sysdeps.
2581 * configure: Regenerated.
2582 * sysdeps/i386/configure: Regenerated.
2583 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2584 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2585 * sysdeps/s390/s390-32/configure: Regenerated.
2586 * sysdeps/s390/s390-64/configure: Regenerated.
2587 * sysdeps/sh/configure: Regenerated.
2588 * sysdeps/sparc/configure: Regenerated.
2589 * sysdeps/x86_64/configure: Regenerated.
2591 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2595 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2596 denormal result into account.
2598 2012-03-25 Roland McGrath <roland@hack.frob.com>
2600 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2601 Reported by Allan McRae <allan@archlinux.org>.
2603 2012-03-23 Jeff Law <law@redhat.com>
2605 * nss/getnssent.c (__nss_getent): Fix typo.
2607 2012-03-23 David S. Miller <davem@davemloft.net>
2609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2611 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2613 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2614 to pad to uint64_t for each field.
2615 (dl_tls_index): Replace unsigned long with uint64_t.
2617 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2618 Paul Pluzhnikov <ppluzhnikov@google.com>
2621 * grp/Makefile (otherlibs): Don't set it.
2622 * inet/Makefile (otherlibs): Likewise.
2623 * login/Makefile (otherlibs): Likewise.
2624 * nscd/Makefile (otherlibs): Likewise.
2625 * posix/Makefile (otherlibs): Likewise.
2626 * pwd/Makefile (otherlibs): Likewise.
2627 * rt/Makefile (otherlibs): Likewise.
2628 * sunrpc/Makefile (otherlibs): Likewise.
2629 * nss/Makefile (otherlibs): Likewise.
2630 Add libnss_files to routines and static-only-routines.
2631 ($(objpfx)getent): Remove rule.
2632 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2633 static-only-routines.
2635 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2638 * math/s_cexp.c: Include <float.h>.
2639 (__cexp): Handle exp result overflowing not necessarily
2640 overflowing both real and imaginary parts of result.
2641 * math/s_cexpf.c: Likewise.
2642 * math/s_cexpl.c: Likewise.
2643 * math/libm-test.inc (cexp_test): Add more tests.
2644 * sysdeps/i386/fpu/libm-test-ulps: Update.
2645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2647 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2649 * include/link.h (ELFW): New macro.
2650 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2651 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2653 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2655 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2658 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2660 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2662 (struct La_x32_retval): Likewise.
2664 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2666 * sysdeps/x86_64/preconfigure.in: New file.
2667 * sysdeps/x86_64/preconfigure: New generated file.
2669 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2672 * math/e_exp2l.c: Include <float.h>.
2673 (__ieee754_exp2l): Handle overflow and underflow cases
2674 separately. Only pass fractional part of argument to
2676 * math/libm-test.inc (exp2_test): Add more tests.
2678 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2679 negating x to take absolute value.
2680 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2682 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2683 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2685 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2686 computing low part if x was negated.
2687 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2689 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2691 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2693 (pltexit): Cast int_retval to ptrdiff_t.
2694 * elf/tst-auditmod3b.c: Likewise.
2695 * elf/tst-auditmod4b.c: Likewise.
2696 * elf/tst-auditmod5b.c: Likewise.
2697 * elf/tst-auditmod6b.c: Likewise.
2698 * elf/tst-auditmod6c.c: Likewise.
2699 * elf/tst-auditmod7b.c: Likewise.
2701 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2702 and x32_gnu_pltexit.
2704 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2706 (La_x32_regs): New macro.
2707 (La_x32_retval): Likewise.
2708 (la_x32_gnu_pltenter): New function prototype.
2709 (la_x32_gnu_pltexit): Likewise.
2711 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2718 * configure.in (libc_cv_cc_nofma): Check for option to disable
2719 generation of FMA instructions.
2720 * configure: Regenerate.
2721 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2722 * sysdeps/ieee754/dbl-64/Makefile: New file.
2723 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2724 Remove brandred-fma4.
2725 (CFLAGS-brandred-fma4.c): Remove.
2726 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2727 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2729 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2732 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2734 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2735 LLONG_MAX != LONG_MAX.
2736 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2737 (_fitoa_word): Likewise.
2738 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2739 LLONG_MAX != LONG_MAX.
2740 * stdio-common/_itowa.h: Include <_itoa.h>.
2741 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2742 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2743 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2744 only if not defined.
2745 (_ITOA_WORD_TYPE): Likewise.
2746 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2747 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2749 2012-03-21 David S. Miller <davem@davemloft.net>
2751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2753 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2755 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2756 of x86_64 when setting libc_cv_slibdir, libdir and
2758 * sysdeps/unix/sysv/linux/configure: Regenerated.
2760 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2762 * manual/lang.texi (Old Varargs): Remove section.
2763 (How Variadic): Update menu.
2764 (va_start): Do not mention varargs.h.
2766 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2767 Joseph Myers <joseph@codesourcery.com>
2769 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2771 * configure: Regenerated.
2773 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2775 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2776 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2779 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2782 * Makefile (files-for-dist): Remove NOTES.
2783 (NOTES): Remove rule.
2784 * README: Don't refer to NOTES.
2785 * manual/creature.texi: Don't include macros.texi.
2786 * manual/intro.texi (creature.texi): Remove comment referring to
2789 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2790 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2791 * configure: Regenerated.
2792 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2794 (libc_cv_as_i686): Likewise.
2795 (libc_cv_cc_avx): Likewise.
2796 (libc_cv_cc_sse2avx): Likewise.
2797 (libc_cv_cc_fma4): Likewise.
2798 (libc_cv_cc_novzeroupper): Likewise.
2799 * sysdeps/i386/configure: Regenerated.
2802 * sysdeps/i386/fpu/s_cexp.S: Remove.
2803 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2804 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2805 * math/libm-test.inc (cexp_test): Add more tests.
2806 * sysdeps/i386/fpu/libm-test-ulps: Update.
2807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2809 2012-03-21 Allan McRae <allan@archlinux.org>
2811 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2813 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2816 * math/w_exp2.c: Do not include <float.h>.
2817 (o_threshold, u_threshold): Remove.
2818 (__exp2): Calculate result before checking finiteness and calling
2820 * math/w_exp2f.c: Likewise.
2821 * math/w_exp2l.c: Likewise.
2822 * math/libm-test.inc (exp2_test): Require overflow exception for
2826 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2827 range of signed 64-bit integers before using fistpll. Remove
2828 checks for whether integers fit in mantissa bits.
2829 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2830 the range of signed 32-bit integers before using fistpl. Remove
2831 checks for whether integers fit in mantissa bits.
2832 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2833 (__ieee754_powl): Test for y outside the range of signed 64-bit
2834 integers before using fistpll. Reduce 64-bit values to 63-bit
2836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2837 divide-by-zero is raised for zero to large negative powers.
2838 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2839 (__ieee754_powl): Test for y outside the range of signed 64-bit
2840 integers before using fistpll. Reduce 64-bit values to 63-bit
2842 * math/libm-test.inc (pow_test): Add more tests.
2844 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2846 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2847 <stdio-common/_itoa.h>.
2848 * debug/segfault.c: Likewise.
2849 * elf/dl-cache.c: Likewise.
2850 * elf/dl-minimal.c: Likewise.
2851 * elf/dl-misc.c: Likewise.
2852 * elf/dl-sysdep.c: Likewise.
2853 * elf/dl-version.c: Likewise.
2854 * elf/rtld.c: Likewise.
2855 * hurd/hurdsock.c: Likewise.
2856 * hurd/lookup-retry.c: Likewise.
2857 * malloc/malloc.c: Likewise.
2858 * malloc/mtrace.c: Likewise.
2859 * nscd/nscd_getgr_r.c: Likewise.
2860 * nscd/nscd_getpw_r.c: Likewise.
2861 * nscd/nscd_getserv_r.c: Likewise.
2862 * posix/getopt_init.c: Likewise.
2863 * posix/wordexp.c: Likewise.
2864 * stdio-common/_itoa.c: Likewise.
2865 * stdio-common/printf_fphex.c: Likewise.
2866 * stdio-common/vfprintf.c: Likewise.
2867 * string/_strerror.c: Likewise.
2868 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2869 * sysdeps/i386/i686/hp-timing.h: Likewise.
2870 * sysdeps/mach/_strerror.c: Likewise.
2871 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2872 * sysdeps/mach/hurd/sethostid.c: Likewise.
2873 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2874 * sysdeps/mach/xpg-strerror.c: Likewise.
2875 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2876 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2877 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2878 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2879 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2880 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2881 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2882 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2883 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2884 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2885 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2886 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2887 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2888 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2889 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2890 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2891 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2893 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2894 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2895 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2897 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2899 * stdio-common/_itoa.h: Moved to ...
2900 * sysdeps/generic/_itoa.h: Here.
2902 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2904 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2905 instead of "_itoa.h" and "_itowa.h".
2906 * stdio-common/vfprintf.: Likewise.
2908 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2910 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2912 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2913 (__signbit): Likwise.
2917 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2919 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2922 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2924 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2925 OVERFLOW_EXCEPTION_OK.
2926 * math/libm-test.inc ("Philosophy"): Update comment about
2928 (OVERFLOW_EXCEPTION): Define.
2929 (OVERFLOW_EXCEPTION_OK): Likewise.
2930 (INVALID_EXCEPTION_OK): Renumber.
2931 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2932 (IGNORE_ZERO_INF_SIGN): Likewise.
2933 (test_exceptions): Handle FE_OVERFLOW.
2934 (exp10_test): Expect overflow exceptions.
2935 (exp2_test): Likewise.
2936 (expm1_test): Likewise.
2937 (nextafter_test): Likewise.
2938 (pow_test): Likewise.
2939 (scalbn_test): Likewise.
2940 (scalbln_test): Likewise.
2942 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2944 * sysdeps/x86_64/bits/atomic.h
2945 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2947 (atomic_exchange_acq): Likewise.
2948 (__arch_exchange_and_add_body): Likewise.
2949 (__arch_add_body): Likewise.
2950 (atomic_add_negative): Likewise.
2951 (atomic_add_zero): Likewise.
2953 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2955 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2956 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2958 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2960 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2961 Check __x86_64__ instead of __WORDSIZE.
2963 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2965 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2967 2012-03-19 David S. Miller <davem@davemloft.net>
2969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2971 * sysdeps/sparc/fpu/fenv_private.h: New file.
2972 * sysdeps/sparc/fpu/math_private.h: Use it.
2973 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2975 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2976 (libc_feholdexcept_setroundl): Remove.
2977 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2979 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2980 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2982 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2984 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2985 int64_t instead of long int.
2986 (INSERT_WORDS64): Likwise.
2988 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2990 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2991 _Unwind_GetCFA return to _Unwind_Ptr first.
2993 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2996 * math/s_clog.c: Include <float.h>.
2997 (__clog): Scale large or subnormal inputs.
2998 * math/s_clogf.c: Likewise.
2999 * math/s_clogl.c: Likewise.
3000 * math/s_clog10.c: Include <float.h>.
3001 (M_LOG10_2): Define.
3002 (__clog10): Scale large or subnormal inputs.
3003 * math/s_clog10f.c: Likewise.
3004 * math/s_clog10l.c: Likewise.
3005 * math/libm-test.inc (clog_test): Add more tests.
3006 (clog10_test): Likewise.
3007 * sysdeps/i386/fpu/libm-test-ulps: Update.
3008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3011 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3013 * math/libm-test.inc (atan2_test): Add another test.
3015 * Makerules (common-objdir-compile): Remove.
3016 * sysdeps/unix/Makefile (config-generated): Do not add
3017 $(unix-generated) to variable.
3018 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3019 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3021 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3023 [generic bits/local_lim.h] (before-compile): Do not append to
3025 [generic bits/local_lim.h] (common-generated): Likewise.
3026 [generic sys/param.h] (before-compile): Do not append to variable.
3027 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3028 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3029 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3030 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3032 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3033 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3034 [generic sys/param.h] ($(addprefix
3035 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3036 [generic sys/param.h] (common-generated): Do not append to
3038 [generic sys/param.h] (sysdep_headers): Likewise.
3039 [generic bits/errno.h] (before-compile): Do not append to
3041 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3043 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3044 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3045 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3046 [generic bits/errno.h] (common-generated): Do not append to
3048 [generic bits/ioctls.h] (before-compile): Do not append to
3050 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3052 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3053 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3054 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3056 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3057 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3058 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3059 [generic bits/ioctls.h] (common-generated): Do not append to
3061 [generic sys/syscall.h] (syscall.h): Remove variable.
3062 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3064 [generic sys/syscall.h] (before-compile): Do not append to
3066 [generic sys/syscall.h] (common-generated): Likewise.
3067 * sysdeps/unix/errnos-tmpl.c: Remove file.
3068 * sysdeps/unix/errnos.awk: Likewise.
3069 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3070 * sysdeps/unix/ioctls.awk: Likewise.
3071 * sysdeps/unix/mk-local_lim.c: Likewise.
3072 * sysdeps/unix/snarf-ioctls: Likewise.
3074 2012-03-19 Richard Henderson <rth@twiddle.net>
3076 * sysdeps/i386/fpu/fenv_private.h: New file.
3077 * sysdeps/i386/fpu/math_private.h: Use it.
3078 (math_opt_barrier, math_force_eval): Remove.
3079 (libc_feholdexcept_setround_53bit): Remove.
3080 (libc_feupdateenv_53bit): Remove.
3081 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3082 (math_opt_barrier, math_force_eval): Remove.
3083 (libc_feholdexcept): Remove.
3084 (libc_feholdexcept_setround): Remove.
3085 (libc_fetestexcept, libc_fesetenv): Remove.
3086 (libc_feupdateenv_test): Remove.
3087 (libc_feupdateenv, libc_feholdsetround): Remove.
3088 (libc_feresetround): Remove.
3090 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3091 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3093 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3094 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3095 (libc_feupdateenv_testl): New.
3096 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3097 (libc_feupdateenv_testf): New.
3098 (libc_feupdateenv): Use libc_feupdateenv_test.
3099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3100 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3102 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3103 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3104 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3105 (libc_feresetround_noex): New.
3106 (libc_feresetround_noexf): New.
3107 (libc_feresetround_noexl): New.
3108 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3109 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3110 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3111 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3114 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3116 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3117 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3118 SET_RESTORE_ROUND_NOEX.
3119 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3120 SET_RESTORE_ROUND_NOEXF.
3121 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3122 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3123 (libc_feholdsetroundf): New.
3124 (libc_feresetround, libc_feresetroundf): New.
3126 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3127 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3128 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3130 * sysdeps/generic/math_private.h: Include <fenv.h>.
3131 (default_libc_feholdexcept): New.
3132 (default_libc_feholdexcept_setround): New.
3133 (default_libc_fesetenv, default_libc_feupdateenv): New.
3134 (libc_feholdexcept): Only define if undefined.
3135 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3136 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3137 (libc_feholdexcept_setroundl): Likewise.
3138 (libc_feholdexcept_setround_53bit): Likewise.
3139 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3140 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3141 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3142 (libc_feupdateenv_53bit): Likewise.
3143 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3144 (libc_feholdexcept): Convert from macro to inline function.
3145 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3146 (libc_fesetenv, libc_feupdateenv): Likewise.
3148 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3149 not previously defined.
3150 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3151 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3152 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3153 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3154 * sysdeps/ieee754/flt-32/math_private.h: New file.
3155 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3156 math_private.h below SET_FLOAT_WORD.
3157 (__isnan, __isinf_ns, __finite): Remove.
3158 (__isnanf, __isinf_nsf, __finitef): Remove.
3160 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3164 2012-03-17 David S. Miller <davem@davemloft.net>
3167 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3170 2012-03-16 David S. Miller <davem@davemloft.net>
3172 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3176 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3178 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3179 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3180 sysdep_routines when subdir is sysvipc.
3181 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3184 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3186 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3188 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3191 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3193 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3194 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3195 (__lround): Renamed to ...
3196 (__llround): This. Replace long int with long long int.
3197 Define lround functions as aliases of llround functions.
3198 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3200 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3202 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3203 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3204 adresses to uintptr_t. Replace "long int" and "unsigned long
3205 int" with "greg_t" on va_arg.
3207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3209 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3210 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3212 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3213 Move e_machine check before EI_CLASS check. Handle x32
3214 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3215 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3216 SKIP_EM_IA_64 and include
3217 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3219 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3220 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3221 (add_system_dir): New macro.
3223 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3224 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3226 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3237 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3239 * math/w_j0f.c (j0f): Likewise.
3241 * math/w_j0l.c (__j0l): Likewise.
3243 * math/w_j1.c (j1): Likewise.
3245 * math/w_j1f.c (j1f): Likewise.
3247 * math/w_j1l.c (__j1l): Likewise.
3249 * math/w_jn.c (jn): Likewise.
3251 * math/w_jnf.c (jnf): Likewise.
3253 * math/w_jnl.c (__jnl): Likewise.
3255 * math/libm-test.inc (j0_test): Add more tests.
3256 (j1_test): Likewise.
3257 (jn_test): Likewise. Add trailing semicolon to existing test.
3258 (y0_test): Likewise.
3259 (y1_test): Likewise.
3260 * sysdeps/i386/fpu/libm-test-ulps: Update.
3261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3265 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3266 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3267 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3268 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3269 (__tanl): Set errno for infinite argument.
3270 * sysdeps/i386/fpu/mptan.c: Remove.
3271 * sysdeps/i386/fpu/s_tan.S: Likewise.
3272 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3273 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3274 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3275 * math/libm-test.inc (tan_test): Add more tests and enable more
3276 tests for double and long double.
3277 * sysdeps/i386/fpu/libm-test-ulps: Update.
3278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3280 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3282 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3283 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3285 2012-03-16 Roland McGrath <roland@hack.frob.com>
3287 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3288 * configure.in: Use it for both main tree and add-ons.
3289 * configure: Regenerated.
3291 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3293 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3295 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3297 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3301 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3302 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3303 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3304 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3305 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3307 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3308 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3310 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3311 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3312 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3313 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3314 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3315 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3316 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3317 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3318 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3319 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3320 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3321 * math/libm-test.inc (cos_test): Add more tests and enable more
3322 tests for long double.
3323 (sin_test): Likewise.
3324 (sincos_test): Likewise.
3325 * sysdeps/i386/fpu/libm-test-ulps: Update.
3326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328 2012-03-16 David S. Miller <davem@davemloft.net>
3330 * sysdeps/sparc/fpu/math_private.h: New file.
3332 2012-03-15 David S. Miller <davem@davemloft.net>
3334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3342 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3344 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3348 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3349 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3351 * sysdeps/sparc/sparc-ifunc.h: New file.
3352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3376 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3377 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3378 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3379 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3392 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3393 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3394 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3395 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3397 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3399 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3403 2012-03-15 Andreas Jaeger <aj@suse.de>
3406 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3407 ieee754/flt-32 implementation for sin, cos and sincos.
3408 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3409 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3410 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3411 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3412 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3413 ieee754/flt-32 implementation for tan.
3415 * math/libm-test.inc (cos_test): Enable some large input tests for
3417 (sin_test): Likewise.
3418 (sincos_test): Likewise.
3419 (tan_test): Add tests for large input.
3421 * sysdeps/i386/fpu/libm-test-ulps: Update.
3423 2012-03-15 Andreas Jaeger <aj@suse.de>
3426 * math/libm-test.inc (cos_test): Add more test cases.
3427 (sin_test): Likewise.
3428 (sincos_test): Likewise.
3430 2012-03-15 Andreas Jaeger <aj@suse.de>
3433 * math/libm-test.inc (cos_test): Add a test case for large input
3435 (sin_test): Likewise.
3436 (sincos_test): Likewise.
3438 2012-03-15 Andreas Jaeger <aj@suse.de>,
3439 Joseph Myers <joseph@codesourcery.com>
3442 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3443 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3444 * sysdeps/i386/fpu/branred.c: Likewise.
3445 * sysdeps/i386/fpu/dosincos.c: Likewise.
3446 * sysdeps/i386/fpu/mpa.c: Likewise.
3447 * sysdeps/i386/fpu/s_cos.S: Likewise.
3448 * sysdeps/i386/fpu/s_sin.S: Likewise.
3449 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3450 * sysdeps/i386/fpu/sincos32.c: Likewise.
3452 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3454 (libc_feupdateenv_53bit): Define.
3455 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3457 (libc_feupdateenv_53bit): Define.
3459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3460 53 bit (without extend i386 double precision).
3462 * math/libm-test.inc (sincos_test): Add tests for large input.
3466 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3468 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3472 2012-03-15 David S. Miller <davem@davemloft.net>
3474 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3475 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3476 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3477 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3502 fmin/fmax sysdep routines.
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3505 2012-03-14 David S. Miller <davem@davemloft.net>
3507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3509 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3510 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3529 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3530 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3531 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3533 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3534 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3579 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3584 * sysdeps/sparc/configure.in: New file.
3585 * sysdeps/sparc/configure: Generate.
3586 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3587 * configure: Regenerate.
3588 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3589 * config.make.in (have-as-vis3): New.
3590 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3591 available use -Av9d instead of -Av9a.
3592 * sysdeps/sparc/sparc64/Makefile: Likewise.
3593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3602 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3603 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3604 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3605 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3606 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3608 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3609 fzeros/fnegs to load 0x80000000 into a float register instead of
3611 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3613 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3617 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3618 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3619 ($(inst_includedir)/bits/syscall.h): Remove rule.
3620 ($(objpfx)bits/syscall.d): Include instead of
3621 $(objpfx)syscall-list.d.
3622 (generated): Change syscall-list.h and syscall-list.d to
3623 bits/syscall.h and bits/syscall.d.
3625 2012-03-14 Roland McGrath <roland@hack.frob.com>
3628 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3630 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3633 * math/s_csqrt.c: Include <float.h>.
3634 (__csqrt): Scale large or subnormal inputs.
3635 * math/s_csqrtf.c: Likewise.
3636 * math/s_csqrtl.c: Likewise.
3637 * math/libm-test.inc (csqrt_test): Add more tests.
3638 * sysdeps/i386/fpu/libm-test-ulps: Update.
3639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3642 * math/libm-test.inc (hypot_test): Add more tests.
3644 2012-03-13 David S. Miller <davem@davemloft.net>
3647 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3648 double-precision for the calculation instead of scaling.
3650 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3652 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3653 manipulate bits before adding and subtracting TWO52[sx].
3654 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3655 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3657 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3659 2012-03-13 David S. Miller <davem@davemloft.net>
3661 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3662 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3663 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3664 rtld-global-offsets.h
3665 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3667 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3670 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3672 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3673 'err' in the ifdef scope in which it is actually used.
3675 * nss/nss_db/db-init.c: Include string.h
3677 2012-03-12 David S. Miller <davem@davemloft.net>
3679 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3680 masking out of the most significant byte of random value used.
3681 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3682 Fix coding style in previous change.
3684 * sysdeps/unix/sysv/linux/kernel-features.h
3685 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3686 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3688 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3691 2012-03-11 David S. Miller <davem@davemloft.net>
3693 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3694 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3696 for 'resultvar' otherwise things get truncated on 64-bit.
3698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3699 Fix masking out of the most significant byte of random value used.
3701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3703 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3707 2012-03-09 David S. Miller <davem@davemloft.net>
3709 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3710 variables with appropriate CPP guards.
3711 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3712 frame pointer, not the stack pointer. Correct layout comments. Fix test
3713 on resulting framesize and the management of the outregs buffer for pltexit.
3714 Preserve floating point return values across _dl_call_pltexit call.
3715 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3716 framesize and the management of the outregs buffer for pltexit.
3717 Preserve floating point return values across _dl_call_pltexit
3719 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3720 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3721 (print_exit): Fix format string for return register value.
3723 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3725 * sunrpc/Makefile (others): Add rpcgen.
3726 ($(objpfx)rpcgen): Remove special build rule and dependency on
3728 * sunrpc/rpcgen.c: New file.
3730 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3733 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3734 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3735 * sysdeps/i386/crti.S: Likewise.
3736 * sysdeps/i386/crtn.S: Likewise.
3737 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3738 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3739 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3740 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3741 * sysdeps/sh/crti.S: Likewise.
3742 * sysdeps/sh/crtn.S: Likewise.
3743 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3746 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3748 * locale/programs/locfile-kw.gperf: Likewise.
3749 * locale/programs/charmap-kw.h: Regenerated.
3750 * locale/programs/locfile-kw.h: Likewise.
3753 * intl/plural.y: Replace FSF snail mail address with URL.
3754 * intl/plural.c: Regenerated.
3756 2012-03-09 Richard Henderson <rth@twiddle.net>
3758 * include/math_private.h: Remove file.
3759 * math/math_private.h: Move file ...
3760 * sysdeps/generic/math_private.h: ... here.
3762 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3763 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3764 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3766 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3767 and <math_private.h>.
3768 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3769 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3770 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3771 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3772 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3785 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3786 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3787 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3789 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3790 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3791 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3792 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3795 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3796 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3797 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3798 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3823 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3824 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3825 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3826 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3833 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3834 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3835 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3836 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3837 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3838 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3839 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3840 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3842 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3844 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3856 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3859 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3861 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3862 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3863 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3864 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3865 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3867 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3868 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3869 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3870 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3871 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3873 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3874 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3875 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3877 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3878 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3879 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3881 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3882 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3884 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3886 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3887 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3888 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3890 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3891 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3892 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3893 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3894 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3895 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3896 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3897 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3898 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3899 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3900 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3901 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3902 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3903 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3904 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3905 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3906 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3907 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3908 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3909 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3910 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3911 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3912 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3913 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3914 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3915 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3916 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3917 * sysdeps/ieee754/k_standard.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3968 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3969 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3970 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4033 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4038 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4040 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4045 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4050 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4066 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4067 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4068 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4078 * sysdeps/ieee754/s_lib_version.c: Likewise.
4079 * sysdeps/ieee754/s_matherr.c: Likewise.
4080 * sysdeps/ieee754/s_signgam.c: Likewise.
4081 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4082 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4083 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4084 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4085 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4086 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4087 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4088 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4089 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4090 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4091 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4092 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4093 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4094 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4095 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4096 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4097 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4098 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4099 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4100 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4101 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4103 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4105 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4106 * sunrpc/rpc_main.c: Likewise.
4107 * sunrpc/rpc_svcout.c: Likewise.
4109 2012-03-09 David S. Miller <davem@davemloft.net>
4111 * include/math_private.h: New file.
4113 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4115 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4116 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4117 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4118 from <bits/socket_type.h>.
4119 (enum __socket_type): Don't define here.
4120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4121 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4125 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4128 * Makerules ($(inst_includedir)/%.h): New rule.
4129 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4130 (install-others): Remove variable setting.
4131 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4133 2012-03-08 Richard Henderson <rth@twiddle.net>
4135 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4136 from macro to inline function; merge with the
4137 !__LIBC_INTERNAL_MATH_INLINES version.
4138 (__ieee754_sqrtf): Likewise.
4140 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4142 (__rintf, __floor, __floorf): Likewise.
4144 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4145 macro to inline function.
4146 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4148 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4149 not <math/math_private.h>.
4151 2012-03-08 David S. Miller <davem@davemloft.net>
4153 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4155 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4157 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4159 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4161 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4162 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4164 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4166 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4167 be defined individually, they must be defined as a block. Define
4168 S for printing a string instead of hidint the different by using a
4169 macro for adding the 'l'.
4170 * stdio-common/tst-fphex-wide.c: Adjust.
4172 2012-03-07 Marek Polacek <polacek@redhat.com>
4174 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4176 2012-03-08 Marek Polacek <polacek@redhat.com>
4179 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4180 * stdio-common/tst-fphex.c: Define a few macros to make the
4181 test reusable. Use them.
4182 * stdio-common/tst-fphex-wide.c: New file.
4184 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4187 * manual/macros.texi (gnusystems): New macro.
4188 (nongnusystems): Likewise.
4189 (gnulinuxhurdsystems): Likewise.
4190 (gnuhurdsystems): Likewise..
4191 (gnulinuxsystems): Likewise.
4192 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4193 variants of the GNU system, not "GNU system".
4194 * manual/conf.texi: Likewise.
4195 * manual/errno.texi: Likewise. Update example of errno macro
4197 * manual/filesys.texi: Likewise.
4198 (getumask): Document as specific to GNU/Hurd.
4199 * manual/install.texi: Likewise. Reword some references to
4201 * manual/intro.texi: Likewise.
4202 * manual/io.texi: Likewise.
4203 (File Name Portability): Detail which constraints are inapplicable
4204 to all GNU systems and which are only inapplicable to GNU/Hurd.
4205 * manual/job.texi: Likewise.
4206 * manual/llio.texi: Likewise.
4207 (O_NOCTTY): Document as present on GNU/Linux.
4208 * manual/maint.texi: Likewise.
4209 * manual/memory.texi: Likewise.
4210 * manual/pattern.texi: Likewise.
4211 * manual/pipe.texi: Likewise.
4212 * manual/process.texi: Likewise.
4213 * manual/resource.texi: Likewise.
4214 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4216 * manual/setjmp.texi: Likewise.
4217 * manual/signal.texi: Likewise.
4218 * manual/startup.texi: Likewise.
4219 * manual/stdio.texi: Likewise.
4220 * manual/terminal.texi: Likewise.
4221 (ONLCR): Document as POSIX.
4222 (OXTABS): Document availability on GNU/Linux as XTABS.
4223 (ONOEOT): Document availability separately from other bits.
4224 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4225 * manual/time.texi: Likewise.
4226 * manual/users.texi: Likewise.
4227 * INSTALL: Regenerated.
4228 * sysdeps/gnu/errlist.c: Regenerated.
4230 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4231 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4232 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4234 * configure: Regenerated.
4236 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4238 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4239 default includes instead of AC_HEADER_CHECK.
4240 * sysdeps/i386/configure: Regenerated.
4243 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4244 * math/s_cacoshf.c (__cacoshf): Likewise.
4245 * math/s_cacoshl.c (__cacoshl): Likewise.
4246 * math/s_casinh.c (__casinh): Set signs of result from argument.
4247 * math/s_casinhf.c (__casinhf): Likewise.
4248 * math/s_casinhl.c (__casinhl): Likewise.
4249 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4250 (casinh_test): Add more tests.
4251 * sysdeps/i386/fpu/libm-test-ulps: Update.
4252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4254 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4256 * po/zh_TW.po: Update from translation team.
4258 * login/Makefile (distribute): Remove variable.
4259 * catgets/Makefile: Likewise.
4260 * mach/Makefile: Likewise.
4261 * malloc/Makefile: Likewise.
4262 * misc/Makefile: Likewise.
4263 * iconv/Makefile: Likewise.
4264 * nscd/Makefile: Likewise.
4265 * hurd/Makefile: Likewise.
4266 * manual/Makefile: Likewise.
4267 * locale/Makefile: Likewise.
4268 * intl/Makefile: Likewise.
4269 * conform/Makefile: Likewise.
4270 * nss/Makefile: Likewise.
4271 * time/Makefile: Likewise.
4272 * soft-fp/Makefile: Likewise.
4273 * dirent/Makefile: Likewise.
4274 * gmon/Makefile: Likewise.
4275 * po/Makefile: Likewise.
4276 * rt/Makefile: Likewise.
4277 * socket/Makefile: Likewise.
4278 * math/Makefile: Likewise.
4279 * signal/Makefile: Likewise.
4280 * debug/Makefile: Likewise.
4281 * elf/Makefile: Likewise.
4282 * timezone/Makefile: Likewise.
4283 * stdlib/Makefile: Likewise.
4284 * iconvdata/Makefile: Likewise.
4285 * sunrpc/Makefile: Likewise.
4286 * io/Makefile: Likewise.
4287 * argp/Makefile: Likewise.
4288 * inet/Makefile: Likewise.
4289 * hesiod/Makefile: Likewise.
4290 * grp/Makefile: Likewise.
4291 * csu/Makefile: Likewise.
4292 * wctype/Makefile: Likewise.
4293 * crypt/Makefile: Likewise.
4294 * libio/Makefile: Likewise.
4295 * string/Makefile: Likewise.
4296 * nis/Makefile: Likewise.
4297 * resolv/Makefile: Likewise.
4298 * stdio-common/Makefile: Likewise.
4299 * wcsmbs/Makefile: Likewise.
4300 * dlfcn/Makefile: Likewise.
4301 * posix/Makefile: Likewise.
4304 * timezone/Makefile: Don't install timezone files, just the programs
4307 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4309 * nss/databases.def: Add missing gshadow entry.
4311 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4313 2012-03-06 Marek Polacek <polacek@redhat.com>
4316 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4317 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4318 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4319 * stdio-common/tst-long-dbl-fphex.c: New file.
4321 2012-03-06 David S. Miller <davem@davemloft.net>
4323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4324 (set_obp_int): New function.
4325 (get_obp_int): New function.
4326 (__get_clockfreq_via_dev_openprom): Likewise.
4327 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4328 Avoid unused variable warnings on 'val' and use builtin_expect.
4329 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4331 (INLINE_CLONE_SYSCALL): Likewise.
4333 2012-03-05 David S. Miller <davem@davemloft.net>
4335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4337 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4341 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4345 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4347 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4348 Replace gettimeofday with __vdso_gettimeofday.
4350 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4351 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4352 __vdso_clock_gettime and __vdso_getcpu.
4354 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4355 time with __vdso_time.
4357 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4359 * manual/lang.texi (size_t): Note types to which size_t may be
4360 equivalent with the GNU C Library, but do not describe when
4361 differences between them are significant.
4363 2012-03-05 Andreas Jaeger <aj@suse.de>
4365 * sysdeps/i386/fpu/libm-test-ulps: Update.
4367 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4370 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4371 (__ieee754_pow): Save and restore rounding mode and use
4372 round-to-nearest for main computations.
4373 * math/libm-test.inc (pow_test_tonearest): New function.
4374 (pow_test_towardzero): Likewise.
4375 (pow_test_downward): Likewise.
4376 (pow_test_upward): Likewise.
4377 (main): Call the new functions.
4378 * sysdeps/i386/fpu/libm-test-ulps: Update.
4379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4382 * math/libm-test.inc (cosh_test_tonearest): New function.
4383 (cosh_test_towardzero): Likewise.
4384 (cosh_test_downward): Likewise.
4385 (cosh_test_upward): Likewise.
4386 (sinh_test_tonearest): Likewise.
4387 (sinh_test_towardzero): Likewise.
4388 (sinh_test_downward): Likewise.
4389 (sinh_test_upward): Likewise.
4390 (main): Call the new functions.
4391 * sysdeps/i386/fpu/libm-test-ulps: Update.
4392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4394 2012-03-05 Tom de Vries <tom@codesourcery.com>
4396 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4397 default stack guard is set in last bytes.
4398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4400 2012-03-05 Kees Cook <keescook@chromium.org>
4402 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4405 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4406 possibly allocate from heap instead of stack.
4407 * stdio-common/bug-vfprintf-nargs.c: New file.
4408 * stdio-common/Makefile (tests): Add nargs overflow test.
4410 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4414 2012-03-03 Marek Polacek <polacek@redhat.com>
4416 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4417 * math/math_private.h: Likewise.
4418 * stdlib/tst-strtod.c: Likewise.
4419 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4420 * sysdeps/x86_64/bits/atomic.h: Likewise.
4422 2012-03-02 David S. Miller <davem@davemloft.net>
4424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4428 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4429 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4430 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4431 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4433 2012-03-02 Roland McGrath <roland@hack.frob.com>
4436 * manual/examples/README: New file, says the example source files
4437 can be used under GPL>=2.
4438 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4439 line containing just "*/".
4440 * manual/examples/add.c: Add copyright header (GPL>=2).
4441 * manual/examples/argp-ex1.c: Likewise.
4442 * manual/examples/argp-ex2.c: Likewise.
4443 * manual/examples/argp-ex3.c: Likewise.
4444 * manual/examples/argp-ex4.c: Likewise.
4445 * manual/examples/atexit.c: Likewise.
4446 * manual/examples/db.c: Likewise.
4447 * manual/examples/dir.c: Likewise.
4448 * manual/examples/dir2.c: Likewise.
4449 * manual/examples/execinfo.c: Likewise.
4450 * manual/examples/filecli.c: Likewise.
4451 * manual/examples/filesrv.c: Likewise.
4452 * manual/examples/fmtmsgexpl.c: Likewise.
4453 * manual/examples/genpass.c: Likewise.
4454 * manual/examples/inetcli.c: Likewise.
4455 * manual/examples/inetsrv.c: Likewise.
4456 * manual/examples/isockad.c: Likewise.
4457 * manual/examples/longopt.c: Likewise.
4458 * manual/examples/memopen.c: Likewise.
4459 * manual/examples/memstrm.c: Likewise.
4460 * manual/examples/mkfsock.c: Likewise.
4461 * manual/examples/mkisock.c: Likewise.
4462 * manual/examples/mygetpass.c: Likewise.
4463 * manual/examples/pipe.c: Likewise.
4464 * manual/examples/popen.c: Likewise.
4465 * manual/examples/rprintf.c: Likewise.
4466 * manual/examples/search.c: Likewise.
4467 * manual/examples/select.c: Likewise.
4468 * manual/examples/setjmp.c: Likewise.
4469 * manual/examples/sigh1.c: Likewise.
4470 * manual/examples/sigusr.c: Likewise.
4471 * manual/examples/stpcpy.c: Likewise.
4472 * manual/examples/strdupa.c: Likewise.
4473 * manual/examples/strftim.c: Likewise.
4474 * manual/examples/strncat.c: Likewise.
4475 * manual/examples/subopt.c: Likewise.
4476 * manual/examples/swapcontext.c: Likewise.
4477 * manual/examples/termios.c: Likewise.
4478 * manual/examples/testopt.c: Likewise.
4479 * manual/examples/testpass.c: Likewise.
4480 * manual/examples/timeval_subtract.c: Likewise.
4483 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4485 * manual/timeval_subtract.c.texi: ... here, new file.
4487 2012-03-02 David S. Miller <davem@davemloft.net>
4489 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4491 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4494 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4495 (__sin): Save and restore rounding mode and use round-to-nearest
4496 for all computations.
4497 (__cos): Save and restore rounding mode and use round-to-nearest
4498 for all computations.
4499 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4501 (tan): Save and restore rounding mode and use round-to-nearest for
4503 * math/libm-test.inc (cos_test_tonearest): New function.
4504 (cos_test_towardzero): Likewise.
4505 (cos_test_downward): Likewise.
4506 (cos_test_upward): Likewise.
4507 (sin_test_tonearest): Likewise.
4508 (sin_test_towardzero): Likewise.
4509 (sin_test_downward): Likewise.
4510 (sin_test_upward): Likewise.
4511 (tan_test_tonearest): Likewise.
4512 (tan_test_towardzero): Likewise.
4513 (tan_test_downward): Likewise.
4514 (tan_test_upward): Likewise.
4515 (main): Call the new functions.
4516 * sysdeps/i386/fpu/libm-test-ulps: Update.
4517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4521 small n, then large n, before computing and testing k+n.
4522 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4525 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4527 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4528 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4529 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4530 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4533 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4534 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4535 * math/libm-test.inc (scalbn_test): Add more tests.
4536 (scalbln_test): Likewise.
4538 * manual/filesys.texi (mode_t): Describe constraints on size and
4539 signedness, not exact equivalence to a particular type.
4541 (ino64_t): Likewise.
4543 (nlink_t): Likewise.
4544 (blkcnt_t): Likewise.
4545 (blkcnt64_t): Likewise.
4546 * manual/llio.texi (off_t): Likewise.
4549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4550 (__ieee754_exp): Save and restore rounding mode and use
4551 round-to-nearest for all computations.
4552 * math/libm-test.inc (exp_test_tonearest): New function.
4553 (exp_test_towardzero): Likewise.
4554 (exp_test_downward): Likewise.
4555 (exp_test_upward): Likewise.
4556 (main): Call the new functions.
4557 * sysdeps/i386/fpu/libm-test-ulps: Update.
4558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4560 2012-03-01 Chris Demetriou <cgd@google.com>
4562 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4563 have predictable order.
4565 2012-03-01 David S. Miller <davem@davemloft.net>
4567 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4569 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4570 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4571 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4572 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4574 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4575 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4576 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4578 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4579 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4580 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4581 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4582 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4586 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4587 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4588 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4590 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4591 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4592 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4593 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4594 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4595 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4597 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4598 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4599 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4600 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4601 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4603 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4604 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4605 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4606 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4607 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4608 * sysdeps/sparc/elf/configure: Regenerated.
4610 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4612 * configure.in (AS, LD): Require binutils 2.20 or later.
4613 * configure: Regenerated.
4614 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4615 as required minimum version.
4616 * INSTALL: Regenerated.
4620 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4621 before squaring exponent.
4622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4623 bottom long double and 27 bits of top long double before squaring
4625 * math/libm-test.inc (erfc_test): Add more tests.
4626 * sysdeps/i386/fpu/libm-test-ulps: Update.
4627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4630 2012-03-01 Kai Tietz <ktietz@redhat.com>
4632 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4633 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4634 containing bit-fields.
4635 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4636 * soft-fp/single.h (_FP_UNION_S): Likewise.
4637 * soft-fp/double.h (_FP_UNION_D): Likewise.
4639 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4642 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4643 not include ../strcmp.S.
4644 [USE_AS_STRNCASECMP_L]: Likewise.
4645 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4646 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4647 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4648 (__strncasecmp_l_ia32): Define as alias to
4649 __strncasecmp_l_nonascii.
4652 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4656 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4659 2012-02-29 Jeff Law <law@redhat.com>
4661 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4664 2012-02-29 Marek Polacek <polacek@redhat.com>
4667 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4668 * elf/Makefile: Add rules to run tst-unused-dep.out.
4670 2012-02-28 David S. Miller <davem@davemloft.net>
4672 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4673 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4674 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4676 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4677 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4679 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4681 * math/libm-test.inc (llround_test): Move one test from
4682 lround_test. Use TEST_f_L in moved test.
4683 (lround_test): Move misplaced test to llround_test. Add testcase
4686 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4688 * sysdeps/x86_64/fpu/e_expf.S: New file.
4689 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4691 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4694 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4695 of remain_len that may cause incomplete multi-byte character and
4697 * posix/bug-regex33.c: New file.
4698 * posix/Makefile (tests): Add bug-regex33.
4700 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4702 * manual/macros.texi: New file.
4703 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4704 * manual/libc.texinfo: Include macros.texi.
4705 * manual/creatute.texi: Likewise.
4706 * manual/install.texi: Likewise.
4707 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4708 @glibcadj{} in references to the GNU C Library.
4709 * manual/charset.texi: Likewise.
4710 * manual/conf.texi: Likewise.
4711 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4712 when not using those macros.
4713 * manual/creature.texi: Likewise.
4714 * manual/crypt.texi: Likewise.
4715 * manual/errno.texi: Likewise.
4716 * manual/filesys.texi: Likewise.
4717 * manual/header.texi: Likewise.
4718 * manual/install.texi: Likewise.
4719 * manual/intro.texi: Likewise.
4720 * manual/io.texi: Likewise.
4721 * manual/job.texi: Likewise.
4722 * manual/lang.texi: Likewise.
4723 * manual/libc.texiinfo: Likewise.
4724 * manual/llio.texi: Likewise.
4725 * manual/locale.texi: Likewise.
4726 * manual/maint.texi: Likewise.
4727 * manual/math.texi: Likewise.
4728 * manual/memory.texi: Likewise.
4729 * manual/message.texi: Likewise.
4730 * manual/nss.texi: Likewise.
4731 * manual/pattern.texi: Likewise.
4732 * manual/process.texi: Likewise.
4733 * manual/resource.texi: Likewise.
4734 * manual/search.texi: Likewise.
4735 * manual/setjmp.texi: Likewise.
4736 * manual/signal.texi: Likewise.
4737 * manual/socket.texi: Likewise.
4738 * manual/startup.texi: Likewise.
4739 * manual/stdio.texi: Likewise.
4740 * manual/string.texi: Likewise.
4741 * manual/sysinfo.texi: Likewise.
4742 * manual/syslog.texi: Likewise.
4743 * manual/terminal.texi: Likewise.
4744 * manual/time.texi: Likewise.
4745 * manual/users.texi: Likewise.
4746 * INSTALL: Regenerated.
4747 * NOTES: Regenerated.
4748 * sysdeps/gnu/errlist.c: Regenerated.
4750 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4752 * include/dirent.h: Include <dirstream.h> before
4755 2012-02-28 David S. Miller <davem@davemloft.net>
4757 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4758 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4760 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4762 2012-02-27 David S. Miller <davem@davemloft.net>
4764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4766 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4767 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4770 frame pointer instead of stack pointer relative arg slot.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4772 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4773 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4775 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4778 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4780 2012-02-27 David S. Miller <davem@davemloft.net>
4782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4786 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4787 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4788 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4789 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4791 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4793 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4794 later. Allow versions 5-9.
4795 * configure: Regenerated.
4796 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4797 required minimum version and 4.6 as recommended version. Do not
4798 mention bugs in GCC 2.7 and 2.8.
4799 * INSTALL: Regenerated.
4801 2012-02-27 David S. Miller <davem@davemloft.net>
4803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4807 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4808 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4809 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4810 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4812 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4813 manipulate bits before adding and subtracting TWO112[sx].
4814 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4816 2012-02-27 Roland McGrath <roland@hack.frob.com>
4819 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4820 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4821 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4822 being in POSIX, because they are in 1003.1-2008.
4824 * rt/tst-aio.c: Include <fcntl.h>.
4825 * rt/tst-aio7.c: Likewise.
4826 * rt/tst-aio64.c: Likewise.
4828 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4830 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4832 * manual/install.texi (--with-headers): Describe headers as
4833 interface headers, not private headers.
4834 (Specific advice for GNU/Linux systems): Describe use of headers
4835 from "make headers_install", not private headers from older
4837 * INSTALL: Regenerated.
4838 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4840 * sysdeps/unix/sysv/linux/configure: Regenerated.
4842 * manual/llio.texi (fclean): Remove documentation.
4844 * manual/Makefile (libc-texi-generated): New variable. Include
4846 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4847 $(libc-texi-generated), not duplicated list of files.
4848 (version.texi, stamp-version): New rules.
4849 (realclean): Remove $(libc-texi-generated), not individual files
4850 from that list. Do not remove dir-add.texinfo.
4851 * manual/libc.texinfo: Comment out uses of edition numbers and
4852 references to printed manual. Remove last-updated dates.
4853 (EDITION): Comment out.
4855 (VERSION, UPDATED): Remove.
4856 (version.texi): Include.
4858 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4860 * sysdeps/posix/spawni.c: Include <signal.h>.
4861 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4862 * sysdeps/pthread/aio_fsync.c: Likewise.
4864 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4866 * conform/Makefile (tests): Run only when not cross-compiling and
4867 when fast-check is not defined.
4869 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4870 * conform/data/limits.h-data: Fixes for POSIX2008.
4871 * conform/run-conformtest.sh: Run all tests.
4872 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4874 * include/bits/dlfcn.h: Likewise.
4875 * include/langinfo.h: Likewise.
4876 * include/monetary.h: Likewise.
4877 * include/sys/poll.h: Likewise.
4879 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4881 * posix/spawn.h: Define __need_sigset_t.
4882 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4883 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4884 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4885 to get sigevent_t only.
4886 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4889 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4890 process_vm_writev only for __USE_GNU.
4891 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4893 * conform/Makefile: For now ignore errors from run-conformtest.
4894 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4895 POSIX to avoid namespace pollution. Don't prepend headers.
4896 * conform/data/aio.h-data: Fixes for POSIX testing.
4897 * conform/data/fcntl.h-data: Likewise.
4898 * conform/data/glob.h-data: Likewise.
4899 * conform/data/grp.h-data: Likewise.
4900 * conform/data/pthread.h-data: Likewise.
4901 * conform/data/pwd.h-data: Likewise.
4902 * conform/data/signal.h-data: Likewise.
4903 * conform/data/spawn.h-data: Likewise.
4904 * conform/data/stdio.h-data: Likewise.
4905 * conform/data/stdlib.h-data: Likewise.
4906 * conform/data/stropts.h-data: Likewise.
4907 * conform/data/sys/mman.h-data: Likewise.
4908 * conform/data/sys/stat.h-data: Likewise.
4909 * conform/data/sys/types.h-data: Likewise.
4910 * conform/data/sys/wait.h-data: Likewise.
4911 * conform/data/time.h-data: Likewise.
4912 * conform/data/unistd.h-data: Likewise.
4913 * conform/data/utime.h-data: Likewise.
4915 * io/sys/stat.h: fchmod was always in POSIX.
4916 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4917 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4918 * rt/aio.h: Define __need_timespec before including <time.h>.
4919 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4920 struct. Add forward declaration of pthread_attr_t and use it in
4922 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4924 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4925 always remove CLK_TCK definition.
4927 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4929 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4931 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4933 * conform/run-conformtest.sh: New file.
4934 * conform/Makefile: Run run-conformtest for tests.
4935 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4938 * conform/data/uchar.h-data: New file.
4939 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4940 * conform/data/arpa/inet.h-data: Likewise.
4941 * conform/data/assert.h-data: Likewise.
4942 * conform/data/complex.h-data: Likewise.
4943 * conform/data/cpio.h-data: Likewise.
4944 * conform/data/ctype.h-data: Likewise.
4945 * conform/data/dirent.h-data: Likewise.
4946 * conform/data/dlfcn.h-data: Likewise.
4947 * conform/data/errno.h-data: Likewise.
4948 * conform/data/fcntl.h-data: Likewise.
4949 * conform/data/float.h-data: Likewise.
4950 * conform/data/fmtmsg.h-data: Likewise.
4951 * conform/data/fnmatch.h-data: Likewise.
4952 * conform/data/ftw.h-data: Likewise.
4953 * conform/data/glob.h-data: Likewise.
4954 * conform/data/grp.h-data: Likewise.
4955 * conform/data/iconv.h-data: Likewise.
4956 * conform/data/inttypes.h-data: Likewise.
4957 * conform/data/langinfo.h-data: Likewise.
4958 * conform/data/libgen.h-data: Likewise.
4959 * conform/data/limits.h-data: Likewise.
4960 * conform/data/locale.h-data: Likewise.
4961 * conform/data/math.h-data: Likewise.
4962 * conform/data/monetary.h-data: Likewise.
4963 * conform/data/mqueue.h-data: Likewise.
4964 * conform/data/ndbm.h-data: Likewise.
4965 * conform/data/net/if.h-data: Likewise.
4966 * conform/data/netdb.h-data: Likewise.
4967 * conform/data/netinet/in.h-data: Likewise.
4968 * conform/data/nl_types.h-data: Likewise.
4969 * conform/data/poll.h-data: Likewise.
4970 * conform/data/pthread.h-data: Likewise.
4971 * conform/data/pwd.h-data: Likewise.
4972 * conform/data/regex.h-data: Likewise.
4973 * conform/data/sched.h-data: Likewise.
4974 * conform/data/search.h-data: Likewise.
4975 * conform/data/semaphore.h-data: Likewise.
4976 * conform/data/setjmp.h-data: Likewise.
4977 * conform/data/signal.h-data: Likewise.
4978 * conform/data/spawn.h-data: Likewise.
4979 * conform/data/stdarg.h-data: Likewise.
4980 * conform/data/stdio.h-data: Likewise.
4981 * conform/data/stdlib.h-data: Likewise.
4982 * conform/data/string.h-data: Likewise.
4983 * conform/data/strings.h-data: Likewise.
4984 * conform/data/stropts.h-data: Likewise.
4985 * conform/data/sys/ipc.h-data: Likewise.
4986 * conform/data/sys/mman.h-data: Likewise.
4987 * conform/data/sys/msg.h-data: Likewise.
4988 * conform/data/sys/resource.h-data: Likewise.
4989 * conform/data/sys/select.h-data: Likewise.
4990 * conform/data/sys/sem.h-data: Likewise.
4991 * conform/data/sys/shm.h-data: Likewise.
4992 * conform/data/sys/socket.h-data: Likewise.
4993 * conform/data/sys/stat.h-data: Likewise.
4994 * conform/data/sys/statvfs.h-data: Likewise.
4995 * conform/data/sys/time.h-data: Likewise.
4996 * conform/data/sys/timeb.h-data: Likewise.
4997 * conform/data/sys/times.h-data: Likewise.
4998 * conform/data/sys/types.h-data: Likewise.
4999 * conform/data/sys/uio.h-data: Likewise.
5000 * conform/data/sys/un.h-data: Likewise.
5001 * conform/data/sys/utsname.h-data: Likewise.
5002 * conform/data/sys/wait.h-data: Likewise.
5003 * conform/data/syslog.h-data: Likewise.
5004 * conform/data/tar.h-data: Likewise.
5005 * conform/data/termios.h-data: Likewise.
5006 * conform/data/utime.h-data: Likewise.
5007 * conform/data/utmpx.h-data: Likewise.
5008 * conform/data/varargs.h-data: Likewise.
5009 * conform/data/wchar.h-data: Likewise.
5010 * conform/data/wctype.h-data: Likewise.
5011 * conform/data/wordexp.h-data: Likewise.
5013 * include/stropts.h: New file.
5014 * include/uchar.h: New file.
5015 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5016 * include/assert.h: Likewise.
5017 * include/ctype.h: Likewise.
5018 * include/dirent.h: Likewise.
5019 * include/dlfcn.h: Likewise.
5020 * include/fcntl.h: Likewise.
5021 * include/fnmatch.h: Likewise.
5022 * include/glob.h: Likewise.
5023 * include/grp.h: Likewise.
5024 * include/libio.h: Likewise.
5025 * include/locale.h: Likewise.
5026 * include/math.h: Likewise.
5027 * include/net/if.h: Likewise.
5028 * include/netdb.h: Likewise.
5029 * include/netinet/in.h: Likewise.
5030 * include/pthread.h: Likewise.
5031 * include/pwd.h: Likewise.
5032 * include/regex.h: Likewise.
5033 * include/sched.h: Likewise.
5034 * include/search.h: Likewise.
5035 * include/setjmp.h: Likewise.
5036 * include/signal.h: Likewise.
5037 * include/stdio.h: Likewise.
5038 * include/stdlib.h: Likewise.
5039 * include/string.h: Likewise.
5040 * include/sys/cdefs.h: Likewise.
5041 * include/sys/mman.h: Likewise.
5042 * include/sys/msg.h: Likewise.
5043 * include/sys/resource.h: Likewise.
5044 * include/sys/select.h: Likewise.
5045 * include/sys/socket.h: Likewise.
5046 * include/sys/stat.h: Likewise.
5047 * include/sys/statvfs.h: Likewise.
5048 * include/sys/time.h: Likewise.
5049 * include/sys/times.h: Likewise.
5050 * include/sys/uio.h: Likewise.
5051 * include/sys/utsname.h: Likewise.
5052 * include/sys/wait.h: Likewise.
5053 * include/termios.h: Likewise.
5054 * include/time.h: Likewise.
5055 * include/ulimit.h: Likewise.
5056 * include/unistd.h: Likewise.
5057 * include/utime.h: Likewise.
5058 * include/wchar.h: Likewise.
5059 * include/wctype.h: Likewise.
5060 * include/wordexp.h: Likewise.
5062 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5064 * time/time.h: TIME_UTC must be a macro.
5065 Make timespec_get available for ISO C11 only as well.
5067 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5069 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5070 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5072 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5074 * configure.in: Use -o not -a in test for unsupported multi-arch.
5076 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5078 * manual/texinfo.tex: Update to version 2012-01-19.16.
5080 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5082 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5084 2012-02-24 Roland McGrath <roland@hack.frob.com>
5087 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5088 * manual/fdl-1.3.texi: New file.
5089 * manual/fdl-1.1.texi: File removed.
5092 * manual/libc.texinfo (FDL_VERSION): New @set.
5093 Use it for mention of FDL in cover text.
5094 (Documentation License): Use it in @include file name.
5096 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5097 Roland McGrath <roland@hack.frob.com>
5100 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5101 not LONG_LONG_MAX and LONG_LONG_MIN.
5102 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5103 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5105 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5107 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5111 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5112 manipulate bits before adding and subtracting TWO23[sx].
5113 * math/libm-test.inc (nearbyint_test): Add more tests.
5115 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5118 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5119 bits before adding and subtracting TWO23[sx].
5120 * math/libm-test.inc (rint_test): Add more tests.
5121 (rint_test_tonearest): Likewise.
5122 (rint_test_towardzero): Likewise.
5123 (rint_test_downward): Likewise.
5124 (rint_test_upward: Likewise.
5126 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5129 * include/stdc-predef.h: New file. Extracted from features.h.
5130 * include/features.h: Include stdc-predef.h.
5131 * Makefile (headers): Add stdc-predef.h.
5132 * CONFORMANCE (Compiler limitations): Update.
5134 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5136 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5138 2012-02-21 David S. Miller <davem@davemloft.net>
5140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5141 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5143 2012-02-20 David S. Miller <davem@davemloft.net>
5145 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5146 using a normal save/restore sequence, rather than allocating a
5147 dummy stack frame just to store a frame pointer and restore.
5148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5150 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5152 * manual/install.texi: Fix stray word in line-wrapped comment.
5154 2012-02-20 David S. Miller <davem@davemloft.net>
5156 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5157 both binutils and gcc support GOTDATA.
5159 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5160 "rd %pc" in the PIC register setup sequences.
5162 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5163 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5164 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5165 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5166 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5167 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5168 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5169 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5171 (SYSCALL_ERROR_HANDLER): Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5173 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5175 (SYSCALL_ERROR_HANDLER): Likewise.
5177 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5178 (HAVE_GCC_GOTDATA): New.
5179 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5180 relocation support in both binutils and gcc.
5181 * sysdeps/sparc/elf/configure: Regenerate.
5183 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5184 * sysdeps/sparc/sparc32/elf/configure: Delete.
5185 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5186 * sysdeps/sparc/sparc64/elf/configure: Delete.
5187 * sysdeps/sparc/elf/configure.in: New file.
5188 * sysdeps/sparc/elf/configure: Generate.
5190 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5191 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5192 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5193 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5194 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5196 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5198 * manual/install.texi: Do not mention specific glibc version
5200 * manual/libc.texinfo (VERSION, UPDATED): Update.
5201 (@copying): Use @copyright{} and range of years.
5203 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5206 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5207 [crti.S not in sysdirs] (generated): Do not append.
5208 [crti.S not in sysdirs] (omit-deps): Likewise.
5209 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5210 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5211 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5212 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5213 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5215 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5216 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5217 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5218 * csu/defs.awk: Remove file.
5219 * sysdeps/generic/initfini.c: Likewise.
5220 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5222 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5225 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5227 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5228 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5229 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5232 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5234 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5235 (__EPOLL_PACKED): Define to empty if not defined by
5237 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5241 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5243 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5244 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5245 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5246 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5248 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5249 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5252 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5254 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5256 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5257 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5258 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5261 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5263 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5264 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5266 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5268 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5269 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5271 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5273 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5276 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5278 * math/w_acos.c: Use non-signaling floating-point comparisons.
5279 * math/w_acosf.c: Likewise.
5280 * math/w_acosh.c: Likewise.
5281 * math/w_acoshf.c: Likewise.
5282 * math/w_acoshl.c: Likewise.
5283 * math/w_acosl.c: Likewise.
5284 * math/w_asin.c: Likewise.
5285 * math/w_asinf.c: Likewise.
5286 * math/w_asinl.c: Likewise.
5287 * math/w_atanh.c: Likewise.
5288 * math/w_atanhf.c: Likewise.
5289 * math/w_atanhl.c: Likewise.
5290 * math/w_exp2.c: Likewise.
5291 * math/w_exp2f.c: Likewise.
5292 * math/w_exp2l.c: Likewise.
5293 * math/w_j0.c: Likewise.
5294 * math/w_j0f.c: Likewise.
5295 * math/w_j0l.c: Likewise.
5296 * math/w_j1.c: Likewise.
5297 * math/w_j1f.c: Likewise.
5298 * math/w_j1l.c: Likewise.
5299 * math/w_jn.c: Likewise.
5300 * math/w_jnf.c: Likewise.
5301 * math/w_log.c: Likewise.
5302 * math/w_log10.c: Likewise.
5303 * math/w_log10f.c: Likewise.
5304 * math/w_log10l.c: Likewise.
5305 * math/w_log2.c: Likewise.
5306 * math/w_log2f.c: Likewise.
5307 * math/w_log2l.c: Likewise.
5308 * math/w_logf.c: Likewise.
5309 * math/w_logl.c: Likewise.
5310 * math/w_sqrt.c: Likewise.
5311 * math/w_sqrtf.c: Likewise.
5312 * math/w_sqrtl.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5314 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5316 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5317 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5319 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5322 * manual/string.texi (strnlen): Use correct parameter name in
5323 equivalent expression.
5325 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5328 * manual/users.texi (seteuid): Consistently use neweuid for
5331 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5334 * manual/nss.texi (Services in the NSS configuration): Correct
5335 list of services in example configuration file.
5337 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5340 * manual/arith.texi: Remove statements about negative zero
5341 behaving identically to zero.
5343 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5346 * manual/install.texi: Do not document upgrading from libc5.
5348 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5351 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5353 2012-02-18 David S. Miller <davem@davemloft.net>
5355 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5356 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5357 %o7 across the call.
5358 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5363 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5364 * sysdeps/sparc/crtn.S: Likewise.
5366 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5368 * aout/Makefile: Remove.
5370 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5373 * manual/examples/argp-ex1.c (main): Format definition in GNU
5375 * manual/examples/argp-ex2.c (main): Likewise.
5376 * manual/examples/argp-ex3.c (main): Likewise.
5377 * manual/examples/argp-ex4.c (main): Likewise.
5378 * manual/examples/longopt.c (main): Use new-style prototype
5380 * manual/examples/strncat.c (main): Specify return type and use
5381 (void) for arguments.
5382 * manual/examples/subopt.c (main): Use char **argv argument.
5384 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5387 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5390 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5393 * manual/string.texi (strchr): Change when strchrnul is
5396 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5399 * manual/locale.texi (setlocale): Document LOCPATH.
5401 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5404 * manual/process.texi (execle): Move @dots{} before last argument.
5406 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5409 * manual/charset.texi (Generic Charset Conversion): Fix typo
5410 (LC_TYPE -> LC_CTYPE).
5412 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5415 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5416 (scalbnf): Likewise.
5417 (scalbnl): Likewise.
5418 (scalbln): Likewise.
5419 (scalblnf): Likewise.
5420 (scalblnl): Likewise.
5421 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5425 * manual/filesys.texi (telldir): Use braces around return type.
5426 * manual/llio.texi (mmap): Add space after comma.
5428 * manual/math.texi (jn): Use @var{} on parameter names.
5434 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5436 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5438 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5439 (sched_get_priority_max): Likewise.
5440 * manual/signal.texi (sigvec): Add space after comma.
5441 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5443 (if_indextoname): Likewise.
5444 (if_freenameindex): Likewise.
5445 (sendto): Use ',' instead of '.' in prototype.
5446 * manual/startup.texi (syscall): Use @dots{} instead of literal
5448 * manual/stdio.texi (__fpending): Separate initial words of
5449 paragraph from @deftypefun line.
5450 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5452 (vsyslog): Use @var{} on parameter names.
5453 * manual/terminal.texi (stty): Use @var{} on parameter names.
5454 * manual/users.texi (getutmp): Use @var{} on parameter names.
5455 (getutmpx): Likewise.
5457 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5460 * manual/stdio.texi (fopen): Fix typos in description of
5463 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5466 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5467 get clock_id definition.
5469 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5472 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5473 (madvise): Cast every argument to void on its own.
5475 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5478 * manual/startup.texi (Exit Status): Fix typo.
5480 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5483 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5484 * manual/examples/argp-ex2.c: Likewise.
5485 * manual/examples/argp-ex3.c: Likewise.
5487 2012-02-16 Richard Henderson <rth@redhat.com>
5489 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5490 * sysdeps/s390/s390-32/initfini.c: Remove.
5491 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5492 * sysdeps/s390/s390-64/initfini.c: Remove.
5494 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5496 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5497 compiler output for sysdeps/generic/initfini.c.
5498 * sysdeps/sh/elf/initfini.c: Remove file.
5500 2012-02-16 David S. Miller <davem@davemloft.net>
5503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5505 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5506 * sysdeps/sparc/crti.S: New file.
5507 * sysdeps/sparc/crtn.S: New file.
5508 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5509 * sysdeps/sparc/sparc64/Makefile: Likewise.
5511 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5514 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5516 2012-02-15 Roland McGrath <roland@hack.frob.com>
5519 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5521 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5522 (write, read, close): Likewise.
5523 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5525 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5527 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5528 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5529 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5530 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5532 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5536 2012-02-14 Marek Polacek <polacek@redhat.com>
5538 * sysdeps/x86_64/crti.S: New file.
5539 * sysdeps/x86_64/crtn.S: New file.
5540 * sysdeps/x86_64/elf/initfini.c: Remove file.
5542 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5544 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5545 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5546 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5547 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5549 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5553 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5555 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5556 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5557 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5558 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5560 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5564 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5566 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5567 __feraiseexcept instead of feraiseexcept.
5569 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5570 nanosleep invocations.
5571 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5572 strings, and add error checking for a nanosleep invocations.
5574 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5576 Replace FSF snail mail address with URLs, as per GNU coding standards.
5577 Most of the snail mail addresses were wrong anyway, and omitting
5578 them makes the source code easier to maintain. Almost all of the
5579 changes are to license notices and to locale LC_IDENTIFICATION
5580 addresses, except for this one:
5581 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5582 not its snail mail address.
5584 2012-02-09 Richard Henderson <rth@twiddle.net>
5586 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5587 of kernel-features.h.
5589 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5591 2012-02-08 Marek Polacek <polacek@redhat.com>
5593 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5594 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5595 * sysdeps/gnu/_G_config.h: Likewise.
5596 * sysdeps/generic/_G_config.h: Likewise.
5598 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5600 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5604 * sysdeps/powerpc/powerpc32/crti.S: New file.
5605 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5606 * sysdeps/powerpc/powerpc64/crti.S: New file.
5607 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5609 * Makeconfig (have-initfini): Don't set.
5610 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5611 * configure.in (nopic_initfini): Don't substitute.
5612 * config.h.in (HAVE_INITFINI): Don't #undef.
5613 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5614 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5616 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5618 Support crti.S and crtn.S provided directly by architectures.
5619 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5620 [crti.S in sysdirs] (omit-deps): Likewise.
5621 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5622 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5623 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5624 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5625 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5626 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5627 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5628 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5629 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5630 compiler output for sysdeps/generic/initfini.c.
5631 * sysdeps/i386/elf/Makefile: Remove file.
5632 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5634 2012-02-07 Marek Polacek <polacek@redhat.com>
5636 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5637 * sysdeps/gnu/_G_config.h: Likewise.
5638 * sysdeps/mach/hurd/_G_config.h: Likewise.
5640 2012-02-07 Marek Polacek <polacek@redhat.com>
5642 * math/Makefile (tests): Add tst-CMPLX2.
5643 * math/tst-CMPLX2.c: New file.
5645 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5647 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5649 * math/libm-test.inc (jn_test): Add missing L suffix.
5651 2012-02-06 Marek Polacek <polacek@redhat.com>
5653 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5654 * sysdeps/i386/fpu/e_powf.S: Likewise.
5655 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5656 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5657 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5658 * sysdeps/i386/fpu/e_pow.S: Likewise.
5659 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5660 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5661 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5662 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5663 * sysdeps/i386/fpu/e_log2.S: Likewise.
5664 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5665 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5666 * sysdeps/i386/fpu/e_powl.S: Likewise.
5667 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5668 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5669 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5670 * sysdeps/i386/fpu/e_logl.S: Likewise.
5671 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5672 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5673 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5674 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5675 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5676 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5677 * sysdeps/i386/fpu/e_log.S: Likewise.
5678 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5679 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5680 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5681 * sysdeps/i386/fpu/e_logf.S: Likewise.
5682 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5683 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5684 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5685 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5686 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5687 * sysdeps/i386/fpu/e_log10.S: Likewise.
5688 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5689 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5690 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5691 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5692 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5693 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5694 * sysdeps/i386/asm-syntax.h: Likewise.
5695 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5696 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5698 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5699 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5700 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5701 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5702 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5703 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5704 * sysdeps/powerpc/sysdep.h: Likewise.
5705 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5706 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5708 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5711 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5713 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5715 * sysdeps/i386/sysdep.h: Include <features.h>.
5716 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5719 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5721 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5723 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5726 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5729 (SETUP_PIC_REG): Use GET_PC_THUNK.
5730 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5733 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5735 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5736 for non-PIC compilation.
5737 (SETUP_PIC_REG): Add .p2align directive.
5738 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5739 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5740 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5741 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5742 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5743 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5744 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5745 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5746 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5747 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5748 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5749 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5750 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5751 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5752 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5753 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5754 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5755 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5756 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5757 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5758 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5759 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5760 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5761 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5763 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5764 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5765 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5766 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5767 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5768 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5769 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5770 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5771 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5772 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5773 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5774 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5775 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5776 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5777 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5778 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5780 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5782 * math/tst-CMPLX.c: Include <stdio.h>.
5784 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5786 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5788 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5789 * sysdeps/sparc/bits/mathdef.h: Likewise.
5791 2012-01-31 Marek Polacek <polacek@redhat.com>
5793 * libio/libio.h: Don't define _PARAMS.
5794 * locale/programs/config.h: Don't define PARAMS.
5795 * stdlib/strtol_l.c: Likewise.
5796 (__strtol_l): Remove PARAMS from the prototype.
5798 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5800 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5801 names. Just use the correct names. Remove unnecessary wrapper
5803 * malloc/arena.c: Likewise.
5804 * malloc/hooks.c: Likewise.
5806 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5807 ARENA_TEST says not to. Simplify test for creation of a new arena.
5808 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5810 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5812 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5814 (update_get_addr): New function.
5815 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5816 GET_ADDR_MODULE parameter.
5818 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5820 * crypt/cert.c: Remove __STDC__ conditionals.
5821 * crypt/crypt-entry.c: Likewise.
5822 * crypt/crypt_util.c: Likewise.
5823 * libio/filedoalloc.c: Likewise.
5824 * libio/fileops.c: Likewise.
5825 * libio/genops.c: Likewise.
5826 * libio/iofclose.c: Likewise.
5827 * libio/iofdopen.c: Likewise.
5828 * libio/iofopen.c: Likewise.
5829 * libio/iofopen64.c: Likewise.
5830 * libio/iogetdelim.c: Likewise.
5831 * libio/iopopen.c: Likewise.
5832 * libio/obprintf.c: Likewise.
5833 * libio/oldfileops.c: Likewise.
5834 * libio/oldiofclose.c: Likewise.
5835 * libio/oldiofdopen.c: Likewise.
5836 * libio/oldiofopen.c: Likewise.
5837 * libio/oldiopopen.c: Likewise.
5838 * libio/wfiledoalloc.c: Likewise.
5839 * libio/wgenops.c: Likewise.
5840 * locale/programs/xmalloc.c: Likewise.
5841 * misc/syslog.c: Likewise.
5842 * stdio-common/xbug.c: Likewise.
5843 * string/memchr.c: Likewise.
5844 * string/memcmp.c: Likewise.
5845 * string/memrchr.c: Likewise.
5846 * string/rawmemchr.c: Likewise.
5847 * sysdeps/posix/getcwd.c: Likewise.
5848 * time/strftime_l.c: Likewise.
5850 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5852 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5853 * config.make.in (config-cflags-sse2avx): Define.
5854 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5857 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5859 * scripts/config.guess: Update from upstream config git repository.
5860 * scripts/config.sub: Likewise.
5862 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5864 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5866 (R_TILEPRO_*, R_TILEGX_*): New macros.
5868 * scripts/firstversions.awk: Fix bug in version range handling.
5870 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5872 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5874 * include/sys/epoll.h: New file.
5875 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5878 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5880 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5881 Avoid unnecessary __WORDSIZE == 64 test.
5882 (fmaxf): Use VEX format if possible.
5887 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5888 * math/math_private.h: Remove libc_fegetround* and
5890 * sysdeps/i386/configure.in: Check for -msse2avx.
5891 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5892 also if SSE2AVX is defined.
5893 Remove libc_fegetround* and libc_fesetround*.
5894 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5895 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5896 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5898 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5899 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5901 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5902 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5904 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5906 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5910 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5912 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5915 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5917 * Makeconfig (libm): Define.
5918 * elf/Makefile: Add rules to build and run tst-relsort1.
5919 * elf/tst-relsort1.c: New file.
5920 * elf/tst-relsort1mod1.c: New file.
5921 * elf/tst-relsort1mod2.c: New file.
5923 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5925 * math/s_ldexp.c: Remove __STDC__ conditionals.
5926 * math/s_ldexpf.c: Likewise.
5927 * math/s_ldexpl.c: Likewise.
5928 * math/s_nextafter.c: Likewise.
5929 * math/s_nexttowardf.c: Likewise.
5930 * math/s_significand.c: Likewise.
5931 * math/s_significandf.c: Likewise.
5932 * math/s_significandl.c: Likewise.
5933 * math/w_jnl.c: Likewise.
5934 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5935 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5936 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5937 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5938 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5939 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5953 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5954 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5955 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5956 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5958 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5959 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5960 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5961 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5962 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5963 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5964 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5965 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5966 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5967 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5968 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5969 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5970 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5971 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5972 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5973 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5974 * sysdeps/ieee754/k_standard.c: Likewise.
5975 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5976 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5977 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5978 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5979 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5981 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5982 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5983 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5984 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5986 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5987 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5988 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5989 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5991 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5992 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5994 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5997 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5998 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5999 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6000 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6001 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6013 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6017 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6033 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6036 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6041 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6044 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6049 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6050 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6054 * sysdeps/ieee754/s_matherr.c: Likewise.
6055 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6056 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6057 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6058 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6060 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6062 * crypt/md5.h: Remove __STDC__ conditionals.
6063 * libio/libioP.h: Likewise.
6064 * locale/programs/config.h: Likewise.
6065 * sysdeps/generic/sysdep.h: Likewise.
6066 * sysdeps/i386/asm-syntax.h: Likewise.
6067 * sysdeps/s390/asm-syntax.h: Likewise.
6068 * sysdeps/unix/sysdep.h: Likewise.
6069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6072 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6074 * libio/libio.h: Remove __STDC__ conditionals.
6075 * malloc/obstack.h: Likewise.
6076 * math/complex.h: Likewise.
6077 * math/math.h: Likewise.
6078 * sysdeps/generic/_G_config.h: Likewise.
6079 * sysdeps/gnu/_G_config.h: Likewise.
6080 * sysdeps/mach/hurd/_G_config.h: Likewise.
6081 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6082 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6083 * sysdeps/sparc/bits/mathdef.h: Likewise.
6085 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6088 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6089 Clean up HAS_* macros.
6090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6091 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6101 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6103 * elf/tst-unique3.cc (gets): Remove declaration.
6104 * elf/tst-unique3lib.cc (gets): Likewise.
6105 * elf/tst-unique3lib2.cc (gets): Likewise.
6106 * elf/tst-unique4.cc (gets): Likewise.
6108 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6110 * include/stdio.h: Add C++ protection. Add gets declarations and
6112 * debug/tst-chk1.c: Don't declare gets here.
6113 * stdio-common/tst-gets.c: Likewise.
6115 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6117 * posix/glob: Remove directory.
6119 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6121 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6123 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6125 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6126 of the non-standard EPFNOSUPPORT.
6128 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6130 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6131 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6132 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6134 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6136 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6138 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6140 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6142 * nscd/grpcache.c (cache_addgr): Likewise.
6143 * nscd/hstcache.c (cache_addhst): Likewise.
6144 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6145 * nscd/pwdcache.c (cache_addpw): Likewise.
6146 * nscd/servicescache.c (cache_addserv): Likewise.
6148 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6150 * malloc/malloc.c: Various cleanups.
6151 * malloc/hooks.c: Likewise.
6153 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6154 * stdlib/bug-fmtmsg1.c: New file.
6156 * stdlib/fmtmsg.c (init): Add missing unlock.
6157 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6159 2012-01-12 Marek Polacek <polacek@redhat.com>
6161 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6164 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6166 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6167 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6168 macro to ensure uniqueness of label name.
6169 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6170 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6172 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6174 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6176 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6177 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6178 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6181 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6183 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6185 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6186 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6189 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6191 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6192 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6193 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6196 * math/bits/math-finite.h: Add ldexp support.
6198 2012-01-10 Marek Polacek <polacek@redhat.com>
6200 * locale/programs/localedef.h (show_archive_content): Add noreturn
6203 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6205 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6207 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6209 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6211 * io/Makefile (headers): Add bits/poll2.h.
6213 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6216 typo #include statement.
6218 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6220 * include/sys/cdefs.h: Define __attribute_alloc_size.
6221 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6222 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6223 * elf/pldd.c: Likewise.
6224 * iconv/iconv_charmap.c: Likewise.
6225 * iconv/iconvconfig.c: Likewise.
6226 * iconv/strtab.c: Likewise.
6227 * locale/programs/locale.c: Likewise.
6228 * locale/programs/localedef.h: Likewise.
6229 * locale/programs/simple-hash.c: Likewise.
6230 * nscd/nscd.h: Likewise.
6231 * nss/makedb.c: Likewise.
6232 * sysdeps/generic/ldconfig.h: Likewise.
6233 * locale/programs/localedef.c: Remove xmalloc prototype.
6234 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6236 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6238 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6241 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6243 * math/Makefile (tests): Add tst-CMPLX.
6244 * math/tst-CMPLX.c: New file.
6246 * math/complex.h (CMPLXL): Fix typo.
6248 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6249 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6251 * debug/tst-chk1.c: Add poll and ppoll tests.
6252 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6253 * include/sys/poll.h: Add hidden proto for ppoll.
6254 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6255 * sysdeps/mach/hurd/ppoll.c: Likewise.
6256 * io/ppoll.c: Likewise.
6257 * debug/poll_chk.c: New file.
6258 * debug/ppoll_chk.c: New file.
6259 * include/bits/poll2.h: New file.
6260 * io/bits/poll2.h: New file.
6263 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6265 * configure.in: static is always set to yes. Remove.
6266 * config.make.in: Don't set build-static.
6267 * Makeconfig: Remove use of build-static.
6268 * dlfcn/Makefile: Likewise.
6269 * elf/Makefile: Likewise.
6270 * math/Makefile: Likewise.
6271 * misc/Makefile: Likewise.
6272 * nptl/Makefile: Likewise.
6273 * sysdeps/mach/hurd/Makefile: Likewise.
6275 * configure.in: PWD_P is not used anymore.
6276 * config.make.in: Remove PWD_P entry.
6278 * configure.in: Remove last remnants of RANLIB.
6279 No need to check for signed size_t anymore.
6280 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6282 Remove __builtin_expect test because we require at least gcc 3.4.
6283 * aclocal.m4: Likewise.
6285 * wcsmbs/mbrtoc16.c: Implement using towc function.
6286 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6287 * wcsmbs/wcsmbsload.c: Likewise.
6288 * iconv/gconv_simple.c: Likewise.
6289 * iconv/gconv_int.h: Likewise.
6290 * iconv/gconv_builtin.h: Likewise.
6291 * iconv/iconv_prog.c: Remove CHAR16 handling.
6293 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6295 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6297 * configure.in: Remove --with-elf and --enable-bounded options.
6298 Dont set base_machine for ia64. More non-ELF conditions removed.
6299 Remove testing and setting of leading underscore information.
6300 * config.make.in (build-bounded): Set to no.
6301 * config.h.in: Remove NO_UNDERSCORES entry.
6302 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6304 * csu/start.c: Remove !NO_UNDERSCORE code.
6305 * locale/localeinfo.h: Likewise.
6306 * sysdeps/generic/machine-gmon.h: Likewise.
6307 * sysdeps/generic/sysdep.h: Likewise.
6308 * sysdeps/i386/sysdep.h: Likewise.
6309 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6310 * sysdeps/mach/sysdep.h: Likewise.
6311 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6313 * sysdeps/sh/sysdep.h: Likewise.
6314 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6315 * sysdeps/unix/i386/sysdep.S: Likewise.
6316 * sysdeps/unix/sparc/start.c: Likewise.
6317 * sysdeps/unix/sparc/sysdep.S: Likewise.
6318 * sysdeps/unix/sparc/sysdep.h: Likewise.
6319 * sysdeps/unix/start.c: Likewise.
6320 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6321 * sysdeps/x86_64/sysdep.h: Likewise.
6323 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6326 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6328 * argp/argp-fmtstream.h: Use const instead __const.
6329 * argp/argp.h: Likewise.
6330 * assert/assert.h: Likewise.
6331 * bits/fenv.h: Likewise.
6332 * bits/sched.h: Likewise.
6333 * bits/sigset.h: Likewise.
6334 * bits/sigthread.h: Likewise.
6335 * catgets/nl_types.h: Likewise.
6336 * conform/data/pthread.h-data: Likewise.
6337 * crypt/crypt-private.h: Likewise.
6338 * crypt/crypt.h: Likewise.
6339 * crypt/crypt_util.c: Likewise.
6340 * ctype/ctype.h: Likewise.
6341 * debug/execinfo.h: Likewise.
6342 * debug/mbsnrtowcs_chk.c: Likewise.
6343 * debug/mbsrtowcs_chk.c: Likewise.
6344 * debug/wcsnrtombs_chk.c: Likewise.
6345 * debug/wcsrtombs_chk.c: Likewise.
6346 * debug/wcstombs_chk.c: Likewise.
6347 * dirent/dirent.h: Likewise.
6348 * dlfcn/dlfcn.h: Likewise.
6349 * elf/neededtest4.c: Likewise.
6350 * grp/grp.h: Likewise.
6351 * gshadow/gshadow.h: Likewise.
6352 * iconv/gconv.h: Likewise.
6353 * iconv/gconv_int.h: Likewise.
6354 * iconv/gconv_simple.c: Likewise.
6355 * iconv/iconv.h: Likewise.
6356 * iconv/loop.c: Likewise.
6357 * iconv/skeleton.c: Likewise.
6358 * include/aio.h: Likewise.
6359 * include/aliases.h: Likewise.
6360 * include/argz.h: Likewise.
6361 * include/arpa/inet.h: Likewise.
6362 * include/assert.h: Likewise.
6363 * include/dirent.h: Likewise.
6364 * include/dlfcn.h: Likewise.
6365 * include/execinfo.h: Likewise.
6366 * include/fcntl.h: Likewise.
6367 * include/fenv.h: Likewise.
6368 * include/glob.h: Likewise.
6369 * include/grp.h: Likewise.
6370 * include/libintl.h: Likewise.
6371 * include/mntent.h: Likewise.
6372 * include/netdb.h: Likewise.
6373 * include/pwd.h: Likewise.
6374 * include/rpc/netdb.h: Likewise.
6375 * include/sched.h: Likewise.
6376 * include/search.h: Likewise.
6377 * include/shadow.h: Likewise.
6378 * include/signal.h: Likewise.
6379 * include/stdio.h: Likewise.
6380 * include/stdlib.h: Likewise.
6381 * include/string.h: Likewise.
6382 * include/sys/socket.h: Likewise.
6383 * include/sys/stat.h: Likewise.
6384 * include/sys/statfs.h: Likewise.
6385 * include/sys/statvfs.h: Likewise.
6386 * include/sys/syslog.h: Likewise.
6387 * include/sys/time.h: Likewise.
6388 * include/sys/uio.h: Likewise.
6389 * include/time.h: Likewise.
6390 * include/unistd.h: Likewise.
6391 * include/utmp.h: Likewise.
6392 * include/wchar.h: Likewise.
6393 * include/wctype.h: Likewise.
6394 * inet/aliases.h: Likewise.
6395 * inet/arpa/inet.h: Likewise.
6396 * inet/netinet/ether.h: Likewise.
6397 * inet/netinet/in.h: Likewise.
6398 * intl/libintl.h: Likewise.
6399 * io/bits/fcntl2.h: Likewise.
6400 * io/fcntl.h: Likewise.
6401 * io/ftw.h: Likewise.
6402 * io/sys/poll.h: Likewise.
6403 * io/sys/stat.h: Likewise.
6404 * io/sys/statfs.h: Likewise.
6405 * io/sys/statvfs.h: Likewise.
6406 * io/utime.h: Likewise.
6407 * libio/bits/stdio.h: Likewise.
6408 * libio/bits/stdio2.h: Likewise.
6409 * libio/libio.h: Likewise.
6410 * libio/libioP.h: Likewise.
6411 * libio/stdio.h: Likewise.
6412 * locale/lc-ctype.c: Likewise.
6413 * locale/locale.h: Likewise.
6414 * login/utmp.h: Likewise.
6415 * malloc/arena.c: Likewise.
6416 * malloc/malloc.c: Likewise.
6417 * malloc/malloc.h: Likewise.
6418 * malloc/mcheck.c: Likewise.
6419 * malloc/mtrace.c: Likewise.
6420 * math/bits/mathcalls.h: Likewise.
6421 * math/fenv.h: Likewise.
6422 * math/math_private.h: Likewise.
6423 * misc/bits/error.h: Likewise.
6424 * misc/bits/syslog.h: Likewise.
6425 * misc/err.h: Likewise.
6426 * misc/error.h: Likewise.
6427 * misc/fstab.h: Likewise.
6428 * misc/mntent.h: Likewise.
6429 * misc/regexp.h: Likewise.
6430 * misc/search.h: Likewise.
6431 * misc/sgtty.h: Likewise.
6432 * misc/sys/mman.h: Likewise.
6433 * misc/sys/syslog.h: Likewise.
6434 * misc/sys/uio.h: Likewise.
6435 * misc/sys/xattr.h: Likewise.
6436 * misc/ttyent.h: Likewise.
6437 * nis/rpcsvc/ypclnt.h: Likewise.
6438 * nss/nss.h: Likewise.
6439 * posix/bits/unistd.h: Likewise.
6440 * posix/fnmatch.h: Likewise.
6441 * posix/glob.h: Likewise.
6442 * posix/sched.h: Likewise.
6443 * posix/spawn.h: Likewise.
6444 * posix/sys/wait.h: Likewise.
6445 * posix/unistd.h: Likewise.
6446 * posix/wordexp.h: Likewise.
6447 * pwd/pwd.h: Likewise.
6448 * resolv/netdb.h: Likewise.
6449 * resource/sys/resource.h: Likewise.
6450 * rt/aio.h: Likewise.
6451 * rt/bits/mqueue2.h: Likewise.
6452 * rt/mqueue.h: Likewise.
6453 * shadow/shadow.h: Likewise.
6454 * signal/signal.h: Likewise.
6455 * socket/send.c: Likewise.
6456 * socket/sendto.c: Likewise.
6457 * socket/sys/socket.h: Likewise.
6458 * stdio-common/printf.h: Likewise.
6459 * stdlib/bits/stdlib.h: Likewise.
6460 * stdlib/fmtmsg.h: Likewise.
6461 * stdlib/monetary.h: Likewise.
6462 * stdlib/stdlib.h: Likewise.
6463 * stdlib/ucontext.h: Likewise.
6464 * streams/stropts.h: Likewise.
6465 * string/argz.h: Likewise.
6466 * string/bits/string2.h: Likewise.
6467 * string/string.h: Likewise.
6468 * string/strings.h: Likewise.
6469 * sunrpc/rpc/auth.h: Likewise.
6470 * sunrpc/rpc/auth_des.h: Likewise.
6471 * sunrpc/rpc/clnt.h: Likewise.
6472 * sunrpc/rpc/netdb.h: Likewise.
6473 * sunrpc/rpc/pmap_clnt.h: Likewise.
6474 * sunrpc/rpc/xdr.h: Likewise.
6475 * sysdeps/generic/inttypes.h: Likewise.
6476 * sysdeps/generic/net/if.h: Likewise.
6477 * sysdeps/generic/sys/swap.h: Likewise.
6478 * sysdeps/gnu/net/if.h: Likewise.
6479 * sysdeps/gnu/utmpx.h: Likewise.
6480 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6481 * sysdeps/i386/i486/bits/string.h: Likewise.
6482 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6483 * sysdeps/s390/bits/string.h: Likewise.
6484 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6485 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6486 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6487 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6488 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6489 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6490 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6491 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6492 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6493 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6494 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6495 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6496 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6497 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6498 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6499 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6500 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6503 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6504 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6505 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6506 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6507 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6508 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6509 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6510 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6511 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6512 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6513 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6514 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6515 * sysvipc/sys/ipc.h: Likewise.
6516 * sysvipc/sys/msg.h: Likewise.
6517 * sysvipc/sys/sem.h: Likewise.
6518 * sysvipc/sys/shm.h: Likewise.
6519 * termios/termios.h: Likewise.
6520 * time/sys/time.h: Likewise.
6521 * time/time.h: Likewise.
6522 * wcsmbs/bits/wchar2.h: Likewise.
6523 * wcsmbs/uchar.h: Likewise.
6524 * wcsmbs/wchar.h: Likewise.
6525 * wctype/wctype.h: Likewise.
6528 * Makeconfig: Remove all but ELF support including AIX support.
6529 * Makerules: Likewise.
6530 * config.h.in: Likewise.
6531 * config.make.in: Likewise.
6532 * configure: Likewise.
6533 * configure.in: Likewise.
6534 * csu/Makefile: Likewise.
6535 * csu/version.c: Likewise.
6536 * debug/Makefile: Likewise.
6537 * dlfcn/Makefile: Likewise.
6538 * elf/Makefile: Likewise.
6539 * extra-lib.mk: Likewise.
6540 * iconv/Makefile: Likewise.
6541 * include/libc-symbols.h: Likewise.
6542 * include/shlib-compat.h: Likewise.
6543 * resolv/Makefile: Likewise.
6544 * resolv/res_libc.c: Likewise.
6545 * rt/Makefile: Likewise.
6546 * sysdeps/i386/asm-syntax.h: Likewise.
6547 * sysdeps/i386/sysdep.h: Likewise.
6548 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6549 * sysdeps/mach/sysdep.h: Likewise.
6550 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6551 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6552 * sysdeps/s390/asm-syntax.h: Likewise.
6553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6555 * sysdeps/sh/sysdep.h: Likewise.
6556 * sysdeps/unix/sparc/sysdep.h: Likewise.
6557 * sysdeps/wordsize-32/divdi3.c: Likewise.
6558 * sysdeps/x86_64/sysdep.h: Likewise.
6560 * argp/Versions: Remove _argp_unlock_xxx.
6563 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6564 * abilist/libBrokenLocale.abilist: Likewise.
6565 * abilist/libanl.abilist: Likewise.
6566 * abilist/libc.abilist: Likewise.
6567 * abilist/libcrypt.abilist: Likewise.
6568 * abilist/libdl.abilist: Likewise.
6569 * abilist/libm.abilist: Likewise.
6570 * abilist/libnsl.abilist: Likewise.
6571 * abilist/libpthread.abilist: Likewise.
6572 * abilist/libresolv.abilist: Likewise.
6573 * abilist/librt.abilist: Likewise.
6574 * abilist/libthread_db.abilist: Likewise.
6575 * abilist/libutil.abilist: Likewise.
6576 * abilist/libnss_db.abilist: New file.
6578 * scripts/abilist.awk: Add support for indirect functions.
6580 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6582 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6584 * shlib-versions: Remove entries for ports architectures.
6586 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6588 * elf/stackguard-macros.h: Remove support for IA-64.
6589 * elf/tst-auditmod1.c: Likewise.
6590 * sysdeps/generic/ldsodefs.h: Likewise.
6592 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6593 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6597 * configure.in: Remove --enable-omitfp support.
6599 * config.make.in: Likewise.
6600 * Makeconfig: Likewise.
6601 * manual/install.texi: Likewise.
6603 In case anyone cares, the IA-64 architecture could move to ports.
6604 * sysdeps/ia64/*: Removed.
6605 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6606 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6609 * configure.in: Remove entries for unsupported architectures.
6612 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6613 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6615 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6616 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6617 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6618 fall back to using wcrtomb.
6619 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6620 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6622 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6623 * wcsmbs/tst-c16c32-1.c: New file.
6625 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6628 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6630 * elf/tst-unique3.cc: Add explicit declaration of gets.
6631 * elf/tst-unique3lib.cc: Likewise.
6632 * elf/tst-unique3lib2.cc: Likewise.
6633 * elf/tst-unique4.cc: Likewise.
6635 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6637 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6640 * assert/assert.h (static_assert): Don't define for C++.
6641 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6642 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6644 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6646 * iconv/loop.c (single loop): Fix assertion in storing of
6649 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6651 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6653 * posix/getconf.c: Update copyright year.
6654 * nss/getent.c: Likewise.
6655 * nss/makedb.c: Likewise.
6656 * iconv/iconvconfig.c: Likewise.
6657 * iconv/iconv_prog.c: Likewise.
6658 * elf/ldconfig.c: Likewise.
6659 * elf/pldd.c: Likewise.
6660 * elf/sotruss.ksh: Likewise.
6661 * catgets/gencat.c: Likewise.
6662 * csu/version.c: Likewise.
6663 * elf/ldd.bash.in: Likewise.
6664 * elf/sprof.c (print_version): Likewise.
6665 * locale/programs/locale.c: Likewise.
6666 * locale/programs/localedef.c: Likewise.
6667 * login/programs/pt_chown.c: Likewise.
6668 * nscd/nscd.c (print_version): Likewise.
6669 * debug/xtrace.sh: Likewise.
6670 * malloc/memusage.sh: Likewise.
6671 * malloc/mtrace.pl: Likewise.
6672 * debug/catchsegv.sh: Likewise.
6674 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6676 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6679 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6682 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6683 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6685 * iconv/gconv_int.h: Likewise.
6686 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6687 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6688 from libc for GLIBC_2.16.
6689 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6690 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6691 * wcsmbs/uchar.h: Really define mbstate_t.
6692 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6693 * wcsmbs/c16rtomb.c: New file.
6694 * wcsmbs/mbrtoc16.c: New file.
6695 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6697 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6698 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6700 * wcsmbs/wchar.h: Add missing __restrict.
6702 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6705 * time/Makefile (routines): Add timespec_get.
6706 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6707 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6708 timespec for ISO C11.
6709 * time/timespec_get.c: New file.
6710 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6711 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6714 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6715 * stdlib/stdlib.h: Declare aligned_alloc.
6716 * Versions.def: Add GLIBC_2.16 for libc.
6717 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6720 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6723 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6727 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6730 * assert/assert.h (static_assert): Define.
6732 * version.h: Update for 2.16 development version.
6735 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6738 * version.h (RELEASE): Bump for 2.15 release.
6739 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6741 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6742 Patch by Marek Polacek <mpolacek@redhat.com>.
6744 * bits/byteswap.h: Protect long long constants with __extension__.
6745 * sysdeps/i386/bits/byteswap.h: Likewise.
6746 * sysdeps/ia64/bits/byteswap.h: Likewise.
6747 * sysdeps/s390/bits/byteswap.h: Likewise.
6748 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6750 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6755 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6757 2011-12-23 Marek Polacek <polacek@redhat.com>
6759 * elf/dl-addr.c (determine_info): Add inline keyword.
6760 * elf/tst-auditmod4b.c (check_avx): Likewise.
6761 * elf/tst-auditmod6b.c (check_avx): Likewise.
6762 * elf/tst-auditmod6c.c (check_avx): Likewise.
6763 * elf/tst-auditmod7b.c (check_avx): Likewise.
6765 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6767 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6770 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6773 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6774 processing for last bytes.
6776 2011-08-06 Bruno Haible <bruno@clisp.org>
6779 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6780 U+0385, not to U+1FEE.
6783 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6784 entry for U+00A5 U+0301.
6786 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6789 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6790 buffer for the output is too small.
6792 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6796 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6797 SSE flags if possible.
6799 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6802 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6803 processing for last bytes.
6805 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6807 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6808 (syscall-list-default-options, syscall-list-default-condition)
6809 (syscall-list-includes): Define.
6810 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6811 list of ABIs and options and #if conditions for each ABI. Do not
6812 handle common syscalls between ABIs specially.
6813 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6815 (syscall-list-variants, syscall-list-32bit-options)
6816 (syscall-list-32bit-condition, syscall-list-64bit-options)
6817 (syscall-list-64bit-condition): Define.
6818 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6819 (syscall-list-variants, syscall-list-32bit-options)
6820 (syscall-list-32bit-condition, syscall-list-64bit-options)
6821 (syscall-list-64bit-condition): Define.
6822 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6824 (syscall-list-variants, syscall-list-32bit-options)
6825 (syscall-list-32bit-condition, syscall-list-64bit-options)
6826 (syscall-list-64bit-condition): Define.
6827 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6829 (syscall-list-variants, syscall-list-32bit-options)
6830 (syscall-list-32bit-condition, syscall-list-64bit-options)
6831 (syscall-list-64bit-condition): Define.
6833 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6835 * locale/iso-639.def: Add brx entry.
6838 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6839 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6841 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6842 __feraiseexcept_renamed.
6844 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6847 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6848 EPOLLET with unsigned values.
6849 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6850 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6852 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6853 to large cancellation.
6854 * math/s_cacoshf.c: Likewise.
6855 * math/s_cacoshl.c: Likewise.
6857 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6861 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6862 * math/s_cacoshf.c: Likewise.
6863 * math/s_cacoshl.c: Likewise.
6865 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6868 * iconv/gconv.h: Define __GCONV_SWAP.
6869 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6870 * iconvdata/utf-16.c: Likewise.
6871 * iconvdata/utf-32.c: Likewise.
6873 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6876 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6877 numerator after shifting it by one limb.
6879 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6881 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6882 under [__USE_EXTERN_INLINES].
6884 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6887 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6889 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6891 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6892 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6894 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6895 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6896 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6897 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6898 for strncasecmp/strncasecmp_l compilation.
6899 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6900 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6902 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6905 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6908 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6911 * time/tzfile.c (__tzfile_read): Check values from file header.
6913 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6915 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6916 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6917 * powerpc/powerpc32/dl-start.S: Likewise.
6918 * powerpc/powerpc32/elf/start.S: Likewise.
6919 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6920 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6921 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6922 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6923 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6924 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6925 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6926 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6927 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6928 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6929 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6930 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6931 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6932 * powerpc/powerpc32/memset.S: Likewise.
6933 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6934 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6935 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6936 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6937 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6938 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6939 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6940 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6941 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6942 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6943 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6944 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6945 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6947 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6949 * math/libm-test.inc: Added more nearbyint tests.
6950 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6951 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6952 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6953 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6955 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6957 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6960 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6962 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6963 Add wcscpy-ssse3 wcscpy-c.
6964 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6965 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6966 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6967 * sysdeps/x86_64/wcschr.S: New file.
6968 * sysdeps/x86_64/wcsrchr.S: New file.
6969 * string/test-strcmp.c: Remove checking of wcscmp function for
6971 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6972 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6973 wcsrchr-sse2 wcsrchr-c.
6974 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6975 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6976 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6977 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6978 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6979 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6980 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6981 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6982 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6983 * wcsmbc/wcschr.c (WCSCHR): New macro.
6985 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6987 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6988 * wcsmbs/test-wcsrchr.c: New file.
6989 * string/test-strrchr.c: Add wcsrchr support.
6991 * wcsmbs/test-wcscpy.c: New file.
6992 * string/test-strcpy.c: Add wcscpy support.
6995 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6997 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7000 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7003 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7005 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7007 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7008 Minor optimizations.
7010 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7011 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7012 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7014 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7016 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7017 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7018 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7019 for gcc to avoid warnings.
7020 * inet/Makefile (tests): Add tst-checks.
7021 * inet/tst-checks.c: New file.
7023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7026 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7029 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7030 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7032 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7034 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7036 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7039 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7041 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7043 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7044 conditional on GCC version.
7045 (__arch_compare_and_exchange_val_8_acq)
7046 (__arch_compare_and_exchange_val_16_acq)
7047 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7048 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7049 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7051 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7053 * sysdeps/sh/backtrace.c: New file.
7055 2011-12-02 Andreas Schwab <schwab@redhat.com>
7057 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7060 2011-12-01 Andreas Schwab <schwab@redhat.com>
7062 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7063 falling back to utime.
7065 2011-11-30 Andreas Schwab <schwab@redhat.com>
7067 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7068 expectations for float.
7070 2011-11-29 Andreas Schwab <schwab@redhat.com>
7072 * locale/weight.h (findidx): Add parameter len.
7073 * locale/weightwc.h (findidx): Likewise.
7074 * posix/fnmatch_loop.c (FCT): Adjust caller.
7075 * posix/regcomp.c (build_equiv_class): Likewise.
7076 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7077 * posix/regexec.c (check_node_accept_bytes): Likewise.
7078 * string/strcoll_l.c (STRCOLL): Likewise.
7079 * string/strxfrm_l.c (STRXFRM): Likewise.
7081 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7083 * Makefile.in: Remove CVSOPT handling.
7084 * configure.in: Remove use of AC_REVISION.
7085 * iconvdata/Makefile (distribute): No need to filter out CVS.
7086 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7089 2011-11-16 Andreas Schwab <schwab@redhat.com>
7091 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7092 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7093 [USE_AS_STRNCASECMP_L]: Likewise.
7094 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7095 NO_TLS_DIRECT_SEG_REFS.
7096 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7097 Fix argument offsets for non-PIC.
7098 [USE_AS_STRNCASECMP_L]: Likewise.
7099 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7100 NO_TLS_DIRECT_SEG_REFS.
7102 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7104 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7106 * locale/loadlocale.c (_nl_load_locale): Likewise.
7108 2011-11-15 Andreas Schwab <schwab@redhat.com>
7110 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7111 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7113 (SYSCALL_GETTIME): Set errno on error.
7115 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7116 count references to noai6ai_cached.
7118 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7120 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7122 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7123 FD_CLOEXEC for /proc/self/maps.
7125 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7126 FD_CLOEXEC for /proc/meminfo.
7128 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7131 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7132 FD_CLOEXEC for given file.
7134 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7136 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7137 FD_CLOEXEC for /etc/hosts.
7138 (_gethtent): Likewise.
7140 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7142 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7143 cancellation and set FD_CLOEXEC for /etc/netgroup.
7145 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7146 reading /etc/publickey.
7148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7149 allow cancellation when reading /etc/group.
7151 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7153 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7155 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7156 when using data file.
7158 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7160 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7161 (write_nis_obj): Use "c" and "e" in fopen.
7163 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7165 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7167 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7169 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7171 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7174 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7176 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7178 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7180 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7181 file parsing and set FD_CLOEXEC.
7183 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7185 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7187 2011-11-14 Andreas Schwab <schwab@redhat.com>
7189 * malloc/arena.c (arena_get2): Don't call reused_arena when
7190 _int_new_arena failed.
7192 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7194 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7195 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7196 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7197 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7200 to compile strcasecmp and strncasecmp.
7201 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7202 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7206 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7208 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7209 locale-defines.sym to gen-as-const-headers.
7210 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7211 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7212 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7213 to compile strcasecmp and strncasecmp.
7214 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7215 strcasecmp_l and strncasecmp_l.
7216 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7217 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7218 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7219 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7220 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7221 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7222 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7223 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7224 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7225 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7226 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7228 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7230 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7231 result of SYSDEP_GETTIME_CPU to retval.
7232 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7233 parameter list to macro. Remove trailing semicolon. Adjust users.
7235 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7238 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7240 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7242 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7243 from unused variable.
7245 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7247 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7250 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7253 * sunrpc/rpc_prot.c (rejected): Fix case value.
7255 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7256 unsigned long long int to avoid warnings in shift.
7258 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7260 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7263 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7264 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7265 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7267 * nis/nis_table.c (nis_list): Use variable of correct type for
7268 result of __follow_path call.
7270 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7272 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7273 of math functions ceil, trunc, floor, round, and sqrt, when
7274 avaliable on the platform.
7275 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7277 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7278 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7279 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7281 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7283 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7284 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7286 2011-11-11 Roland McGrath <roland@hack.frob.com>
7288 * include/unistd.h: Fix __readlink return type.
7289 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7291 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7293 * stdlib/ucontext.h: Undo last change for makecontext.
7295 2011-11-11 Andreas Schwab <schwab@redhat.com>
7297 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7299 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7300 * setjmp/setjmp.h: Mark functions as non-leaf.
7301 * setjmp/bits/setjmp2.h: Likewise.
7302 * stdlib/ucontext.h: Likewise.
7304 2011-11-10 Andreas Schwab <schwab@redhat.com>
7306 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7307 (reused_arena): Don't check arena limit.
7308 (arena_get2): Atomically check arena limit.
7310 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7312 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7313 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7315 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7318 2011-11-07 Andreas Schwab <schwab@redhat.com>
7320 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7321 handler when locking.
7323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7324 Fix size of allocated buffer.
7326 2011-11-04 Andreas Schwab <schwab@redhat.com>
7329 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7330 declarations for long double functions.
7331 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7333 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7335 2011-11-03 Andreas Schwab <schwab@redhat.com>
7337 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7340 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7343 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7345 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7347 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7349 * include/alloca.h (stackinfo_alloca_round): Define.
7350 (extend_alloca): Use it.
7351 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7352 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7355 * scripts/check-local-headers.sh: Ignore libaudit.h.
7357 * nscd/Makefile (extra-objs): Make recursively expanded.
7359 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7361 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7362 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7364 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7365 * posix/tst-rfc3484-2.c: Likewise.
7366 * posix/tst-rfc3484-3.c: Likewise.
7368 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7370 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7372 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7373 process_vm_writev from libc using GLIBC_2.15 version.
7375 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7377 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7379 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7382 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7385 * nss/getent.c (initgroups_keys): Show error message in case no group
7388 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7389 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7390 __bump_nl_timestamp.
7391 * nscd/connections (nscd_init): When host database is served open
7392 netlink socket and request notification about configuration changes.
7393 (main_loop_poll): Track netlink file descriptor and bump timestamp
7394 in case data becomes available.
7395 (main_loop_epoll): Likewise.
7396 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7397 (database_pers_head): Add extra_data fileds.
7398 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7399 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7400 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7403 in6ai data, call __free_in6ai.
7404 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7406 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7407 interface information. Reuse previous data if netlink timestamp
7409 (__bump_nl_timestamp): New function.
7410 (__free_in6ai): New function.
7412 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7414 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7415 close_not_cancel_no_status here.
7416 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7418 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7421 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7424 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7425 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7426 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7428 2011-07-03 Andreas Jaeger <aj@suse.de>
7431 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7432 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7433 * math/libm-test.inc (sin_test): Add test case.
7435 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7438 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7439 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7441 * elf/chroot_canon.c (chroot_canon): Cleanups.
7443 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7446 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7447 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7449 * string/test-strchr.c: Make usable for strchrnul testing.
7450 * string/test-strchrnul.c: New file.
7451 * string/Makefile (strop-tests): Add strchrnul.
7453 * po/it.po: Update from translation team.
7454 * po/es.po: Likewise.
7456 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7458 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7459 the three constants needed as parameters. Drop the others.
7460 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7461 __m128i_strloadu_tolower.
7462 Create and initialize variable zero and use it in all the places
7463 where _mm_setzero_si128 was used.
7465 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7466 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7467 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7468 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7470 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7471 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7472 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7473 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7474 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7475 __mpranred, __mptan.
7476 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7477 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7478 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7479 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7480 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7481 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7482 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7483 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7484 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7486 2011-10-28 Andreas Schwab <schwab@redhat.com>
7488 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7490 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7493 wide char related routines to wcsmbs subdir.
7495 2011-10-27 Andreas Schwab <schwab@redhat.com>
7498 * misc/sys/cdefs.h (__THROWNL): Define.
7499 * posix/unistd.h: Use __THREADNL instead of __THREAD
7500 for memory synchronization functions.
7502 2011-10-26 Roland McGrath <roland@hack.frob.com>
7505 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7507 * manual/stdio.texi (Obstack Streams): Node removed.
7509 2011-10-26 Andreas Schwab <schwab@redhat.com>
7511 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7512 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7513 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7515 * math/math_private.h (math_force_eval): Allow non-addressable
7517 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7519 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7521 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7524 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7525 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7526 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7527 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7528 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7529 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7530 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7531 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7533 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7534 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7535 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7536 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7537 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7538 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7539 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7540 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7541 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7542 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7543 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7544 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7545 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7546 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7547 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7548 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7549 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7550 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7551 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7553 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7554 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7556 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7557 place. Use VEX encoding when compiling for AVX.
7559 2011-10-25 Andreas Schwab <schwab@redhat.com>
7561 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7562 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7564 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7566 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7568 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7569 useless if() expression.
7570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7579 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7580 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7581 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7582 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7583 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7584 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7585 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7590 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7592 2011-10-25 Andreas Schwab <schwab@redhat.com>
7594 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7596 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7598 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7600 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7601 .text section. Avoid duplicate constants.
7602 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7606 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7607 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7609 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7610 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7611 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7612 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7613 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7614 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7615 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7616 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7617 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7618 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7619 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7620 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7621 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7622 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7623 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7624 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7625 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7626 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7627 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7628 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7629 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7630 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7631 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7632 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7633 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7634 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7635 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7636 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7637 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7638 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7639 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7640 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7641 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7642 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7643 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7644 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7645 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7646 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7648 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7650 * sysdeps/x86_64/dla.h: Move to ...
7651 * sysdeps/x86_64/fpu/dla.h: ...here.
7652 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7653 situations. Use __builtin_fma only for gcc 4.6 and up.
7655 * config.make.in: Add have-mfma4 entry.
7656 * configure.in: Substitute libc_cv_cc_fma4.
7657 * math/Makefile (dbl-only-routines): Add sincostab.
7658 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7659 Use __sincostab not sincos.
7660 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7662 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7667 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7668 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7669 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7670 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7672 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7673 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7675 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7676 define aliases when function name is a macro.
7677 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7678 sysdeps/ieee754/dbl-64/sincos.tbl.
7679 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7680 fma4-enabled routines.
7681 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7682 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7683 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7684 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7685 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7686 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7687 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7688 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7689 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7691 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7692 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7693 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7694 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7695 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7696 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7697 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7698 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7699 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7701 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7702 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7703 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7704 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7705 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7706 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7707 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7708 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7709 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7710 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7712 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7714 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7723 2011-10-24 Andreas Schwab <schwab@redhat.com>
7725 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7727 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7729 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7731 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7733 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7735 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7736 Remove unused variable magic_bits.
7737 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7739 * string/strnlen.c: Define and use STRNLEN macro.
7740 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7741 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7743 * wcsmbs/wcslen.c: Define and use WCSLEN.
7744 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7745 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7746 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7747 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7748 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7749 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7750 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7752 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7755 strnlen-sse2-no-bsf.
7756 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7757 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7758 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7759 Add strnlen support.
7760 (USE_AS_STRNLEN): New macro.
7761 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7762 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7763 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7764 * sysdeps/x86_64/wcslen.S: New file.
7766 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7768 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7769 XMM-moves are used for copying on small sizes.
7771 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7773 * wcsmbs/Makefile (strop-tests): Add wcschr.
7774 * wcsmbs/test-wcschr.c: New file.
7775 * string/test-strchr.c: Update.
7779 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7781 * wcsmbs/Makefile (strop-tests): Add wcslen.
7782 * wcsmbs/test-wcslen.c: New file.
7783 * string/test-strlen.c: Update.
7787 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7789 * po/it.po: Update from translation team.
7791 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7793 * sysdeps/x86_64/wcscmp.S: Update.
7794 Fix wrong comparison semantics.
7795 wcscmp shall use signed comparison not unsigned.
7796 Don't use substraction to avoid overflow bug.
7797 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7798 * wcsmbc/wcscmp.c: Likewise.
7799 * string/test-strcmp.c: Likewise.
7800 Add new tests to check cases with negative values.
7802 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7804 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7805 * sysdeps/x86_64/dla.h: ...here. New file.
7806 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7816 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7819 __ynl_finite aliases.
7821 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7825 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7827 [DLA_FMA] (EMULV): Use DLA_FMA.
7828 [DLA_FMA] (MUL12): Use EMULV.
7829 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7830 that are not needed.
7831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7833 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7839 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7841 * math/s_nan.c: Undef __nan.
7842 * math/s_nanf.c: Undef __nanf.
7843 * math/s_nanl.c: Undef __nanl.
7844 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7847 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7849 * math/s_catan.c: Add branch predictions.
7850 * math/s_catanf.c: Likewise.
7851 * math/s_catanh.c: Likewise.
7852 * math/s_catanhf.c: Likewise.
7853 * math/s_catanhl.c: Likewise.
7854 * math/s_catanl.c: Likewise.
7855 * math/s_cexp.c: Likewise.
7856 * math/s_cexpf.c: Likewise.
7857 * math/s_cexpl.c: Likewise.
7858 * math/s_clog.c: Likewise.
7859 * math/s_clog10.c: Likewise.
7860 * math/s_clog10f.c: Likewise.
7861 * math/s_clog10l.c: Likewise.
7862 * math/s_clogf.c: Likewise.
7863 * math/s_clogl.c: Likewise.
7864 * math/s_csqrt.c: Likewise.
7865 * math/s_csqrtf.c: Likewise.
7866 * math/s_csqrtl.c: Likewise.
7867 * math/s_ctanf.c: Likewise.
7868 * math/s_ctanh.c: Likewise.
7869 * math/s_ctanhf.c: Likewise.
7870 * math/s_ctanhl.c: Likewise.
7871 * math/s_ctanl.c: Likewise.
7873 * math/math_private.h: Define __nan, __nanf, __nanl.
7874 * math/s_cacosh.c: Include <math_private.h>.
7875 * math/s_cacoshl.c: Likewise.
7876 * math/s_casinh.c: Likewise.
7877 * math/s_casinhf.c: Likewise.
7878 * math/s_casinhl.c: Likewise.
7879 * math/s_ccos.c: Rely entire on ccosh.
7880 * math/s_ccosf.c: Rely entire on ccoshf.
7881 * math/s_ccosl.c: Rely entirely on ccoshl.
7882 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7883 Remove tests for FE_INVALID.
7884 * math/s_ccoshf.c: Likewise.
7885 * math/s_ccoshl.c: Likewise.
7886 * math/s_csin.c: Likewise.
7887 * math/s_csinf.c: Likewise.
7888 * math/s_csinh.c Likewise.
7889 * math/s_csinhf.c: Likewise.
7890 * math/s_csinhl.c: Likewise.
7891 * math/s_csinl.c: Likewise.
7892 * math/s_ctan.c: Likewise.
7893 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7894 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7895 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7897 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7900 compilation problems.
7902 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7905 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7907 * sysdeps/i386/configure.in: Test for -mfma4 option.
7908 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7909 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7910 COMMON_CPUID_INDEX_80000001.
7911 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7912 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7913 use it if FMA3 is not supported.
7914 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7916 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7917 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7919 2011-10-20 Andreas Schwab <schwab@redhat.com>
7922 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7923 it would create a cycle with a link time dependency.
7925 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7927 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7929 * string/Makefile (strop-tests): Add rawmemchr.
7930 * string/test-rawmemchr.c: New file.
7932 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7933 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7934 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7935 when compiling str{,n}casecmp and when AVX is available. Hook up
7936 new optimized code in initializers.
7938 2011-10-19 Andreas Schwab <schwab@redhat.com>
7940 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7941 __feraiseexcept instead of feraiseexcept.
7943 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7945 * math/math_private.h: Define defaults for libc_fetestexcept and
7947 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7948 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7949 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7950 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7951 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7952 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7953 libc_fetestexcept and libc_feupdateenv.
7955 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7956 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7957 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7958 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7959 libc_feholdexcept_setround.
7961 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7962 Add s_nearbyint-c and s_nearbyintf-c.
7963 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7965 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7966 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7967 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7968 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7970 * math/math_private.h: Define defaults for libc_fegetround,
7971 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7972 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7973 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7974 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7975 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7977 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7978 Remove comments and hacks for old compiler versions.
7979 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7980 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7983 2011-10-18 Andreas Schwab <schwab@redhat.com>
7985 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7986 (__feraiseexcept_renamed): Add __NTH.
7987 (feraiseexcept): Add __NTH. Rename local variables to fix
7988 namespace violations.
7990 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7992 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7994 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7996 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7997 recently added interfaces.
7998 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8000 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8001 about macro parameter expansion.
8003 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8004 __NO_MATH_INLINES is defined. Cleanups.
8006 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8007 and __floorf is target has SSE4.1.
8008 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8009 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8010 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8011 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8013 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8017 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8019 2011-10-17 Andreas Schwab <schwab@redhat.com>
8021 * misc/sys/cdefs.h: Fix last change.
8023 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8026 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8028 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8030 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8031 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8032 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8033 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8034 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8035 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8037 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8038 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8039 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8040 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8041 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8042 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8043 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8044 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8045 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8046 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8047 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8048 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8049 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8050 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8051 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8053 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8054 ceil, ceilf, floor, floorf.
8056 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8057 Perform IRELATIVE relocations last.
8059 * elf/do-rel.h: Add another parameter nrelative, replacing the
8060 local variable with the same name. Change name of the function
8061 to end in Rel or Rela (uppercase).
8062 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8063 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8064 elf_dynamic_do_##reloc function.
8066 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8068 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8069 is sufficient, at least on modern CPUs.
8071 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8073 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8076 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8078 * math/bits/math-finite.h: Add entries for exp.
8079 * math/e_expl.c: Add __*_finite alias.
8080 * sysdeps/i386/fpu/e_exp.S: Likewise.
8081 * sysdeps/i386/fpu/e_expf.S: Likewise.
8082 * sysdeps/i386/fpu/e_expl.c: Likewise.
8083 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8084 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8085 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8087 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8088 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8089 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8091 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8092 is sufficient, at least on modern CPUs.
8094 * ctype/ctype-info.c (__ctype_init): Define.
8095 * include/ctype.h (__ctype_init): Declare.
8096 (__ctype_b_loc): The variable is always initialized.
8097 (__ctype_toupper_loc): Likewise.
8098 (__ctype_tolower_loc): Likewise.
8099 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8100 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8102 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8104 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8106 * configure.in: Also look in $cxxmachine/include for C++ system
8109 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8111 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8112 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8113 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8114 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8115 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8116 (USE_AS_WMEMCMP): New macro.
8118 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8119 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8120 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8121 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8123 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8124 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8125 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8126 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8127 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8128 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8129 (USE_AS_WMEMCMP): New macro.
8130 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8131 * sysdeps/string/test-memcmp.c: Update.
8134 * wcsmbs/wmemcmp.c: Update.
8135 (WMEMCMP): New macro.
8138 2011-10-12 Andreas Jaeger <aj@suse.de>
8141 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8143 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8145 * libio/iofwide.c (do_length): Avoid warning.
8147 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8149 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8151 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8153 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8154 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8155 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8156 * sysdeps/i386/i686/fpu/e_log.S: New file.
8157 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8158 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8160 * ctype/ctype.h: Add support for inlined isXXX functions when
8163 2011-10-14 Andreas Schwab <schwab@redhat.com>
8165 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8167 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8169 2011-10-13 Roland McGrath <roland@hack.frob.com>
8172 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8174 2011-10-13 Andreas Schwab <schwab@redhat.com>
8176 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8177 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8180 * sysdeps/x86_64/memrchr.S: Check for zero size.
8182 * string/stratcliff.c: Add memrchr tests.
8184 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8187 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8188 rawmemchr-sse2 rawmemchr-sse2-bsf.
8189 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8190 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8191 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8192 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8193 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8194 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8195 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8196 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8197 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8198 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8199 * string/memrchr.c (MEMRCHR): New macro.
8201 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8203 Add integration with gcc's -ffinite-math-only and optimize wrapper
8205 * Versions.def: Define GLIBC_2.15 version for libm.
8206 * math/Makefile (headers): Add bits/math-finite.h.
8207 * math/bits/math-finite.h: New file.
8208 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8209 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8210 * math/e_acoshl.c: Add __*_finite alias.
8211 * math/e_acosl.c: Likewise.
8212 * math/e_asinl.c: Likewise.
8213 * math/e_atan2l.c: Likewise.
8214 * math/e_atanhl.c: Likewise.
8215 * math/e_coshl.c: Likewise.
8216 * math/e_exp10.c: Likewise.
8217 * math/e_exp10f.c: Likewise.
8218 * math/e_exp10l.c: Likewise.
8219 * math/e_exp2l.c: Likewise.
8220 * math/e_fmodl.c: Likewise.
8221 * math/e_gammal_r.c: Likewise.
8222 * math/e_hypotl.c: Likewise.
8223 * math/e_j0l.c: Likewise.
8224 * math/e_j1l.c: Likewise.
8225 * math/e_jnl.c: Likewise.
8226 * math/e_lgammal_r.c: Likewise.
8227 * math/e_log10l.c: Likewise.
8228 * math/e_log2l.c: Likewise.
8229 * math/e_logl.c: Likewise.
8230 * math/e_powl.c: Likewise.
8231 * math/e_sinhl.c: Likewise.
8232 * math/e_sqrtl.c: Likewise.
8233 * math/e_scalb.c: Completely rewritten and optimized.
8234 * math/e_scalbf.c: Likewise.
8235 * math/e_scalbl.c: Likewise.
8236 * math/w_acos.c: Likewise.
8237 * math/w_acosf.c: Likewise.
8238 * math/w_acosl.c: Likewise.
8239 * math/w_acosh.c: Likewise.
8240 * math/w_acoshf.c: Likewise.
8241 * math/w_acoshl.c: Likewise.
8242 * math/w_asin.c: Likewise.
8243 * math/w_asinf.c: Likewise.
8244 * math/w_asinl.c: Likewise.
8245 * math/w_atan2.c: Likewise.
8246 * math/w_atan2f.c: Likewise.
8247 * math/w_atan2l.c: Likewise.
8248 * math/w_atanh.c: Likewise.
8249 * math/w_atanhf.c: Likewise.
8250 * math/w_atanhl.c: Likewise.
8251 * math/w_exp10.c: Likewise.
8252 * math/w_exp10f.c: Likewise.
8253 * math/w_exp10l.c: Likewise.
8254 * math/w_fmod.c: Likewise.
8255 * math/w_fmodf.c: Likewise.
8256 * math/w_fmodl.c: Likewise.
8257 * math/w_j0.c: Likewise.
8258 * math/w_j0f.c: Likewise.
8259 * math/w_j0l.c: Likewise.
8260 * math/w_j1.c: Likewise.
8261 * math/w_j1f.c: Likewise.
8262 * math/w_j1l.c: Likewise.
8263 * math/w_jn.c: Likewise.
8264 * math/w_jnf.c: Likewise.
8265 * math/w_log.c: Likewise.
8266 * math/w_logf.c: Likewise.
8267 * math/w_logl.c: Likewise.
8268 * math/w_log10.c: Likewise.
8269 * math/w_log10f.c: Likewise.
8270 * math/w_log10l.c: Likewise.
8271 * math/w_log2.c: Likewise.
8272 * math/w_log2f.c: Likewise.
8273 * math/w_log2l.c: Likewise.
8274 * math/w_pow.c: Likewise.
8275 * math/w_powf.c: Likewise.
8276 * math/w_powl.c: Likewise.
8277 * math/w_remainder.c: Likewise.
8278 * math/w_remainderf.c: Likewise.
8279 * math/w_remainderl.c: Likewise.
8280 * math/w_scalb.c: Likewise.
8281 * math/w_scalbf.c: Likewise.
8282 * math/w_scalbl.c: Likewise.
8283 * math/w_sqrt.c: Likewise.
8284 * math/w_sqrtf.c: Likewise.
8285 * math/w_sqrtl.c: Likewise.
8286 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8287 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8289 * math/math_private.h: Declare __kernel_standard_f.
8290 * math/w_cosh.c: Remove cruft and optimize a bit.
8291 * math/w_coshf.c: Likewise.
8292 * math/w_coshl.c: Likewise.
8293 * math/w_exp2.c: Likewise.
8294 * math/w_exp2f.c: Likewise.
8295 * math/w_exp2l.c: Likewise.
8296 * math/w_hypot.c: Likewise.
8297 * math/w_hypotf.c: Likewise.
8298 * math/w_hypotl.c: Likewise.
8299 * math/w_lgamma.c: Likewise.
8300 * math/w_lgamma_r.c: Likewise.
8301 * math/w_lgammaf.c: Likewise.
8302 * math/w_lgammaf_r.c: Likewise.
8303 * math/w_lgammal.c: Likewise.
8304 * math/w_lgammal_r.c: Likewise.
8305 * math/w_sinh.c: Likewise.
8306 * math/w_sinhf.c: Likewise.
8307 * math/w_sinhl.c: Likewise.
8308 * math/w_tgamma.c: Likewise.
8309 * math/w_tgammaf.c: Likewise.
8310 * math/w_tgammal.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8312 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8313 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8314 Minor optimizations. Pretty printing. Remove cruft.
8315 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8316 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8317 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8318 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8319 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8320 * sysdeps/i386/fpu/e_asin.S: Likewise.
8321 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8322 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8323 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8324 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8325 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8326 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8327 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8328 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8329 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8330 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8331 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8332 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8333 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8334 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8335 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8336 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8337 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8338 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8339 * sysdeps/i386/fpu/e_log.S: Likewise.
8340 * sysdeps/i386/fpu/e_log10.S: Likewise.
8341 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8343 * sysdeps/i386/fpu/e_log2.S: Likewise.
8344 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8345 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8346 * sysdeps/i386/fpu/e_logf.S: Likewise.
8347 * sysdeps/i386/fpu/e_logl.S: Likewise.
8348 * sysdeps/i386/fpu/e_pow.S: Likewise.
8349 * sysdeps/i386/fpu/e_powf.S: Likewise.
8350 * sysdeps/i386/fpu/e_powl.S: Likewise.
8351 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8352 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8353 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8354 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8355 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8356 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8357 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8358 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8359 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8360 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8361 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8363 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8364 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8365 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8366 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8367 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8376 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8381 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8382 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8383 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8384 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8385 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8386 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8387 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8388 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8389 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8390 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8391 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8392 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8393 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8394 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8395 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8396 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8397 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8398 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8399 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8400 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8401 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8440 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8442 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8443 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8444 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8445 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8447 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8448 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8451 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8452 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8453 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8454 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8455 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8456 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8457 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8458 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8459 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8460 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8461 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8462 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8463 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8464 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8465 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8466 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8467 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8468 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8469 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8470 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8471 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8472 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8473 (__isnanf): Likewise.
8474 (__isinf_ns): Likewise.
8475 (__isinf_nsf): Likewise.
8476 (__finite): Likewise.
8477 (__finitef): Likewise.
8478 (__ieee754_sqrt): Define as macro.
8479 (__ieee754_sqrtf): Define as macro.
8480 (__ieee754_sqrtl): Define as macro.
8481 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8483 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8484 __FINITE_MATH_ONLY__ consistent.
8485 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8487 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8489 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8492 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8494 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8496 * po/ja.po: Update from translation team.
8498 2011-10-08 Roland McGrath <roland@hack.frob.com>
8500 * locale/programs/locarchive.c (prepare_address_space): New function.
8501 (create_archive, enlarge_archive, open_archive): Use it.
8503 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8504 inside [SHARED], where it is used.
8506 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8508 * nss/getent.c (netgroup_keys): Remove unused variable.
8509 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8511 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8513 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8514 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8515 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8516 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8517 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8518 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8519 * math/Makefile (libm-calls): Add s_isinf_ns.
8520 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8521 * math/multc3.c: Likewise.
8522 * math/s_casin.c: Likewise.
8523 * math/s_casinf.c: Likewise.
8524 * math/s_casinl.c: Likewise.
8525 * math/s_ccos.c: Likewise.
8526 * math/s_ccosf.c: Likewise.
8527 * math/s_ccosl.c: Likewise.
8528 * math/s_ctan.c: Likewise.
8529 * math/s_ctanf.c: Likewise.
8530 * math/s_ctanh.c: Likewise.
8531 * math/s_ctanhf.c: Likewise.
8532 * math/s_ctanhl.c: Likewise.
8533 * math/s_ctanl.c: Likewise.
8534 * math/w_fmod.c: Likewise.
8535 * math/w_fmodf.c: Likewise.
8536 * math/w_fmodl.c: Likewise.
8537 * math/w_remainder.c: Likewise.
8538 * math/w_remainderf.c: Likewise.
8539 * math/w_remainderl.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8541 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8542 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8544 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8545 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8546 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8547 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8549 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8551 * stdio-common/printf_fphex.c: Likewise.
8552 * stdio-common/printf_size.c: Likewise.
8554 * math/e_exp10.c: Include math_private.h using <...> not "...".
8555 * math/e_exp10f.c: Likewise.
8556 * math/e_exp10l.c: Likewise.
8557 * math/e_exp2l.c: Likewise.
8558 * math/e_j0l.c: Likewise.
8559 * math/e_j1l.c: Likewise.
8560 * math/e_jnl.c: Likewise.
8561 * math/e_lgammal_r.c: Likewise.
8562 * math/e_rem_pio2l.c: Likewise.
8563 * math/e_scalb.c: Likewise.
8564 * math/e_scalbf.c: Likewise.
8565 * math/e_scalbl.c: Likewise.
8566 * math/k_cosl.c: Likewise.
8567 * math/k_sinl.c: Likewise.
8568 * math/k_tanl.c: Likewise.
8569 * math/s_cacoshf.c: Likewise.
8570 * math/s_catan.c: Likewise.
8571 * math/s_catanf.c: Likewise.
8572 * math/s_catanh.c: Likewise.
8573 * math/s_catanhf.c: Likewise.
8574 * math/s_catanhl.c: Likewise.
8575 * math/s_catanl.c: Likewise.
8576 * math/s_ccosh.c: Likewise.
8577 * math/s_ccoshf.c: Likewise.
8578 * math/s_ccoshl.c: Likewise.
8579 * math/s_cexp.c: Likewise.
8580 * math/s_cexpf.c: Likewise.
8581 * math/s_cexpl.c: Likewise.
8582 * math/s_clog.c: Likewise.
8583 * math/s_clog10.c: Likewise.
8584 * math/s_clog10f.c: Likewise.
8585 * math/s_clog10l.c: Likewise.
8586 * math/s_clogf.c: Likewise.
8587 * math/s_clogl.c: Likewise.
8588 * math/s_csin.c: Likewise.
8589 * math/s_csinf.c: Likewise.
8590 * math/s_csinh.c: Likewise.
8591 * math/s_csinhf.c: Likewise.
8592 * math/s_csinhl.c: Likewise.
8593 * math/s_csinl.c: Likewise.
8594 * math/s_csqrt.c: Likewise.
8595 * math/s_csqrtf.c: Likewise.
8596 * math/s_csqrtl.c: Likewise.
8597 * math/s_ctan.c: Likewise.
8598 * math/s_ctanf.c: Likewise.
8599 * math/s_ctanh.c: Likewise.
8600 * math/s_ctanhf.c: Likewise.
8601 * math/s_ctanhl.c: Likewise.
8602 * math/s_ctanl.c: Likewise.
8603 * math/s_ldexp.c: Likewise.
8604 * math/s_ldexpf.c: Likewise.
8605 * math/s_ldexpl.c: Likewise.
8606 * math/s_significand.c: Likewise.
8607 * math/s_significandf.c: Likewise.
8608 * math/s_significandl.c: Likewise.
8609 * math/w_acos.c: Likewise.
8610 * math/w_acosf.c: Likewise.
8611 * math/w_acosh.c: Likewise.
8612 * math/w_acoshf.c: Likewise.
8613 * math/w_acoshl.c: Likewise.
8614 * math/w_acosl.c: Likewise.
8615 * math/w_asin.c: Likewise.
8616 * math/w_asinf.c: Likewise.
8617 * math/w_asinl.c: Likewise.
8618 * math/w_atan2.c: Likewise.
8619 * math/w_atan2f.c: Likewise.
8620 * math/w_atan2l.c: Likewise.
8621 * math/w_atanh.c: Likewise.
8622 * math/w_atanhf.c: Likewise.
8623 * math/w_atanhl.c: Likewise.
8624 * math/w_cosh.c: Likewise.
8625 * math/w_coshf.c: Likewise.
8626 * math/w_coshl.c: Likewise.
8627 * math/w_dremf.c: Likewise.
8628 * math/w_exp10.c: Likewise.
8629 * math/w_exp10f.c: Likewise.
8630 * math/w_exp10l.c: Likewise.
8631 * math/w_exp2.c: Likewise.
8632 * math/w_exp2f.c: Likewise.
8633 * math/w_fmod.c: Likewise.
8634 * math/w_fmodf.c: Likewise.
8635 * math/w_fmodl.c: Likewise.
8636 * math/w_hypot.c: Likewise.
8637 * math/w_hypotf.c: Likewise.
8638 * math/w_hypotl.c: Likewise.
8639 * math/w_j0.c: Likewise.
8640 * math/w_j0f.c: Likewise.
8641 * math/w_j0l.c: Likewise.
8642 * math/w_j1.c: Likewise.
8643 * math/w_j1f.c: Likewise.
8644 * math/w_j1l.c: Likewise.
8645 * math/w_jn.c: Likewise.
8646 * math/w_jnf.c: Likewise.
8647 * math/w_jnl.c: Likewise.
8648 * math/w_lgamma.c: Likewise.
8649 * math/w_lgamma_r.c: Likewise.
8650 * math/w_lgammaf.c: Likewise.
8651 * math/w_lgammaf_r.c: Likewise.
8652 * math/w_lgammal.c: Likewise.
8653 * math/w_lgammal_r.c: Likewise.
8654 * math/w_log.c: Likewise.
8655 * math/w_log10.c: Likewise.
8656 * math/w_log10f.c: Likewise.
8657 * math/w_log10l.c: Likewise.
8658 * math/w_log2.c: Likewise.
8659 * math/w_log2f.c: Likewise.
8660 * math/w_log2l.c: Likewise.
8661 * math/w_logf.c: Likewise.
8662 * math/w_logl.c: Likewise.
8663 * math/w_pow.c: Likewise.
8664 * math/w_powf.c: Likewise.
8665 * math/w_powl.c: Likewise.
8666 * math/w_remainder.c: Likewise.
8667 * math/w_remainderf.c: Likewise.
8668 * math/w_remainderl.c: Likewise.
8669 * math/w_scalb.c: Likewise.
8670 * math/w_scalbf.c: Likewise.
8671 * math/w_scalbl.c: Likewise.
8672 * math/w_sinh.c: Likewise.
8673 * math/w_sinhf.c: Likewise.
8674 * math/w_sinhl.c: Likewise.
8675 * math/w_sqrt.c: Likewise.
8676 * math/w_sqrtf.c: Likewise.
8677 * math/w_sqrtl.c: Likewise.
8678 * math/w_tgamma.c: Likewise.
8679 * math/w_tgammaf.c: Likewise.
8680 * math/w_tgammal.c: Likewise.
8682 * po/ja.po: Update from translation team.
8684 2011-09-29 Andreas Jaeger <aj@suse.de>
8687 * sunrpc/netname.c (netname2host): Fix logic.
8691 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8693 * math/w_remainder.c (__remainder): Likewise.
8694 * math/w_remainderf.c (__remainderf): Likewise.
8695 * math/libm-test.inc (remainder_test): Add test cases.
8697 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8699 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8702 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8704 * string/test-memcmp.c: Avoid unncessary #defines.
8705 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8707 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8709 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8710 Use new sse2 version for core i3 - i7 as it's faster
8712 (bit_Prefer_PMINUB_for_stringop): New.
8713 * sysdeps/x86_64/rawmemchr.S: Update.
8714 Replace with faster SSE2 version.
8715 * sysdeps/x86_64/memrchr.S: New file.
8716 * sysdeps/x86_64/memchr.S: Update.
8717 Replace with faster SSE2 version.
8719 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8721 * elf/dl-load.c (lose): Add cast to avoid warning.
8723 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8725 * po/ca.po: Update from translation team.
8727 * inet/getnetgrent_r.c: Hook up nscd.
8728 * nscd/Makefile (routines): Add nscd_netgroup.
8729 (nscd-modules): Add netgroupcache.
8730 (CFLAGS-netgroupcache.c): Define.
8731 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8732 (cache_search): Add const to second parameter.
8733 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8735 (dbs): Add netgrdb entry.
8736 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8737 (verify_persistent_db): Handle netgrdb.
8738 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8739 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8741 (netgroup_response_header): Define.
8742 (innetgroup_response_header): Define.
8743 (datahead): Add netgroup_response_header and innetgroup_response_header
8745 * nscd/nscd.conf: Add entries for netgroup cache.
8746 * nscd/nscd.h (dbtype): Add netgrdb.
8747 (_PATH_NSCD_NETGROUP_DB): Define.
8748 (netgroup_iov_disabled): Declare.
8749 (xmalloc, xcalloc, xrealloc): Move declarations here.
8750 (cache_search): Adjust prototype.
8751 Add netgroup-related prototypes.
8752 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8753 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8754 (__nscd_innetgr): Declare.
8755 * nscd/selinux.c (perms): Use access_vector_t as element type and
8756 add netgroup-related initializers.
8757 * nscd/netgroupcache.c: New file.
8758 * nscd/nscd_netgroup.c: New file.
8759 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8760 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8761 For four parameters use innetgr.
8762 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8763 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8764 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8765 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8767 * nscd/connections.c (register_traced_file): Don't register file
8768 for disabled databases.
8770 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8772 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8774 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8775 from tree and freeing node.
8777 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8779 * nss/nsswitch.c (__nss_database_lookup): Handle
8780 nss_parse_service_list out of memory case.
8782 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8784 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8787 2011-10-04 Andreas Schwab <schwab@redhat.com>
8789 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8790 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8792 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8793 elf_machine_rela, elf_machine_lazy_rel.
8794 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8795 (ELF_DYNAMIC_DO_REL): Likewise.
8796 (ELF_DYNAMIC_DO_RELA): Likewise.
8797 (ELF_DYNAMIC_RELOCATE): Likewise.
8798 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8799 to ELF_DYNAMIC_DO_REL.
8800 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8801 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8802 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8804 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8805 skip_ifunc, don't call ifunc function if non-zero.
8806 (elf_machine_rela): Likewise.
8807 (elf_machine_lazy_rel): Likewise.
8808 (elf_machine_lazy_rela): Likewise.
8809 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8810 (elf_machine_lazy_rel): Likewise.
8811 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8813 (elf_machine_lazy_rel): Likewise.
8814 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8816 (elf_machine_lazy_rel): Likewise.
8817 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8818 (elf_machine_lazy_rel): Likewise.
8819 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8820 (elf_machine_lazy_rel): Likewise.
8821 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8822 (elf_machine_lazy_rel): Likewise.
8823 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8824 (elf_machine_lazy_rel): Likewise.
8825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8826 (elf_machine_lazy_rel): Likewise.
8827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8828 (elf_machine_lazy_rel): Likewise.
8830 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8832 * nss/nss_files/files-init.c (_nss_files_init): Use static
8833 initialization for all the *_traced_file variables.
8835 2011-09-28 Andreas Schwab <schwab@redhat.com>
8837 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8839 2011-09-27 Roland McGrath <roland@hack.frob.com>
8842 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8844 2011-09-27 Andreas Schwab <schwab@redhat.com>
8846 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8847 Reread the line before reparsing it.
8849 2011-09-26 Andreas Schwab <schwab@redhat.com>
8851 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8853 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8854 Maxim Kuvyrkov <maxim@codesourcery.com>
8855 Joseph Myers <joseph@codesourcery.com>
8857 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8858 if needed for __stack_chk_guard.
8860 2011-09-19 Roland McGrath <roland@hack.frob.com>
8862 * sysdeps/posix/spawni.c (script_execute): Always define it.
8863 It will be optimized away if unused.
8864 (maybe_script_execute): New function.
8865 (__spawni): Call it.
8867 * Makerules: Don't include tls.make.
8868 (config-tls): Always set to thread.
8869 * tls.make.c: File removed.
8871 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8873 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8874 * config.make.in (CPPFLAGS-config): New substituted variable.
8876 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8878 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8881 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8882 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8884 2011-09-15 Roland McGrath <roland@hack.frob.com>
8886 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8887 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8888 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8889 (CALL_FAIL): Likewise.
8890 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8891 (CALL_FAIL): Macro removed.
8892 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8894 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8896 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8897 for __FINITE_MATH_ONLY__ == 1.
8899 2011-09-15 Andreas Schwab <schwab@redhat.com>
8901 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8902 __ieee754_sqrt instead of sqrt.
8903 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8904 __ieee754_sqrtf instead of sqrtf.
8905 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8906 __floorf instead of floorf.
8907 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8908 __floorf, __truncf instead of floorf, truncf.
8910 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8912 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8914 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8915 __extern_always_inline.
8916 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8919 2011-09-14 Andreas Schwab <schwab@redhat.com>
8921 * elf/rtld.c (dl_main): Also relocate in dependency order when
8922 doing symbol dependency testing.
8924 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8926 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8927 Always define `refsym'.
8929 2011-09-13 Andreas Schwab <schwab@redhat.com>
8931 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8932 (__FD_ELT): Renamed from __FDELT.
8933 * misc/bits/select2.h (__FD_ELT): Likewise.
8934 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8935 __FD_MASK instead of __FDELT, __FDMASK.
8936 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8938 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8941 * elf/Makefile (gen-ldd): Fix pattern.
8943 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8944 (init_tls): Likewise.
8946 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8948 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8950 2011-09-12 Andreas Schwab <schwab@redhat.com>
8952 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8953 `struct cmsghdr *' instead of `void *'.
8954 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8957 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8959 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8961 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8964 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8966 * configure.in: Remove --with-tls option.
8967 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8968 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8969 out in case it is missing.
8970 * sysdeps/ia64/elf/configure.in: Likewise.
8971 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8972 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8973 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8974 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8975 * sysdeps/sh/elf/configure.in: Likewise.
8976 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8977 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8978 * sysdeps/x86_64/elf/configure.in: Likewise.
8979 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8980 * sysdeps/mach/hurd/tls.h: Likewise.
8983 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8986 * configure.in: Fix use of AC_INIT.
8988 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8990 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8992 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8994 * malloc/hooks.c: Likewise.
8997 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8998 variables statically.
8999 (narenas): Initialize.
9000 (list_lock): Initialize.
9001 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9002 initializtion of main_arena and list_lock. Small cleanups.
9003 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9004 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9005 Add initializers to main_arena and mp_.
9006 (malloc_state): Remove pagesize member. Change all users to use
9009 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9010 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9011 is always initialized.
9013 * malloc/malloc.c: Removed unused configurations and dead code.
9014 * malloc/arena.c: Likewise.
9015 * malloc/hooks.c: Likewise.
9016 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9018 * include/tls.h: Removed. USE___THREAD must always be defined.
9019 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9020 * elf/dl-libc.c: Likewise.
9021 * elf/dl-tsd.c: Likewise.
9022 * include/errno.h: Likewise.
9023 * include/netdb.h: Likewise.
9024 * include/resolv.h: Likewise.
9025 * inet/herrno-loc.c: Likewise.
9026 * inet/herrno.c: Likewise.
9027 * malloc/arena.c: Likewise.
9028 * malloc/hooks.c: Likewise.
9029 * malloc/malloc.c: Likewise.
9030 * resolv/res-state.c: Likewise.
9031 * resolv/res_libc.c: Likewise.
9032 * sysdeps/i386/dl-machine.h: Likewise.
9033 * sysdeps/ia64/dl-machine.h: Likewise.
9034 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9035 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9036 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9037 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9038 * sysdeps/sh/dl-machine.h: Likewise.
9039 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9040 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9041 * sysdeps/unix/i386/sysdep.S: Likewise.
9042 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9043 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9045 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9046 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9047 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9048 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9051 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9052 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9053 * sysdeps/x86_64/dl-machine.h: Likewise.
9054 * tls.make.c: Likewise.
9056 * configure.in: Remove --with-__thread option. Make tests for
9057 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9058 tls_model attribute fail if no support is available. Remove
9060 * Makeconfig: Adjust for dropped configure option. All features are
9062 * Makerules: Likewise.
9063 * Versions.def: Likewise.
9064 * argp/argp-fmtstream.c: Likewise.
9065 * argp/argp-fmtstream.h: Likewise.
9066 * argp/argp-help.c: Likewise.
9067 * assert/assert.c: Likewise.
9068 * config.h.in: Likewise.
9069 * config.make.in: Likewise.
9070 * configure: Likewise.
9071 * configure.in: Likewise.
9072 * csu/Versions: Likewise.
9073 * csu/init.c: Likewise.
9074 * elf/tst-audit2.c: Likewise.
9075 * elf/tst-tls10.c: Likewise.
9076 * elf/tst-tls10.h: Likewise.
9077 * elf/tst-tls11.c: Likewise.
9078 * elf/tst-tls12.c: Likewise.
9079 * elf/tst-tls14.c: Likewise.
9080 * elf/tst-tlsmod11.c: Likewise.
9081 * elf/tst-tlsmod12.c: Likewise.
9082 * elf/tst-tlsmod13.c: Likewise.
9083 * elf/tst-tlsmod13a.c: Likewise.
9084 * elf/tst-tlsmod14a.c: Likewise.
9085 * elf/tst-tlsmod15b.c: Likewise.
9086 * elf/tst-tlsmod16a.c: Likewise.
9087 * elf/tst-tlsmod16b.c: Likewise.
9088 * elf/tst-tlsmod7.c: Likewise.
9089 * elf/tst-tlsmod8.c: Likewise.
9090 * elf/tst-tlsmod9.c: Likewise.
9091 * gmon/gmon.c: Likewise.
9092 * grp/fgetgrent_r.c: Likewise.
9093 * grp/putgrent.c: Likewise.
9094 * hurd/fopenport.c: Likewise.
9095 * include/libc-symbols.h: Likewise.
9096 * include/tls.h: Likewise.
9097 * intl/gettextP.h: Likewise.
9098 * intl/loadinfo.h: Likewise.
9099 * locale/global-locale.c: Likewise.
9100 * locale/localeinfo.h: Likewise.
9101 * mach/devstream.c: Likewise.
9102 * malloc/arena.c: Likewise.
9103 * malloc/set-freeres.c: Likewise.
9104 * misc/err.c: Likewise.
9105 * misc/getttyent.c: Likewise.
9106 * misc/mntent_r.c: Likewise.
9107 * posix/getopt.c: Likewise.
9108 * posix/wordexp.c: Likewise.
9109 * pwd/fgetpwent_r.c: Likewise.
9110 * resolv/Versions: Likewise.
9111 * resolv/res_hconf.c: Likewise.
9112 * shadow/fgetspent_r.c: Likewise.
9113 * shadow/putspent.c: Likewise.
9114 * stdio-common/printf_fphex.c: Likewise.
9115 * stdio-common/tmpfile.c: Likewise.
9116 * stdlib/abort.c: Likewise.
9117 * stdlib/fmtmsg.c: Likewise.
9118 * sunrpc/auth_unix.c: Likewise.
9119 * sunrpc/clnt_perr.c: Likewise.
9120 * sunrpc/clnt_tcp.c: Likewise.
9121 * sunrpc/clnt_udp.c: Likewise.
9122 * sunrpc/clnt_unix.c: Likewise.
9123 * sunrpc/openchild.c: Likewise.
9124 * sunrpc/svc_simple.c: Likewise.
9125 * sunrpc/svc_tcp.c: Likewise.
9126 * sunrpc/svc_udp.c: Likewise.
9127 * sunrpc/svc_unix.c: Likewise.
9128 * sunrpc/xdr.c: Likewise.
9129 * sunrpc/xdr_array.c: Likewise.
9130 * sunrpc/xdr_rec.c: Likewise.
9131 * sunrpc/xdr_ref.c: Likewise.
9132 * sunrpc/xdr_stdio.c: Likewise.
9134 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9136 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9138 2011-07-03 Andreas Jaeger <aj@suse.de>
9140 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9141 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9142 regenerate with gen-libm-tests.pl.
9144 2010-05-12 Petr Baudis <pasky@suse.cz>
9147 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9148 around j0() zero points by switching to j1().
9149 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9152 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9154 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9156 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9158 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9161 Patch in part by Pavel Roskin <proski@gnu.org>.
9164 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9166 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9167 Free memory block if necessary.
9170 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9171 be NULL. Don't lock in this case.
9173 2011-09-09 Roland McGrath <roland@hack.frob.com>
9175 * elf/elf.h (ELFOSABI_GNU): New macro.
9176 (ELFOSABI_LINUX): Define to that.
9178 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9180 * string/strncat.c (strncat): Undef the symbol in case it has been
9181 defined in bits/string.h.
9183 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9185 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9187 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9190 2011-08-17 Andreas Jaeger <aj@suse.de>
9192 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9194 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9195 Ian Lance Taylor <iant@google.com>
9197 * math/libm-test.inc (lround_test): New testcase.
9198 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9200 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9202 * Makefile: Remove support for automatic cvs check-ins.
9203 * Makerules: Likewise.
9204 * config.make.in: Likewise.
9205 * configure.in: Likewise.
9206 * intl/Makefile: Likewise.
9207 * locale/Makefile: Likewise.
9208 * po/Makefile: Likewise.
9209 * posix/Makefile: Likewise.
9210 * sysdeps/gnu/Makefile: Likewise.
9211 * sysdeps/mach/hurd/Makefile: Likewise.
9212 * sysdeps/sparc/sparc32/Makefile: Likewise.
9215 * posix/Makefile (bug-regex32-ENV): Define.
9216 Patch by John Stanley <jpsinthemix@verizon.net>.
9218 * misc/Makefile (headers): Add bits/select2.h.
9219 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9220 * misc/bits/select2.h: New file.
9221 * include/bits/select2.h: New file.
9222 * debug/Makefile (routines): Add fdelt_chk.
9223 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9224 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9226 * debug/fdelt_chk.c: New file.
9228 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9229 * wcsmbs/test-wmemcmp.c: Likewise.
9230 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9231 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9233 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9235 * string/Makefile (strop-tests): Add memcmp.
9236 * string/test-wmemcmp.c: New file.
9237 * string/test-memcmp.c: Add wmemcmp support.
9239 2011-09-08 Roland McGrath <roland@hack.frob.com>
9242 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9245 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9246 garbage value in a __mach_port_mod_refs call in the cases of the
9247 task-self and thread-self ports.
9249 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9251 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9253 2011-09-08 Andreas Schwab <schwab@redhat.com>
9255 * elf/dl-load.c (lose): Check for non-null L.
9257 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9259 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9261 * elf/dl-libc.c (dlerror_run): Pass back error code from
9265 * elf/dl-load.c (lose): Free l_origin if it is valid.
9267 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9269 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9270 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9272 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9273 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9274 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9276 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9278 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9279 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9280 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9281 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9282 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9283 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9284 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9285 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9286 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9287 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9289 2011-08-15 Alan Modra <amodra@gmail.com>
9292 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9293 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9294 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9295 ppc_mcount to static-only-routines.
9296 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9298 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9299 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9301 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9303 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9304 for finite and infinity parameters.
9306 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9309 and add nop instructions for throughput optimization.
9310 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9312 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9314 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9315 aligned copy for power7 with vector-scalar instructions.
9316 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9318 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9320 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9323 2011-09-07 Andreas Schwab <schwab@redhat.com>
9326 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9329 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9331 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9332 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9333 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9334 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9337 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9339 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9340 Forgot to demangle the pointer.
9342 * sysdeps/i386/sysdep.h: Define atom_text_section.
9343 * sysdeps/x86_64/sysdep.h: Likewise.
9344 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9345 section with atom_text_section.
9346 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9347 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9348 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9350 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9352 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9353 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9354 already be defined. Change to take two parameters and don't assign
9355 result to variable. Adjust all users.
9356 Define INTERNAL_GETTIME if not already defined.
9357 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9360 HAVE_CLOCK_GETTIME_VSYSCALL.
9361 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9364 gettimeofday vsyscall, just use time.
9366 2011-09-06 Andreas Schwab <schwab@redhat.com>
9368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9371 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9373 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9377 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9379 syscall if possible.
9381 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9383 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9384 e_ident. Don't pass to find_mapsXX.
9385 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9387 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9390 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9391 * sysdeps/x86_64/multiarch/strchr.S: Update.
9392 Check bit_slow_BSF bit.
9393 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9394 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9395 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9397 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9400 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9403 (__spawni): Change last parameter to be flag. Test
9404 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9405 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9406 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9407 * posix/spawni.c: Likewise.
9408 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9409 * posix/spawnp.c: Likewise. Change normal version to use
9410 SPAWN_XFLAGS_USE_PATH.
9411 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9412 SPAWN_XFLAGS_TRY_SHELL.
9415 * posix/glob.h: Remove gcc 1.x support.
9418 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9420 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9422 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9423 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9425 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9426 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9427 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9428 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9429 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9430 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9432 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9434 * sysdeps/x86_64/wcscmp.S: New file.
9436 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9437 wcscmp-c wcscmp-sse2
9438 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9439 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9440 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9441 * wcsmbs/wcscmp.c: Allow renaming.
9443 2011-09-05 David S. Miller <davem@davemloft.net>
9445 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9446 stack slot, rather than the struct return pointer slot.
9447 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9448 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9450 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9452 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9454 * po/ja.po: Update from translation team.
9457 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9458 kernel in 64-bit binaries.
9460 2011-09-01 David S. Miller <davem@davemloft.net>
9462 * elf/elf.h (HWCAP_SPARC_*): Move to..
9463 * sysdeps/sparc/sysdep.h: this new file and add new values.
9464 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9465 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9466 _DL_HWCAP_COUNT to 24.
9467 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9469 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9470 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9471 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9472 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9473 instead of magic constants.
9474 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9476 2011-08-31 David S. Miller <davem@davemloft.net>
9478 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9480 Reimplement to do errno handling inline.
9481 (SYSCALL_ERROR_HANDLER): New macro.
9482 (__SYSCALL_STRING): Do not do errno handling in asm.
9483 (__CLONE_SYSCALL_STRING): Delete.
9484 (__INTERNAL_SYSCALL_STRING): Delete.
9485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9486 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9487 (PSEUDO): Reimplement to do errno handling inline.
9488 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9489 (SYSCALL_ERROR_HANDLER): New macro.
9490 (__SYSCALL_STRING): Do not do errno handling in asm.
9491 (__CLONE_SYSCALL_STRING): Delete.
9492 (__INTERNAL_SYSCALL_STRING): Delete.
9493 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9494 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9496 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9497 (inline_syscall*): Add 'err' argument.
9498 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9499 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9500 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9501 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9503 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9504 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9506 2011-08-30 Andreas Schwab <schwab@redhat.com>
9508 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9510 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9512 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9515 2011-08-24 David S. Miller <davem@davemloft.net>
9517 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9519 2011-08-24 Andreas Schwab <schwab@redhat.com>
9521 * elf/Makefile: Add rules to build and run unload8 test.
9522 * elf/unload8.c: New file.
9523 * elf/unload8mod1.c: New file.
9524 * elf/unload8mod1x.c: New file.
9525 * elf/unload8mod2.c: New file.
9526 * elf/unload8mod3.c: New file.
9528 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9531 2011-08-23 David S. Miller <davem@davemloft.net>
9533 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9534 subtract stack bias.
9535 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9536 %sp not %fp in calculations.
9537 (_JMPBUF_UNWINDS_ADJ): Likewise.
9539 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9540 (aio_suspend): Call it to force an exception region around the
9541 AIO_MISC_WAIT() invocation.
9543 2011-08-23 Andreas Schwab <schwab@redhat.com>
9545 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9548 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9550 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9552 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9554 (Elf64_FuncDesc): Remove.
9556 2011-08-22 David S. Miller <davem@davemloft.net>
9558 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9559 sigaltstack check, add missing cfi directives.
9560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9561 missing cfi directives, and sigaltstack handling.
9563 2011-08-16 Andreas Schwab <schwab@redhat.com>
9566 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9567 object is seen twice.
9568 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9570 * elf/Makefile (distribute): Add tst-initorder2.c.
9571 (tests): Add tst-initorder2.
9572 (modules-names): Add tst-initorder2a tst-initorder2b
9573 tst-initorder2c tst-initorder2d. Add rules to build them.
9574 ($(objpfx)tst-initorder2.out): New rule.
9575 * elf/tst-initorder2.c: New file.
9576 * elf/tst-initorder2.exp: New file.
9578 2011-08-22 Andreas Schwab <schwab@redhat.com>
9580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9582 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9583 dependencies back to end of function.
9585 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9588 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9591 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9592 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9593 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9594 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9595 of __vdso_gettimeofday.
9596 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9597 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9599 (_libc_vdso_platform_setup): Remove initialization of
9600 __vdso_gettimeofday and __vdso_time.
9602 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9604 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9606 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9609 * elf/dl-open.c (add_to_global): Report additions to the global scope
9610 for LD_DEBUG=scopes.
9611 (dl_open_worker): Also print scope of newly loaded dependencies.
9612 (_dl_show_scope): Indicate if there is no scope.
9615 * stdio-common/Makefile (tests): Add bug24.
9616 * stdio-common/bug24.c: New file.
9618 2011-08-19 Andreas Jaeger <aj@suse.de>
9621 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9622 non-existant file when using close-on-exec mode.
9624 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9627 the very first instruction.
9629 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9630 the CFI state in the end.
9631 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9632 inclusion of dl-trampoline.h.
9633 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9635 2011-08-19 Andreas Schwab <schwab@redhat.com>
9637 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9638 expectations for long double.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9641 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9643 2011-08-14 David S. Miller <davem@davemloft.net>
9645 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9646 artificual limit depends upon the system page size.
9648 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9650 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9651 * resolv/Makefile: Define CFLAGS-libresolv.
9653 2011-08-17 Andreas Schwab <schwab@redhat.com>
9655 * nss/makedb.c (compute_tables): Make variables used in nested
9658 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9660 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9661 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9662 if buffer was too small.
9664 * elf/pldd.c (main): Attach to all threads in the process.
9665 Rewrite /proc handling to use *at functions.
9667 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9669 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9670 specifies first scope to show.
9671 (dl_open_worker): Update callers. Move printing scope of new
9672 object to before the relocation.
9673 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9674 * sysdeps/generic/ldsodefs.h: Update declaration.
9676 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9677 string for the scope number.
9679 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9681 * nscd/servicescache.c (cache_addserv): Make sure written is always
9684 2011-08-14 Roland McGrath <roland@hack.frob.com>
9686 * sysdeps/i386/i486/bits/atomic.h
9687 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9688 statement expression, so as to suppress "set but not used" warning.
9689 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9691 * string/strncat.c (STRNCAT): Use prototype definition.
9693 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9694 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9696 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9697 (localedef-modules): Add localedef.
9698 (locale-modules): Add locale.
9700 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9701 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9704 2011-08-14 David S. Miller <davem@davemloft.net>
9706 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9707 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9709 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9711 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9712 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9713 * elf/rtld.c (dl_main): Set l_name of vDSO.
9714 Call _dl_show_scope when DL_DEBUG_SCOPES.
9715 (process_dl_debug): Recognize scopes flag and also set it for all.
9716 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9717 Declare _dl_show_scope.
9719 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9720 (do_dlopen): Pass caller_dlopen to dl_open.
9721 (__libc_dlopen_mode): Initialize caller_dlopen.
9723 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9724 of libc. Make tolower call locale-independent. Optimize a bit by
9725 using isdigit instead of isalnum.
9726 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9728 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9730 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9731 was a dependency or dynamically loaded.
9733 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9735 * intl/l10nflist.c: Allow architecture-specific pop function.
9736 * sysdeps/x86_64/l10nflist.c: New file.
9738 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9741 2011-08-10 Andreas Schwab <schwab@redhat.com>
9743 * include/dirent.h: Add libc_hidden_proto for scandirat and
9744 scandirat64. Don't declare __scandirat64.
9745 * dirent/scandirat.c: Add libc_hidden_def.
9746 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9747 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9749 2011-08-10 David S. Miller <davem@davemloft.net>
9751 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9754 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9755 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9757 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9759 * Versions.def [libc]: Add GLIBC_2.15.
9760 * dirent/Makefile (routines): Add scandirat and scandirat64.
9761 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9763 * dirent/dirent.h: Declare scandirat and scandirat64.
9764 * dirent/scandirat.c: New file.
9765 * dirent/scandirat64.c: New file.
9766 * sysdeps/wordsize-64/scandirat.c: New file.
9767 * sysdeps/wordsize-64/scandirat64.c: New file.
9768 * dirent/opendir.c: Define opendirat.
9769 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9771 * dirent/scandir64.c: Adjust for scandir.c change.
9772 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9773 __scandirat64, and __scandir_cancel_handler.
9774 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9775 additional parameter and use openat instead of open (outside of ld.so).
9776 Add new __opendir as wrapper around __opendirat.
9777 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9778 here without requiring old scandirat implementation.
9780 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9782 * dirent/scandir.c (cancel_handler): Renamed to
9783 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9784 defined. Adjust users.
9785 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9786 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9788 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9790 * string/test-string.h (IMPL): Use __STRING to expand name and then
9793 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9796 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9798 * string/Makefile: Update.
9799 (strop-tests): Append strncat.
9800 * string/test-wcscmp.c: New file.
9801 New comprehensive test for wcscmp.
9802 * string/test-strcmp.c: Update.
9805 2011-07-22 Andreas Schwab <schwab@redhat.com>
9807 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9810 2011-07-26 Andreas Schwab <schwab@redhat.com>
9812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9813 encoding to ACE if AI_IDN.
9815 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9818 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9820 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9822 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9823 Fix overflow bug in strncat.
9824 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9826 * string/test-strncat.c: Update.
9827 Add new tests for checking overflow bugs.
9829 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9832 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9833 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9834 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9835 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9836 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9837 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9838 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9839 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9841 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9842 (USE_AS_STRCAT): Define.
9843 Add strcat and strncat support.
9844 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9846 2011-07-25 Andreas Schwab <schwab@redhat.com>
9848 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9849 __n bigger than INT_MAX+1.
9850 (__strncmp_g): Likewise.
9852 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9854 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9855 * libio/stido.h: Likewise.
9857 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9862 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9865 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9866 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9869 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9872 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9874 (_dl_x86_64_save_sse): Likewise.
9876 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9880 (_dl_x86_64_save_sse): Likewise.
9882 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9884 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9886 2011-07-21 Andreas Schwab <schwab@redhat.com>
9888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9890 (_dl_x86_64_save_sse): Use correct AVX check.
9892 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9894 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9895 bug in strncpy/strncat.
9896 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9898 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9900 * string/tester.c (test_strcat): Add tests for different alignments
9901 of source and destination.
9902 (test_strncat): Likewise.
9904 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9907 * posix/glob.c (glob): Check passed in values before using them in
9908 expressions to avoid some overflows.
9909 (glob_in_dir): Likewise.
9912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9913 check for AVX enablement so that we don't crash with old kernels and
9915 * elf/tst-audit4.c: Add same checks here.
9916 * elf/tst-audit6.c: Likewise.
9918 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9920 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9922 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9924 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9926 * po/cs.po: Update from translation team.
9927 * po/bg.po: Likewise.
9929 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9931 * misc/sys/cdefs.h: Add support for const attribute.
9932 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9933 to gnu_dev_{major,minor,makedev} functions.
9935 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9937 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9939 2011-07-20 Andreas Schwab <schwab@redhat.com>
9941 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9944 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9946 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9947 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9948 register in order to avoid conflicts with the soft frame pointer
9949 being held in r11 when necessary.
9950 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9951 (INTERNAL_VSYSCALL_NCS): Likewise.
9953 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9955 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9956 * elf/dl-fini.c (_dl_fini): Adjust caller.
9957 * elf/dl-close.c (_dl_close_worker): Likewise.
9958 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9960 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9962 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9963 "aux_cache->nlibs < 0".
9965 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9966 in the reload-count case.
9968 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9971 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9972 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9973 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9974 * sysdeps/x86_64/multiarch/strcat.S: New file.
9975 * sysdeps/x86_64/multiarch/strncat.S: New file.
9976 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9977 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9978 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9979 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9980 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9981 (USE_AS_STRCAT): Define.
9982 Add strcat and strncat support.
9983 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9984 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9985 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9986 * string/strncat.c: Update.
9987 (USE_AS_STRNCAT): Define.
9988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9989 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9991 * sysdeps/x86_64/multiarch/init-arch.h
9992 (bit_Prefer_PMINUB_for_stringop): New.
9993 (index_Prefer_PMINUB_for_stringop): Likewise.
9994 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9995 bit_Prefer_PMINUB_for_stringop.
9997 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9999 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10001 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10002 of casting of buffer.
10003 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10004 buffer32 and buffer64.
10005 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10006 writes instead of casting of buffer.
10007 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10009 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10012 2011-07-19 Andreas Schwab <schwab@redhat.com>
10014 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10016 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10018 * nscd/nscd.c (termination_handler): Don't do anything for a database
10019 if it has not yet been initialized.
10021 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10023 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10025 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10027 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10029 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10031 * po/nl.po: Update from translation team.
10032 * po/sv.po: Likewise.
10034 2011-07-16 Roland McGrath <roland@hack.frob.com>
10036 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10037 now disallowed by GCC.
10039 * configure.in (use-default-link): Default to yes if a test -shared
10040 link meets our qualifications.
10041 * configure: Regenerated.
10043 * config.make.in (output-format): New variable.
10044 * configure.in: Check for ld --print-output-format support.
10045 * configure: Regenerated.
10046 * Makerules ($(common-objpfx)format.lds)
10047 [$(output-format) != unknown]: Just use $(output-format),
10048 instead of the linker-script munging.
10050 2011-07-14 Roland McGrath <roland@hack.frob.com>
10052 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10053 of $(common-objpfx)shlib.lds.
10054 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10056 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10057 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10059 * configure.in (-z relro check): Adjust test code to add a large
10060 writable data section after it.
10061 * configure: Regenerated.
10063 2011-07-11 Roland McGrath <roland@hack.frob.com>
10065 * configure.in (-z relro check): Fix test code to make the variable
10067 * configure: Regenerated.
10069 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10071 * nscd/nscd.h (struct traced_file): Define.
10072 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10073 elements. Add traced_files.
10074 (inotify_fd): Declare.
10075 (register_traced_file): Declare.
10076 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10077 (inotify_fd): Export.
10078 (resolv_conf_descr): Remove.
10079 (nscd_init): Move inotify descriptor creation to main.
10080 Don't register files for notification here.
10081 (register_traced_file): New function.
10082 (invalidate_cache): Don't use reset_res to determine whether to call
10083 res_init, go through the list of registered files.
10084 (main_loop_poll): The inotify descriptors are now stored in the
10085 structures for the traced files.
10086 (main_loop_epoll): Likewise
10087 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10088 to __nss_disable_nscd.
10089 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10090 for a database anymore. Check the records for all the registered
10092 * nss/Makefile (libnss_files-routines): Add files-init.
10093 (libnss_db-routines): Add db-init.
10094 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10095 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10096 * nss/nss_db/db-init.c: New file.
10097 * nss/nss_files/files-init.c: New file.
10098 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10099 __nss_lookup_function.
10100 (__nss_lookup_function): Call nss_load_library.
10101 (nss_load_all_libraries): New function.
10102 (__nss_disable_nscd): Take parameter with callback function for files
10103 to register. Set is_nscd. Load all the DSOs for the NSS modules
10104 used for the cached services.
10105 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10106 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10107 options for features to all the files in nscd.
10109 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10111 2011-07-10 Roland McGrath <roland@hack.frob.com>
10113 * csu/elf-init.c (__libc_csu_init): Comment typo.
10115 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10117 * po/pl.po: Update from translation team.
10118 * po/ja.po: Likewise.
10119 * po/ru.po: Likewise.
10120 * po/ko.po: Likewise.
10121 * po/fr.po: Likewise.
10123 2011-07-09 Roland McGrath <roland@hack.frob.com>
10125 * configure.in (.ctors/.dtors header and trailer check):
10126 Use an empirical test on a built program.
10127 * configure: Regenerated.
10129 * configure.in (-z relro check): Use an empirical test on a built DSO.
10130 Detect, but do not require, on ia64.
10131 * configure: Regenerated.
10133 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10134 Update tests that use readelf to use $READELF instead.
10135 * configure: Regenerated.
10137 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10139 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10140 if the result is not used.
10142 2011-07-05 Andreas Jaeger <aj@suse.de>
10145 * stdlib/tst-strtod.c: Add testcase.
10147 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10149 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10150 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10151 The latter has a higher limit. Take additional parameter to pass to
10153 (__pathconf): Pass file to __statfs_link_max.
10154 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10156 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10160 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10164 (__statfs_filesize_max): Likewise.
10165 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10167 2011-07-05 Andreas Jaeger <aj@suse.de>
10169 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10171 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10173 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10175 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10178 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10180 * Makefile (strop-tests): Add strncat.
10181 * string/test-strncat.c: New file.
10183 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10185 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10187 2011-06-21 Andreas Jaeger <aj@suse.de>
10189 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10190 Copy rule from iconvdata/Makefile.
10192 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10195 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10196 but no long options are defined, just return 'W'.
10198 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10201 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10203 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10205 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10207 (innetgr): Likewise.
10209 2011-07-05 Roland McGrath <roland@hack.frob.com>
10211 * config.make.in (install_root): Default to $(DESTDIR).
10213 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10217 2011-07-02 Roland McGrath <roland@hack.frob.com>
10219 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10221 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10222 containing directory rather than embedding absolute directory names.
10224 * scripts/check-local-headers.sh: Rewritten using awk.
10225 Match by word, not by line. Print error messages for matches.
10226 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10228 * Makerules [shlib-lds-flags empty]:
10229 ($(common-objpfx)libc_pic.opts): New target.
10230 ($(common-objpfx)libc_pic.os.clean): New target.
10231 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10233 * config.make.in (OBJCOPY): New variable.
10234 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10235 * configure: Regenerated.
10237 * config.make.in (use-default-link): New variable.
10238 * configure.in (use_default_link): Grok --with-default-link to set it.
10239 * configure: Regenerated.
10240 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10241 (shlib-lds, shlib-lds-flags): Define to empty.
10243 * Makerules (shlib-lds): New variable.
10244 (shlib-lds-flags): New variable.
10245 (build-shlib, build-moduile, build-module-asneeded): Use it.
10246 ($(common-objpfx)libc.so): Use $(shlib-lds).
10247 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10248 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10250 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10251 DT_FLAGS/DT_FLAGS_1 with zero flags.
10253 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10254 linker script munging.
10256 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10258 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10260 * crypt/sha512.c (sha512_process_block): Perform total addition using
10261 128-bit if possible.
10262 (__sha512_finish_ctx): Likewise.
10263 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10265 * crypt/sha256.c (SWAP64): Define.
10266 (sha256_process_block): Perform total addition using 64-bit if
10268 (__sha256_finish_ctx): Likewise.
10270 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10272 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10274 * nscd/hstcache.c (cache_addhst): Likewise.
10275 * nscd/grpcache.c (cache_addgr): Likewise.
10276 * nscd/aicache.c (addhstaiX): Likewise
10277 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10279 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10281 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10282 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10283 * nscd/hstcache.c (cache_addhst): Likewise.
10284 * nscd/grpcache.c (cache_addgr): Likewise.
10285 * nscd/aicache.c (addhstaiX): Likewise
10287 2011-07-01 Andreas Schwab <schwab@redhat.com>
10289 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10290 domain only when needed.
10292 2011-06-30 Andreas Schwab <schwab@redhat.com>
10294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10295 is always restored.
10297 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10299 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10300 are re-adding the entry.
10301 * nscd/servicescache.c (cache_addserv): Likewise.
10303 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10305 * sysdeps/generic/dl-irel.h: fix protection against multiple
10307 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10309 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10312 * malloc/memusage.sh: Fix quoting in message.
10313 * debug/xtrace.sh: Likewise.
10315 * configure.in: Remove support for --experimental-malloc option, make
10317 * config.make.in: Likewise.
10318 * malloc/Makefile: Likewise.
10320 2011-06-27 Andreas Schwab <schwab@redhat.com>
10322 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10323 two-byte characters.
10325 2011-06-27 Roland McGrath <roland@hack.frob.com>
10327 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10328 AC_CACHE_CHECK invocation.
10329 * configure: Regenerated.
10331 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10333 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10336 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10337 bit from old_res_options.
10339 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10341 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10342 value type for setfct.
10344 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10347 __gettimeofday instead of gettimeofday.
10349 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10351 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10353 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10355 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10360 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10363 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10364 strcpy-sse2-unaligned strncpy-sse2-unaligned
10365 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10366 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10367 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10368 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10369 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10370 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10371 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10372 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10373 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10374 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10375 (STRCPY): Support SSE2 and SSSE3 versions.
10377 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10381 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10382 kernels which artificially limit size of requests.
10384 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10386 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10387 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10388 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10389 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10390 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10391 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10392 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10393 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10394 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10396 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10397 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10398 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10399 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10400 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10401 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10402 Enable unaligned load optimization for Intel Core i3, i5 and i7
10404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10406 (index_Fast_Unaligned_Load): Define.
10407 (HAS_FAST_UNALIGNED_LOAD): Define.
10409 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10411 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10413 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10416 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10417 until it is clear that the information is realy needed.
10418 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10420 2011-06-22 Andreas Schwab <schwab@redhat.com>
10422 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10424 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10426 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10427 /sys/devices/system/cpu/online if it is usable.
10429 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10430 reading the information from the /proc filesystem to once a second.
10432 2011-06-21 Andreas Jaeger <aj@suse.de>
10434 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10435 NULL after inclusion of kernel headers.
10437 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10439 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10440 calls to internal_setent.
10443 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10444 addresses using gethostbyname4_r ignore IPv4 addresses.
10446 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10447 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10449 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10451 2011-06-20 David S. Miller <davem@davemloft.net>
10453 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10455 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10457 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10458 (elf_irel): Use it.
10459 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10460 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10461 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10462 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10463 * sysdeps/x86_64/dl-irel.h: Likewise.
10465 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10466 * elf/dl-sym.c: Likewise.
10468 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10470 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10471 need to dereference resplen2.
10473 2011-06-14 Andreas Schwab <schwab@redhat.com>
10475 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10477 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10479 * Makeconfig: Define vardbdir and inst_vardbdir.
10480 * nss/Makefile: Add rules to install db-Makefile.
10482 * nss/nss_db/db-XXX.c: Cleanup.
10484 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10485 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10487 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10488 * nss/makedb.c: Implement -g option to specify that value strings
10489 are generated and should not be added to table iterated over for
10491 * nss/nss_db/db-initgroups.c: New file.
10493 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10496 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10497 (internal_getgrouplist): Adjust to name change.
10498 Update use_initgroups_entry if this is not the first call.
10499 * nss/databases.def: Add initgroups entry.
10501 * nss/makedb.c (compute_tables): Check result of multiple hash table
10502 sizes to minimize maximum chain length.
10504 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10506 * Versions.def: Add entry for libnss_db.
10507 * shlib-versions: Likewise.
10508 * nss/Makefile: Add rules to build libnss_db.
10509 * nss/Versions: Add libnss_db information. Organize libnss_files
10511 * nss/db-Makefile: Add gshadow support. Change rules for the new
10512 makedb progra. Some minor improvements to generate smaller files.
10513 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10515 * nss/makedb.c: ...here.
10516 Improve database format to be smaller and require less memory at
10518 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10520 * nss/nss_db/db-netgrp.c: Likewise.
10521 * nss/nss_db/db-open.c: Likewise.
10522 * nss/nss_files/flies-XXX.x: Adjust comments.
10523 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10524 * nss/nss_files/files-grp.c: Likewise.
10525 * nss/nss_files/files-hosts.c: Likewise.
10526 * nss/nss_files/files-network.c: Likewise.
10527 * nss/nss_files/files-proto.c: Likewise.
10528 * nss/nss_files/files-pwd.c: Likewise.
10529 * nss/nss_files/files-rpc.c: Likewise.
10530 * nss/nss_files/files-service.c: Likewise.
10531 * nss/nss_files/files-sgrp.c: Likewise.
10532 * nss/nss_files/files-spwd.c: Likewise.
10533 * nss/nss_db/db-alias.c: Removed.
10534 * nss/nss_db/dummy-db.h: Removed.
10536 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10538 * nss/makedb.c: Rewritten to not use database library.
10539 * nss/Makefile: Update to build new makedb program.
10541 2011-06-14 Andreas Jaeger <aj@suse.de>
10543 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10544 memset declaration.
10546 2011-06-10 Andreas Schwab <schwab@redhat.com>
10548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10551 2011-06-10 Roland McGrath <roland@hack.frob.com>
10553 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10554 * elf/Makefile ($(objpfx)ld.so): Likewise.
10556 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10557 Don't list ld.so twice in dependencies.
10559 * posix/bug-regex31.c: Include <stdlib.h>.
10561 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10563 * nis/nss_compat/compat-spwd.c
10564 (getspent_next_nss_netgr): Remove unused variable.
10565 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10567 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10568 nonmembers" output to use the right array.
10570 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10572 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10574 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10575 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10576 * catgets/gencat.c (read_input_file): Likewise.
10577 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10579 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10580 variable definition inside #if's controlling its use.
10582 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10584 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10586 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10588 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10591 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10593 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10594 * configure: Regenerated.
10596 * Makerules: Revert last change.
10597 * elf/Makefile: Likewise.
10599 2011-06-09 Roland McGrath <roland@hack.frob.com>
10601 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10602 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10603 (reloc-link): Likewise.
10605 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10607 * elf/Makefile: Add rules to build pldd.
10608 * elf/pldd.c: New file.
10609 * elf/pldd-xx.c: New file.
10611 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10613 * version.h: Update for 2.15 development version.
10615 2011-06-07 David S. Miller <davem@davemloft.net>
10617 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10620 elf_machine_lazy_rel): Likewise.
10621 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10622 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10623 elf_machine_lazy_rel): Likewise.
10624 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10625 dl_hwcap via passed in argument.
10626 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10629 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10631 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10633 2011-06-06 Roland McGrath <roland@hack.frob.com>
10636 * manual/fdl-1.1.texi: New file, verbatim from:
10637 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10638 * manual/lgpl-2.1.texi: New file, verbatim from:
10639 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10640 * manual/Makefile (licenses): New variable, list those new file names.
10642 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10644 * manual/fdl.texi: File removed.
10645 * manual/lesser.texi: File removed.
10646 * manual/libc.texinfo (Copying, Documentation License):
10647 Use new @include file names, put @appendix directive before @include.
10649 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10652 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10653 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10654 (mq_open): Add __NTH.
10656 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10659 Assume Intel Core i3/i5/i7 processor if AVX is available.
10661 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10666 2011-05-31 Andreas Schwab <schwab@redhat.com>
10668 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10669 memory. Use alloca_account. Fix memory leak when retrying.
10671 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10673 * version.h (RELEASE): Bump for 2.14 release.
10674 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10676 * config.make.in (RANLIB): Remove entry.
10678 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10680 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10681 (libc.pot): Work around missing support for .ksh extension in xgettext.
10684 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10685 if both request failed.
10686 (send_dg): In case of server errors clear resplen or *resplen2.
10689 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10690 when there are multiple maps.
10691 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10692 (_dl_fini): Remove test here.
10694 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10696 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10699 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10700 bit from old_res_options.
10701 (gaih_inet): Likewise.
10704 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10707 * resolv/res_init.c (res_setoptions): Make the code more compact.
10710 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10714 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10716 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10719 * malloc/malloc.h: Declare malloc hook variables as volatile.
10721 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10725 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10726 raise in the comment.
10727 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10729 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10731 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10734 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10735 grow the buffers more if it already has to be sufficient.
10736 (build_wcs_upper_buffer): Likewise.
10737 * posix/regexec.c (check_matching): Likewise.
10738 (clean_state_log_if_needed): Likewise.
10739 (extend_buffers): Don't enlarge buffers beyond size of the input
10741 Patches mostly by Emil Wojak <emil@wojak.eu>.
10742 * posix/bug-regex32.c: New file.
10743 * posix/Makefile (tests): Add bug-regex32.
10745 * locale/findlocale.c (_nl_find_locale): Return right away if
10746 _nl_explode_name failed.
10747 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10749 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10751 * debug/xtrace.sh: Unify messages.
10752 * malloc/memusage.sh: Likewise.
10755 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10756 time symbol from vDSO. Substitute with vsyscall if not available.
10757 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10760 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10761 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10762 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10763 Add sendmmsg and internal_sendmmsg.
10764 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10765 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10766 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10768 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10769 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10772 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10775 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10776 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10782 * iconvdata/Makefile (tests): Add bug-iconv9.
10783 * iconvdata/bug-iconv9.c: New file.
10785 2011-05-27 Andreas Schwab <schwab@redhat.com>
10788 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10790 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10792 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10793 (struct user_regs_struct): Change intcs field back to cs.
10795 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10797 * po/ja.po: Update from translation team.
10799 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10802 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10803 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10805 2011-05-20 Andreas Schwab <schwab@redhat.com>
10807 * stdlib/longlong.h: Update from GCC.
10809 2011-05-23 Andreas Schwab <schwab@redhat.com>
10811 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10813 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10814 Add parameter name.
10815 (__sysconf): Pass it down.
10817 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10820 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10823 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10824 add in in __libc_use_alloca calls. Adjust callers.
10825 (glob): Use malloc in some situations.
10827 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10828 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10831 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10833 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10834 and CLOCK_BOOTTIME_ALARM.
10837 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10840 * string/_strerror.c (__strerror_r): Print negative errors as signed
10844 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10845 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10846 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10848 * configure.in: Fix typo in redirection and correct removal of test
10849 files in two cases.
10852 * locale/setlocale.c (new_composite_name): Fix test to check for
10853 identical name of all categories.
10856 * libio/filedoalloc.c (local_isatty): New function.
10857 (_IO_file_doallocate): Use local_isatty.
10858 * stdio-common/perror.c (perror): In case a new stream is used
10859 forward the stream error.
10860 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10863 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10868 * include/alloca.h (extend_alloca_account): Define.
10871 * posix/regex.h: Fix comments with documentation of user-accessible
10872 fields after compilation and describe correct free'ing of pattern
10873 after re_compile_pattern.
10874 Patch by Reuben Thomas <rrt@sc3d.org>.
10876 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10878 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10879 and -mno-altivec to prevent the compiler from using Altivec and/or
10880 VSX instructions when the corresponding registers are not available.
10882 2011-05-19 Andreas Schwab <schwab@redhat.com>
10884 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10886 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10888 * libio/freopen.c (freopen): Use __dup2, not dup2.
10889 * libio/freopen64.c (freopen64): Likewise.
10891 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10894 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10895 * math/Makefile (tests): Add test-powl.
10896 (CFLAGS-test-powl.c): Define.
10897 * math/test-powl.c: New file.
10899 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10901 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10903 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10906 * iconvdata/gb18030.c: Update to GB18020-2005.
10908 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10910 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10911 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10912 Patch by Aharon Robbins <arnold@skeeve.com>.
10915 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10919 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10920 through underflows.
10923 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10924 point to strings before performing equality test for error_one_per_line
10928 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10931 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10932 (struct user_fpregs_struct): Avoid __uint*_t types.
10935 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10936 symbol info. Use it instead of calling _dl_addr locally.
10937 (lock_and_info): New function.
10938 (tr_freehook): Call lock_and_info and pass symbol info as additional
10939 parameter to tr_where.
10940 (tr_mallochook): Likewise.
10941 (tr_reallochook): Likewise.
10942 (tr_memalignhook): Likewise.
10944 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10945 used and couldn't be at all thread-safe.
10947 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10949 * libio/freopen.c (freopen): Don't close old file descriptor
10950 before the new one is opened. Instead dup the new file descriptor
10951 to the old one after the new stream is created.
10952 * libio/freopen64.c (freopen64): Likewise.
10953 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10954 * libio/fileops.c (_IO_new_file_close_it): Handle new
10955 _IO_FLAGS2_NOCLOSE flag.
10956 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10957 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10958 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10959 _IO_FLAGS2_NOCLOSE flag.
10960 * include/unistd.h: Add hidden_proto for dup3.
10961 Define __have_dup3.
10962 * io/dup3.c: Define hidden symbol.
10963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10966 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10967 when an incomplete long option is used.
10968 * posix/tst-getopt_long1.c: New file.
10969 * posix/Makefile (tests): Add tst-getopt_long1.
10972 * scripts/config.guess: Update from autoconf-2.68.
10973 * scripts/config.sub: Likewise.
10976 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10978 (has_cpuclock): ...this. New function.
10979 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10980 macro here based on has_cpuclock code.
10983 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10984 First byte (not low byte) is now always NUL.
10985 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10987 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10988 Use non-cancelable interfaces.
10991 * locale/iso-639.def: Add entry for Sorani.
10994 * include/stdlib.h: Move include protection to the right place.
10995 Define abort_msg_s. Declare __abort_msg with it.
10996 * stdlib/abort.c (__abort_msg): Adjust type.
10997 * assert/assert.c (__assert_fail_base): New function. Majority
10998 of code from __assert_fail. Allocate memory for __abort_msg with
11000 (__assert_fail): Now call __assert_fail_base.
11001 * assert/assert-perr.c: Remove bulk of implementation. Use
11002 __assert_fail_base.
11003 * include/assert.hL Declare __assert_fail_base.
11004 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11006 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11008 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11012 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11013 until all modules are registered in the DTV.
11014 * elf/Makefile: Add rules to build and run tst-tls19.
11015 * elf/tst-tls19.c: New file.
11016 * elf/tst-tls19mod1.c: New file.
11017 * elf/tst-tls19mod2.c: New file.
11018 * elf/tst-tls19mod3.c: New file.
11019 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11022 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11026 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11027 two-byte sequence errors.
11028 * iconvdata/Makefile (tests): Add bug-iconv8.
11029 * iconvdata/bug-iconv8.c: New file.
11032 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11035 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11038 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11039 (dummy_getcfa): New function.
11040 (init): Get _Unwind_GetCFA address, use dummy if not found.
11041 (backtrace_helper): In recursion check, also check whether CFA changes.
11042 (__backtrace): Completely initialize arg.
11044 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11045 storing incomplete byte sequence in state object. Avoid testing for
11046 guaranteed too small input if we know there is enough data available.
11048 2011-05-11 Andreas Schwab <schwab@redhat.com>
11050 * Makeconfig (+link-pie): Indent.
11051 * Rules (binaries-pie): Define if $(have-fpie) and
11053 (binaries-shared): Also filter out $(binaries-pie).
11054 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11055 * nscd/Makefile (others-pie): Add nscd.
11056 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11057 ($(objpfx)nscd): Remove command override.
11058 * login/Makefile (others-pie): Add pt_chown.
11059 ($(objpfx)pt_chown): Remove command override.
11060 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11061 remove command overrides.
11063 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11065 * libio/tst_putwc.c: Fix error messages.
11068 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11069 currently writing and seek to current position when not.
11070 * libio/Makefile (tests): Add bug-fclose1.
11071 * libio/bug-fclose1.c: New file.
11073 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11076 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11077 don't set DF_1_NODELETE here.
11078 (do_lookup_x): When entering new entry test for copy relocation
11079 and if necessary set DF_1_NODELETE flag.
11080 * elf/tst-unique4.cc: New file.
11081 * elf/tst-unique4.h: New file.
11082 * elf/tst-unique4lib.cc: New file.
11083 * elf/Makefile: Add rules to build and run tst-unique4.
11084 Patch by Piotr Bury <pbury@goahead.com>.
11086 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11089 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11092 * misc/mntent_r.c (addmntent): Flush the stream after the output
11095 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11096 (is_trusted_path_normalize): Skip initial colon. Append slash
11097 to empty buffer. Duplicate is_trusted_path code but allow
11098 constructed patch to be prefix.
11099 (is_dst): Allow $ORIGIN followed by /.
11100 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11101 Correct testing of result of is_trusted_path_normalize
11102 (decompose_rpath): Fix warning.
11104 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11107 * grp/initgroups.c (internal_getgrouplist): When we found the service
11108 list through the initgroups entry in nsswitch.conf do not always
11109 continue on a successful lookup. Don't always use the
11110 __nss_group_database value if it is set.
11111 * nss/nsswitch.conf (initgroups): Change action for successful db
11112 lookup to continue for compatibility.
11114 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11117 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11119 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11121 * iconvdata/tst-tables.sh: Likewise.
11122 * iconvdata/cp770.c: New file.
11123 * iconvdata/cp771.c: New file.
11124 * iconvdata/cp772.c: New file.
11125 * iconvdata/cp773.c: New file.
11126 * iconvdata/cp774.c: New file.
11127 * iconvdata/testdata/CP770: New file.
11128 * iconvdata/testdata/CP770..UTF8: New file.
11129 * iconvdata/testdata/CP771: New file.
11130 * iconvdata/testdata/CP771..UTF8: New file.
11131 * iconvdata/testdata/CP772: New file.
11132 * iconvdata/testdata/CP772..UTF8: New file.
11133 * iconvdata/testdata/CP773: New file.
11134 * iconvdata/testdata/CP773..UTF8: New file.
11135 * iconvdata/testdata/CP774: New file.
11136 * iconvdata/testdata/CP774..UTF8: New file.
11138 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11140 * iconvdata/gen-8bit-gap.sh: Likewise.
11141 * iconvdata/gen-8bit.sh: Likewise.
11143 * locale/iso-639.def: Add ary entry.
11146 * locale/C-translit.h.in: Add U20A1 transliteration.
11149 * locale/iso-639.def: Add wae entry.
11150 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11153 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11157 * locale/C-translit.h.in: Add entry for U20B9.
11158 Patch by pravin.d.s@gmail.com.
11160 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11163 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11164 ENAMETOOLONG use generic getcwd.
11165 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11166 in rtld. Use *stat64.
11167 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11168 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11169 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11170 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11171 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11172 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11173 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11174 __fstatat64 macros.
11175 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11176 * dirent/rewinddir.c: Add libc_hidden_def.
11177 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11178 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11180 * include/dirent.h (__alloc_dir): Add flags parameter.
11181 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11182 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11184 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11185 from fdopendir if O_CLOEXEC is already set.
11187 2011-03-15 Alan Modra <amodra@gmail.com>
11189 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11190 l_tls_firstbyte_offset non-zero. Save padding offset in
11191 l_tls_firstbyte_offset for later use.
11192 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11193 freeing static tls block.
11195 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11197 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11198 where #ifdef was intended. The intent is to prevent ARG_MAX from
11199 being defined by the kernel headers.
11201 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11204 * resolv/resolv.h: Define RES_NOTLDQUERY.
11205 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11206 no-tld-query and set RES_NOTLDQUERY.
11207 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11208 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11209 modern BIND to search name as TLD unless forbidden.
11211 2011-05-07 Petr Baudis <pasky@suse.cz>
11212 Ulrich Drepper <drepper@gmail.com>
11215 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11216 (is_trusted_path): ...to here.
11217 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11218 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11219 using is_trusted_path_normalize() in setuid scripts.
11221 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11223 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11224 __BEGIN/__END_DECLS.
11226 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11229 NSS_STATUS_NOTFOUND if no record was found.
11231 2011-05-05 Andreas Schwab <schwab@redhat.com>
11233 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11234 (headers-not-in-tirpc): Remove rpc/netdb.h
11235 * resolv/netdb.h: Revert last change.
11237 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11239 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11240 circular dependency between libgcc.a and libc.a.
11242 2011-05-05 Andreas Schwab <schwab@redhat.com>
11244 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11245 * nis/Makefile: Don't install rpcsvc/*.
11246 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11247 instead of <rpc/types.h>.
11248 (MAXHOSTNAMELEN): Define.
11250 2011-05-03 Andreas Schwab <schwab@redhat.com>
11252 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11254 2011-04-28 Maciej Babinski <mbabinski@google.com>
11257 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11258 gethostbyname4_r when IPv6 results are possible.
11260 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11263 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11264 _PC_PIPE_BUF handling.
11266 2011-04-30 Bruno Haible <bruno@clisp.org>
11269 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11270 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11272 * inet/getnameinfo.c (getnameinfo): Likewise.
11274 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11276 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11277 to groups setting in database lookup.
11278 * nss/nsswitch.conf: Add initgroups entry.
11280 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11283 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11285 Patch by Eric Blake <eblake@redhat.com>.
11287 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11289 * sunrpc/Makefile (need-export-routines): Add svc_run.
11290 (routines): Remove svc_run.
11291 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11292 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11293 * sunrpc/svc_run.c (svc_run): Likewise.
11294 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11296 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11299 problem in reallocation in last patch.
11301 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11303 * sunrpc/Makefile: Move inclusion of Rules.
11305 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11307 * nss/nss_files/files-initgroups.c: New file.
11308 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11309 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11310 _nss_files_initgroups_dyn.
11312 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11314 * elf/elf.h (R_ARM_IRELATIVE): Define.
11316 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11318 * po/ru.po: Update from translation team.
11320 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11322 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11325 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11328 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11329 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11330 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11331 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11332 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11334 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11336 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11338 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11339 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11340 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11342 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11345 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11347 * stdlib/bug-getcontext.c: New file.
11348 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11350 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11352 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11353 instructions into .machine "z9-109".
11354 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11355 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11357 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11359 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11360 between environment variables and auxiliary vector.
11362 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11364 * Makefile: Add rules to build linkobj/libc.so.
11365 * include/libc-symbols.h: Define libc_hidden_nolink.
11366 * include/rpc/auth.h: Mark functions which are to be hidden.
11367 * include/rpc/auth_des.h: Likewise.
11368 * include/rpc/auth_unix.h: Likewise.
11369 * include/rpc/clnt.h: Likewise.
11370 * include/rpc/des_crypt.h: Likewise.
11371 * include/rpc/key_prot.h: Likewise.
11372 * include/rpc/pmap_clnt.h: Likewise.
11373 * include/rpc/pmap_prot.h: Likewise.
11374 * include/rpc/pmap_rmt.h: Likewise.
11375 * include/rpc/rpc_msg.h: Likewise.
11376 * include/rpc/svc.h: Likewise.
11377 * include/rpc/svc_auth.h: Likewise.
11378 * include/rpc/xdr.h: Likewise.
11379 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11380 * nss/Makefile: Likewise.
11381 * sunrpc/Makefile: Don't install headers. Build library with normal
11382 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11383 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11384 for the compat linking library. Remove use of INTDEF/INTUSE.
11385 * sunrpc/auth_none.c: Likewise.
11386 * sunrpc/auth_unix.c: Likewise.
11387 * sunrpc/authdes_prot.c: Likewise.
11388 * sunrpc/authuxprot.c: Likewise.
11389 * sunrpc/clnt_gen.c: Likewise.
11390 * sunrpc/clnt_perr.c: Likewise.
11391 * sunrpc/clnt_raw.c: Likewise.
11392 * sunrpc/clnt_simp.c: Likewise.
11393 * sunrpc/clnt_tcp.c: Likewise.
11394 * sunrpc/clnt_udp.c: Likewise.
11395 * sunrpc/clnt_unix.c: Likewise.
11396 * sunrpc/des_crypt.c: Likewise.
11397 * sunrpc/des_soft.c: Likewise.
11398 * sunrpc/get_myaddr.c: Likewise.
11399 * sunrpc/key_call.c: Likewise.
11400 * sunrpc/key_prot.c: Likewise.
11401 * sunrpc/netname.c: Likewise.
11402 * sunrpc/pm_getmaps.c: Likewise.
11403 * sunrpc/pm_getport.c: Likewise.
11404 * sunrpc/pmap_clnt.c: Likewise.
11405 * sunrpc/pmap_prot.c: Likewise.
11406 * sunrpc/pmap_prot2.c: Likewise.
11407 * sunrpc/pmap_rmt.c: Likewise.
11408 * sunrpc/publickey.c: Likewise.
11409 * sunrpc/rpc_cmsg.c: Likewise.
11410 * sunrpc/rpc_common.c: Likewise.
11411 * sunrpc/rpc_dtable.c: Likewise.
11412 * sunrpc/rpc_prot.c: Likewise.
11413 * sunrpc/rpc_thread.c: Likewise.
11414 * sunrpc/rtime.c: Likewise.
11415 * sunrpc/svc.c: Likewise.
11416 * sunrpc/svc_auth.c: Likewise.
11417 * sunrpc/svc_authux.c: Likewise.
11418 * sunrpc/svc_raw.c: Likewise.
11419 * sunrpc/svc_run.c: Likewise.
11420 * sunrpc/svc_simple.c: Likewise.
11421 * sunrpc/svc_tcp.c: Likewise.
11422 * sunrpc/svc_udp.c: Likewise.
11423 * sunrpc/svc_unix.c: Likewise.
11424 * sunrpc/svcauth_des.c: Likewise.
11425 * sunrpc/xcrypt.c: Likewise.
11426 * sunrpc/xdr.c: Likewise.
11427 * sunrpc/xdr_array.c: Likewise.
11428 * sunrpc/xdr_float.c: Likewise.
11429 * sunrpc/xdr_intXX_t.c: Likewise.
11430 * sunrpc/xdr_mem.c: Likewise.
11431 * sunrpc/xdr_rec.c: Likewise.
11432 * sunrpc/xdr_ref.c: Likewise.
11433 * sunrpc/xdr_sizeof.c: Likewise.
11434 * sunrpc/xdr_stdio.c: Likewise.
11436 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11439 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11440 * sysdeps/ia64/dl-tls.h: Likewise.
11441 * sysdeps/powerpc/dl-tls.h: Likewise.
11442 * sysdeps/s390/dl-tls.h: Likewise.
11443 * sysdeps/sh/dl-tls.h: Likewise.
11444 * sysdeps/sparc/dl-tls.h: Likewise.
11445 * sysdeps/x86_64/dl-tls.h: Likewise.
11446 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11448 2011-03-14 Andreas Schwab <schwab@redhat.com>
11450 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11451 rpath element also skip the following colon.
11452 (expand_dynamic_string_token): Add is_path parameter and pass
11453 down to DL_DST_REQUIRED and _dl_dst_substitute.
11454 (decompose_rpath): Call expand_dynamic_string_token with
11455 non-zero is_path. Ignore empty rpaths.
11456 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11459 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11464 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11467 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11468 Patch by Filipe David Manana <fdmanana@apache.org>.
11470 2011-04-07 Andreas Schwab <schwab@redhat.com>
11472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11473 Maintain aligned stack.
11474 (CHECK_RSP): Remove unused macro.
11476 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11478 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11479 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11481 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11483 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11485 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11487 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11490 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11491 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11492 * sysdeps/x86_64/memmove.c: New file.
11493 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11494 (memcpy): Renamed to ...
11495 (__new_memcpy): This.
11496 (memcpy): Provide GLIBC_2_14 memcpy.
11497 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11498 (memcpy): Provide GLIBC_2_2_5 memcpy.
11500 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11503 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11505 2011-03-30 Andreas Schwab <schwab@redhat.com>
11507 * misc/syncfs.c: New file.
11508 * misc/Makefile (routines): Add syncfs.
11509 * posix/unistd.h: Declare syncfs.
11510 * sysdeps/unix/syscalls.list: Add syncfs.
11512 2011-04-01 Andreas Schwab <schwab@redhat.com>
11514 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11516 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11517 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11519 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11521 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11522 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11524 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11526 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11527 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11528 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11530 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11532 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11534 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11535 sync_file_range.c with -fexceptions.
11536 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11537 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11538 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11539 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11540 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11541 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11542 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11543 sync_file_range as cancellation point
11544 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11545 now a wrapper around __call_sync_file_range with cancellation handling.
11546 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11547 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11548 function name to __call_sync_file_range.
11549 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11550 Add call_sync_file_range.
11552 2011-04-01 Andreas Schwab <schwab@redhat.com>
11554 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11557 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11559 * iconv/iconv.h: Fix typo in comment.
11560 * io/fcntl.h: Likewise.
11561 * libio/stdio.h: Likewise.
11562 * posix/spawn.h: Likewise.
11563 * posix/unistd.h: Likewise.
11564 * stdlib/stdlib.h: Likewise.
11565 * time/time.h: Likewise.
11566 * wcsmbs/wchar.h: Likewise.
11568 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11569 open_by_handle): Add.
11570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11571 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11572 Augment a few comments.
11573 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11574 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11578 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11581 * io/fcntl.h (AT_EMPTY_PATH): Define.
11583 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11585 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11586 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11587 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11589 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11590 * Versions.def: Add GLIBC_2.14.
11591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11594 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11596 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11598 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11600 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11603 * string/test-strncmp.c (do_page_test): New function.
11604 (check2): Likewise.
11605 (test_main): Call check2.
11606 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11608 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11611 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11612 Handle cache information in CPU leaf 4.
11613 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11615 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11618 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11619 character representation.
11620 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11622 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11624 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11625 END(__isnan) to END(__isnanf) to match function entry point/label
11626 EALIGN(__isnanf,...).
11628 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11630 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11632 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11635 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11636 copy from the symbol referenced in the relocation to initialize the
11638 Patch by Piotr Bury <pbury@goahead.com>.
11639 * elf/Makefile: Add rules to build and tst-unique3.
11640 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11641 * elf/tst-unique3.cc: New file.
11642 * elf/tst-unique3.h: New file.
11643 * elf/tst-unique3lib.cc: New file.
11644 * elf/tst-unique3lib2.cc: New file.
11646 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11648 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11650 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11651 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11654 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11656 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11657 to-be-loaded object along a path to loader is ld.so.
11659 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11660 Ulrich Drepper <drepper@gmail.com>
11662 * sysdeps/x86_64/memset.S: After aligning destination, code
11663 branches to different locations depending on the value of
11664 misalignment, when multiarch is enabled. Fix this.
11666 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11668 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11669 Set _x86_64_preferred_memory_instruction for AMD processsors.
11670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11671 Set bit_Prefer_SSE_for_memop for AMD processors.
11673 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11675 * libio/fmemopen.c (fmemopen): Optimize a bit.
11677 2011-03-03 Andreas Schwab <schwab@redhat.com>
11679 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11681 2011-03-03 Roland McGrath <roland@redhat.com>
11683 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11685 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11687 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11688 __bzero_ultra1 instead of __memset_ultra1.
11690 2011-02-23 Andreas Schwab <schwab@redhat.com>
11691 Ulrich Drepper <drepper@gmail.com>
11694 * include/link.h (struct link_map): Add l_orig_initfini.
11695 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11696 returning unsuccessfully.
11697 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11698 close of a file loaded at startup, restore the original l_initfini
11700 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11701 list, store the pointer.
11702 * elf/Makefile ($(objpfx)noload-mem): New rule.
11703 (noload-ENV): Define.
11704 (tests): Add $(objpfx)noload-mem.
11705 * elf/noload.c: Include <memcheck.h>.
11706 (main): Call mtrace. Close all opened handles.
11708 2011-02-17 Andreas Schwab <schwab@redhat.com>
11711 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11712 dependencies are missing.
11714 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11716 Fix __if_freereq crash: Unlike the generic version which uses free,
11718 * sysdeps/mach/hurd/ifreq.h: New file.
11720 2011-01-27 Petr Baudis <pasky@suse.cz>
11721 Ulrich Drepper <drepper@gmail.com>
11724 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11725 to extend_alloca().
11726 * stdio-common/bug23.c: New file.
11727 * stdio-common/Makefile (tests): Add bug23.
11729 2010-09-28 Andreas Schwab <schwab@redhat.com>
11730 Ulrich Drepper <drepper@gmail.com>
11733 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11734 before performing relro protection. At old place add assertion
11735 to make sure nothing changed.
11737 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11738 Glauber de Oliveira Costa <glommer@gmail.com>
11740 * elf/elf.h: Add new ARM TLS relocs.
11742 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11745 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11747 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11749 * sysdeps/wordsize-64/tst-writev.c: New file.
11751 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11753 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11754 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11755 insns in _dl_start to prevent a TOC reference before relocs are
11758 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11761 * Makeconfig: Remove RANLIB definition.
11762 * Makerules: Don't use RANLIB.
11763 * aclocal.m4: Remove ranlib test.
11764 * configure.in: No need to check for ranlib.
11765 * elf/rtld-Rules: Don't use RANLIB.
11767 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11769 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11771 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11772 inclusion protection macro.
11774 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11775 SIGRTMIN and SIGRTMAX and print information in that case only when
11776 SIGRTMIN is defined.
11778 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11780 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11781 arginfo fn returning -1.
11783 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11784 and thousands string is zero terminated.
11786 2011-02-03 Andreas Schwab <schwab@redhat.com>
11788 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11789 sysdeps/unix/sysv/linux/bits/socket.h.
11791 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11793 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11794 (__CPU_COUNT): Remove old macros.
11795 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11796 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11797 (__CPU_ALLOC, __CPU_FREE): Add macros.
11798 (__sched_cpualloc, __sched_cpufree): Add declarations.
11800 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11802 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11803 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11804 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11805 (readdhstai): Return value of addhstaiX call.
11806 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11807 (addgrbyX): Return value returned by cache_addgr.
11808 (readdgrbyname): Return value returned by addgrbyX.
11809 (readdgrbygid): Likewise.
11810 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11811 (addpwbyX): Return value returned by cache_addpw.
11812 (readdpwbyname): Return value returned by addhstbyX.
11813 (readdpwbyuid): Likewise.
11814 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11815 (addservbyX): Return value returned by cache_addserv.
11816 (readdservbyname): Return value returned by addservbyX:
11817 (readdservbyport): Likewise.
11818 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11819 (addhstbyX): Return value returned by cache_addhst.
11820 (readdhstbyname): Return value returned by addhstbyX.
11821 (readdhstbyaddr): Likewise.
11822 (readdhstbynamev6): Likewise.
11823 (readdhstbyaddrv6): Likewise.
11824 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11825 (readdinitgroups): Return value returned by addinitgroupsX.
11826 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11827 (prune_cache): Keep track of timeout value of re-added entries.
11828 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11829 * nscd/nscd.h: Adjust prototypes of readd* functions.
11831 2011-02-04 Roland McGrath <roland@redhat.com>
11833 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11834 (nis_stats): Likewise.
11835 * nis/nis_modify.c (nis_modify): Likewise.
11836 * nis/nis_remove.c (nis_remove): Likewise.
11837 * nis/nis_add.c (nis_add): Likewise.
11839 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11841 * posix/fnmatch_loop.c: Add some consts.
11843 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11845 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11848 * config.make.in (config-cflags-novzeroupper): Define.
11849 * configure.in: Substitute libc_cv_cc_novzeroupper.
11850 * elf/Makefile (AVX-CFLAGS): Define.
11851 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11852 (CFLAGS-tst-auditmod4a.c): Likewise.
11853 (CFLAGS-tst-auditmod4b.c): Likewise.
11854 (CFLAGS-tst-auditmod6b.c): Likewise.
11855 (CFLAGS-tst-auditmod6c.c): Likewise.
11856 (CFLAGS-tst-auditmod7b.c): Likewise.
11857 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11859 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11861 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11862 function to the callback.
11863 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11865 2011-02-02 Andreas Schwab <schwab@redhat.com>
11867 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11870 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11873 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11875 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11877 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11880 * elf/Makefile: Add rules to build and run new test.
11881 * elf/tst-initorder.c: New file.
11882 * elf/tst-initorder.exp: New file.
11883 * elf/tst-initordera1.c: New file.
11884 * elf/tst-initordera2.c: New file.
11885 * elf/tst-initordera3.c: New file.
11886 * elf/tst-initordera4.c: New file.
11887 * elf/tst-initorderb1.c: New file.
11888 * elf/tst-initorderb2.c: New file.
11889 * elf/tst-order-a1.c: New file.
11890 * elf/tst-order-a2.c: New file.
11891 * elf/tst-order-a3.c: New file.
11892 * elf/tst-order-a4.c: New file.
11893 * elf/tst-order-b1.c: New file.
11894 * elf/tst-order-b2.c: New file.
11895 * elf/tst-order-main.c: New file.
11896 New test case by George Gensure <werkt0@gmail.com>.
11898 2010-10-01 Andreas Schwab <schwab@redhat.com>
11900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11901 decoding ACE if AI_CANONIDN.
11903 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11905 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11907 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11909 * version.h (RELEASE): Bump for 2.13 release.
11910 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11912 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11914 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11916 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11918 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11919 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11920 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11923 * posix/getconf.c: Update copyright year.
11924 * catgets/gencat.c: Likewise.
11925 * csu/version.c: Likewise.
11926 * debug/catchsegv.sh: Likewise.
11927 * debug/xtrace.sh: Likewise.
11928 * elf/ldconfig.c: Likewise.
11929 * elf/ldd.bash.in: Likewise.
11930 * elf/sprof.c (print_version): Likewise.
11931 * iconv/iconv_prog.c: Likewise.
11932 * iconv/iconvconfig.c: Likewise.
11933 * locale/programs/locale.c: Likewise.
11934 * locale/programs/localedef.c: Likewise.
11935 * malloc/memusage.sh: Likewise.
11936 * malloc/mtrace.pl: Likewise.
11937 * nscd/nscd.c (print_version): Likewise.
11938 * nss/getent.c: Likewise.
11940 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11941 PF_CAIF, and PF_ALG.
11942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11944 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11946 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11947 (modules-names): Use them.
11948 (ifunc-test-modules, ifunc-pie-tests): Define.
11949 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11950 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11951 (test-extras): Likewise.
11952 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11953 $(compile-command.c).
11954 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11955 (all-built-dso): Define.
11956 (check-textrel.out, check-execstack.out): Depend on it.
11958 * configure.in: Don't override --enable-multi-arch.
11960 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11963 * nscd/hstcache.c (tryagain): Define.
11964 (cache_addhst): Return tryagain not notfound for temporary errors.
11965 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11968 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11971 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11972 to make the syscall.
11973 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11976 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11977 and fall back to matching as normal character if the string ends before
11978 the matching ']' is found. This is what POSIX requires.
11979 * posix/testfnm.c: Adjust test result.
11980 * posix/globtest.sh: Adjust test result. Add new test.
11981 * posix/tst-fnmatch.input: Likewise.
11982 * posix/tst-fnmatch2.c: Add new test.
11984 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11986 * elf/Makefile (check-execstack): Revert last change. Depend on
11988 (check-execstack.h): New target.
11989 (generated): Add check-execstack.h.
11990 * elf/check-execstack.c: Include "check-execstack.h".
11991 (main): Revert last change.
11992 (handle_file): Return zero if GNU_STACK is absent and
11993 DEFAULT_STACK_PERMS doesn't include PF_X.
11995 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11997 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11998 in child fails because the descriptor is already closed.
11999 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12000 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12001 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12004 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12008 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12009 temporary buffer used to handle multi lookups locally.
12010 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12012 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12014 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12017 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12019 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12020 alignment for SSE2.
12022 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12025 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12026 characters. When rounding increased number of integer digits recompute
12028 * stdio-common/tst-grouping.c: New file.
12029 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12031 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12033 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12034 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12036 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12038 * bits/select.h: Likewise.
12040 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12042 * po/ja.po: Update from translation team.
12044 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12047 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12048 implementation just like for lxstat, fxstatat, et al.
12050 2010-12-27 Jim Meyering <meyering@redhat.com>
12053 * posix/regexec.c (build_trtable): Return failure indication upon
12054 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12056 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12059 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12060 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12061 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12062 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12065 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12068 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12069 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12071 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12073 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12074 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12075 script has SORT_BY_INIT_PRIORITY.
12076 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12077 NO_CTORS_DTORS_SECTIONS is defined.
12078 * elf/soinit.c: Likewise.
12079 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12080 NO_CTORS_DTORS_SECTIONS is defined.
12081 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12082 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12083 * sysdeps/sh/init-first.c: Likewise.
12084 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12086 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12088 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12089 always use the slow path.
12091 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12093 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12094 similar rule which adds the sysdep directories to the header search in
12095 order to pick up the correct platform stackinfo.h.
12096 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12097 perform test if it is, otherwise return successfully without testing.
12098 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12099 DEFAULT_STACK_PERMS define in stackinfo.h.
12100 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12101 defined in stackinfo.h.
12102 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12103 DEFAULT_STACK_PERMS defined in stackinfo.h.
12104 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12105 * sysdeps/ia64/stackinfo.h: Likewise.
12106 * sysdeps/s390/stackinfo.h: Likewise.
12107 * sysdeps/sh/stackinfo.h: Likewise.
12108 * sysdeps/sparc/stackinfo.h: Likewise.
12109 * sysdeps/x86_64/stackinfo.h: Likewise.
12110 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12111 PF_X for powerpc64. Retain PF_X for powerpc32.
12113 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12115 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12117 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12118 GETDENTS_64BIT_ALIGNED.
12120 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12122 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12124 2010-12-10 Andreas Schwab <schwab@redhat.com>
12126 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12129 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12130 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12132 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12133 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12135 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12138 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12141 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12143 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12145 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12147 * po/it.po: Update from translation team.
12149 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12154 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12156 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12158 2010-11-24 Andreas Schwab <schwab@redhat.com>
12160 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12162 (gaih_getanswer_slice): Likewise.
12164 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12168 2010-05-31 Petr Baudis <pasky@suse.cz>
12171 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12172 silently even in the chroot mode.
12174 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12176 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12177 last patch a bit. Pretty printing
12179 2010-05-31 Petr Baudis <pasky@suse.cz>
12182 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12183 initialization of skip_initgroups_dyn.
12185 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12187 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12188 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12190 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12192 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12194 2010-11-11 Andreas Schwab <schwab@redhat.com>
12196 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12197 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12198 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12199 ($(objpfx)tst-fnmatch-mem): New rule.
12200 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12201 * posix/tst-fnmatch.c (main): Call mtrace.
12203 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12206 Support Intel processor model 6 and model 0x2c.
12208 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12210 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12213 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12216 * string/test-strncasecmp.c (check_result): New function.
12217 (do_one_test): Use it.
12218 (check1): New function.
12219 (test_main): Use it.
12220 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12221 Support strcasecmp and strncasecmp.
12223 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12226 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12227 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12229 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12231 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12235 * sysdeps/x86_64/multiarch/bzero.S: New file.
12236 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12237 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12238 * sysdeps/x86_64/multiarch/memset.S: New file.
12239 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12241 Set bit_Prefer_SSE_for_memop for Intel processors.
12242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12244 (index_Prefer_SSE_for_memop): Define.
12245 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12247 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12249 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12250 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12252 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12255 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12256 (__x86_64_raw_data_cache_size_half): Likewise.
12257 (__x86_64_raw_shared_cache_size): Likewise.
12258 (__x86_64_raw_shared_cache_size_half): Likewise.
12260 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12261 (__x86_64_raw_data_cache_size_half): Likewise.
12262 (__x86_64_raw_shared_cache_size): Likewise.
12263 (__x86_64_raw_shared_cache_size_half): Likewise.
12264 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12265 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12266 and __x86_64_raw_shared_cache_size_half. Round
12267 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12268 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12269 to multiple of 256 bytes.
12271 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12275 of inacessible symlinks. Verify result of symlink before returning it.
12276 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12277 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12279 2010-10-28 Erich Ritz <erichritz@gmail.com>
12281 * math/math.h (isinf): Fix typo in comment.
12283 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12285 * po/da.po: Update from translation team.
12287 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12289 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12290 is added to the list.
12292 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12293 Ulrich Drepper <drepper@gmail.com>
12295 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12296 the global list here. Move code to...
12297 (_dl_add_to_namespace_list): ...here. New function.
12298 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12299 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12300 * elf/dl-load.c (lose): Don't remove the element from the list.
12301 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12302 (_dl_map_object): Likewise.
12304 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12307 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12308 into all bytes of SSE register.
12309 Patch by Richard Li <richardpku@gmail.com>.
12311 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12314 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12317 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12319 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12320 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12321 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12322 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12327 2010-10-22 Andreas Schwab <schwab@redhat.com>
12329 * include/dlfcn.h (__RTLD_SECURE): Define.
12330 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12331 mode & __RTLD_SECURE instead.
12332 (open_path): Rename preloaded parameter to secure.
12333 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12334 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12335 * elf/dl-deps.c (openaux): Likewise.
12336 * elf/rtld.c (struct map_args): Remove is_preloaded.
12337 (map_doit): Don't use it.
12338 (dl_main): Likewise.
12339 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12340 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12342 2010-09-09 Andreas Schwab <schwab@redhat.com>
12344 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12345 (sysd-rules-targets): Remove duplicates.
12346 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12347 rtld-%.$o dependency.
12349 2010-10-18 Andreas Schwab <schwab@redhat.com>
12351 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12352 _dl_map_object do it.
12354 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12356 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12357 fast fma builtins, define the macros in the C99 standard.
12358 (FP_FAST_FMAF): Likewise.
12359 (FP_FAST_FMAL): Likewise.
12360 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12362 * bits/mathdef.h: Update copyright year.
12363 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12365 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12367 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12368 builtins, define the macros in the C99 standard.
12369 (FP_FAST_FMAF): Likewise.
12370 (FP_FAST_FMAL): Likewise.
12371 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12373 (FP_FAST_FMAF): Likewise.
12375 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12378 * math/libm-test.inc (fma_test): Some new testcases.
12379 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12380 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12381 y and infinite z. Do multiplication by C already in long double.
12382 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12384 y and infinite z. Do bitwise or of inexact bit into u.d.
12385 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12386 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12387 * sysdeps/i386/fpu/s_fma.S: Removed.
12388 * sysdeps/i386/fpu/s_fmal.S: Removed.
12390 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12393 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12394 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12395 computation is not scheduled after fetestexcept. Fix value
12396 of minimum denormal long double.
12398 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12401 * math/libm-test.inc (fma_test): Add some more tests.
12402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12405 2010-10-15 Andreas Schwab <schwab@redhat.com>
12407 * scripts/data/localplt-s390-linux-gnu.data: New file.
12408 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12410 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12413 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12414 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12416 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12418 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12420 if one of x and y is very large and the other is subnormal.
12421 * sysdeps/s390/fpu/s_fmaf.c: New file.
12422 * sysdeps/s390/fpu/s_fma.c: New file.
12423 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12424 * sysdeps/powerpc/fpu/s_fma.S: New file.
12425 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12426 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12427 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12429 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12432 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12434 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12435 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12436 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12437 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12438 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12439 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12440 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12442 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12445 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12446 * posix/bug-regex31.input: Add test case.
12448 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12450 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12451 * posix/bug-regex31.input: New file.
12454 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12455 (parse_sub_exp): Fix last change, use postorder.
12457 * posix/bug-regex31.c: New file.
12458 * posix/Makefile: Add rules to build and run bug-regex31.
12460 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12463 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12466 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12467 to have entries in sys_siglist.
12470 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12473 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12476 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12477 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12478 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12479 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12480 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12481 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12482 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12483 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12484 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12485 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12486 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12487 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12488 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12489 * math/ftestexcept.c (fetestexcept): Likewise.
12490 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12491 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12492 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12493 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12494 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12495 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12496 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12498 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12501 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12504 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12506 * string/bug-strstr1.c: New file.
12507 * string/Makefile: Add rules to build and run bug-strstr1.
12509 2010-10-05 Eric Blake <eblake@redhat.com>
12512 * string/str-two-way.h (two_way_long_needle): Always clear memory
12513 when skipping input due to the shift table.
12515 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12518 * malloc/mcheck.c: Handle large requests.
12521 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12522 for strncmp and strncasecmp.
12523 * string/stratcliff.c: Add tests for strcmp and strncmp.
12524 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12526 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12528 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12531 2010-09-30 Andreas Jaeger <aj@suse.de>
12533 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12534 (CGROUP_SUPER_MAGIC): Define.
12535 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12536 Handle btrfs and cgroup file systems.
12537 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12540 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12542 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12543 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12545 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12548 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12549 trying to locate the ELF header.
12551 2010-09-27 Andreas Schwab <schwab@redhat.com>
12554 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12555 Mask out sign-bit copies when constructing f_fsid.
12557 2010-09-24 Petr Baudis <pasky@suse.cz>
12559 * debug/stack_chk_fail_local.c: Add missing licence exception.
12560 * debug/warning-nop.c: Likewise.
12562 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12564 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12565 implementing getdents64 using getdents syscall, set d_type if
12566 __ASSUME_GETDENTS32_D_TYPE.
12568 2010-09-16 Andreas Schwab <schwab@redhat.com>
12570 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12571 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12573 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12576 * posix/unistd.h: Undo change of feature selection for ftruncate from
12579 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12581 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12584 2010-09-20 Andreas Schwab <schwab@redhat.com>
12586 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12588 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12590 2010-09-14 Andreas Schwab <schwab@redhat.com>
12592 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12593 variables after CHECK_SP call.
12594 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12596 2010-09-13 Andreas Schwab <schwab@redhat.com>
12597 Ulrich Drepper <drepper@redhat.com>
12599 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12600 re-relocationg ld.so.
12601 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12602 _dl_init_paths call.
12603 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12606 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12608 * resolv/res_init.c (__res_vinit): Count the default server we added.
12610 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12611 Ulrich Drepper <drepper@redhat.com>
12614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12615 (____longjmp_chk): Use %ebx for saving value across system call.
12618 2010-09-06 Andreas Schwab <schwab@redhat.com>
12620 * manual/Makefile: Don't mix pattern rules with normal rules.
12622 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12624 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12626 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12627 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12628 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12629 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12633 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12636 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12637 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12639 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12641 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12642 * sysdeps/x86_64/addmul_1.S: Likewise.
12643 * sysdeps/x86_64/lshift.S: Likewise.
12644 * sysdeps/x86_64/mul_1.S: Likewise.
12645 * sysdeps/x86_64/rshift.S: Likewise.
12646 * sysdeps/x86_64/sub_n.S: Likewise.
12647 * sysdeps/x86_64/submul_1.S: Likewise.
12649 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12651 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12652 Define __sched_param instead of SCHED_* and sched_param when
12653 <bits/sched.h> is included with __need_schedparam defined.
12654 * bits/sched.h [__need_schedparam]
12655 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12656 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12657 (__defined_schedparam): Define to 1.
12658 (__sched_param): New structure, identical to sched_param.
12659 (__need_schedparam): Undefine.
12661 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12663 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12664 (epoll_create1): Declare.
12666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12668 2010-08-31 Andreas Schwab <schwab@redhat.com>
12671 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12672 shifting retval into place.
12674 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12676 * nis/rpcsvc/nis.h: Update copyright notice.
12677 * nis/rpcsvc/nis.x: Likewise.
12678 * nis/rpcsvc/nis_callback.h: Likewise.
12679 * nis/rpcsvc/nis_callback.x: Likewise.
12680 * nis/rpcsvc/nis_object.x: Likewise.
12681 * nis/rpcsvc/nis_tags.h: Likewise.
12682 * nis/rpcsvc/yp.h: Likewise.
12683 * nis/rpcsvc/yp.x: Likewise.
12684 * nis/rpcsvc/ypupd.h: Likewise.
12685 * nis/yp_xdr.c: Likewise.
12686 * nis/ypupdate_xdr.c: Likewise.
12688 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12689 mainly the body of pmap_getport. Add parameters to specify timeouts.
12690 (pmap_getport): Use __libc_rpc_getport.
12691 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12692 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12693 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12695 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12700 2010-08-27 Roland McGrath <roland@redhat.com>
12702 * sysdeps/i386/i686/multiarch/Makefile
12703 (CFLAGS-varshift.c): New variable.
12705 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12707 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12708 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12712 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12714 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12716 * sysdeps/x86_64/strlen.S: Unroll the loop.
12717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12718 strlen-sse2 strlen-sse2-bsf.
12719 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12720 __strlen_no_bsf if bit_Slow_BSF is set.
12721 (__strlen_sse42): Removed.
12722 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12723 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12725 2010-08-25 Roland McGrath <roland@redhat.com>
12727 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12728 * sysdeps/x86_64/multiarch/varshift.c: New file.
12729 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12730 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12731 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12732 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12734 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12737 strlen-sse2 strlen-sse2-bsf.
12738 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12739 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12740 (__strlen_sse2): Removed.
12741 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12742 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12743 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12744 bit_Slow_BSF for Atom.
12745 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12746 (index_Slow_BSF): Define.
12747 (HAS_SLOW_BSF): Define.
12749 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12752 * resolv/res_init.c (__res_vinit): When no server address at all
12753 is given default to loopback.
12755 2010-08-24 Roland McGrath <roland@redhat.com>
12757 * configure.in: Remove config-name.h generation.
12758 * configure: Regenerated.
12759 * config-name.in: File removed.
12760 * scripts/config-uname.sh: New file.
12761 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12762 ($(objdir)config-name.h): New target.
12764 * sunrpc/rpc_parse.h: Avoid nested comment.
12766 2010-08-24 Richard Henderson <rth@redhat.com>
12767 Ulrich Drepper <drepper@redhat.com>
12768 H.J. Lu <hongjiu.lu@intel.com>
12770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12772 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12773 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12774 _mm_alignr_epi8 with _mm_loadu_si128.
12775 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12776 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12777 (__m128i_shift_right): Removed.
12778 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12779 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12780 * sysdeps/x86_64/multiarch/varshift.h: New file.
12781 * sysdeps/x86_64/multiarch/varshift.S: New file.
12783 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12785 * configure.in: Move assembler checks to before sysdep dir checking.
12787 2010-08-20 Petr Baudis <pasky@suse.cz>
12789 * LICENSES: Sync the sunrpc license.
12791 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12793 * sunrpc/auth_des.c: Update copyright notice once again.
12794 * sunrpc/auth_none.c: Likewise.
12795 * sunrpc/auth_unix.c: Likewise.
12796 * sunrpc/authdes_prot.c: Likewise.
12797 * sunrpc/authuxprot.c: Likewise.
12798 * sunrpc/bindrsvprt.c: Likewise.
12799 * sunrpc/clnt_gen.c: Likewise.
12800 * sunrpc/clnt_perr.c: Likewise.
12801 * sunrpc/clnt_raw.c: Likewise.
12802 * sunrpc/clnt_simp.c: Likewise.
12803 * sunrpc/clnt_tcp.c: Likewise.
12804 * sunrpc/clnt_udp.c: Likewise.
12805 * sunrpc/clnt_unix.c: Likewise.
12806 * sunrpc/des_crypt.c: Likewise.
12807 * sunrpc/des_soft.c: Likewise.
12808 * sunrpc/get_myaddr.c: Likewise.
12809 * sunrpc/getrpcport.c: Likewise.
12810 * sunrpc/key_call.c: Likewise.
12811 * sunrpc/key_prot.c: Likewise.
12812 * sunrpc/openchild.c: Likewise.
12813 * sunrpc/pm_getmaps.c: Likewise.
12814 * sunrpc/pm_getport.c: Likewise.
12815 * sunrpc/pmap_clnt.c: Likewise.
12816 * sunrpc/pmap_prot.c: Likewise.
12817 * sunrpc/pmap_prot2.c: Likewise.
12818 * sunrpc/pmap_rmt.c: Likewise.
12819 * sunrpc/rpc/auth.h: Likewise.
12820 * sunrpc/rpc/auth_unix.h: Likewise.
12821 * sunrpc/rpc/clnt.h: Likewise.
12822 * sunrpc/rpc/des_crypt.h: Likewise.
12823 * sunrpc/rpc/key_prot.h: Likewise.
12824 * sunrpc/rpc/netdb.h: Likewise.
12825 * sunrpc/rpc/pmap_clnt.h: Likewise.
12826 * sunrpc/rpc/pmap_prot.h: Likewise.
12827 * sunrpc/rpc/pmap_rmt.h: Likewise.
12828 * sunrpc/rpc/rpc.h: Likewise.
12829 * sunrpc/rpc/rpc_des.h: Likewise.
12830 * sunrpc/rpc/rpc_msg.h: Likewise.
12831 * sunrpc/rpc/svc.h: Likewise.
12832 * sunrpc/rpc/svc_auth.h: Likewise.
12833 * sunrpc/rpc/types.h: Likewise.
12834 * sunrpc/rpc/xdr.h: Likewise.
12835 * sunrpc/rpc_clntout.c: Likewise.
12836 * sunrpc/rpc_cmsg.c: Likewise.
12837 * sunrpc/rpc_common.c: Likewise.
12838 * sunrpc/rpc_cout.c: Likewise.
12839 * sunrpc/rpc_dtable.c: Likewise.
12840 * sunrpc/rpc_hout.c: Likewise.
12841 * sunrpc/rpc_main.c: Likewise.
12842 * sunrpc/rpc_parse.c: Likewise.
12843 * sunrpc/rpc_parse.h: Likewise.
12844 * sunrpc/rpc_prot.c: Likewise.
12845 * sunrpc/rpc_sample.c: Likewise.
12846 * sunrpc/rpc_scan.c: Likewise.
12847 * sunrpc/rpc_scan.h: Likewise.
12848 * sunrpc/rpc_svcout.c: Likewise.
12849 * sunrpc/rpc_tblout.c: Likewise.
12850 * sunrpc/rpc_util.c: Likewise.
12851 * sunrpc/rpc_util.h: Likewise.
12852 * sunrpc/rpcinfo.c: Likewise.
12853 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12854 * sunrpc/rpcsvc/key_prot.x: Likewise.
12855 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12856 * sunrpc/rpcsvc/mount.x: Likewise.
12857 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12858 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12859 * sunrpc/rpcsvc/rex.x: Likewise.
12860 * sunrpc/rpcsvc/rstat.x: Likewise.
12861 * sunrpc/rpcsvc/rusers.x: Likewise.
12862 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12863 * sunrpc/rpcsvc/spray.x: Likewise.
12864 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12865 * sunrpc/rtime.c: Likewise.
12866 * sunrpc/svc.c: Likewise.
12867 * sunrpc/svc_auth.c: Likewise.
12868 * sunrpc/svc_authux.c: Likewise.
12869 * sunrpc/svc_raw.c: Likewise.
12870 * sunrpc/svc_run.c: Likewise.
12871 * sunrpc/svc_simple.c: Likewise.
12872 * sunrpc/svc_tcp.c: Likewise.
12873 * sunrpc/svc_udp.c: Likewise.
12874 * sunrpc/svc_unix.c: Likewise.
12875 * sunrpc/svcauth_des.c: Likewise.
12876 * sunrpc/xcrypt.c: Likewise.
12877 * sunrpc/xdr.c: Likewise.
12878 * sunrpc/xdr_array.c: Likewise.
12879 * sunrpc/xdr_float.c: Likewise.
12880 * sunrpc/xdr_mem.c: Likewise.
12881 * sunrpc/xdr_rec.c: Likewise.
12882 * sunrpc/xdr_ref.c: Likewise.
12883 * sunrpc/xdr_sizeof.c: Likewise.
12884 * sunrpc/xdr_stdio.c: Likewise.
12886 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12889 2010-08-19 Andreas Schwab <schwab@redhat.com>
12891 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12893 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12895 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12897 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12898 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12899 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12900 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12901 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12902 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12903 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12904 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12905 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12906 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12907 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12908 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12910 2010-07-26 Anton Blanchard <anton@samba.org>
12912 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12913 * malloc/arena.c (heap_trim): Likewise.
12915 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12917 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12919 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12920 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12922 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12924 * sysdeps/i386/elf/Makefile: New file.
12926 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12928 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12929 from fanotify_init.
12930 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12931 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12933 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12935 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12937 * sysdeps/multiarch/strcmp.S: Likewise.
12939 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12941 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12942 strncase_l-nonascii.
12943 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12944 Add strncase_l-ssse3.
12945 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12946 * sysdeps/x86_64/strcmp.S: Likewise.
12947 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12948 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12949 * sysdeps/x86_64/strncase.S: New file.
12950 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12951 * sysdeps/x86_64/strncase_l.S: New file.
12952 * string/Makefile (strop-tests): Add strncasecmp.
12953 * string/test-strncasecmp.c: New file.
12955 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12958 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12959 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12961 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12963 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12965 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12967 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12968 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12969 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12971 2010-05-01 Alan Modra <amodra@gmail.com>
12973 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12974 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12975 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12976 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12977 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12978 tidying. Don't tail-call __sigjmp_save for static lib.
12979 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12981 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12982 (CALL_MCOUNT): Add eh info, and nop after bl.
12983 (TAIL_CALL_SYSCALL_ERROR): New macro.
12984 (PSEUDO_RET): Use it.
12985 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12986 Correct save location of integer regs and cr.
12987 (_dl_profile_resolve): Correct cr save location. Delete nops
12988 after bl when SHARED. Reduce cfi size a little by better
12989 placement of cfi directives.
12990 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12991 make a stack frame. Instead use parm save area as a temp.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12993 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12995 Don't make a stack frame for parent, use parm save area.
12996 Increase child stack frame to 112 bytes. Don't save unused reg,
12997 and adjust reg usage. Set up cfi on error recovery and
12998 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13000 (__makecontext): Add dummy nop after jump to exit.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13002 Use correct parm save area and cr save, reduce stack frame.
13003 Correct cfi for possible PSEUDO_RET frame setup.
13004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13005 Branch to local label emitted by PSEUDO_RET rather than
13008 2010-08-12 Andreas Schwab <schwab@redhat.com>
13011 * locale/programs/locale.c (print_assignment): New function.
13012 (show_locale_vars): Use it.
13014 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13016 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13018 (struct statfs64): Likewise.
13019 (_STATFS_F_FLAGS): Define.
13020 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13022 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13023 (ST_VALID): Define locally.
13024 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13025 __statvfs_getflags, use the provided value.
13026 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13027 __ASSUME_STATFS_F_FLAGS.
13029 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13031 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13032 Add sys/fanotify.h.
13033 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13034 fanotify_mask for GLIBC_2.13.
13035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13036 fanotify_init and fanotify_mark.
13037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13038 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13040 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13042 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13043 prlimit64 for GLIBC_2.13.
13044 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13046 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13049 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13050 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13051 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13054 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13057 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13058 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13060 * nss/Makefile: Add rules to build and run tst-nss-test1.
13061 * shlib-versions: Add entry for libnss_test1.
13062 * nss/nss_test1.c: New file.
13063 * nss/tst-nss-test1.c: New file.
13065 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13066 (__nss_configure_lookup): Set appropriate entry in
13067 __nss_configure_lookup to true.
13068 * nss/nsswitch.h: Define enum with indeces of databases in
13069 databases and __nss_database_custom arrays. Declare
13070 __nss_database_custom.
13071 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13072 to avoid using nscd when custom rules are installed.
13073 * nss/getXXbyYY_r.c: Likewise.
13074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13076 * nss/nss_files/files-parse.c: Whitespace fixes.
13078 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13081 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13082 * posix/fnmatch_loop.c: Likewise.
13084 2010-07-17 Andi Kleen <ak@linux.intel.com>
13086 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13087 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13088 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13089 * Versions.def [GLIBC_2.13]: Add.
13091 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13093 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13094 Also fail if tpwd after pwuid call is NULL.
13096 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13098 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13099 when converting to ms.
13101 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13103 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13104 EOPNOTSUPP errors with ENOTTY.
13105 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13106 EOPNOTSUPP errors with ENOTTY.
13108 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13110 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13111 Add strcasecmp_l-ssse3.
13112 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13114 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13115 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13116 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13118 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13120 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13122 * string/Makefile (strop-tests): Add strcasecmp.
13123 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13124 strcasecmp_l-nonascii.
13125 (gen-as-const-headers): Add locale-defines.sym.
13126 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13127 * sysdeps/x86_64/strcasecmp.S: New file.
13128 * sysdeps/x86_64/strcasecmp_l.S: New file.
13129 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13130 * sysdeps/x86_64/locale-defines.sym: New file.
13131 * string/test-strcasecmp.c: New file.
13133 * string/test-strcasestr.c: Test both ends of the range of characters.
13134 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13136 2010-07-29 Roland McGrath <roland@redhat.com>
13139 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13141 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13143 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13146 2010-07-27 Andreas Schwab <schwab@redhat.com>
13148 * manual/memory.texi (Malloc Tunable Parameters): Document
13151 2010-07-26 Roland McGrath <roland@redhat.com>
13154 * configure.in (-fgnu89-inline check): Set and substitute
13155 gnu89_inline, not libc_cv_gnu89_inline.
13156 * configure: Regenerated.
13157 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13159 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13161 * string/test-strnlen.c: New file.
13162 * string/Makefile (strop-tests): Add strnlen.
13163 * string/tester.c (test_strnlen): Add a few more test cases.
13164 * string/tst-strlen.c: Better error reporting.
13166 * sysdeps/x86_64/strnlen.S: New file.
13168 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13170 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13171 lower-latency instructions.
13173 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13175 * string/test-strcasestr.c: New file.
13176 * string/test-strstr.c: New file.
13177 * string/Makefile (strop-tests): Add strstr and strcasestr.
13178 * string/str-two-way.h: Don't undefine MAX.
13179 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13181 2010-07-21 Andreas Schwab <schwab@redhat.com>
13183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13184 strcasestr-nonascii.
13185 (CFLAGS-strcasestr-nonascii.c): Define.
13186 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13187 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13188 Remove unused attribute.
13190 2010-07-20 Roland McGrath <roland@redhat.com>
13192 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13193 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13194 ld.so.cache was broken. With it, there is no way to disable dsocaps
13195 like LD_HWCAP_MASK can disable hwcaps.
13197 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13199 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13201 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13203 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13204 call in strcasestr.
13205 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13206 __strcasestr_sse42_nonascii.
13207 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13208 strcasestr-nonascii.c.
13209 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13211 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13213 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13214 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13215 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13216 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13218 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13220 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13223 2010-07-06 Andreas Schwab <schwab@redhat.com>
13226 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13229 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13231 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13232 _PC_PIPE_BUF using F_GETPIPE_SZ.
13234 2010-07-05 Roland McGrath <roland@redhat.com>
13236 * manual/arith.texi (Rounding Functions): Fix rint description
13237 implicit in round description.
13239 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13241 * elf/Makefile: Fix linking for a few tests to make recent linker
13244 2010-06-30 Andreas Schwab <schwab@redhat.com>
13246 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13247 $(common-objpfx)libc_nonshared.a.
13249 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13251 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13252 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13253 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13254 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13255 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13256 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13257 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13258 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13273 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13274 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13275 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13276 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13277 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13278 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13279 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13280 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13281 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13282 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13283 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13284 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13300 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13302 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13303 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13304 * string/memmove.c (memmove): Renamed to ...
13305 (MEMMOVE): ...this. Default to memmove.
13306 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13307 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13310 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13311 mempcpy-ssse3-back memmove-ssse3-back.
13312 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13313 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13314 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13315 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13316 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13317 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13318 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13319 * sysdeps/x86_64/multiarch/memmove.c: New file.
13320 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13321 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13322 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13323 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13324 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13327 (index_Fast_Copy_Backward): Define.
13328 (HAS_ARCH_FEATURE): Define.
13329 (HAS_FAST_REP_STRING): Define.
13330 (HAS_FAST_COPY_BACKWARD): Define.
13332 2010-06-21 Andreas Schwab <schwab@redhat.com>
13334 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13335 Restore proper fallback handling.
13337 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13340 * posix/group_member.c (__group_member): Correct checking loop.
13342 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13343 OOM in getpwuid_r correctly. Return error number when the caller
13344 should return, otherwise -1.
13345 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13346 call returning > 0 value.
13347 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13349 2010-06-07 Andreas Schwab <schwab@redhat.com>
13351 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13352 libc_nonshared.a from targets in modules-names.
13354 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13356 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13359 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13361 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13362 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13366 2010-06-02 Andreas Schwab <schwab@redhat.com>
13368 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13370 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13372 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13374 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13375 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13377 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13378 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13379 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13381 2010-06-14 Roland McGrath <roland@redhat.com>
13383 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13385 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13387 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13388 __REDIRECT followed by __THROW.
13389 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13390 * posix/getopt.h (getopt): Likewise.
13392 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13394 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13395 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13396 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13398 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13399 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13401 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13403 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13405 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13409 Properly check family and model.
13411 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13413 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13415 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13417 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13419 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13421 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13424 2010-05-19 Andreas Schwab <schwab@redhat.com>
13426 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13429 2010-05-21 Andreas Schwab <schwab@redhat.com>
13431 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13432 and internal_recvmmsg.
13433 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13434 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13435 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13436 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13438 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13439 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13440 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13442 2010-05-20 Andreas Schwab <schwab@redhat.com>
13444 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13446 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13448 POWER7 optimizations.
13449 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13450 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13452 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13454 * version.h: Update for 2.13 development version.
13456 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13458 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13459 exceptions. Return 0.
13461 2010-05-07 Roland McGrath <roland@redhat.com>
13463 * elf/ldconfig.c (main): Add a const.
13465 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13467 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13468 (args_options): Add no-idn option.
13469 (ahosts_keys_int): Add idn_flags to ai_flags.
13470 (parse_option): Handle 'i' option to clear idn_flags.
13472 * malloc/malloc.c (_int_free): Possible race in the most recently
13473 added check. Only act on the data if no current modification
13476 See ChangeLog.17 for earlier changes.