1 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2 Joseph Myers <joseph@codesourcery.com>
3 Paul Pluzhnikov <ppluzhnikov@google.com>
6 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
8 [cross-compiling] (extra-libs): Likewise.
9 [cross-compiling] (extra-libs-others): Likewise.
10 [cross-compiling] (librpcsvc-routines): Likewise.
11 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
12 [cross-compiling] (omit-deps): Likewise.
13 (sunrpc-CPPFLAGS): New variable.
14 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
16 (cross-rpcgen-objs): New variable.
17 (extra-objs): Append $(cross-rpcgen-objs).
18 ($(cross-rpcgen-objs)): New rule.
19 ($(objpfx)cross-rpcgen): Likewise.
20 (rpcgen-cmd): Define to use $(built-program-file). Expand
22 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23 ($(objpfx)x%.stmp): Likewise.
24 * sunrpc/proto.h [IS_IN_build] (_): Define.
25 [IS_IN_build] (_libc_intl_domainname): Likewise.
27 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36 sysdeps/unix/sysv/syscalls.list.
39 * sysdeps/unix/sysv/syscalls.list: Remove file.
41 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47 (__LC_IDENTIFICATION): Make these macros useful in #if
48 expressions, as required by C99.
50 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
56 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
58 * stdlib/longlong.h: Updated from GCC.
60 2012-05-09 Andreas Jaeger <aj@suse.de>
62 * nscd/nscd.c (run_modes): Make named enum, reorder so that
63 default is first entry.
65 (main): Remove informal message about syslog.
69 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76 (nearbyint): Likewise.
77 (nearbyintf): Likewise.
79 2012-05-09 Andreas Jaeger <aj@suse.de>
80 Pedro Alves <palves@redhat.com>
82 * nscd/nscd.c (run_mode): Use enum.
83 (main): Cleanup coding style issue.
85 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
86 Andreas Jaeger <aj@suse.de>
88 * nscd/nscd.c (go_background): Replaced with...
90 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
91 (options): Add -F --foreground.
93 (parse_opt): Parse it.
95 2012-05-09 Andreas Jaeger <aj@suse.de>
98 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
99 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
100 -Wconversion warning.
101 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
104 2012-05-09 Joseph Myers <joseph@codesourcery.com>
106 * conform/data/locale.h-data (NULL): Use macro-constant. Require
108 (LC_ALL): Use macro-int-constant.
109 (LC_COLLATE): Likewise.
110 (LC_CTYPE): Likewise.
111 (LC_MESSAGES): Likewise.
112 (LC_MONETARY): Likewise.
113 (LC_NUMERIC): Likewise.
115 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
116 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
118 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
120 [C99-based standards] (float_t): Expect type.
121 [C99-based standards] (double_t): Expect type.
122 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
124 [C99-based standards] (HUGE_VALL): Likewise.
125 [C99-based standards] (INFINITY): Likewise.
126 [C99-based standards] (NAN): Likewise.
127 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
128 [C99-based standards] (FP_NAN): Likewise.
129 [C99-based standards] (FP_NORMAL): Likewise.
130 [C99-based standards] (FP_SUBNORMAL): Likewise.
131 [C99-based standards] (FP_ZERO): Likewise.
132 [C99-based standards] (FP_FAST_FMA): Use
133 optional-macro-int-constant. Specify type. Require == 1.
134 [C99-based standards] (FP_FAST_FMAF): Likewise.
135 [C99-based standards] (FP_FAST_FMAL): Likewise.
136 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
137 [C99-based standards] (FP_ILOGBNAN): Likewise.
138 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
140 [C99-based standards] (MATH_ERREXCEPT): Likewise.
141 [C99-based standards] (math_errhandling): Specify type.
142 [ISO99 || ISO11] (signgam): Do not allow.
143 [non-C99-based standards] (copysignf): Do not allow.
144 [non-C99-based standards] (exp2f): Likewise.
145 [non-C99-based standards] (log2f): Likewise.
146 [non-C99-based standards] (modff): Allow.
147 [non-C99-based standards] (erff): Do not allow.
148 [non-C99-based standards] (erfcf): Likewise.
149 [non-C99-based standards] (gammaf): Likewise.
150 [non-C99-based standards] (hypotf): Likewise.
151 [non-C99-based standards] (j0f): Likewise.
152 [non-C99-based standards] (j1f): Likewise.
153 [non-C99-based standards] (jnf): Likewise.
154 [non-C99-based standards] (lgammaf): Likewise.
155 [non-C99-based standards] (tgammaf): Likewise.
156 [non-C99-based standards] (y0f): Likewise.
157 [non-C99-based standards] (y1f): Likewise.
158 [non-C99-based standards] (ynf): Likewise.
159 [non-C99-based standards] (isnanf): Likewise.
160 [non-C99-based standards] (acoshf): Likewise.
161 [non-C99-based standards] (asinhf): Likewise.
162 [non-C99-based standards] (atanhf): Likewise.
163 [non-C99-based standards] (cbrtf): Likewise.
164 [non-C99-based standards] (expm1f): Likewise.
165 [non-C99-based standards] (ilogbf): Likewise.
166 [non-C99-based standards] (log1pf): Likewise.
167 [non-C99-based standards] (logbf): Likewise.
168 [non-C99-based standards] (nextafterf): Likewise.
169 [non-C99-based standards] (remainderf): Likewise.
170 [non-C99-based standards] (rintf): Likewise.
171 [non-C99-based standards] (scalbf): Likewise.
172 [non-C99-based standards] (copysignl): Likewise.
173 [non-C99-based standards] (exp2l): Likewise.
174 [non-C99-based standards] (log2l): Likewise.
175 [non-C99-based standards] (modfl): Allow.
176 [non-C99-based standards] (erfl): Do not allow.
177 [non-C99-based standards] (erfcl): Likewise.
178 [non-C99-based standards] (gammal): Likewise.
179 [non-C99-based standards] (hypotl): Likewise.
180 [non-C99-based standards] (j0l): Likewise.
181 [non-C99-based standards] (j1l): Likewise.
182 [non-C99-based standards] (jnl): Likewise.
183 [non-C99-based standards] (lgammal): Likewise.
184 [non-C99-based standards] (tgammal): Likewise.
185 [non-C99-based standards] (y0l): Likewise.
186 [non-C99-based standards] (y1l): Likewise.
187 [non-C99-based standards] (ynl): Likewise.
188 [non-C99-based standards] (isnanl): Likewise.
189 [non-C99-based standards] (acoshl): Likewise.
190 [non-C99-based standards] (asinhl): Likewise.
191 [non-C99-based standards] (atanhl): Likewise.
192 [non-C99-based standards] (cbrtl): Likewise.
193 [non-C99-based standards] (expm1l): Likewise.
194 [non-C99-based standards] (ilogbl): Likewise.
195 [non-C99-based standards] (log1pl): Likewise.
196 [non-C99-based standards] (logbl): Likewise.
197 [non-C99-based standards] (nextafterl): Likewise.
198 [non-C99-based standards] (remainderl): Likewise.
199 [non-C99-based standards] (rintl): Likewise.
200 [non-C99-based standards] (scalbl): Likewise.
201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
202 [non-C99-based standards] (FP_*): Do not allow.
203 [C99-based standards] (FP_*): Change to
204 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
205 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
207 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
209 [X/Open-based standards] (SIG_HOLD): Likewise.
211 (SIGABRT): Use macro-int-constant. Specify type. Require
218 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
219 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
220 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
221 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
222 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
223 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
224 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
225 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
226 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
227 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
228 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
229 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
230 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
231 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
232 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
233 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
234 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
235 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
236 [X/Open-based standards] (SIGTRAP): Likewise.
237 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
238 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
239 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
240 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
241 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
244 2012-05-08 Ian Wienand <ianw@vmware.com>
247 * time/tzset.c (__tzset_parse_tz): Update default rules for
248 daylight time changes in the Energy Policy Act of 2005.
250 2012-05-09 Andreas Jaeger <aj@suse.de>
253 * elf/ldconfig.c (parse_conf): Change string to make clear that
254 ldconfig only issued a warning if ld.so.conf does not exist.
256 2012-05-08 David S. Miller <davem@davemloft.net>
258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
259 movxtod instead of popping the value on the stack.
261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
263 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
265 * config.h.in: Add HAVE_ARM_PCS_VFP.
267 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
270 * include/features.h: Warn if user requests __FORTIFY_SOURCE
271 checking but the checks are disabled for any reason.
273 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
275 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
276 and ELF64_R_TYPE with ELFW(R_TYPE).
278 2012-05-08 Joseph Myers <joseph@codesourcery.com>
280 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
283 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
284 (settimeofday): Likewise.
286 2012-05-08 Mike Frysinger <vapier@gentoo.org>
288 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
289 a struct th_u2 inside the union, and move tu_block/tu_code into
290 a new th_u3 union of tu_block/tu_code inside of that. Move
291 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
292 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
293 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
294 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
295 (th_stuff): Change to th_u1.tu_stuff.
297 (th_msg): Change to th_u1.th_u2.tu_data.
299 2012-05-07 David S. Miller <davem@davemloft.net>
301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
304 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
305 (SETUP_PIC_REG): Use it.
306 (SETUP_PIC_REG_LEAF): Use it.
308 2012-05-07 Joseph Myers <joseph@codesourcery.com>
312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
314 (EXPL_FINITE): Likewise.
316 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
317 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
321 (EXPL_FINITE): Likewise.
323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
324 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
326 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
327 test of -max_value argument for long double.
328 * sysdeps/i386/fpu/libm-test-ulps: Update.
329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
331 2012-05-06 David S. Miller <davem@davemloft.net>
333 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
334 quad soft-float symbols whose references which are compiler
336 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
338 2012-05-06 Joseph Myers <joseph@codesourcery.com>
342 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
344 (EXPL_FINITE): Likewise.
348 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
349 Adjust comments for base varying.
350 (__expl_finite): Change alias to EXPL_FINITE.
351 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
353 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
354 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
355 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
356 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
359 (EXPL_FINITE): Likewise.
363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
364 Adjust comments for base varying.
365 (__expl_finite): Change alias to EXPL_FINITE.
366 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
371 * math/libm-test.inc (check_float_internal): Correct ulp
372 calculation for subnormal expected results.
374 2012-05-06 Andreas Jaeger <aj@suse.de>
376 * Makeconfig (+math-flags): New, set to -frounding-math.
377 (+cflags): Add +math-flags so that all of glibc gets compiled with
380 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
382 2012-05-05 Joseph Myers <joseph@codesourcery.com>
384 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
390 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
391 (__ieee754_expl): Allow for and saturate large arguments.
392 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
393 (u_threshold): Likewise.
394 (__exp): Call __ieee754_exp before checking for overflow and
396 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
397 (u_threshold): Likewise.
398 (__expf): Call __ieee754_expf before checking for overflow and
400 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
401 (u_threshold): Likewise.
402 (__expl): Call __ieee754_expl before checking for overflow and
404 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
405 (__ieee754_expl): Allow for and saturate large arguments.
406 * math/libm-test.inc (exp_test): Add another test. Do not allow
407 missing overflow exception on overflow.
408 (expm1_test): Do not allow missing overflow exception on overflow.
410 * sysdeps/i386/fpu/e_expl.c: Move to ...
411 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
412 rather than using inline asm.
413 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
414 * sysdeps/x86_64/fpu/e_expl.S: Copy from
415 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
417 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
424 2012-05-04 Joseph Myers <joseph@codesourcery.com>
426 * sysdeps/unix/syscalls.list (adjtime): Add entry from
427 sysdeps/unix/common/syscalls.list.
430 (ftruncate): Likewise.
431 (getrusage): Likewise.
432 (gettimeofday): Likewise.
434 (setregid): Likewise.
435 (setreuid): Likewise.
436 (sigaction): Likewise.
437 (truncate): Likewise.
439 * sysdeps/unix/common/syscalls.list: Remove file.
440 * sysdeps/unix/bsd/Implies: Don't include unix/common.
441 * sysdeps/unix/sysv/linux/Implies: Likewise.
443 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
445 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
447 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
457 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
460 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
463 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
469 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
473 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
477 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
480 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
484 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
488 2012-05-04 Joseph Myers <joseph@codesourcery.com>
490 * sysdeps/unix/common/bits/dirent.h: Remove file.
491 * sysdeps/unix/common/bits/fcntl.h: Likewise.
493 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
494 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
495 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
496 * sysdeps/unix/bsd/isatty.c: Likewise.
497 * sysdeps/unix/bsd/tcdrain.c: Likewise.
498 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
499 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
501 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
505 long double comparison inaccuracies.
506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
509 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
511 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
514 2012-05-04 Joseph Myers <joseph@codesourcery.com>
517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
518 nonzero digits before rounding a hex value.
519 * stdlib/tst-strtod.c (tests): Add another test.
521 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
523 * sysdeps/s390/fpu/libm-test-ulps: Update.
525 2012-05-03 Andreas Jaeger <aj@suse.de>
527 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
528 does not get optimized out.
529 (malloc_opt_barrier): New.
531 2012-05-03 Andreas Jaeger <aj@suse.de>
532 Roland McGrath <roland@hack.frob.com>
534 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
535 intermediate file deletion.
536 (generated): Add .symlist files.
538 2012-05-03 Joseph Myers <joseph@codesourcery.com>
541 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
542 Redirect under this condition.
543 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
544 [__USE_GNU] (__dprintf_chk): Not under this condition.
545 [__USE_GNU] (__vdprintf_chk): Likewise.
546 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
547 under this condition.
548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
549 [__USE_XOPEN2K8] (dprintf): Define under this condition.
550 [__USE_XOPEN2K8] (vdprintf): Likewise.
551 [__USE_GNU] (__dprintf_chk): Not under this condition.
552 [__USE_GNU] (__vdprintf_chk): Likewise.
553 [__USE_GNU] (dprintf): Likewise.
554 [__USE_GNU] (vdprintf): Likewise.
556 2012-05-03 Roland McGrath <roland@hack.frob.com>
558 * elf/Makefile (common-generated): Set this instead of generated for
559 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
560 $(all-built-dso)-derived lists.
562 2012-05-03 Andreas Jaeger <aj@suse.de>
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
568 * scripts/gen-FAQ.pl: Likewise.
569 * manual/install.texi (Installation): Point to online location of
571 * Makefile (files-for-dist): Remove FAQ.
574 2012-05-02 Allan McRae <allan@archlinux.org>
576 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
577 (LDFLAGS-reldepmod5.so): Likewise.
578 (LDFLAGS-reldep6mod1.so): Likewise.
579 (LDFLAGS-reldep6mod4.so): Likewise.
580 (LDFLAGS-reldep8mod3.so): Likewise.
581 (LDFLAGS-unload4mod1.so): Likewise.
582 (LDFLAGS-unload4mod2.so): Likewise.
583 (LDFLAGS-tst-initorder): Likewise.
584 (LDFLAGS-tst-initordera2.so): Likewise.
585 (LDFLAGS-tst-initordera3.so): Likewise.
586 (LDFLAGS-tst-initordera4.so): Likewise.
587 (LDFLAGS-tst-initorderb2.so): Likewise.
588 (LDFLAGS-noload): Likewise.
589 (LDFLAGS-next): Likewise.
590 (LDFLAGS-order2mod1.so): Likewise.
591 (LDFLAGS-order2mod2.so): Likewise.
592 (LDFLAGS-tst-initorder2): Likewise.
593 (LDFLAGS-tst-initorder2a.so): Likewise.
594 (LDFLAGS-tst-initorder2b.so): Likewise.
595 (LDFLAGS-tst-initorder2c.so): Likewise.
596 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
598 2012-05-02 David S. Miller <davem@davemloft.net>
600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
602 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
605 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
607 2012-05-02 Andreas Jaeger <aj@suse.de>
609 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
610 since we manipulate rounding mode.
611 (CPPFLAGS-test-idouble.c): Likewise.
612 (CPPFLAGS-test-ifloat.c): Likewise.
613 (CFLAGS-test-ldouble.c): Likewise.
614 (CFLAGS-test-double.c): Likewise.
615 (CFLAGS-test-float.c): Likewise.
616 (CFLAGS-test-misc.c): Likewise.
617 (CFLAGS-test-test-fenv.c): Likewise.
619 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
624 comparisons to determine direction to adjust input.
626 2012-05-01 Roland McGrath <roland@hack.frob.com>
628 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
629 output to the target.
631 * scripts/localplt.awk: New file.
632 * elf/Makefile ($(objpfx)check-localplt): Target removed.
633 (check-localplt-CFLAGS): Variable removed.
634 ($(all-built-dso:=.jmprel)): New static pattern rule.
635 (generated): Add those targets.
636 (localplt-built-dso): New variable.
637 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
639 * elf/check-localplt.c: File removed.
641 * scripts/check-execstack.awk: New file.
642 * elf/Makefile ($(objpfx)check-execstack): Target removed.
643 (check-execstack-CFLAGS): Variable removed.
644 ($(objpfx)check-execstack.h): Target removed.
645 ($(objpfx)execstack-default): New target.
646 (generated): Add that instead of check-execstack.h.
647 ($(all-built-dso:=.phdr)): New static pattern rule.
648 (generated): Add those targets.
649 * elf/check-execstack.c: File removed.
651 * scripts/check-textrel.awk: New file.
652 * elf/Makefile ($(objpfx)check-textrel): Target removed.
653 (check-textrel-CFLAGS): Variable removed.
654 (all-built-dso): Use := to define.o
655 ($(all-built-dso:=.dyn)): New static pattern rule.
656 (generated): Add those targets.
657 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
658 * config.make.in (READELF): New substituted variable.
659 * elf/check-textrel.c: File removed.
661 2012-05-01 Joseph Myers <joseph@codesourcery.com>
663 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
665 * conform/data/ctype.h-data [C99-based standards] (isblank):
667 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
668 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
670 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
671 Specify type. Require positive value.
674 [ISO || POSIX] (EILSEQ): Do not expect.
675 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
676 Specify type. Require positive value.
677 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
678 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
679 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
680 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
681 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
682 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
683 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
684 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
685 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
686 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
687 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
688 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
689 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
690 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
691 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
692 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
693 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
694 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
695 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
696 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
697 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
698 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
699 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
700 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
701 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
702 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
703 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
704 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
705 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
706 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
707 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
708 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
709 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
710 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
711 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
712 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
713 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
714 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
715 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
716 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
717 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
718 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
719 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
720 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
721 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
722 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
723 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
724 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
725 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
726 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
727 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
728 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
729 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
730 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
731 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
732 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
733 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
734 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
735 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
736 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
737 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
738 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
739 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
740 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
741 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
742 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
743 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
744 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
745 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
746 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
747 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
748 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
749 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
750 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
751 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
752 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
753 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
755 (FLT_ROUNDS): Expect as macro, not constant.
756 (FLT_MANT_DIG): Use macro-int-constant.
757 (DBL_MANT_DIG): Likewise.
758 (LDBL_MANT_DIG): Likewise.
761 (LDBL_DIG): Likewise.
762 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
763 (DBL_MIN_EXP): Likewise.
764 (LDBL_MIN_EXP): Likewise.
765 (FLT_MAX_EXP): Use macro-int-constant.
766 (DBL_MAX_EXP): Likewise.
767 (LDBL_MAX_EXP): Likewise.
768 (FLT_MAX_10_EXP): Likewise.
769 (DBL_MAX_10_EXP): Likewise.
770 (LDBL_MAX_10_EXP): Likewise.
771 (FLT_MAX): Use macro-constant.
773 (LDBL_MAX): Likewise.
774 (FLT_EPSILON): Use macro-constant. Give upper bound.
775 (DBL_EPSILON): Likewise.
776 (LDBL_EPSILON): Likewise.
779 (LDBL_MIN): Likewise.
780 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
781 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
782 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
783 [ISO11] (FLT_HAS_SUBNORM): Likewise.
784 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
785 [ISO11] (DBL_DECIMAL_DIG): Likewise.
786 [ISO11] (FLT_DECIMAL_DIG): Likewise.
787 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
788 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
789 [ISO11] (FLT_TRUE_MIN): Likewise.
790 [ISO11] (LDBL_TRUE_MIN): Likewise.
791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
792 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
793 (SCHAR_MIN): Use macro-int-constant. Specify type.
794 (SCHAR_MAX): Likewise.
795 (UCHAR_MAX): Likewise.
796 (CHAR_MIN): Likewise.
797 (CHAR_MAX): Likewise.
798 (MB_LEN_MAX): Use macro-int-constant.
799 (SHRT_MIN): Use macro-int-constant. Specify type.
800 (SHRT_MAX): Likewise.
801 (USHRT_MAX): Likewise.
803 (INT_MIN): Use macro-int-constant. Specify type. Make upper
805 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
807 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
809 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
810 bound negative. Suffix upper bound with "L".
811 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
813 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
815 [C99-based standards] (LLONG_MAX): Likewise.
816 [C99-based standards] (ULLONG_MAX): Likewise.
817 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
819 [ISO11] (max_align_t): Require type.
820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
822 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
823 from $CFLAGS, without defining away __attribute__ calls.
824 (checknamespace): Use $CFLAGS_namespace.
826 * conform/conformtest.pl (@keywords): Only include C99 keywords
827 for standards based on C99 or C11.
829 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
831 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
834 * conform/conformtest.pl: Handle "macro-int-constant" and test for
835 usability of symbols in #if.
837 * conform/conformtest.pl: If macro or constant types start
838 "promoted:", expect the symbol to be of the following type
839 promoted by the integer promotions.
841 * conform/conformtest.pl: Parse all "constant" and "macro" lines
842 in one place. Also handle "macro-constant".
844 * conform/conformtest.pl: Only accept expected macro values with
845 "==". Parse all "macro" lines in one place.
846 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
848 * conform/conformtest.pl: Handle braced types on "constant" lines
849 instead of handling "typed-constant".
850 * conform/data/signal.h-data: Use "constant" instead of
853 * conform/conformtest.pl: Handle "optional-" at start of lines in
854 one place rather than duplicating several cases. Handle each
855 format of "macro" line with initial "optional-".
857 * conform/conformtest.pl: Only accept expected constant or
858 optional-constant values with "==". Parse all "constant" lines in
859 one place. Parse all "optional-constant" lines in one place.
860 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
861 * conform/data/fmtmsg.h-data: Likewise.
862 * conform/data/netinet/in.h-data: Likewise.
863 * conform/data/tar.h-data: Likewise.
864 * conform/data/limits.h-data: Use "==" form on "constant" and
865 "optional-constant" lines.
867 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
868 Use -std=c99 for XOPEN2K.
869 (@knownproblems): Remove.
870 (newtoken): Don't check %isknown.
872 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
874 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
875 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
876 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
877 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
878 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
879 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
880 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
881 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
882 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
883 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
884 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
885 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
886 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
887 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
888 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
889 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
890 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
891 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
892 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
893 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
894 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
897 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
898 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
899 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
900 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
901 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
902 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
903 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
904 [XPG3] (acosh): Likewise.
905 [XPG3] (asinh): Likewise.
906 [XPG3] (atanh): Likewise.
907 [XPG3] (cbrt): Likewise.
908 [XPG3] (expm1): Likewise.
909 [XPG3] (ilogb): Likewise.
910 [XPG3] (log1p): Likewise.
911 [XPG3] (logb): Likewise.
912 [XPG3] (nextafter): Likewise.
913 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
914 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
915 [XPG3] (remainder): Likewise.
916 [XPG3] (rint): Likewise.
917 [XPG3 || XPG4 || UNIX98] (round): Likewise.
918 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
919 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
920 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
921 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
922 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
923 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
924 [UNIX98 || XOPEN2K] (scalb): Expect.
925 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
926 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
927 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
928 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
929 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
930 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
931 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
932 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
933 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
934 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
935 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
936 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
937 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
938 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
939 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
940 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
941 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
942 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
943 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
944 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
945 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
946 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
947 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
948 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
949 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
950 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
951 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
952 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
953 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
954 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
955 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
956 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
957 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
958 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
959 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
960 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
961 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
962 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
963 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
964 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
965 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
966 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
967 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
968 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
969 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
970 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
971 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
972 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
973 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
974 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
975 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
976 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
977 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
978 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
979 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
980 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
981 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
982 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
983 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
984 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
985 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
986 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
987 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
988 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
989 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
990 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
991 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
992 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
993 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
994 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
995 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
996 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
997 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
998 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
999 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1000 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1001 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1002 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1003 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1004 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1005 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1006 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1007 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1008 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1009 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1010 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1011 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1012 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1013 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1014 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1015 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1016 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1017 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1018 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1019 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1020 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1021 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1022 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1023 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1024 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1025 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1026 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1027 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1028 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1029 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1030 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1031 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1032 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1033 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1034 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1035 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1036 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1037 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1038 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1039 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1040 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1041 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1042 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1043 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1044 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1045 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1046 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1047 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1048 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1049 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1050 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1051 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1052 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1053 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1054 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1055 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1056 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1057 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1058 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1059 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1060 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1061 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1063 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1064 _XOPEN_SOURCE_EXTENDED for XPG4.
1066 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1068 * Makeconfig (localtime): Remove variable.
1069 (inst_localtime-file): Likewise.
1071 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1092 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1096 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1097 comparisons to determine direction to adjust input.
1098 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1099 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1104 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1109 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1111 * math/libm-test.inc (nexttoward_test): Add more tests.
1113 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1117 in version GLIBC_2.1, not GLIBC_2.0.
1118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1121 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1126 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1127 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1128 * math/libm-test.inc (acos_test): Add more tests.
1129 (asin_test): Likewise.
1130 * sysdeps/i386/fpu/libm-test-ulps: Update.
1131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1134 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1136 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1137 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1138 * math/libm-test.inc (acos_test_tonearest): New function.
1139 (acos_test_towardzero): Likewise.
1140 (acos_test_downward): Likewise.
1141 (acos_test_upward): Likewise.
1142 (asin_test_tonearest): Likewise.
1143 (asin_test_towardzero): Likewise.
1144 (asin_test_downward): Likewise.
1145 (asin_test_upward): Likewise.
1146 (main): Call the new functions.
1147 * sysdeps/i386/fpu/libm-test-ulps: Update.
1148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1152 * math/e_exp10.c: Include <float.h>.
1153 (__ieee754_exp10): Handle underflow here rather than multiplying
1154 large negative argument by M_LN10.
1155 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1157 * math/e_exp10l.c: Include <float.h>.
1158 (__ieee754_exp10l): Handle underflow here rather than multiplying
1159 large negative argument by M_LN10l.
1160 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1161 spurious overflow exception on underflow.
1163 2012-04-29 Marek Polacek <polacek@redhat.com>
1165 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1166 (__fortify_function): New macro.
1167 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1168 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1169 __extern_always_inline.
1170 * libio/bits/stdio2.h: Likewise.
1171 * libio/bits/stdio.h: Likewise.
1172 * string/string.h: Likewise.
1173 * string/bits/string3.h: Likewise.
1174 * include/stdio.h: Likewise.
1175 * stdlib/bits/stdlib.h: Likewise.
1176 * stdlib/stdlib.h: Likewise.
1177 * rt/bits/mqueue2.h: Likewise.
1178 * rt/mqueue.h: Likewise.
1179 * posix/bits/unistd.h: Likewise.
1180 * posix/unistd.h: Likewise.
1181 * io/bits/poll2.h: Likewise.
1182 * io/bits/fcntl2.h: Likewise.
1183 * io/fcntl.h: Likewise.
1184 * io/sys/poll.h: Likewise.
1185 * misc/bits/syslog.h: Likewise.
1186 * misc/bits/syslog-ldbl.h: Likewise.
1187 * misc/sys/syslog.h: Likewise.
1188 * socket/bits/socket2.h: Likewise.
1189 * socket/sys/socket.h: Likewise.
1190 * debug/tst-chk1.c: Likewise.
1191 * wcsmbs/bits/wchar2.h: Likewise.
1192 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1193 * wcsmbs/wchar.h: Likewise.
1195 2012-04-29 Andreas Jaeger <aj@suse.de>
1197 * Makerules (tests): Remove enable-check-abi protection.
1198 (check-abi-warn): Remove.
1199 (check-abi-%): Remove check-abi-warn usage.
1201 * configure.in: Remove check-abi configure option.
1202 * configure: Regenerated.
1203 * config.make.in (enable-check-abi): Remove.
1205 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1208 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1209 double functions to double *_finite functions.
1212 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1213 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1215 * stdio-common/Makefile (tests): Add tst-sprintf3.
1216 * stdio-common/tst-sprintf3.c: New file.
1218 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1219 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1221 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1223 * conform/conformtest.pl: Remove duplicate typed-constant
1226 2012-04-28 David S. Miller <davem@davemloft.net>
1228 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1229 (check-abi-%): Remove AWK script prerequisite and explicit
1231 (check-abi): Rewrite to just diff the symlist with the abilist.
1232 (config-tls, config-abi-config): Delete, no longer used.
1233 (update-abi-%): Remove AWK script and explicit abilist directory.
1234 (update-abi): Rewrite to simply compare and conditionally copy the
1235 symlist and the sysdep abilist file. Remove update-abi-config
1237 * abilist/ld.abilist: Remove.
1238 * abilist/libBrokenLocale.abilist: Remove.
1239 * abilist/libanl.abilist: Remove.
1240 * abilist/libcrypt.abilist: Remove.
1241 * abilist/libdl.abilist: Remove.
1242 * abilist/librt.abilist: Remove.
1243 * abilist/libthread_db.abilist: Remove.
1244 * abilist/libutil.abilist: Remove.
1245 * scripts/extract-abilist.awk: Remove.
1246 * scripts/merge-abilist.awk: Remove.
1247 * sysdeps/generic/libcidn.abilist: New file.
1248 * sysdeps/generic/libnss_compat.abilist: New file.
1249 * sysdeps/generic/libnss_db.abilist: New file.
1250 * sysdeps/generic/libnss_dns.abilist: New file.
1251 * sysdeps/generic/libnss_files.abilist: New file.
1252 * sysdeps/generic/libnss_hesiod.abilist: New file.
1253 * sysdeps/generic/libnss_nis.abilist: New file.
1254 * sysdeps/generic/libnss_nisplus.abilist: New file.
1255 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1256 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1257 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1260 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1261 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1262 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1264 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1265 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1266 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1270 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1271 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1272 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1274 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1275 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1276 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1277 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1278 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1279 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1281 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1283 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
1364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
1366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
1370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
1372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
1374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
1376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
1378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
1382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
1384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
1388 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1389 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
1390 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
1392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
1393 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
1394 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
1395 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
1396 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
1397 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
1398 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
1399 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
1400 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
1401 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
1402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
1403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
1405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
1415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
1417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
1423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
1427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
1428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
1430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
1434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
1436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
1438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
1440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
1442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
1448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
1453 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1455 * conform/conformtest.pl: Fix typo in handling typed-constant from
1458 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1460 * README: Cut down references to pre-2.6 Linux kernels and
1461 Linuxthreads. Update lists of configurations in libc and ports
1462 and sort alphabetically. Say "or newer" with Linux kernel version
1465 * config.h.in [IS_IN_build]: Allow compiling without optimization.
1467 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1470 * math/libm-test.inc (logb_test_downward): New test to expose
1471 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1474 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1477 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1479 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1480 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1482 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1484 * sysdeps/unix/i386/brk.S: Remove file.
1485 * sysdeps/unix/i386/dl-brk.S: Likewise.
1486 * sysdeps/unix/i386/pipe.S: Likewise.
1487 * sysdeps/unix/i386/sigreturn.S: Likewise.
1488 * sysdeps/unix/i386/syscall.S: Likewise.
1489 * sysdeps/unix/i386/vfork.S: Likewise.
1490 * sysdeps/unix/i386/wait.S: Likewise.
1492 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1493 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1495 * configure.in (arm*-none*): Do not allow without
1496 --enable-hacker-mode.
1497 (netbsd*): Remove case setting base_os.
1498 (386bsd*): Likewise.
1499 (freebsd*): Likewise.
1503 (ultrix*): Likewise.
1504 (newsos*): Likewise.
1514 (solaris[2-9]*): Likewise.
1516 * configure: Regenerated.
1518 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1522 overflow or cancellation in calculating denominator.
1523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1525 down expression to avoid unexpected rounding in newer GCCs.
1526 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1528 2012-04-26 David S. Miller <davem@davemloft.net>
1530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1531 long-double compat symbols.
1532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1546 2012-04-25 David S. Miller <davem@davemloft.net>
1548 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1549 HWCAP_* values only after the memory barriers have been defined.
1550 (atomic_full_barrier): Define.
1551 (atomic_read_barrier): Define.
1552 (atomic_write_barrier): Define.
1554 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1556 * shlib-versions: Add libgcc_s version information.
1557 * sysdeps/generic/libgcc_s.h: Remove.
1558 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1560 * sysdeps/gnu/unwind-resume.c: Likewise.
1561 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1563 2012-04-25 David S. Miller <davem@davemloft.net>
1565 * sysdeps/unix/sparc/brk.S: Delete.
1566 * sysdeps/unix/sparc/dl-brk.S: Delete.
1567 * sysdeps/unix/sparc/pipe.S: Delete.
1568 * sysdeps/unix/sparc/sysdep.S: Delete.
1569 * sysdeps/unix/sparc/sysdep.h: Delete.
1570 * sysdeps/unix/sparc/vfork.S: Delete.
1571 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1572 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1574 ret_ERRVAL, r0, r1, MOVE): Define.
1575 (JUMPTARGET): Remove.
1576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1577 sysdeps/unix/sparc/sysdep.h
1578 (ENTRY, END): Remove.
1579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1581 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1583 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1584 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1587 * timezone/README: Update upstream location and email address for
1589 * timezone/zdump.c: Update from tzcode 2012b.
1590 * timezone/zic.c: Likewise.
1592 * configure.in (libc_cv_as_needed): Remove test.
1593 * configure: Regenerated.
1594 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1595 conditional definition.
1596 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1597 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1598 * config.make.in (have-as-needed): Remove variable.
1600 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1601 Paul Pluzhnikov <ppluzhnikov@google.com>
1603 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1606 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1608 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1609 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1610 * sysdeps/sh/strlen.S: Likewise.
1612 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1614 * sysdeps/unix/fork.S: Remove file.
1615 * sysdeps/unix/i386/fork.S: Likewise.
1616 * sysdeps/unix/sparc/fork.S: Likewise.
1618 * sysdeps/unix/system.c: Remove file.
1619 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1621 * sysdeps/unix/getegid.S: Remove file.
1622 * sysdeps/unix/geteuid.S: Likewise.
1624 2012-04-24 Roland McGrath <roland@hack.frob.com>
1626 * scripts/check-localplt.awk: New file.
1627 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1629 * scripts/data/localplt-generic.data: Add a comment.
1631 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1632 NODE when __dir_mkfile failed.
1633 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1634 Reported by Ludovic Courtès <ludo@gnu.org>.
1636 2012-04-24 Andreas Jaeger <aj@suse.de>
1638 * Makerules (common-clean): Also remove gen-as-const-headers
1641 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1643 * Makerules (native-compile): Do not change working directory for
1644 build. Use $(OUTPUT_OPTION) in command.
1645 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1647 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1651 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1652 * math/libm-test.inc (floor_test): Add more tests.
1653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1655 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1657 * sysdeps/unix/getdents.c: Remove file.
1658 * sysdeps/unix/sysv/getdents.c: Likewise.
1659 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1661 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1662 sysdeps/unix/mman/syscalls.list.
1664 (mprotect): Likewise.
1667 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1668 * sysdeps/unix/mman/syscalls.list: Remove.
1669 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1671 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1672 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1673 * configure: Regenerated.
1674 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1676 * config.make.in (libgcc_s_suffix): Remove variable.
1678 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1680 * sysdeps/unix/sysv/gethostname.c: Move to ...
1681 * sysdeps/posix/gethostname.c: ... here.
1683 * sysdeps/unix/execve.S: Remove file.
1685 * sysdeps/unix/_exit.S: Remove file.
1687 2012-04-23 Andreas Jaeger <aj@suse.de>
1690 * manual/Makefile: Remove make dist support, there's no
1691 need for a stand-alone documentation tar ball.
1692 (TEXI2DVI): Define always, it's not in Makeconfig.
1696 (glibc-doc-$(edition).tar): Removed
1700 (ETAGS): Remove, it's in Makeconfig.
1701 (move-if-change): Remove, it's in Makeconfig.
1703 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1706 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1707 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1708 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1709 (strtod_l, strtof_l, strtold_l): Remove __wur.
1710 It is not necessarily an error to ignore strtol's return value.
1711 One can reliably look at the stored endptr to decide whether
1712 the number had valid syntax.
1714 2012-04-21 Andreas Jaeger <aj@suse.de>
1717 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1719 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1721 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1722 * sysdeps/unix/sysv/Versions: Remove file.
1724 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1729 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1733 version from __vm86.
1735 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1737 * sysdeps/unix/common/lxstat.c: Remove file.
1738 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1740 * sysdeps/unix/sysv/Makefile: Remove file.
1742 * sysdeps/unix/sysv/direct.h: Remove file.
1744 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1745 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1746 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1747 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1748 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1749 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1750 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1752 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1754 * sysdeps/unix/xmknod.c: Remove file.
1755 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1757 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1759 * sysdeps/unix/sysv/i386/time.S: Remove file.
1761 * sysdeps/unix/fxstat.c: Remove file.
1762 * sysdeps/unix/xstat.c: Likewise.
1763 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1765 * sysdeps/unix/sysv/sigaction.c: Remove file.
1767 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1768 (sysdep_headers): Remove variable.
1769 [termio.h not in sysdep_headers] (generated): Likewise.
1770 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1771 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1772 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1773 * sysdeps/unix/sysv/tcflow.c: Likewise.
1774 * sysdeps/unix/sysv/tcflush.c: Likewise.
1775 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1776 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1777 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1778 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1779 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1781 * sysdeps/unix/siglist.c: Remove file.
1783 * sysdeps/unix/getppid.S: Remove file.
1785 * sysdeps/unix/mkdir.c: Remove file.
1786 * sysdeps/unix/rmdir.c: Likewise.
1788 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1790 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1792 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1793 errlist-compat value.
1795 2012-04-18 David S. Miller <davem@davemloft.net>
1797 * sysdeps/generic/memcopy.h (reg_char): Delete.
1798 * debug/strcat_chk.c: Use char, not reg_char.
1799 * debug/strcpy_chk.c: Likewise.
1800 * debug/strncat_chk.c: Likewise.
1801 * debug/strncpy_chk.c: Likewise.
1802 * string/memchr.c: Likewise.
1803 * string/memrchr.c: Likewise.
1804 * string/rawmemchr.c: Likewise.
1805 * string/strcat.c: Likewise.
1806 * string/strchr.c: Likewise.
1807 * string/strchrnul.c: Likewise.
1808 * string/strcmp.c: Likewise.
1809 * string/strcpy.c: Likewise.
1810 * string/strncat.c: Likewise.
1811 * string/strncmp.c: Likewise.
1812 * string/strncpy.c: Likewise.
1814 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1816 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1817 __builtin_memcopy is called when src and dest ranges are known to not
1820 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1823 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1824 fwd_align_merge macro call.
1825 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1826 bwd_align_merge macro call.
1827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1829 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1832 bwd_align_merge macros.
1833 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1834 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1837 2012-04-18 David S. Miller <davem@davemloft.net>
1839 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1841 2012-04-18 Andreas Jaeger <aj@suse.de>
1844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1845 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1849 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1852 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1853 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1854 Adjust for changed ldbl-128 files.
1856 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1857 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1860 2012-04-17 David S. Miller <davem@davemloft.net>
1862 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1864 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1866 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1867 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1868 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1869 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1870 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1871 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1873 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1877 * math/libm-test.inc: Add ilogb errno and exception tests.
1878 * math/w_ilogb.c: New file: ilogb wrapper.
1879 * math/w_ilogbf.c: New file: ilogbf wrapper.
1880 * math/w_ilogbl.c: New file: ilogbl wrapper.
1881 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1882 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1883 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1884 exception being thrown with 0.0 as argument.
1885 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1886 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1887 exception being thrown with 0.0 as argument.
1888 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1889 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1890 exception being thrown with 0.0 as argument.
1891 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1892 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1893 exception being thrown with 0.0 as argument.
1894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1895 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1897 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1898 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1899 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1900 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1901 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1902 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1904 2012-04-17 Petr Baudis <pasky@ucw.cz>
1906 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1909 2012-04-16 Marek Polacek <polacek@redhat.com>
1911 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1913 2012-04-16 Marek Polacek <polacek@redhat.com>
1915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1916 operands of fdivp instruction.
1918 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1920 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1921 * elf/tst-auditmod3b.c: Likewise.
1922 * elf/tst-auditmod4b.c: Likewise.
1923 * elf/tst-auditmod5b.c: Likewise.
1924 * elf/tst-auditmod6b.c: Likewise.
1925 * elf/tst-auditmod6c.c: Likewise.
1926 * elf/tst-auditmod7b.c: Likewise.
1927 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1928 * sysdeps/x86_64/preconfigure.in: Likewise.
1929 * sysdeps/x86_64/preconfigure: Regenerated.
1931 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1933 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1936 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1939 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1941 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1944 * locale/iso-639.def: Fix gl language name. Spotted by
1947 2012-04-12 Roland McGrath <roland@hack.frob.com>
1950 * libio/libio.h (__io_write_fn): Update comment.
1952 2012-04-12 Petr Baudis <pasky@ucw.cz>
1955 * stdio.texi (Hook Functions): The user provided writer function
1956 is not allowed to return -1.
1958 2012-04-11 David S. Miller <davem@davemloft.net>
1960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1962 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1964 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1965 Add a leading slash to rtkaio.
1967 2012-04-11 Jim Meyering <meyering@redhat.com>
1970 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1971 It is not necessarily an error to ignore fwrite's return
1972 value. One can reliably use ferror to test for errors after
1975 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1977 * bits/types.h (__snseconds_t): New type.
1978 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1980 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1982 (__SNSECONDS_T_TYPE): Likewise.
1983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1984 (__SNSECONDS_T_TYPE): Likewise.
1985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1986 (__SNSECONDS_T_TYPE): Likewise.
1988 2012-04-10 Andreas Jaeger <aj@suse.de>
1991 * manual/time.texi (Processor Time): Return type of times is
1992 elapsed real time since an arbitrary point in the past.
1993 (CPU Time): Move CLK_TCK from here...
1994 (Processor Time): ...to here. Correct description.
1995 * manual/conf.texi (Constants for Sysconf): Correct description of
1998 2012-04-10 David S. Miller <davem@davemloft.net>
2001 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2002 where the is a gap between DT_REL(A) and DT_JMPREL.
2004 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2006 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2007 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2008 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2010 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2012 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2013 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2014 (dl_main): Handle --inhibit-cache.
2015 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2017 * elf/dl-load.c (_dl_map_object): Use it.
2018 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2020 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2023 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2024 (__ieee754_powl): Saturate large exponents rather than testing for
2025 overflow of y*log2(x).
2026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2027 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2031 * math/s_ctan.c: Include <float.h>.
2032 (__ctan): Avoid internal overflow or cancellation in calculating
2034 * math/s_ctanf.c: Likewise.
2035 * math/s_ctanl.c: Likewise.
2036 * math/s_ctanh.c: Likewise.
2037 * math/s_ctanhf.c: Likewise.
2038 * math/s_ctanhl.c: Likewise.
2039 * math/libm-test.inc (ctan_test): Add more tests.
2040 (ctanh_test): Likewise.
2041 * sysdeps/i386/fpu/libm-test-ulps: Update.
2042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2044 2012-04-09 Andreas Jaeger <aj@suse.de>
2047 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2048 is an optional BSD extension.
2051 * manual/stdio.texi (Opening Streams): Document additional fopen
2054 2012-04-09 Roland McGrath <roland@hack.frob.com>
2056 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2057 %eax without telling the compiler.
2059 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2062 * manual/install.texi: Use sourceware.org.
2064 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2067 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2068 (__ieee754_pow): Generate overflow and underflow using huge*huge
2069 and tiny*tiny rather than just returning constant infinity or zero
2070 for large exponents.
2071 * math/libm-test.inc (pow_test): Require overflow exceptions for
2072 applicable cases of large exponents.
2075 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2076 (__ieee754_pow): Use iterative multiplication algorithm only for
2077 integer exponents with absolute value below 1024. Check for odd
2078 integer exponents when using algorithm for real exponents.
2079 * math/libm-test.inc (pow_test): Add more tests.
2080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2082 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2085 * math/libm-test.inc (exp_test): Do not allow overflow exception
2088 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2091 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2092 instead of __kernel_standard_f.
2094 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2096 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2097 * sysdeps/x86_64/memset_chk.S: Likewise.
2099 2012-04-08 Andreas Jaeger <aj@suse.de>
2102 * manual/startup.texi (Environment Access): Describe return value
2103 for putenv and setenv.
2106 * manual/filesys.texi (Directory Entries): Add description for
2110 * manual/filesys.texi (Directory Entries): Clarify that it's file
2111 system not operating system in the description of DT_UNKNOWN.
2114 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2116 2012-04-08 Stephen Compall <s11@member.fsf.org>
2119 * manual/llio.texi (Opening and Closing Files): Add cross
2120 reference to explain mode argument.
2122 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2124 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2125 * sysdeps/x86_64/memset_chk.S: Likewise.
2127 2012-04-07 David S. Miller <davem@davemloft.net>
2129 * elf/elf.h (R_SPARC_WDISP10): Define.
2130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2133 R_SPARC_SIZE64 and R_SPARC_H34.
2135 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2138 conditions and remove no longer applicable assertion.
2140 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2142 * bits/byteswap.h: Include <features.h>.
2143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2146 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2148 * bits/byteswap.h (__bswap_16): Removed.
2149 Include <bits/byteswap-16.h> to get __bswap_16.
2150 * sysdeps/i386/bits/byteswap.h: Likewise.
2151 * sysdeps/s390/bits/byteswap.h: Likewise.
2152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2153 * bits/byteswap-16.h: New file.
2154 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2155 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2156 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2157 * string/Makefile (headers): Add bits/byteswap-16.h.
2159 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2162 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2164 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2165 * nss/tst-nss-static.c: New.
2167 2012-04-06 Robert Millan <rmh@gnu.org>
2170 * manual/llio.texi (File Position Primitive): lseek
2171 refers to WHENCE when it really means OFFSET.
2173 2012-04-06 Andreas Jaeger <aj@suse.de>
2175 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2176 strncmp declarations.
2178 * abilist/libc.abilist: Add __poll and __ppoll.
2180 2012-04-05 David S. Miller <davem@davemloft.net>
2182 * scripts/check-local-headers.sh: Accept a host triplet in the
2183 path matched by the exclude regexp.
2185 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2187 * sysdeps/powerpc/powerpc32/dl-machine.h
2188 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2189 * sysdeps/s390/s390-32/dl-machine.h
2190 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2191 * sysdeps/sparc/sparc32/dl-machine.h
2192 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2193 * sysdeps/sparc/sparc64/dl-machine.h
2194 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2196 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2198 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2199 undefined symbol errors.
2201 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2204 2012-04-05 Michael Matz <matz@suse.de>
2207 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2209 2012-04-05 Andreas Jaeger <aj@suse.de>
2212 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2215 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2218 which ROUND is no valid rounding mode.
2220 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2222 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2224 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2226 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2228 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2229 an exception using FPU order intentionally.
2231 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2233 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2234 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2235 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2236 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2238 2012-04-05 Simon Josefsson <simon@josefsson.org>
2241 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2242 EINVAL when BUFLEN is too smal.
2244 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2247 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2248 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2250 2012-04-03 Andreas Jaeger <aj@suse.de>
2253 * manual/setjmp.texi (System V contexts): Fix sentence.
2256 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2257 New macro for this case.
2258 [!__GNUC__] (__bswap_64): New inline function for this case.
2259 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2260 * bits/byteswap.h: Likewise.
2261 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2262 ull, guard with __GLIBC_HAVE_LONG_LONG.
2264 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2265 __GLIBC_HAVE_LONG_LONG.
2267 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2268 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2270 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2273 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2274 inptr and inend, rather than using last_ch.
2276 2012-04-02 David S. Miller <davem@davemloft.net>
2278 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2279 * stdio-common/printf-parse.h (read_int): Change return type to
2280 'int', return -1 on INT_MAX overflow.
2281 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2282 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2283 overflows INT_MAX. Check for overflow of in-format-string precision
2284 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2285 SIZE_MAX not INT_MAX for integer overflow test.
2286 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2287 skip the construct in the format string but do not record anything.
2288 * stdio-common/bug22.c: Adjust to test both width/prevision
2289 INT_MAX overflow as well as total length INT_MAX overflow. Check
2290 explicitly for proper errno values.
2292 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2294 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2296 * string/test-strcmp.c [! WIDE]: Likewise.
2297 * time/tst-mktime2.c: Likewise for INT_MAX.
2298 * string/test-string.h: #include <sys/param.h> for MIN.
2300 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2301 * sysdeps/i386/init-first.c (init): Likewise.
2302 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2303 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2304 * sysdeps/sh/init-first.c (init): Likewise.
2306 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2308 * po/ru.po: Update from translation team.
2309 * po/vi.po: Likewise.
2311 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2313 * resolv/nss_dns/dns-host.c: Merge copyright years.
2315 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2318 Optimize memcpy with prefetch if
2319 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2320 src, dst pointers have unequal 16 byte alignments.
2322 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2325 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2326 from a CNAME entry and return the minimum ttl for the query.
2327 (gaih_getanswer_slice): Likewise.
2329 2012-03-30 Jeff Law <law@redhat.com>
2331 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2333 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2334 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2336 * resolv/nss_dns/dns-host.c: Update copyright year.
2338 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2340 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
2341 requests to save a system call. Fix check that all bytes are sent.
2343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2344 comments for sendmmsg.
2346 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2350 with only 1 character between 0x0041 and 0x01b0.
2351 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2352 * wcsmbs/tst-mbsnrtowcs.c: New file.
2354 2012-03-29 David S. Miller <davem@davemloft.net>
2356 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2357 small copies by hand.
2359 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2362 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
2363 _nss_compat_initgroups_dyn): Fall back to malloc/free
2364 for large group memberships.
2366 2012-03-28 David S. Miller <davem@davemloft.net>
2368 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
2369 that branches into memcpy.
2370 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2373 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
2376 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
2378 * sysdeps/sparc/mempcpy.S: New file.
2380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
2381 the IFUNC routine in the libc case.
2382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
2385 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
2386 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
2387 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
2388 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
2389 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
2390 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
2391 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2393 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
2394 loop to 256 bytes instead of 64 bytes and fix test signedness.
2396 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
2397 * sysdeps/sparc/sparc32/Makefile: rather than here...
2398 * sysdeps/sparc/sparc64/Makefile: and here.
2400 2012-03-28 Ulrich Drepper <drepper@gmail.com>
2402 * malloc/mallocbug.c: Avoid warnings about unused variables.
2404 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2407 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
2408 in the right place. Discard and retry query if response is
2409 larger than input buffer size.
2411 2012-03-28 Joseph Myers <joseph@codesourcery.com>
2416 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
2417 x for large integer exponent.
2418 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2419 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
2420 sign of result as needed afterwards.
2421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2422 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
2423 result for underflowing pow the same as for overflow.
2424 (__kernel_standard_l): Handle powl overflow and underflow here
2425 rather than calling __kernel_standard.
2426 * math/libm-test.inc (pow_test): Add more tests.
2441 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
2442 * sysdeps/ieee754/k_standard.c: Include <float.h>.
2443 (__kernel_standard_l): New function.
2444 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
2446 * math/w_acosl.c (__acosl): Likewise.
2447 * math/w_asinl.c (__asinl): Likewise.
2448 * math/w_atan2l.c (__atan2l): Likewise.
2449 * math/w_atanhl.c (__atanhl): Likewise.
2450 * math/w_coshl.c (__coshl): Likewise.
2451 * math/w_exp10l.c (__exp10l): Likewise.
2452 * math/w_exp2l.c (__exp2l): Likewise.
2453 * math/w_fmodl.c (__fmodl): Likewise.
2454 * math/w_hypotl.c (__hypotl): Likewise.
2455 * math/w_j0l.c (__j0l, __y0l): Likewise.
2456 * math/w_j1l.c (__j1l, __y1l): Likewise.
2457 * math/w_jnl.c (__jnl, __ynl): Likewise.
2458 * math/w_lgammal.c (__lgammal): Likewise.
2459 * math/w_log10l.c (__log10l): Likewise.
2460 * math/w_log2l.c (__log2l): Likewise.
2461 * math/w_logl.c (__logl): Likewise.
2462 * math/w_powl.c (__powl): Likewise.
2463 * math/w_remainderl.c (__remainderl): Likewise.
2464 * math/w_scalbl.c (sysv_scalbl): Likewise.
2465 * math/w_sinhl.c (__sinhl): Likewise.
2466 * math/w_sqrtl.c (__sqrtl): Likewise.
2467 * math/w_tgammal.c (__tgammal): Likewise.
2468 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
2469 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
2470 * math/libm-test.inc (acos_test): Add more tests.
2471 (acosh_test): Likewise.
2472 (asin_test): Likewise.
2473 (atanh_test): Likewise.
2474 (exp_test): Likewise.
2475 (exp10_test): Likewise.
2476 (exp2_test): Likewise.
2477 (expm1_test): Likewise.
2478 (lgamma_test): Likewise.
2479 (log_test): Likewise.
2480 (log10_test): Likewise.
2481 (log1p_test): Likewise.
2482 (log2_test): Likewise.
2483 (pow_test): Do not allow some spurious overflow exceptions.
2484 (sqrt_test): Add more tests.
2485 (tgamma_test): Likewise.
2486 (y0_test): Likewise.
2487 (y1_test): Likewise.
2488 (yn_test): Likewise.
2490 2012-03-27 Anton Blanchard <anton@samba.org>
2492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2494 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2496 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2498 2012-03-27 David S. Miller <davem@davemloft.net>
2500 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2502 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2505 2012-03-27 Andreas Jaeger <aj@suse.de>
2507 * sysdeps/x86_64/elf/configure.in: Moved to ...
2508 * sysdeps/x86_64/configure.in: ... here.
2509 * sysdeps/x86_64/elf/start.S: Moved to ...
2510 * sysdeps/x86_64/start.S: ... here.
2511 * sysdeps/x86_64/elf/configure: Delete.
2513 * sysdeps/x86_64/configure.in: Merge contents from
2514 sysdeps/i386/configure.in (without i686 check).
2516 * sysdeps/i386/elf/Versions: Merge into ...
2517 * sysdeps/i386/Versions: ... this.
2518 * sysdeps/i386/elf/Versions: Delete file.
2519 * sysdeps/i386/elf/start.S: Moved to ...
2520 * sysdeps/i386/start.S: ...here.
2521 * sysdeps/i386/elf/configure.in: Merge into...
2522 * sysdeps/i386/configure.in: ...here.
2523 * sysdeps/i386/elf/configure.in: Delete file.
2524 * sysdeps/i386/elf/configure: Delete file.
2526 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2527 * debug/backtracesyms.c: ... here.
2528 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2529 * debug/backtracesymsfd.c: ... here.
2530 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2531 * sysdeps/generic/ifunc-sel.h: ... here.
2533 * sysdeps/unix/i386/start.c: Delete file.
2534 * sysdeps/unix/sparc/start.c: Delete file.
2535 * sysdeps/unix/start.c: Delete file.
2537 * sysdeps/sh/elf/configure.in: Moved to ...
2538 * sysdeps/sh/configure.in: ... here.
2539 * sysdeps/sh/elf/start.S: Moved to ...
2540 * sysdeps/sh/start.S: ... here.
2541 * sysdeps/sh/elf/configure: Delete file.
2543 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2544 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2545 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2546 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2547 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2548 * sysdeps/powerpc/powerpc64/start.S: here.
2549 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2550 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2551 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2552 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2553 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2555 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2556 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2557 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2558 * sysdeps/powerpc/powerpc32/start.S: ... here.
2559 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2560 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2561 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2563 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2564 * sysdeps/powerpc/ifunc-sel.h: ... here.
2565 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2566 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2568 * sysdeps/sparc/elf/configure.in: Moved to ...
2569 * sysdeps/sparc/configure.in: ... here.
2570 * sysdeps/sparc/elf/configure: Delete file.
2571 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2572 * sysdeps/sparc/sparc32/start.S: ... here.
2573 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2574 * sysdeps/sparc/sparc64/start.S: ... here.
2575 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2576 * sysdeps/sparc/sparc32/Makefile: ... this.
2577 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2578 * sysdeps/sparc/sparc64/Makefile: ... this.
2580 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2581 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2582 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2583 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2584 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2585 * sysdeps/s390/s390-32/setjmp.S: ... here.
2586 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2587 * sysdeps/s390/s390-32/configure.in: ... here.
2588 * sysdeps/s390/s390-32/elf/configure: Delete file.
2589 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2590 * sysdeps/s390/s390-32/start.S: ... here.
2592 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2593 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2594 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2595 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2596 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2597 * sysdeps/s390/s390-64/setjmp.S: ... here.
2598 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2599 * sysdeps/s390/s390-64/configure.in: ... here
2600 * sysdeps/s390/s390-64/elf/configure: Delete file.
2601 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2602 * sysdeps/s390/s390-64/start.S: ... here.
2603 * sysdeps/s390/s390-64/elf/configure: Delete.
2605 * configure.in: Remove support for elf directories in sysdeps.
2607 * configure: Regenerated.
2608 * sysdeps/i386/configure: Regenerated.
2609 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2610 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2611 * sysdeps/s390/s390-32/configure: Regenerated.
2612 * sysdeps/s390/s390-64/configure: Regenerated.
2613 * sysdeps/sh/configure: Regenerated.
2614 * sysdeps/sparc/configure: Regenerated.
2615 * sysdeps/x86_64/configure: Regenerated.
2617 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2622 denormal result into account.
2624 2012-03-25 Roland McGrath <roland@hack.frob.com>
2626 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2627 Reported by Allan McRae <allan@archlinux.org>.
2629 2012-03-23 Jeff Law <law@redhat.com>
2631 * nss/getnssent.c (__nss_getent): Fix typo.
2633 2012-03-23 David S. Miller <davem@davemloft.net>
2635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2637 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2639 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2640 to pad to uint64_t for each field.
2641 (dl_tls_index): Replace unsigned long with uint64_t.
2643 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2644 Paul Pluzhnikov <ppluzhnikov@google.com>
2647 * grp/Makefile (otherlibs): Don't set it.
2648 * inet/Makefile (otherlibs): Likewise.
2649 * login/Makefile (otherlibs): Likewise.
2650 * nscd/Makefile (otherlibs): Likewise.
2651 * posix/Makefile (otherlibs): Likewise.
2652 * pwd/Makefile (otherlibs): Likewise.
2653 * rt/Makefile (otherlibs): Likewise.
2654 * sunrpc/Makefile (otherlibs): Likewise.
2655 * nss/Makefile (otherlibs): Likewise.
2656 Add libnss_files to routines and static-only-routines.
2657 ($(objpfx)getent): Remove rule.
2658 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2659 static-only-routines.
2661 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2664 * math/s_cexp.c: Include <float.h>.
2665 (__cexp): Handle exp result overflowing not necessarily
2666 overflowing both real and imaginary parts of result.
2667 * math/s_cexpf.c: Likewise.
2668 * math/s_cexpl.c: Likewise.
2669 * math/libm-test.inc (cexp_test): Add more tests.
2670 * sysdeps/i386/fpu/libm-test-ulps: Update.
2671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2673 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2675 * include/link.h (ELFW): New macro.
2676 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2677 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2679 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2681 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2684 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2686 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2688 (struct La_x32_retval): Likewise.
2690 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2692 * sysdeps/x86_64/preconfigure.in: New file.
2693 * sysdeps/x86_64/preconfigure: New generated file.
2695 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2698 * math/e_exp2l.c: Include <float.h>.
2699 (__ieee754_exp2l): Handle overflow and underflow cases
2700 separately. Only pass fractional part of argument to
2702 * math/libm-test.inc (exp2_test): Add more tests.
2704 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2705 negating x to take absolute value.
2706 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2711 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2712 computing low part if x was negated.
2713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2715 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2717 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2719 (pltexit): Cast int_retval to ptrdiff_t.
2720 * elf/tst-auditmod3b.c: Likewise.
2721 * elf/tst-auditmod4b.c: Likewise.
2722 * elf/tst-auditmod5b.c: Likewise.
2723 * elf/tst-auditmod6b.c: Likewise.
2724 * elf/tst-auditmod6c.c: Likewise.
2725 * elf/tst-auditmod7b.c: Likewise.
2727 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2728 and x32_gnu_pltexit.
2730 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2732 (La_x32_regs): New macro.
2733 (La_x32_retval): Likewise.
2734 (la_x32_gnu_pltenter): New function prototype.
2735 (la_x32_gnu_pltexit): Likewise.
2737 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2744 * configure.in (libc_cv_cc_nofma): Check for option to disable
2745 generation of FMA instructions.
2746 * configure: Regenerate.
2747 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2748 * sysdeps/ieee754/dbl-64/Makefile: New file.
2749 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2750 Remove brandred-fma4.
2751 (CFLAGS-brandred-fma4.c): Remove.
2752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2755 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2758 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2760 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2761 LLONG_MAX != LONG_MAX.
2762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2763 (_fitoa_word): Likewise.
2764 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2765 LLONG_MAX != LONG_MAX.
2766 * stdio-common/_itowa.h: Include <_itoa.h>.
2767 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2768 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2769 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2770 only if not defined.
2771 (_ITOA_WORD_TYPE): Likewise.
2772 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2773 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2775 2012-03-21 David S. Miller <davem@davemloft.net>
2777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2779 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2781 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2782 of x86_64 when setting libc_cv_slibdir, libdir and
2784 * sysdeps/unix/sysv/linux/configure: Regenerated.
2786 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2788 * manual/lang.texi (Old Varargs): Remove section.
2789 (How Variadic): Update menu.
2790 (va_start): Do not mention varargs.h.
2792 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2793 Joseph Myers <joseph@codesourcery.com>
2795 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2797 * configure: Regenerated.
2799 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2801 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2802 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2805 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2808 * Makefile (files-for-dist): Remove NOTES.
2809 (NOTES): Remove rule.
2810 * README: Don't refer to NOTES.
2811 * manual/creature.texi: Don't include macros.texi.
2812 * manual/intro.texi (creature.texi): Remove comment referring to
2815 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2816 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2817 * configure: Regenerated.
2818 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2820 (libc_cv_as_i686): Likewise.
2821 (libc_cv_cc_avx): Likewise.
2822 (libc_cv_cc_sse2avx): Likewise.
2823 (libc_cv_cc_fma4): Likewise.
2824 (libc_cv_cc_novzeroupper): Likewise.
2825 * sysdeps/i386/configure: Regenerated.
2828 * sysdeps/i386/fpu/s_cexp.S: Remove.
2829 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2830 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2831 * math/libm-test.inc (cexp_test): Add more tests.
2832 * sysdeps/i386/fpu/libm-test-ulps: Update.
2833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2835 2012-03-21 Allan McRae <allan@archlinux.org>
2837 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2839 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2842 * math/w_exp2.c: Do not include <float.h>.
2843 (o_threshold, u_threshold): Remove.
2844 (__exp2): Calculate result before checking finiteness and calling
2846 * math/w_exp2f.c: Likewise.
2847 * math/w_exp2l.c: Likewise.
2848 * math/libm-test.inc (exp2_test): Require overflow exception for
2852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2853 range of signed 64-bit integers before using fistpll. Remove
2854 checks for whether integers fit in mantissa bits.
2855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2856 the range of signed 32-bit integers before using fistpl. Remove
2857 checks for whether integers fit in mantissa bits.
2858 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2859 (__ieee754_powl): Test for y outside the range of signed 64-bit
2860 integers before using fistpll. Reduce 64-bit values to 63-bit
2862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2863 divide-by-zero is raised for zero to large negative powers.
2864 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2865 (__ieee754_powl): Test for y outside the range of signed 64-bit
2866 integers before using fistpll. Reduce 64-bit values to 63-bit
2868 * math/libm-test.inc (pow_test): Add more tests.
2870 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2872 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2873 <stdio-common/_itoa.h>.
2874 * debug/segfault.c: Likewise.
2875 * elf/dl-cache.c: Likewise.
2876 * elf/dl-minimal.c: Likewise.
2877 * elf/dl-misc.c: Likewise.
2878 * elf/dl-sysdep.c: Likewise.
2879 * elf/dl-version.c: Likewise.
2880 * elf/rtld.c: Likewise.
2881 * hurd/hurdsock.c: Likewise.
2882 * hurd/lookup-retry.c: Likewise.
2883 * malloc/malloc.c: Likewise.
2884 * malloc/mtrace.c: Likewise.
2885 * nscd/nscd_getgr_r.c: Likewise.
2886 * nscd/nscd_getpw_r.c: Likewise.
2887 * nscd/nscd_getserv_r.c: Likewise.
2888 * posix/getopt_init.c: Likewise.
2889 * posix/wordexp.c: Likewise.
2890 * stdio-common/_itoa.c: Likewise.
2891 * stdio-common/printf_fphex.c: Likewise.
2892 * stdio-common/vfprintf.c: Likewise.
2893 * string/_strerror.c: Likewise.
2894 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2895 * sysdeps/i386/i686/hp-timing.h: Likewise.
2896 * sysdeps/mach/_strerror.c: Likewise.
2897 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2898 * sysdeps/mach/hurd/sethostid.c: Likewise.
2899 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2900 * sysdeps/mach/xpg-strerror.c: Likewise.
2901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2903 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2904 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2906 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2908 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2909 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2910 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2911 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2913 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2914 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2916 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2917 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2918 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2919 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2920 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2923 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2925 * stdio-common/_itoa.h: Moved to ...
2926 * sysdeps/generic/_itoa.h: Here.
2928 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2930 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2931 instead of "_itoa.h" and "_itowa.h".
2932 * stdio-common/vfprintf.: Likewise.
2934 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2936 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2938 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2939 (__signbit): Likwise.
2943 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2945 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2948 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2950 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2951 OVERFLOW_EXCEPTION_OK.
2952 * math/libm-test.inc ("Philosophy"): Update comment about
2954 (OVERFLOW_EXCEPTION): Define.
2955 (OVERFLOW_EXCEPTION_OK): Likewise.
2956 (INVALID_EXCEPTION_OK): Renumber.
2957 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2958 (IGNORE_ZERO_INF_SIGN): Likewise.
2959 (test_exceptions): Handle FE_OVERFLOW.
2960 (exp10_test): Expect overflow exceptions.
2961 (exp2_test): Likewise.
2962 (expm1_test): Likewise.
2963 (nextafter_test): Likewise.
2964 (pow_test): Likewise.
2965 (scalbn_test): Likewise.
2966 (scalbln_test): Likewise.
2968 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2970 * sysdeps/x86_64/bits/atomic.h
2971 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2973 (atomic_exchange_acq): Likewise.
2974 (__arch_exchange_and_add_body): Likewise.
2975 (__arch_add_body): Likewise.
2976 (atomic_add_negative): Likewise.
2977 (atomic_add_zero): Likewise.
2979 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2981 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2982 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2986 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2987 Check __x86_64__ instead of __WORDSIZE.
2989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2991 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2993 2012-03-19 David S. Miller <davem@davemloft.net>
2995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2997 * sysdeps/sparc/fpu/fenv_private.h: New file.
2998 * sysdeps/sparc/fpu/math_private.h: Use it.
2999 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3001 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3002 (libc_feholdexcept_setroundl): Remove.
3003 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3005 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3006 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3008 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3010 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3011 int64_t instead of long int.
3012 (INSERT_WORDS64): Likwise.
3014 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3016 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3017 _Unwind_GetCFA return to _Unwind_Ptr first.
3019 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3022 * math/s_clog.c: Include <float.h>.
3023 (__clog): Scale large or subnormal inputs.
3024 * math/s_clogf.c: Likewise.
3025 * math/s_clogl.c: Likewise.
3026 * math/s_clog10.c: Include <float.h>.
3027 (M_LOG10_2): Define.
3028 (__clog10): Scale large or subnormal inputs.
3029 * math/s_clog10f.c: Likewise.
3030 * math/s_clog10l.c: Likewise.
3031 * math/libm-test.inc (clog_test): Add more tests.
3032 (clog10_test): Likewise.
3033 * sysdeps/i386/fpu/libm-test-ulps: Update.
3034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3037 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3039 * math/libm-test.inc (atan2_test): Add another test.
3041 * Makerules (common-objdir-compile): Remove.
3042 * sysdeps/unix/Makefile (config-generated): Do not add
3043 $(unix-generated) to variable.
3044 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3045 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3047 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3049 [generic bits/local_lim.h] (before-compile): Do not append to
3051 [generic bits/local_lim.h] (common-generated): Likewise.
3052 [generic sys/param.h] (before-compile): Do not append to variable.
3053 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3054 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3056 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3058 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3059 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3060 [generic sys/param.h] ($(addprefix
3061 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3062 [generic sys/param.h] (common-generated): Do not append to
3064 [generic sys/param.h] (sysdep_headers): Likewise.
3065 [generic bits/errno.h] (before-compile): Do not append to
3067 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3069 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3070 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3071 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3072 [generic bits/errno.h] (common-generated): Do not append to
3074 [generic bits/ioctls.h] (before-compile): Do not append to
3076 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3078 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3079 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3080 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3082 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3083 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3084 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3085 [generic bits/ioctls.h] (common-generated): Do not append to
3087 [generic sys/syscall.h] (syscall.h): Remove variable.
3088 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3090 [generic sys/syscall.h] (before-compile): Do not append to
3092 [generic sys/syscall.h] (common-generated): Likewise.
3093 * sysdeps/unix/errnos-tmpl.c: Remove file.
3094 * sysdeps/unix/errnos.awk: Likewise.
3095 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3096 * sysdeps/unix/ioctls.awk: Likewise.
3097 * sysdeps/unix/mk-local_lim.c: Likewise.
3098 * sysdeps/unix/snarf-ioctls: Likewise.
3100 2012-03-19 Richard Henderson <rth@twiddle.net>
3102 * sysdeps/i386/fpu/fenv_private.h: New file.
3103 * sysdeps/i386/fpu/math_private.h: Use it.
3104 (math_opt_barrier, math_force_eval): Remove.
3105 (libc_feholdexcept_setround_53bit): Remove.
3106 (libc_feupdateenv_53bit): Remove.
3107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3108 (math_opt_barrier, math_force_eval): Remove.
3109 (libc_feholdexcept): Remove.
3110 (libc_feholdexcept_setround): Remove.
3111 (libc_fetestexcept, libc_fesetenv): Remove.
3112 (libc_feupdateenv_test): Remove.
3113 (libc_feupdateenv, libc_feholdsetround): Remove.
3114 (libc_feresetround): Remove.
3116 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3117 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3119 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3120 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3121 (libc_feupdateenv_testl): New.
3122 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3123 (libc_feupdateenv_testf): New.
3124 (libc_feupdateenv): Use libc_feupdateenv_test.
3125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3128 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3129 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3130 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3131 (libc_feresetround_noex): New.
3132 (libc_feresetround_noexf): New.
3133 (libc_feresetround_noexl): New.
3134 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3135 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3136 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3137 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3142 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3144 SET_RESTORE_ROUND_NOEX.
3145 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3146 SET_RESTORE_ROUND_NOEXF.
3147 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3148 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3149 (libc_feholdsetroundf): New.
3150 (libc_feresetround, libc_feresetroundf): New.
3152 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3153 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3154 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3156 * sysdeps/generic/math_private.h: Include <fenv.h>.
3157 (default_libc_feholdexcept): New.
3158 (default_libc_feholdexcept_setround): New.
3159 (default_libc_fesetenv, default_libc_feupdateenv): New.
3160 (libc_feholdexcept): Only define if undefined.
3161 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3162 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3163 (libc_feholdexcept_setroundl): Likewise.
3164 (libc_feholdexcept_setround_53bit): Likewise.
3165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3166 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3167 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3168 (libc_feupdateenv_53bit): Likewise.
3169 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3170 (libc_feholdexcept): Convert from macro to inline function.
3171 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3172 (libc_fesetenv, libc_feupdateenv): Likewise.
3174 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3175 not previously defined.
3176 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3177 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3178 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3179 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3180 * sysdeps/ieee754/flt-32/math_private.h: New file.
3181 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3182 math_private.h below SET_FLOAT_WORD.
3183 (__isnan, __isinf_ns, __finite): Remove.
3184 (__isnanf, __isinf_nsf, __finitef): Remove.
3186 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3190 2012-03-17 David S. Miller <davem@davemloft.net>
3193 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3196 2012-03-16 David S. Miller <davem@davemloft.net>
3198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3202 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3204 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3205 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3206 sysdep_routines when subdir is sysvipc.
3207 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3210 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3212 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3214 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3217 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3220 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3221 (__lround): Renamed to ...
3222 (__llround): This. Replace long int with long long int.
3223 Define lround functions as aliases of llround functions.
3224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3226 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3228 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3229 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3230 adresses to uintptr_t. Replace "long int" and "unsigned long
3231 int" with "greg_t" on va_arg.
3233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3235 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3236 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3238 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3239 Move e_machine check before EI_CLASS check. Handle x32
3240 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3241 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3242 SKIP_EM_IA_64 and include
3243 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3245 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3246 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3247 (add_system_dir): New macro.
3249 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3250 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3252 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3263 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3265 * math/w_j0f.c (j0f): Likewise.
3267 * math/w_j0l.c (__j0l): Likewise.
3269 * math/w_j1.c (j1): Likewise.
3271 * math/w_j1f.c (j1f): Likewise.
3273 * math/w_j1l.c (__j1l): Likewise.
3275 * math/w_jn.c (jn): Likewise.
3277 * math/w_jnf.c (jnf): Likewise.
3279 * math/w_jnl.c (__jnl): Likewise.
3281 * math/libm-test.inc (j0_test): Add more tests.
3282 (j1_test): Likewise.
3283 (jn_test): Likewise. Add trailing semicolon to existing test.
3284 (y0_test): Likewise.
3285 (y1_test): Likewise.
3286 * sysdeps/i386/fpu/libm-test-ulps: Update.
3287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3291 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3292 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3293 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3295 (__tanl): Set errno for infinite argument.
3296 * sysdeps/i386/fpu/mptan.c: Remove.
3297 * sysdeps/i386/fpu/s_tan.S: Likewise.
3298 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3299 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3300 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3301 * math/libm-test.inc (tan_test): Add more tests and enable more
3302 tests for double and long double.
3303 * sysdeps/i386/fpu/libm-test-ulps: Update.
3304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3306 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3308 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3309 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3311 2012-03-16 Roland McGrath <roland@hack.frob.com>
3313 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3314 * configure.in: Use it for both main tree and add-ons.
3315 * configure: Regenerated.
3317 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3319 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3321 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3323 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3327 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3328 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3329 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3330 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3331 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3333 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3336 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3337 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3338 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3339 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3340 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3341 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3342 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3343 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3344 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3345 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3346 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3347 * math/libm-test.inc (cos_test): Add more tests and enable more
3348 tests for long double.
3349 (sin_test): Likewise.
3350 (sincos_test): Likewise.
3351 * sysdeps/i386/fpu/libm-test-ulps: Update.
3352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3354 2012-03-16 David S. Miller <davem@davemloft.net>
3356 * sysdeps/sparc/fpu/math_private.h: New file.
3358 2012-03-15 David S. Miller <davem@davemloft.net>
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
3363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
3366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
3367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
3368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
3369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
3370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
3372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3374 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
3375 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
3377 * sysdeps/sparc/sparc-ifunc.h: New file.
3378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
3380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
3383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
3385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
3386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
3396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
3398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
3400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
3406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
3413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
3414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
3415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
3416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
3417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
3418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
3419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
3420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
3421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
3423 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3425 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
3427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3429 2012-03-15 Andreas Jaeger <aj@suse.de>
3432 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
3433 ieee754/flt-32 implementation for sin, cos and sincos.
3434 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
3435 * sysdeps/i386/fpu/s_cosf.S: Likewise.
3436 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
3437 * sysdeps/i386/fpu/s_sinf.S: Likewise.
3438 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
3439 ieee754/flt-32 implementation for tan.
3441 * math/libm-test.inc (cos_test): Enable some large input tests for
3443 (sin_test): Likewise.
3444 (sincos_test): Likewise.
3445 (tan_test): Add tests for large input.
3447 * sysdeps/i386/fpu/libm-test-ulps: Update.
3449 2012-03-15 Andreas Jaeger <aj@suse.de>
3452 * math/libm-test.inc (cos_test): Add more test cases.
3453 (sin_test): Likewise.
3454 (sincos_test): Likewise.
3456 2012-03-15 Andreas Jaeger <aj@suse.de>
3459 * math/libm-test.inc (cos_test): Add a test case for large input
3461 (sin_test): Likewise.
3462 (sincos_test): Likewise.
3464 2012-03-15 Andreas Jaeger <aj@suse.de>,
3465 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
3469 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
3470 * sysdeps/i386/fpu/branred.c: Likewise.
3471 * sysdeps/i386/fpu/dosincos.c: Likewise.
3472 * sysdeps/i386/fpu/mpa.c: Likewise.
3473 * sysdeps/i386/fpu/s_cos.S: Likewise.
3474 * sysdeps/i386/fpu/s_sin.S: Likewise.
3475 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3476 * sysdeps/i386/fpu/sincos32.c: Likewise.
3478 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3480 (libc_feupdateenv_53bit): Define.
3481 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3483 (libc_feupdateenv_53bit): Define.
3485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3486 53 bit (without extend i386 double precision).
3488 * math/libm-test.inc (sincos_test): Add tests for large input.
3492 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3494 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3498 2012-03-15 David S. Miller <davem@davemloft.net>
3500 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3501 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3502 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3503 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3528 fmin/fmax sysdep routines.
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3531 2012-03-14 David S. Miller <davem@davemloft.net>
3533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3605 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3610 * sysdeps/sparc/configure.in: New file.
3611 * sysdeps/sparc/configure: Generate.
3612 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3613 * configure: Regenerate.
3614 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3615 * config.make.in (have-as-vis3): New.
3616 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3617 available use -Av9d instead of -Av9a.
3618 * sysdeps/sparc/sparc64/Makefile: Likewise.
3619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3634 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3635 fzeros/fnegs to load 0x80000000 into a float register instead of
3637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3639 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3643 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3644 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3645 ($(inst_includedir)/bits/syscall.h): Remove rule.
3646 ($(objpfx)bits/syscall.d): Include instead of
3647 $(objpfx)syscall-list.d.
3648 (generated): Change syscall-list.h and syscall-list.d to
3649 bits/syscall.h and bits/syscall.d.
3651 2012-03-14 Roland McGrath <roland@hack.frob.com>
3654 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3656 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3659 * math/s_csqrt.c: Include <float.h>.
3660 (__csqrt): Scale large or subnormal inputs.
3661 * math/s_csqrtf.c: Likewise.
3662 * math/s_csqrtl.c: Likewise.
3663 * math/libm-test.inc (csqrt_test): Add more tests.
3664 * sysdeps/i386/fpu/libm-test-ulps: Update.
3665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3668 * math/libm-test.inc (hypot_test): Add more tests.
3670 2012-03-13 David S. Miller <davem@davemloft.net>
3673 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3674 double-precision for the calculation instead of scaling.
3676 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3679 manipulate bits before adding and subtracting TWO52[sx].
3680 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3685 2012-03-13 David S. Miller <davem@davemloft.net>
3687 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3688 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3690 rtld-global-offsets.h
3691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3693 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3696 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3698 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3699 'err' in the ifdef scope in which it is actually used.
3701 * nss/nss_db/db-init.c: Include string.h
3703 2012-03-12 David S. Miller <davem@davemloft.net>
3705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3706 masking out of the most significant byte of random value used.
3707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3708 Fix coding style in previous change.
3710 * sysdeps/unix/sysv/linux/kernel-features.h
3711 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3712 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3714 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3717 2012-03-11 David S. Miller <davem@davemloft.net>
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3720 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3722 for 'resultvar' otherwise things get truncated on 64-bit.
3724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3725 Fix masking out of the most significant byte of random value used.
3727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3729 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3733 2012-03-09 David S. Miller <davem@davemloft.net>
3735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3736 variables with appropriate CPP guards.
3737 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3738 frame pointer, not the stack pointer. Correct layout comments. Fix test
3739 on resulting framesize and the management of the outregs buffer for pltexit.
3740 Preserve floating point return values across _dl_call_pltexit call.
3741 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3742 framesize and the management of the outregs buffer for pltexit.
3743 Preserve floating point return values across _dl_call_pltexit
3745 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3746 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3747 (print_exit): Fix format string for return register value.
3749 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3751 * sunrpc/Makefile (others): Add rpcgen.
3752 ($(objpfx)rpcgen): Remove special build rule and dependency on
3754 * sunrpc/rpcgen.c: New file.
3756 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3759 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3760 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3761 * sysdeps/i386/crti.S: Likewise.
3762 * sysdeps/i386/crtn.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3764 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3765 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3766 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3767 * sysdeps/sh/crti.S: Likewise.
3768 * sysdeps/sh/crtn.S: Likewise.
3769 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3772 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3774 * locale/programs/locfile-kw.gperf: Likewise.
3775 * locale/programs/charmap-kw.h: Regenerated.
3776 * locale/programs/locfile-kw.h: Likewise.
3779 * intl/plural.y: Replace FSF snail mail address with URL.
3780 * intl/plural.c: Regenerated.
3782 2012-03-09 Richard Henderson <rth@twiddle.net>
3784 * include/math_private.h: Remove file.
3785 * math/math_private.h: Move file ...
3786 * sysdeps/generic/math_private.h: ... here.
3788 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3789 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3790 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3792 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3793 and <math_private.h>.
3794 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3795 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3796 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3797 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3798 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3799 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3800 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3823 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3826 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3827 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3829 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3830 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3831 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3832 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3833 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3834 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3835 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3836 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3837 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3838 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3839 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3840 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3841 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3842 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3843 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3844 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3845 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3858 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3859 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3863 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3881 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3882 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3884 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3886 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3887 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3888 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3890 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3891 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3892 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3893 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3894 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3895 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3896 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3897 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3898 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3899 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3900 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3901 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3902 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3903 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3904 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3905 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3906 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3907 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3908 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3909 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3910 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3911 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3912 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3913 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3914 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3915 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3916 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3917 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3918 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3919 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3920 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3921 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3922 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3923 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3924 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3925 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3926 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3927 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3928 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3929 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3930 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3931 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3932 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3933 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3934 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3935 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3937 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3938 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3939 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3940 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3941 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3942 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3943 * sysdeps/ieee754/k_standard.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3958 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3961 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3971 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3975 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3976 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3977 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3980 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3981 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3982 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3983 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3984 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3985 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3986 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3987 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3988 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3989 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3990 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4059 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4063 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4064 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4066 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4071 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4076 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4093 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4094 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4104 * sysdeps/ieee754/s_lib_version.c: Likewise.
4105 * sysdeps/ieee754/s_matherr.c: Likewise.
4106 * sysdeps/ieee754/s_signgam.c: Likewise.
4107 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4108 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4109 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4110 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4111 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4112 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4113 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4114 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4115 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4116 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4117 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4118 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4119 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4120 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4121 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4122 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4123 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4124 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4125 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4129 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4131 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4132 * sunrpc/rpc_main.c: Likewise.
4133 * sunrpc/rpc_svcout.c: Likewise.
4135 2012-03-09 David S. Miller <davem@davemloft.net>
4137 * include/math_private.h: New file.
4139 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4141 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4142 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4143 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4144 from <bits/socket_type.h>.
4145 (enum __socket_type): Don't define here.
4146 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4151 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4154 * Makerules ($(inst_includedir)/%.h): New rule.
4155 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4156 (install-others): Remove variable setting.
4157 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4159 2012-03-08 Richard Henderson <rth@twiddle.net>
4161 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4162 from macro to inline function; merge with the
4163 !__LIBC_INTERNAL_MATH_INLINES version.
4164 (__ieee754_sqrtf): Likewise.
4166 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4168 (__rintf, __floor, __floorf): Likewise.
4170 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4171 macro to inline function.
4172 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4175 not <math/math_private.h>.
4177 2012-03-08 David S. Miller <davem@davemloft.net>
4179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4181 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4183 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4185 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4187 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4188 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4190 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4192 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4193 be defined individually, they must be defined as a block. Define
4194 S for printing a string instead of hidint the different by using a
4195 macro for adding the 'l'.
4196 * stdio-common/tst-fphex-wide.c: Adjust.
4198 2012-03-07 Marek Polacek <polacek@redhat.com>
4200 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4202 2012-03-08 Marek Polacek <polacek@redhat.com>
4205 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4206 * stdio-common/tst-fphex.c: Define a few macros to make the
4207 test reusable. Use them.
4208 * stdio-common/tst-fphex-wide.c: New file.
4210 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4213 * manual/macros.texi (gnusystems): New macro.
4214 (nongnusystems): Likewise.
4215 (gnulinuxhurdsystems): Likewise.
4216 (gnuhurdsystems): Likewise..
4217 (gnulinuxsystems): Likewise.
4218 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4219 variants of the GNU system, not "GNU system".
4220 * manual/conf.texi: Likewise.
4221 * manual/errno.texi: Likewise. Update example of errno macro
4223 * manual/filesys.texi: Likewise.
4224 (getumask): Document as specific to GNU/Hurd.
4225 * manual/install.texi: Likewise. Reword some references to
4227 * manual/intro.texi: Likewise.
4228 * manual/io.texi: Likewise.
4229 (File Name Portability): Detail which constraints are inapplicable
4230 to all GNU systems and which are only inapplicable to GNU/Hurd.
4231 * manual/job.texi: Likewise.
4232 * manual/llio.texi: Likewise.
4233 (O_NOCTTY): Document as present on GNU/Linux.
4234 * manual/maint.texi: Likewise.
4235 * manual/memory.texi: Likewise.
4236 * manual/pattern.texi: Likewise.
4237 * manual/pipe.texi: Likewise.
4238 * manual/process.texi: Likewise.
4239 * manual/resource.texi: Likewise.
4240 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4242 * manual/setjmp.texi: Likewise.
4243 * manual/signal.texi: Likewise.
4244 * manual/startup.texi: Likewise.
4245 * manual/stdio.texi: Likewise.
4246 * manual/terminal.texi: Likewise.
4247 (ONLCR): Document as POSIX.
4248 (OXTABS): Document availability on GNU/Linux as XTABS.
4249 (ONOEOT): Document availability separately from other bits.
4250 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4251 * manual/time.texi: Likewise.
4252 * manual/users.texi: Likewise.
4253 * INSTALL: Regenerated.
4254 * sysdeps/gnu/errlist.c: Regenerated.
4256 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4257 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4258 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4260 * configure: Regenerated.
4262 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4264 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4265 default includes instead of AC_HEADER_CHECK.
4266 * sysdeps/i386/configure: Regenerated.
4269 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4270 * math/s_cacoshf.c (__cacoshf): Likewise.
4271 * math/s_cacoshl.c (__cacoshl): Likewise.
4272 * math/s_casinh.c (__casinh): Set signs of result from argument.
4273 * math/s_casinhf.c (__casinhf): Likewise.
4274 * math/s_casinhl.c (__casinhl): Likewise.
4275 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4276 (casinh_test): Add more tests.
4277 * sysdeps/i386/fpu/libm-test-ulps: Update.
4278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4280 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4282 * po/zh_TW.po: Update from translation team.
4284 * login/Makefile (distribute): Remove variable.
4285 * catgets/Makefile: Likewise.
4286 * mach/Makefile: Likewise.
4287 * malloc/Makefile: Likewise.
4288 * misc/Makefile: Likewise.
4289 * iconv/Makefile: Likewise.
4290 * nscd/Makefile: Likewise.
4291 * hurd/Makefile: Likewise.
4292 * manual/Makefile: Likewise.
4293 * locale/Makefile: Likewise.
4294 * intl/Makefile: Likewise.
4295 * conform/Makefile: Likewise.
4296 * nss/Makefile: Likewise.
4297 * time/Makefile: Likewise.
4298 * soft-fp/Makefile: Likewise.
4299 * dirent/Makefile: Likewise.
4300 * gmon/Makefile: Likewise.
4301 * po/Makefile: Likewise.
4302 * rt/Makefile: Likewise.
4303 * socket/Makefile: Likewise.
4304 * math/Makefile: Likewise.
4305 * signal/Makefile: Likewise.
4306 * debug/Makefile: Likewise.
4307 * elf/Makefile: Likewise.
4308 * timezone/Makefile: Likewise.
4309 * stdlib/Makefile: Likewise.
4310 * iconvdata/Makefile: Likewise.
4311 * sunrpc/Makefile: Likewise.
4312 * io/Makefile: Likewise.
4313 * argp/Makefile: Likewise.
4314 * inet/Makefile: Likewise.
4315 * hesiod/Makefile: Likewise.
4316 * grp/Makefile: Likewise.
4317 * csu/Makefile: Likewise.
4318 * wctype/Makefile: Likewise.
4319 * crypt/Makefile: Likewise.
4320 * libio/Makefile: Likewise.
4321 * string/Makefile: Likewise.
4322 * nis/Makefile: Likewise.
4323 * resolv/Makefile: Likewise.
4324 * stdio-common/Makefile: Likewise.
4325 * wcsmbs/Makefile: Likewise.
4326 * dlfcn/Makefile: Likewise.
4327 * posix/Makefile: Likewise.
4330 * timezone/Makefile: Don't install timezone files, just the programs
4333 2012-03-06 Ulrich Drepper <drepper@gmail.com>
4335 * nss/databases.def: Add missing gshadow entry.
4337 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4339 2012-03-06 Marek Polacek <polacek@redhat.com>
4342 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4343 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4344 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4345 * stdio-common/tst-long-dbl-fphex.c: New file.
4347 2012-03-06 David S. Miller <davem@davemloft.net>
4349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4350 (set_obp_int): New function.
4351 (get_obp_int): New function.
4352 (__get_clockfreq_via_dev_openprom): Likewise.
4353 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4354 Avoid unused variable warnings on 'val' and use builtin_expect.
4355 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4357 (INLINE_CLONE_SYSCALL): Likewise.
4359 2012-03-05 David S. Miller <davem@davemloft.net>
4361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4363 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
4365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4367 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
4369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4371 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
4373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
4374 Replace gettimeofday with __vdso_gettimeofday.
4376 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4377 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
4378 __vdso_clock_gettime and __vdso_getcpu.
4380 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
4381 time with __vdso_time.
4383 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4385 * manual/lang.texi (size_t): Note types to which size_t may be
4386 equivalent with the GNU C Library, but do not describe when
4387 differences between them are significant.
4389 2012-03-05 Andreas Jaeger <aj@suse.de>
4391 * sysdeps/i386/fpu/libm-test-ulps: Update.
4393 2012-03-05 Joseph Myers <joseph@codesourcery.com>
4396 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
4397 (__ieee754_pow): Save and restore rounding mode and use
4398 round-to-nearest for main computations.
4399 * math/libm-test.inc (pow_test_tonearest): New function.
4400 (pow_test_towardzero): Likewise.
4401 (pow_test_downward): Likewise.
4402 (pow_test_upward): Likewise.
4403 (main): Call the new functions.
4404 * sysdeps/i386/fpu/libm-test-ulps: Update.
4405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4408 * math/libm-test.inc (cosh_test_tonearest): New function.
4409 (cosh_test_towardzero): Likewise.
4410 (cosh_test_downward): Likewise.
4411 (cosh_test_upward): Likewise.
4412 (sinh_test_tonearest): Likewise.
4413 (sinh_test_towardzero): Likewise.
4414 (sinh_test_downward): Likewise.
4415 (sinh_test_upward): Likewise.
4416 (main): Call the new functions.
4417 * sysdeps/i386/fpu/libm-test-ulps: Update.
4418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4420 2012-03-05 Tom de Vries <tom@codesourcery.com>
4422 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
4423 default stack guard is set in last bytes.
4424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
4426 2012-03-05 Kees Cook <keescook@chromium.org>
4428 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
4431 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
4432 possibly allocate from heap instead of stack.
4433 * stdio-common/bug-vfprintf-nargs.c: New file.
4434 * stdio-common/Makefile (tests): Add nargs overflow test.
4436 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
4438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4440 2012-03-03 Marek Polacek <polacek@redhat.com>
4442 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
4443 * math/math_private.h: Likewise.
4444 * stdlib/tst-strtod.c: Likewise.
4445 * sysdeps/i386/i486/bits/atomic.h: Likewise.
4446 * sysdeps/x86_64/bits/atomic.h: Likewise.
4448 2012-03-02 David S. Miller <davem@davemloft.net>
4450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
4451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
4452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
4453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
4454 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
4455 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
4456 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
4457 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
4459 2012-03-02 Roland McGrath <roland@hack.frob.com>
4462 * manual/examples/README: New file, says the example source files
4463 can be used under GPL>=2.
4464 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
4465 line containing just "*/".
4466 * manual/examples/add.c: Add copyright header (GPL>=2).
4467 * manual/examples/argp-ex1.c: Likewise.
4468 * manual/examples/argp-ex2.c: Likewise.
4469 * manual/examples/argp-ex3.c: Likewise.
4470 * manual/examples/argp-ex4.c: Likewise.
4471 * manual/examples/atexit.c: Likewise.
4472 * manual/examples/db.c: Likewise.
4473 * manual/examples/dir.c: Likewise.
4474 * manual/examples/dir2.c: Likewise.
4475 * manual/examples/execinfo.c: Likewise.
4476 * manual/examples/filecli.c: Likewise.
4477 * manual/examples/filesrv.c: Likewise.
4478 * manual/examples/fmtmsgexpl.c: Likewise.
4479 * manual/examples/genpass.c: Likewise.
4480 * manual/examples/inetcli.c: Likewise.
4481 * manual/examples/inetsrv.c: Likewise.
4482 * manual/examples/isockad.c: Likewise.
4483 * manual/examples/longopt.c: Likewise.
4484 * manual/examples/memopen.c: Likewise.
4485 * manual/examples/memstrm.c: Likewise.
4486 * manual/examples/mkfsock.c: Likewise.
4487 * manual/examples/mkisock.c: Likewise.
4488 * manual/examples/mygetpass.c: Likewise.
4489 * manual/examples/pipe.c: Likewise.
4490 * manual/examples/popen.c: Likewise.
4491 * manual/examples/rprintf.c: Likewise.
4492 * manual/examples/search.c: Likewise.
4493 * manual/examples/select.c: Likewise.
4494 * manual/examples/setjmp.c: Likewise.
4495 * manual/examples/sigh1.c: Likewise.
4496 * manual/examples/sigusr.c: Likewise.
4497 * manual/examples/stpcpy.c: Likewise.
4498 * manual/examples/strdupa.c: Likewise.
4499 * manual/examples/strftim.c: Likewise.
4500 * manual/examples/strncat.c: Likewise.
4501 * manual/examples/subopt.c: Likewise.
4502 * manual/examples/swapcontext.c: Likewise.
4503 * manual/examples/termios.c: Likewise.
4504 * manual/examples/testopt.c: Likewise.
4505 * manual/examples/testpass.c: Likewise.
4506 * manual/examples/timeval_subtract.c: Likewise.
4509 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4511 * manual/timeval_subtract.c.texi: ... here, new file.
4513 2012-03-02 David S. Miller <davem@davemloft.net>
4515 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4517 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4520 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4521 (__sin): Save and restore rounding mode and use round-to-nearest
4522 for all computations.
4523 (__cos): Save and restore rounding mode and use round-to-nearest
4524 for all computations.
4525 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4527 (tan): Save and restore rounding mode and use round-to-nearest for
4529 * math/libm-test.inc (cos_test_tonearest): New function.
4530 (cos_test_towardzero): Likewise.
4531 (cos_test_downward): Likewise.
4532 (cos_test_upward): Likewise.
4533 (sin_test_tonearest): Likewise.
4534 (sin_test_towardzero): Likewise.
4535 (sin_test_downward): Likewise.
4536 (sin_test_upward): Likewise.
4537 (tan_test_tonearest): Likewise.
4538 (tan_test_towardzero): Likewise.
4539 (tan_test_downward): Likewise.
4540 (tan_test_upward): Likewise.
4541 (main): Call the new functions.
4542 * sysdeps/i386/fpu/libm-test-ulps: Update.
4543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4546 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4547 small n, then large n, before computing and testing k+n.
4548 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4553 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4554 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4555 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4556 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4559 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4560 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4561 * math/libm-test.inc (scalbn_test): Add more tests.
4562 (scalbln_test): Likewise.
4564 * manual/filesys.texi (mode_t): Describe constraints on size and
4565 signedness, not exact equivalence to a particular type.
4567 (ino64_t): Likewise.
4569 (nlink_t): Likewise.
4570 (blkcnt_t): Likewise.
4571 (blkcnt64_t): Likewise.
4572 * manual/llio.texi (off_t): Likewise.
4575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4576 (__ieee754_exp): Save and restore rounding mode and use
4577 round-to-nearest for all computations.
4578 * math/libm-test.inc (exp_test_tonearest): New function.
4579 (exp_test_towardzero): Likewise.
4580 (exp_test_downward): Likewise.
4581 (exp_test_upward): Likewise.
4582 (main): Call the new functions.
4583 * sysdeps/i386/fpu/libm-test-ulps: Update.
4584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4586 2012-03-01 Chris Demetriou <cgd@google.com>
4588 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4589 have predictable order.
4591 2012-03-01 David S. Miller <davem@davemloft.net>
4593 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4595 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4596 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4597 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4598 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4600 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4601 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4602 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4604 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4605 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4606 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4607 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4608 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4612 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4613 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4614 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4616 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4617 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4618 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4619 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4620 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4622 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4623 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4624 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4625 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4626 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4627 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4629 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4630 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4632 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4633 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4634 * sysdeps/sparc/elf/configure: Regenerated.
4636 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4638 * configure.in (AS, LD): Require binutils 2.20 or later.
4639 * configure: Regenerated.
4640 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4641 as required minimum version.
4642 * INSTALL: Regenerated.
4646 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4647 before squaring exponent.
4648 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4649 bottom long double and 27 bits of top long double before squaring
4651 * math/libm-test.inc (erfc_test): Add more tests.
4652 * sysdeps/i386/fpu/libm-test-ulps: Update.
4653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4656 2012-03-01 Kai Tietz <ktietz@redhat.com>
4658 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4659 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4660 containing bit-fields.
4661 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4662 * soft-fp/single.h (_FP_UNION_S): Likewise.
4663 * soft-fp/double.h (_FP_UNION_D): Likewise.
4665 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4668 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4669 not include ../strcmp.S.
4670 [USE_AS_STRNCASECMP_L]: Likewise.
4671 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4672 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4673 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4674 (__strncasecmp_l_ia32): Define as alias to
4675 __strncasecmp_l_nonascii.
4678 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4679 * sysdeps/i386/fpu/libm-test-ulps: Update.
4680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4682 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4685 2012-02-29 Jeff Law <law@redhat.com>
4687 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4690 2012-02-29 Marek Polacek <polacek@redhat.com>
4693 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4694 * elf/Makefile: Add rules to run tst-unused-dep.out.
4696 2012-02-28 David S. Miller <davem@davemloft.net>
4698 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4699 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4702 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4703 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4705 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4707 * math/libm-test.inc (llround_test): Move one test from
4708 lround_test. Use TEST_f_L in moved test.
4709 (lround_test): Move misplaced test to llround_test. Add testcase
4712 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4714 * sysdeps/x86_64/fpu/e_expf.S: New file.
4715 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4717 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4720 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4721 of remain_len that may cause incomplete multi-byte character and
4723 * posix/bug-regex33.c: New file.
4724 * posix/Makefile (tests): Add bug-regex33.
4726 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4728 * manual/macros.texi: New file.
4729 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4730 * manual/libc.texinfo: Include macros.texi.
4731 * manual/creatute.texi: Likewise.
4732 * manual/install.texi: Likewise.
4733 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4734 @glibcadj{} in references to the GNU C Library.
4735 * manual/charset.texi: Likewise.
4736 * manual/conf.texi: Likewise.
4737 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4738 when not using those macros.
4739 * manual/creature.texi: Likewise.
4740 * manual/crypt.texi: Likewise.
4741 * manual/errno.texi: Likewise.
4742 * manual/filesys.texi: Likewise.
4743 * manual/header.texi: Likewise.
4744 * manual/install.texi: Likewise.
4745 * manual/intro.texi: Likewise.
4746 * manual/io.texi: Likewise.
4747 * manual/job.texi: Likewise.
4748 * manual/lang.texi: Likewise.
4749 * manual/libc.texiinfo: Likewise.
4750 * manual/llio.texi: Likewise.
4751 * manual/locale.texi: Likewise.
4752 * manual/maint.texi: Likewise.
4753 * manual/math.texi: Likewise.
4754 * manual/memory.texi: Likewise.
4755 * manual/message.texi: Likewise.
4756 * manual/nss.texi: Likewise.
4757 * manual/pattern.texi: Likewise.
4758 * manual/process.texi: Likewise.
4759 * manual/resource.texi: Likewise.
4760 * manual/search.texi: Likewise.
4761 * manual/setjmp.texi: Likewise.
4762 * manual/signal.texi: Likewise.
4763 * manual/socket.texi: Likewise.
4764 * manual/startup.texi: Likewise.
4765 * manual/stdio.texi: Likewise.
4766 * manual/string.texi: Likewise.
4767 * manual/sysinfo.texi: Likewise.
4768 * manual/syslog.texi: Likewise.
4769 * manual/terminal.texi: Likewise.
4770 * manual/time.texi: Likewise.
4771 * manual/users.texi: Likewise.
4772 * INSTALL: Regenerated.
4773 * NOTES: Regenerated.
4774 * sysdeps/gnu/errlist.c: Regenerated.
4776 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4778 * include/dirent.h: Include <dirstream.h> before
4781 2012-02-28 David S. Miller <davem@davemloft.net>
4783 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4784 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4785 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4786 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4788 2012-02-27 David S. Miller <davem@davemloft.net>
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4792 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4796 frame pointer instead of stack pointer relative arg slot.
4797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4798 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4799 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4801 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4804 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4806 2012-02-27 David S. Miller <davem@davemloft.net>
4808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4812 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4813 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4814 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4815 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4817 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4819 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4820 later. Allow versions 5-9.
4821 * configure: Regenerated.
4822 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4823 required minimum version and 4.6 as recommended version. Do not
4824 mention bugs in GCC 2.7 and 2.8.
4825 * INSTALL: Regenerated.
4827 2012-02-27 David S. Miller <davem@davemloft.net>
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4833 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4834 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4835 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4836 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4838 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4839 manipulate bits before adding and subtracting TWO112[sx].
4840 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4842 2012-02-27 Roland McGrath <roland@hack.frob.com>
4845 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4846 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4847 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4848 being in POSIX, because they are in 1003.1-2008.
4850 * rt/tst-aio.c: Include <fcntl.h>.
4851 * rt/tst-aio7.c: Likewise.
4852 * rt/tst-aio64.c: Likewise.
4854 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4856 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4858 * manual/install.texi (--with-headers): Describe headers as
4859 interface headers, not private headers.
4860 (Specific advice for GNU/Linux systems): Describe use of headers
4861 from "make headers_install", not private headers from older
4863 * INSTALL: Regenerated.
4864 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4866 * sysdeps/unix/sysv/linux/configure: Regenerated.
4868 * manual/llio.texi (fclean): Remove documentation.
4870 * manual/Makefile (libc-texi-generated): New variable. Include
4872 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4873 $(libc-texi-generated), not duplicated list of files.
4874 (version.texi, stamp-version): New rules.
4875 (realclean): Remove $(libc-texi-generated), not individual files
4876 from that list. Do not remove dir-add.texinfo.
4877 * manual/libc.texinfo: Comment out uses of edition numbers and
4878 references to printed manual. Remove last-updated dates.
4879 (EDITION): Comment out.
4881 (VERSION, UPDATED): Remove.
4882 (version.texi): Include.
4884 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4886 * sysdeps/posix/spawni.c: Include <signal.h>.
4887 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4888 * sysdeps/pthread/aio_fsync.c: Likewise.
4890 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4892 * conform/Makefile (tests): Run only when not cross-compiling and
4893 when fast-check is not defined.
4895 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4896 * conform/data/limits.h-data: Fixes for POSIX2008.
4897 * conform/run-conformtest.sh: Run all tests.
4898 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4900 * include/bits/dlfcn.h: Likewise.
4901 * include/langinfo.h: Likewise.
4902 * include/monetary.h: Likewise.
4903 * include/sys/poll.h: Likewise.
4905 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4907 * posix/spawn.h: Define __need_sigset_t.
4908 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4909 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4910 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4911 to get sigevent_t only.
4912 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4916 process_vm_writev only for __USE_GNU.
4917 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4919 * conform/Makefile: For now ignore errors from run-conformtest.
4920 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4921 POSIX to avoid namespace pollution. Don't prepend headers.
4922 * conform/data/aio.h-data: Fixes for POSIX testing.
4923 * conform/data/fcntl.h-data: Likewise.
4924 * conform/data/glob.h-data: Likewise.
4925 * conform/data/grp.h-data: Likewise.
4926 * conform/data/pthread.h-data: Likewise.
4927 * conform/data/pwd.h-data: Likewise.
4928 * conform/data/signal.h-data: Likewise.
4929 * conform/data/spawn.h-data: Likewise.
4930 * conform/data/stdio.h-data: Likewise.
4931 * conform/data/stdlib.h-data: Likewise.
4932 * conform/data/stropts.h-data: Likewise.
4933 * conform/data/sys/mman.h-data: Likewise.
4934 * conform/data/sys/stat.h-data: Likewise.
4935 * conform/data/sys/types.h-data: Likewise.
4936 * conform/data/sys/wait.h-data: Likewise.
4937 * conform/data/time.h-data: Likewise.
4938 * conform/data/unistd.h-data: Likewise.
4939 * conform/data/utime.h-data: Likewise.
4941 * io/sys/stat.h: fchmod was always in POSIX.
4942 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4943 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4944 * rt/aio.h: Define __need_timespec before including <time.h>.
4945 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4946 struct. Add forward declaration of pthread_attr_t and use it in
4948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4950 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4951 always remove CLK_TCK definition.
4953 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4955 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4957 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4959 * conform/run-conformtest.sh: New file.
4960 * conform/Makefile: Run run-conformtest for tests.
4961 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4964 * conform/data/uchar.h-data: New file.
4965 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4966 * conform/data/arpa/inet.h-data: Likewise.
4967 * conform/data/assert.h-data: Likewise.
4968 * conform/data/complex.h-data: Likewise.
4969 * conform/data/cpio.h-data: Likewise.
4970 * conform/data/ctype.h-data: Likewise.
4971 * conform/data/dirent.h-data: Likewise.
4972 * conform/data/dlfcn.h-data: Likewise.
4973 * conform/data/errno.h-data: Likewise.
4974 * conform/data/fcntl.h-data: Likewise.
4975 * conform/data/float.h-data: Likewise.
4976 * conform/data/fmtmsg.h-data: Likewise.
4977 * conform/data/fnmatch.h-data: Likewise.
4978 * conform/data/ftw.h-data: Likewise.
4979 * conform/data/glob.h-data: Likewise.
4980 * conform/data/grp.h-data: Likewise.
4981 * conform/data/iconv.h-data: Likewise.
4982 * conform/data/inttypes.h-data: Likewise.
4983 * conform/data/langinfo.h-data: Likewise.
4984 * conform/data/libgen.h-data: Likewise.
4985 * conform/data/limits.h-data: Likewise.
4986 * conform/data/locale.h-data: Likewise.
4987 * conform/data/math.h-data: Likewise.
4988 * conform/data/monetary.h-data: Likewise.
4989 * conform/data/mqueue.h-data: Likewise.
4990 * conform/data/ndbm.h-data: Likewise.
4991 * conform/data/net/if.h-data: Likewise.
4992 * conform/data/netdb.h-data: Likewise.
4993 * conform/data/netinet/in.h-data: Likewise.
4994 * conform/data/nl_types.h-data: Likewise.
4995 * conform/data/poll.h-data: Likewise.
4996 * conform/data/pthread.h-data: Likewise.
4997 * conform/data/pwd.h-data: Likewise.
4998 * conform/data/regex.h-data: Likewise.
4999 * conform/data/sched.h-data: Likewise.
5000 * conform/data/search.h-data: Likewise.
5001 * conform/data/semaphore.h-data: Likewise.
5002 * conform/data/setjmp.h-data: Likewise.
5003 * conform/data/signal.h-data: Likewise.
5004 * conform/data/spawn.h-data: Likewise.
5005 * conform/data/stdarg.h-data: Likewise.
5006 * conform/data/stdio.h-data: Likewise.
5007 * conform/data/stdlib.h-data: Likewise.
5008 * conform/data/string.h-data: Likewise.
5009 * conform/data/strings.h-data: Likewise.
5010 * conform/data/stropts.h-data: Likewise.
5011 * conform/data/sys/ipc.h-data: Likewise.
5012 * conform/data/sys/mman.h-data: Likewise.
5013 * conform/data/sys/msg.h-data: Likewise.
5014 * conform/data/sys/resource.h-data: Likewise.
5015 * conform/data/sys/select.h-data: Likewise.
5016 * conform/data/sys/sem.h-data: Likewise.
5017 * conform/data/sys/shm.h-data: Likewise.
5018 * conform/data/sys/socket.h-data: Likewise.
5019 * conform/data/sys/stat.h-data: Likewise.
5020 * conform/data/sys/statvfs.h-data: Likewise.
5021 * conform/data/sys/time.h-data: Likewise.
5022 * conform/data/sys/timeb.h-data: Likewise.
5023 * conform/data/sys/times.h-data: Likewise.
5024 * conform/data/sys/types.h-data: Likewise.
5025 * conform/data/sys/uio.h-data: Likewise.
5026 * conform/data/sys/un.h-data: Likewise.
5027 * conform/data/sys/utsname.h-data: Likewise.
5028 * conform/data/sys/wait.h-data: Likewise.
5029 * conform/data/syslog.h-data: Likewise.
5030 * conform/data/tar.h-data: Likewise.
5031 * conform/data/termios.h-data: Likewise.
5032 * conform/data/utime.h-data: Likewise.
5033 * conform/data/utmpx.h-data: Likewise.
5034 * conform/data/varargs.h-data: Likewise.
5035 * conform/data/wchar.h-data: Likewise.
5036 * conform/data/wctype.h-data: Likewise.
5037 * conform/data/wordexp.h-data: Likewise.
5039 * include/stropts.h: New file.
5040 * include/uchar.h: New file.
5041 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5042 * include/assert.h: Likewise.
5043 * include/ctype.h: Likewise.
5044 * include/dirent.h: Likewise.
5045 * include/dlfcn.h: Likewise.
5046 * include/fcntl.h: Likewise.
5047 * include/fnmatch.h: Likewise.
5048 * include/glob.h: Likewise.
5049 * include/grp.h: Likewise.
5050 * include/libio.h: Likewise.
5051 * include/locale.h: Likewise.
5052 * include/math.h: Likewise.
5053 * include/net/if.h: Likewise.
5054 * include/netdb.h: Likewise.
5055 * include/netinet/in.h: Likewise.
5056 * include/pthread.h: Likewise.
5057 * include/pwd.h: Likewise.
5058 * include/regex.h: Likewise.
5059 * include/sched.h: Likewise.
5060 * include/search.h: Likewise.
5061 * include/setjmp.h: Likewise.
5062 * include/signal.h: Likewise.
5063 * include/stdio.h: Likewise.
5064 * include/stdlib.h: Likewise.
5065 * include/string.h: Likewise.
5066 * include/sys/cdefs.h: Likewise.
5067 * include/sys/mman.h: Likewise.
5068 * include/sys/msg.h: Likewise.
5069 * include/sys/resource.h: Likewise.
5070 * include/sys/select.h: Likewise.
5071 * include/sys/socket.h: Likewise.
5072 * include/sys/stat.h: Likewise.
5073 * include/sys/statvfs.h: Likewise.
5074 * include/sys/time.h: Likewise.
5075 * include/sys/times.h: Likewise.
5076 * include/sys/uio.h: Likewise.
5077 * include/sys/utsname.h: Likewise.
5078 * include/sys/wait.h: Likewise.
5079 * include/termios.h: Likewise.
5080 * include/time.h: Likewise.
5081 * include/ulimit.h: Likewise.
5082 * include/unistd.h: Likewise.
5083 * include/utime.h: Likewise.
5084 * include/wchar.h: Likewise.
5085 * include/wctype.h: Likewise.
5086 * include/wordexp.h: Likewise.
5088 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5090 * time/time.h: TIME_UTC must be a macro.
5091 Make timespec_get available for ISO C11 only as well.
5093 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5095 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5096 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5098 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5100 * configure.in: Use -o not -a in test for unsupported multi-arch.
5102 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5104 * manual/texinfo.tex: Update to version 2012-01-19.16.
5106 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5108 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5110 2012-02-24 Roland McGrath <roland@hack.frob.com>
5113 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5114 * manual/fdl-1.3.texi: New file.
5115 * manual/fdl-1.1.texi: File removed.
5118 * manual/libc.texinfo (FDL_VERSION): New @set.
5119 Use it for mention of FDL in cover text.
5120 (Documentation License): Use it in @include file name.
5122 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5123 Roland McGrath <roland@hack.frob.com>
5126 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5127 not LONG_LONG_MAX and LONG_LONG_MIN.
5128 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5129 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5131 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5133 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5137 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5138 manipulate bits before adding and subtracting TWO23[sx].
5139 * math/libm-test.inc (nearbyint_test): Add more tests.
5141 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5144 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5145 bits before adding and subtracting TWO23[sx].
5146 * math/libm-test.inc (rint_test): Add more tests.
5147 (rint_test_tonearest): Likewise.
5148 (rint_test_towardzero): Likewise.
5149 (rint_test_downward): Likewise.
5150 (rint_test_upward: Likewise.
5152 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5155 * include/stdc-predef.h: New file. Extracted from features.h.
5156 * include/features.h: Include stdc-predef.h.
5157 * Makefile (headers): Add stdc-predef.h.
5158 * CONFORMANCE (Compiler limitations): Update.
5160 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5162 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5164 2012-02-21 David S. Miller <davem@davemloft.net>
5166 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5167 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5169 2012-02-20 David S. Miller <davem@davemloft.net>
5171 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5172 using a normal save/restore sequence, rather than allocating a
5173 dummy stack frame just to store a frame pointer and restore.
5174 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5176 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5178 * manual/install.texi: Fix stray word in line-wrapped comment.
5180 2012-02-20 David S. Miller <davem@davemloft.net>
5182 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5183 both binutils and gcc support GOTDATA.
5185 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5186 "rd %pc" in the PIC register setup sequences.
5188 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5189 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5190 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5191 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5192 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5195 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5197 (SYSCALL_ERROR_HANDLER): Likewise.
5198 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5199 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5201 (SYSCALL_ERROR_HANDLER): Likewise.
5203 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5204 (HAVE_GCC_GOTDATA): New.
5205 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5206 relocation support in both binutils and gcc.
5207 * sysdeps/sparc/elf/configure: Regenerate.
5209 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5210 * sysdeps/sparc/sparc32/elf/configure: Delete.
5211 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5212 * sysdeps/sparc/sparc64/elf/configure: Delete.
5213 * sysdeps/sparc/elf/configure.in: New file.
5214 * sysdeps/sparc/elf/configure: Generate.
5216 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5217 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5218 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5219 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5220 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5222 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5224 * manual/install.texi: Do not mention specific glibc version
5226 * manual/libc.texinfo (VERSION, UPDATED): Update.
5227 (@copying): Use @copyright{} and range of years.
5229 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5232 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5233 [crti.S not in sysdirs] (generated): Do not append.
5234 [crti.S not in sysdirs] (omit-deps): Likewise.
5235 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5236 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5237 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5238 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5239 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5241 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5242 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5243 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5244 * csu/defs.awk: Remove file.
5245 * sysdeps/generic/initfini.c: Likewise.
5246 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5248 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5251 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5253 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5254 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5255 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5256 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5257 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5258 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5260 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5261 (__EPOLL_PACKED): Define to empty if not defined by
5263 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5267 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5269 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5270 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5271 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5272 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5274 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5278 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5280 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5283 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5284 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5287 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5289 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5292 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5294 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5295 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5297 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5299 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5302 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5304 * math/w_acos.c: Use non-signaling floating-point comparisons.
5305 * math/w_acosf.c: Likewise.
5306 * math/w_acosh.c: Likewise.
5307 * math/w_acoshf.c: Likewise.
5308 * math/w_acoshl.c: Likewise.
5309 * math/w_acosl.c: Likewise.
5310 * math/w_asin.c: Likewise.
5311 * math/w_asinf.c: Likewise.
5312 * math/w_asinl.c: Likewise.
5313 * math/w_atanh.c: Likewise.
5314 * math/w_atanhf.c: Likewise.
5315 * math/w_atanhl.c: Likewise.
5316 * math/w_exp2.c: Likewise.
5317 * math/w_exp2f.c: Likewise.
5318 * math/w_exp2l.c: Likewise.
5319 * math/w_j0.c: Likewise.
5320 * math/w_j0f.c: Likewise.
5321 * math/w_j0l.c: Likewise.
5322 * math/w_j1.c: Likewise.
5323 * math/w_j1f.c: Likewise.
5324 * math/w_j1l.c: Likewise.
5325 * math/w_jn.c: Likewise.
5326 * math/w_jnf.c: Likewise.
5327 * math/w_log.c: Likewise.
5328 * math/w_log10.c: Likewise.
5329 * math/w_log10f.c: Likewise.
5330 * math/w_log10l.c: Likewise.
5331 * math/w_log2.c: Likewise.
5332 * math/w_log2f.c: Likewise.
5333 * math/w_log2l.c: Likewise.
5334 * math/w_logf.c: Likewise.
5335 * math/w_logl.c: Likewise.
5336 * math/w_sqrt.c: Likewise.
5337 * math/w_sqrtf.c: Likewise.
5338 * math/w_sqrtl.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5342 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5343 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5345 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5348 * manual/string.texi (strnlen): Use correct parameter name in
5349 equivalent expression.
5351 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5354 * manual/users.texi (seteuid): Consistently use neweuid for
5357 2012-02-19 Joseph Myers <joseph@codesourcery.com>
5360 * manual/nss.texi (Services in the NSS configuration): Correct
5361 list of services in example configuration file.
5363 2012-02-19 Nick Bowler <nbowler@draconx.ca>
5366 * manual/arith.texi: Remove statements about negative zero
5367 behaving identically to zero.
5369 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5372 * manual/install.texi: Do not document upgrading from libc5.
5374 2012-02-18 Joseph Myers <joseph@codesourcery.com>
5377 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
5379 2012-02-18 David S. Miller <davem@davemloft.net>
5381 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
5382 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
5383 %o7 across the call.
5384 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
5386 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
5388 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5389 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
5390 * sysdeps/sparc/crtn.S: Likewise.
5392 2012-02-17 Ulrich Drepper <drepper@gmail.com>
5394 * aout/Makefile: Remove.
5396 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
5399 * manual/examples/argp-ex1.c (main): Format definition in GNU
5401 * manual/examples/argp-ex2.c (main): Likewise.
5402 * manual/examples/argp-ex3.c (main): Likewise.
5403 * manual/examples/argp-ex4.c (main): Likewise.
5404 * manual/examples/longopt.c (main): Use new-style prototype
5406 * manual/examples/strncat.c (main): Specify return type and use
5407 (void) for arguments.
5408 * manual/examples/subopt.c (main): Use char **argv argument.
5410 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5413 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
5416 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
5419 * manual/string.texi (strchr): Change when strchrnul is
5422 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
5425 * manual/locale.texi (setlocale): Document LOCPATH.
5427 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5430 * manual/process.texi (execle): Move @dots{} before last argument.
5432 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
5435 * manual/charset.texi (Generic Charset Conversion): Fix typo
5436 (LC_TYPE -> LC_CTYPE).
5438 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
5441 * manual/arith.texi (scalbn): Use @var{} on parameter names.
5442 (scalbnf): Likewise.
5443 (scalbnl): Likewise.
5444 (scalbln): Likewise.
5445 (scalblnf): Likewise.
5446 (scalblnl): Likewise.
5447 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
5451 * manual/filesys.texi (telldir): Use braces around return type.
5452 * manual/llio.texi (mmap): Add space after comma.
5454 * manual/math.texi (jn): Use @var{} on parameter names.
5460 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
5462 * manual/resource.texi (ulimit): Use @dots{} instead of literal
5464 (sched_get_priority_min): Remove semicolon on @deftypefun line.
5465 (sched_get_priority_max): Likewise.
5466 * manual/signal.texi (sigvec): Add space after comma.
5467 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
5469 (if_indextoname): Likewise.
5470 (if_freenameindex): Likewise.
5471 (sendto): Use ',' instead of '.' in prototype.
5472 * manual/startup.texi (syscall): Use @dots{} instead of literal
5474 * manual/stdio.texi (__fpending): Separate initial words of
5475 paragraph from @deftypefun line.
5476 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5478 (vsyslog): Use @var{} on parameter names.
5479 * manual/terminal.texi (stty): Use @var{} on parameter names.
5480 * manual/users.texi (getutmp): Use @var{} on parameter names.
5481 (getutmpx): Likewise.
5483 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5486 * manual/stdio.texi (fopen): Fix typos in description of
5489 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5492 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5493 get clock_id definition.
5495 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5498 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5499 (madvise): Cast every argument to void on its own.
5501 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5504 * manual/startup.texi (Exit Status): Fix typo.
5506 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5509 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5510 * manual/examples/argp-ex2.c: Likewise.
5511 * manual/examples/argp-ex3.c: Likewise.
5513 2012-02-16 Richard Henderson <rth@redhat.com>
5515 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5516 * sysdeps/s390/s390-32/initfini.c: Remove.
5517 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5518 * sysdeps/s390/s390-64/initfini.c: Remove.
5520 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5522 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5523 compiler output for sysdeps/generic/initfini.c.
5524 * sysdeps/sh/elf/initfini.c: Remove file.
5526 2012-02-16 David S. Miller <davem@davemloft.net>
5529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5531 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5532 * sysdeps/sparc/crti.S: New file.
5533 * sysdeps/sparc/crtn.S: New file.
5534 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5535 * sysdeps/sparc/sparc64/Makefile: Likewise.
5537 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5540 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5542 2012-02-15 Roland McGrath <roland@hack.frob.com>
5545 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5547 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5548 (write, read, close): Likewise.
5549 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5551 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5553 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5554 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5555 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5556 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5558 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5562 2012-02-14 Marek Polacek <polacek@redhat.com>
5564 * sysdeps/x86_64/crti.S: New file.
5565 * sysdeps/x86_64/crtn.S: New file.
5566 * sysdeps/x86_64/elf/initfini.c: Remove file.
5568 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5570 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5571 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5572 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5573 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5575 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5579 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5581 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5582 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5583 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5584 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5586 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5590 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5592 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5593 __feraiseexcept instead of feraiseexcept.
5595 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5596 nanosleep invocations.
5597 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5598 strings, and add error checking for a nanosleep invocations.
5600 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5602 Replace FSF snail mail address with URLs, as per GNU coding standards.
5603 Most of the snail mail addresses were wrong anyway, and omitting
5604 them makes the source code easier to maintain. Almost all of the
5605 changes are to license notices and to locale LC_IDENTIFICATION
5606 addresses, except for this one:
5607 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5608 not its snail mail address.
5610 2012-02-09 Richard Henderson <rth@twiddle.net>
5612 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5613 of kernel-features.h.
5615 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5617 2012-02-08 Marek Polacek <polacek@redhat.com>
5619 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5620 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5621 * sysdeps/gnu/_G_config.h: Likewise.
5622 * sysdeps/generic/_G_config.h: Likewise.
5624 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5626 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5630 * sysdeps/powerpc/powerpc32/crti.S: New file.
5631 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5632 * sysdeps/powerpc/powerpc64/crti.S: New file.
5633 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5635 * Makeconfig (have-initfini): Don't set.
5636 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5637 * configure.in (nopic_initfini): Don't substitute.
5638 * config.h.in (HAVE_INITFINI): Don't #undef.
5639 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5640 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5642 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5644 Support crti.S and crtn.S provided directly by architectures.
5645 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5646 [crti.S in sysdirs] (omit-deps): Likewise.
5647 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5648 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5649 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5650 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5651 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5652 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5653 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5654 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5655 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5656 compiler output for sysdeps/generic/initfini.c.
5657 * sysdeps/i386/elf/Makefile: Remove file.
5658 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5660 2012-02-07 Marek Polacek <polacek@redhat.com>
5662 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5663 * sysdeps/gnu/_G_config.h: Likewise.
5664 * sysdeps/mach/hurd/_G_config.h: Likewise.
5666 2012-02-07 Marek Polacek <polacek@redhat.com>
5668 * math/Makefile (tests): Add tst-CMPLX2.
5669 * math/tst-CMPLX2.c: New file.
5671 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5673 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5675 * math/libm-test.inc (jn_test): Add missing L suffix.
5677 2012-02-06 Marek Polacek <polacek@redhat.com>
5679 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5680 * sysdeps/i386/fpu/e_powf.S: Likewise.
5681 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5682 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5684 * sysdeps/i386/fpu/e_pow.S: Likewise.
5685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5689 * sysdeps/i386/fpu/e_log2.S: Likewise.
5690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5692 * sysdeps/i386/fpu/e_powl.S: Likewise.
5693 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5694 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5695 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5696 * sysdeps/i386/fpu/e_logl.S: Likewise.
5697 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5698 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5699 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5700 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5701 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5702 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5703 * sysdeps/i386/fpu/e_log.S: Likewise.
5704 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5706 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5707 * sysdeps/i386/fpu/e_logf.S: Likewise.
5708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5709 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5710 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5711 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5712 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5713 * sysdeps/i386/fpu/e_log10.S: Likewise.
5714 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5716 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5717 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5718 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5719 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5720 * sysdeps/i386/asm-syntax.h: Likewise.
5721 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5722 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5723 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5724 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5725 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5730 * sysdeps/powerpc/sysdep.h: Likewise.
5731 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5732 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5734 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5737 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5739 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5741 * sysdeps/i386/sysdep.h: Include <features.h>.
5742 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5745 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5747 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5749 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5752 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5754 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5755 (SETUP_PIC_REG): Use GET_PC_THUNK.
5756 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5759 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5761 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5762 for non-PIC compilation.
5763 (SETUP_PIC_REG): Add .p2align directive.
5764 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5765 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5766 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5767 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5768 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5769 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5770 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5772 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5773 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5774 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5775 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5776 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5777 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5778 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5779 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5780 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5781 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5782 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5783 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5784 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5785 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5786 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5787 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5788 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5790 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5792 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5793 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5794 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5795 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5796 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5797 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5798 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5799 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5800 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5801 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5802 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5803 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5804 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5806 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5808 * math/tst-CMPLX.c: Include <stdio.h>.
5810 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5812 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5814 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5815 * sysdeps/sparc/bits/mathdef.h: Likewise.
5817 2012-01-31 Marek Polacek <polacek@redhat.com>
5819 * libio/libio.h: Don't define _PARAMS.
5820 * locale/programs/config.h: Don't define PARAMS.
5821 * stdlib/strtol_l.c: Likewise.
5822 (__strtol_l): Remove PARAMS from the prototype.
5824 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5826 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5827 names. Just use the correct names. Remove unnecessary wrapper
5829 * malloc/arena.c: Likewise.
5830 * malloc/hooks.c: Likewise.
5832 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5833 ARENA_TEST says not to. Simplify test for creation of a new arena.
5834 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5836 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5838 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5840 (update_get_addr): New function.
5841 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5842 GET_ADDR_MODULE parameter.
5844 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5846 * crypt/cert.c: Remove __STDC__ conditionals.
5847 * crypt/crypt-entry.c: Likewise.
5848 * crypt/crypt_util.c: Likewise.
5849 * libio/filedoalloc.c: Likewise.
5850 * libio/fileops.c: Likewise.
5851 * libio/genops.c: Likewise.
5852 * libio/iofclose.c: Likewise.
5853 * libio/iofdopen.c: Likewise.
5854 * libio/iofopen.c: Likewise.
5855 * libio/iofopen64.c: Likewise.
5856 * libio/iogetdelim.c: Likewise.
5857 * libio/iopopen.c: Likewise.
5858 * libio/obprintf.c: Likewise.
5859 * libio/oldfileops.c: Likewise.
5860 * libio/oldiofclose.c: Likewise.
5861 * libio/oldiofdopen.c: Likewise.
5862 * libio/oldiofopen.c: Likewise.
5863 * libio/oldiopopen.c: Likewise.
5864 * libio/wfiledoalloc.c: Likewise.
5865 * libio/wgenops.c: Likewise.
5866 * locale/programs/xmalloc.c: Likewise.
5867 * misc/syslog.c: Likewise.
5868 * stdio-common/xbug.c: Likewise.
5869 * string/memchr.c: Likewise.
5870 * string/memcmp.c: Likewise.
5871 * string/memrchr.c: Likewise.
5872 * string/rawmemchr.c: Likewise.
5873 * sysdeps/posix/getcwd.c: Likewise.
5874 * time/strftime_l.c: Likewise.
5876 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5878 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5879 * config.make.in (config-cflags-sse2avx): Define.
5880 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5883 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5885 * scripts/config.guess: Update from upstream config git repository.
5886 * scripts/config.sub: Likewise.
5888 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5890 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5892 (R_TILEPRO_*, R_TILEGX_*): New macros.
5894 * scripts/firstversions.awk: Fix bug in version range handling.
5896 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5898 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5900 * include/sys/epoll.h: New file.
5901 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5904 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5906 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5907 Avoid unnecessary __WORDSIZE == 64 test.
5908 (fmaxf): Use VEX format if possible.
5913 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5914 * math/math_private.h: Remove libc_fegetround* and
5916 * sysdeps/i386/configure.in: Check for -msse2avx.
5917 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5918 also if SSE2AVX is defined.
5919 Remove libc_fegetround* and libc_fesetround*.
5920 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5921 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5924 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5925 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5926 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5927 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5928 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5930 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5932 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5936 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5938 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5941 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5943 * Makeconfig (libm): Define.
5944 * elf/Makefile: Add rules to build and run tst-relsort1.
5945 * elf/tst-relsort1.c: New file.
5946 * elf/tst-relsort1mod1.c: New file.
5947 * elf/tst-relsort1mod2.c: New file.
5949 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5951 * math/s_ldexp.c: Remove __STDC__ conditionals.
5952 * math/s_ldexpf.c: Likewise.
5953 * math/s_ldexpl.c: Likewise.
5954 * math/s_nextafter.c: Likewise.
5955 * math/s_nexttowardf.c: Likewise.
5956 * math/s_significand.c: Likewise.
5957 * math/s_significandf.c: Likewise.
5958 * math/s_significandl.c: Likewise.
5959 * math/w_jnl.c: Likewise.
5960 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5961 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5962 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5963 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5964 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5968 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5969 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5970 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5971 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5973 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5979 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5980 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5986 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5987 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5988 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5989 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5990 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5991 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5992 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5993 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5994 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5995 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5996 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5997 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5998 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5999 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6000 * sysdeps/ieee754/k_standard.c: Likewise.
6001 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6004 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6005 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6006 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6007 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6013 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6014 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6015 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6016 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6017 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6018 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6019 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6020 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6021 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6022 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6023 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6024 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6025 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6026 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6029 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6031 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6032 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6033 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6034 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6036 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6037 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6043 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6044 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6045 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6050 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6051 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6056 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6057 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6058 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6059 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6062 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6063 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6064 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6070 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6071 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6072 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6073 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6074 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6075 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6076 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6077 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6078 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6079 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6080 * sysdeps/ieee754/s_matherr.c: Likewise.
6081 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6082 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6084 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6086 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6088 * crypt/md5.h: Remove __STDC__ conditionals.
6089 * libio/libioP.h: Likewise.
6090 * locale/programs/config.h: Likewise.
6091 * sysdeps/generic/sysdep.h: Likewise.
6092 * sysdeps/i386/asm-syntax.h: Likewise.
6093 * sysdeps/s390/asm-syntax.h: Likewise.
6094 * sysdeps/unix/sysdep.h: Likewise.
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6098 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6100 * libio/libio.h: Remove __STDC__ conditionals.
6101 * malloc/obstack.h: Likewise.
6102 * math/complex.h: Likewise.
6103 * math/math.h: Likewise.
6104 * sysdeps/generic/_G_config.h: Likewise.
6105 * sysdeps/gnu/_G_config.h: Likewise.
6106 * sysdeps/mach/hurd/_G_config.h: Likewise.
6107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6108 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6109 * sysdeps/sparc/bits/mathdef.h: Likewise.
6111 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6114 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6115 Clean up HAS_* macros.
6116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6117 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6119 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6127 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6129 * elf/tst-unique3.cc (gets): Remove declaration.
6130 * elf/tst-unique3lib.cc (gets): Likewise.
6131 * elf/tst-unique3lib2.cc (gets): Likewise.
6132 * elf/tst-unique4.cc (gets): Likewise.
6134 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6136 * include/stdio.h: Add C++ protection. Add gets declarations and
6138 * debug/tst-chk1.c: Don't declare gets here.
6139 * stdio-common/tst-gets.c: Likewise.
6141 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6143 * posix/glob: Remove directory.
6145 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6147 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6149 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6151 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6152 of the non-standard EPFNOSUPPORT.
6154 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6156 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6157 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6158 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6160 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6162 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6164 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6166 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6168 * nscd/grpcache.c (cache_addgr): Likewise.
6169 * nscd/hstcache.c (cache_addhst): Likewise.
6170 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6171 * nscd/pwdcache.c (cache_addpw): Likewise.
6172 * nscd/servicescache.c (cache_addserv): Likewise.
6174 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6176 * malloc/malloc.c: Various cleanups.
6177 * malloc/hooks.c: Likewise.
6179 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6180 * stdlib/bug-fmtmsg1.c: New file.
6182 * stdlib/fmtmsg.c (init): Add missing unlock.
6183 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6185 2012-01-12 Marek Polacek <polacek@redhat.com>
6187 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6190 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6192 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6193 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6194 macro to ensure uniqueness of label name.
6195 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6196 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6198 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6200 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6202 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6203 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6204 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6207 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6209 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6211 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6212 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6213 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6215 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6217 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6218 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6222 * math/bits/math-finite.h: Add ldexp support.
6224 2012-01-10 Marek Polacek <polacek@redhat.com>
6226 * locale/programs/localedef.h (show_archive_content): Add noreturn
6229 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6231 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6233 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6235 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6237 * io/Makefile (headers): Add bits/poll2.h.
6239 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6242 typo #include statement.
6244 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6246 * include/sys/cdefs.h: Define __attribute_alloc_size.
6247 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6248 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6249 * elf/pldd.c: Likewise.
6250 * iconv/iconv_charmap.c: Likewise.
6251 * iconv/iconvconfig.c: Likewise.
6252 * iconv/strtab.c: Likewise.
6253 * locale/programs/locale.c: Likewise.
6254 * locale/programs/localedef.h: Likewise.
6255 * locale/programs/simple-hash.c: Likewise.
6256 * nscd/nscd.h: Likewise.
6257 * nss/makedb.c: Likewise.
6258 * sysdeps/generic/ldconfig.h: Likewise.
6259 * locale/programs/localedef.c: Remove xmalloc prototype.
6260 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6262 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6264 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6267 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6269 * math/Makefile (tests): Add tst-CMPLX.
6270 * math/tst-CMPLX.c: New file.
6272 * math/complex.h (CMPLXL): Fix typo.
6274 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6275 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6277 * debug/tst-chk1.c: Add poll and ppoll tests.
6278 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6279 * include/sys/poll.h: Add hidden proto for ppoll.
6280 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6281 * sysdeps/mach/hurd/ppoll.c: Likewise.
6282 * io/ppoll.c: Likewise.
6283 * debug/poll_chk.c: New file.
6284 * debug/ppoll_chk.c: New file.
6285 * include/bits/poll2.h: New file.
6286 * io/bits/poll2.h: New file.
6289 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6291 * configure.in: static is always set to yes. Remove.
6292 * config.make.in: Don't set build-static.
6293 * Makeconfig: Remove use of build-static.
6294 * dlfcn/Makefile: Likewise.
6295 * elf/Makefile: Likewise.
6296 * math/Makefile: Likewise.
6297 * misc/Makefile: Likewise.
6298 * nptl/Makefile: Likewise.
6299 * sysdeps/mach/hurd/Makefile: Likewise.
6301 * configure.in: PWD_P is not used anymore.
6302 * config.make.in: Remove PWD_P entry.
6304 * configure.in: Remove last remnants of RANLIB.
6305 No need to check for signed size_t anymore.
6306 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6308 Remove __builtin_expect test because we require at least gcc 3.4.
6309 * aclocal.m4: Likewise.
6311 * wcsmbs/mbrtoc16.c: Implement using towc function.
6312 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6313 * wcsmbs/wcsmbsload.c: Likewise.
6314 * iconv/gconv_simple.c: Likewise.
6315 * iconv/gconv_int.h: Likewise.
6316 * iconv/gconv_builtin.h: Likewise.
6317 * iconv/iconv_prog.c: Remove CHAR16 handling.
6319 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6321 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6323 * configure.in: Remove --with-elf and --enable-bounded options.
6324 Dont set base_machine for ia64. More non-ELF conditions removed.
6325 Remove testing and setting of leading underscore information.
6326 * config.make.in (build-bounded): Set to no.
6327 * config.h.in: Remove NO_UNDERSCORES entry.
6328 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6330 * csu/start.c: Remove !NO_UNDERSCORE code.
6331 * locale/localeinfo.h: Likewise.
6332 * sysdeps/generic/machine-gmon.h: Likewise.
6333 * sysdeps/generic/sysdep.h: Likewise.
6334 * sysdeps/i386/sysdep.h: Likewise.
6335 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6336 * sysdeps/mach/sysdep.h: Likewise.
6337 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6339 * sysdeps/sh/sysdep.h: Likewise.
6340 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6341 * sysdeps/unix/i386/sysdep.S: Likewise.
6342 * sysdeps/unix/sparc/start.c: Likewise.
6343 * sysdeps/unix/sparc/sysdep.S: Likewise.
6344 * sysdeps/unix/sparc/sysdep.h: Likewise.
6345 * sysdeps/unix/start.c: Likewise.
6346 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6347 * sysdeps/x86_64/sysdep.h: Likewise.
6349 2012-01-07 Ulrich Drepper <drepper@gmail.com>
6352 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6354 * argp/argp-fmtstream.h: Use const instead __const.
6355 * argp/argp.h: Likewise.
6356 * assert/assert.h: Likewise.
6357 * bits/fenv.h: Likewise.
6358 * bits/sched.h: Likewise.
6359 * bits/sigset.h: Likewise.
6360 * bits/sigthread.h: Likewise.
6361 * catgets/nl_types.h: Likewise.
6362 * conform/data/pthread.h-data: Likewise.
6363 * crypt/crypt-private.h: Likewise.
6364 * crypt/crypt.h: Likewise.
6365 * crypt/crypt_util.c: Likewise.
6366 * ctype/ctype.h: Likewise.
6367 * debug/execinfo.h: Likewise.
6368 * debug/mbsnrtowcs_chk.c: Likewise.
6369 * debug/mbsrtowcs_chk.c: Likewise.
6370 * debug/wcsnrtombs_chk.c: Likewise.
6371 * debug/wcsrtombs_chk.c: Likewise.
6372 * debug/wcstombs_chk.c: Likewise.
6373 * dirent/dirent.h: Likewise.
6374 * dlfcn/dlfcn.h: Likewise.
6375 * elf/neededtest4.c: Likewise.
6376 * grp/grp.h: Likewise.
6377 * gshadow/gshadow.h: Likewise.
6378 * iconv/gconv.h: Likewise.
6379 * iconv/gconv_int.h: Likewise.
6380 * iconv/gconv_simple.c: Likewise.
6381 * iconv/iconv.h: Likewise.
6382 * iconv/loop.c: Likewise.
6383 * iconv/skeleton.c: Likewise.
6384 * include/aio.h: Likewise.
6385 * include/aliases.h: Likewise.
6386 * include/argz.h: Likewise.
6387 * include/arpa/inet.h: Likewise.
6388 * include/assert.h: Likewise.
6389 * include/dirent.h: Likewise.
6390 * include/dlfcn.h: Likewise.
6391 * include/execinfo.h: Likewise.
6392 * include/fcntl.h: Likewise.
6393 * include/fenv.h: Likewise.
6394 * include/glob.h: Likewise.
6395 * include/grp.h: Likewise.
6396 * include/libintl.h: Likewise.
6397 * include/mntent.h: Likewise.
6398 * include/netdb.h: Likewise.
6399 * include/pwd.h: Likewise.
6400 * include/rpc/netdb.h: Likewise.
6401 * include/sched.h: Likewise.
6402 * include/search.h: Likewise.
6403 * include/shadow.h: Likewise.
6404 * include/signal.h: Likewise.
6405 * include/stdio.h: Likewise.
6406 * include/stdlib.h: Likewise.
6407 * include/string.h: Likewise.
6408 * include/sys/socket.h: Likewise.
6409 * include/sys/stat.h: Likewise.
6410 * include/sys/statfs.h: Likewise.
6411 * include/sys/statvfs.h: Likewise.
6412 * include/sys/syslog.h: Likewise.
6413 * include/sys/time.h: Likewise.
6414 * include/sys/uio.h: Likewise.
6415 * include/time.h: Likewise.
6416 * include/unistd.h: Likewise.
6417 * include/utmp.h: Likewise.
6418 * include/wchar.h: Likewise.
6419 * include/wctype.h: Likewise.
6420 * inet/aliases.h: Likewise.
6421 * inet/arpa/inet.h: Likewise.
6422 * inet/netinet/ether.h: Likewise.
6423 * inet/netinet/in.h: Likewise.
6424 * intl/libintl.h: Likewise.
6425 * io/bits/fcntl2.h: Likewise.
6426 * io/fcntl.h: Likewise.
6427 * io/ftw.h: Likewise.
6428 * io/sys/poll.h: Likewise.
6429 * io/sys/stat.h: Likewise.
6430 * io/sys/statfs.h: Likewise.
6431 * io/sys/statvfs.h: Likewise.
6432 * io/utime.h: Likewise.
6433 * libio/bits/stdio.h: Likewise.
6434 * libio/bits/stdio2.h: Likewise.
6435 * libio/libio.h: Likewise.
6436 * libio/libioP.h: Likewise.
6437 * libio/stdio.h: Likewise.
6438 * locale/lc-ctype.c: Likewise.
6439 * locale/locale.h: Likewise.
6440 * login/utmp.h: Likewise.
6441 * malloc/arena.c: Likewise.
6442 * malloc/malloc.c: Likewise.
6443 * malloc/malloc.h: Likewise.
6444 * malloc/mcheck.c: Likewise.
6445 * malloc/mtrace.c: Likewise.
6446 * math/bits/mathcalls.h: Likewise.
6447 * math/fenv.h: Likewise.
6448 * math/math_private.h: Likewise.
6449 * misc/bits/error.h: Likewise.
6450 * misc/bits/syslog.h: Likewise.
6451 * misc/err.h: Likewise.
6452 * misc/error.h: Likewise.
6453 * misc/fstab.h: Likewise.
6454 * misc/mntent.h: Likewise.
6455 * misc/regexp.h: Likewise.
6456 * misc/search.h: Likewise.
6457 * misc/sgtty.h: Likewise.
6458 * misc/sys/mman.h: Likewise.
6459 * misc/sys/syslog.h: Likewise.
6460 * misc/sys/uio.h: Likewise.
6461 * misc/sys/xattr.h: Likewise.
6462 * misc/ttyent.h: Likewise.
6463 * nis/rpcsvc/ypclnt.h: Likewise.
6464 * nss/nss.h: Likewise.
6465 * posix/bits/unistd.h: Likewise.
6466 * posix/fnmatch.h: Likewise.
6467 * posix/glob.h: Likewise.
6468 * posix/sched.h: Likewise.
6469 * posix/spawn.h: Likewise.
6470 * posix/sys/wait.h: Likewise.
6471 * posix/unistd.h: Likewise.
6472 * posix/wordexp.h: Likewise.
6473 * pwd/pwd.h: Likewise.
6474 * resolv/netdb.h: Likewise.
6475 * resource/sys/resource.h: Likewise.
6476 * rt/aio.h: Likewise.
6477 * rt/bits/mqueue2.h: Likewise.
6478 * rt/mqueue.h: Likewise.
6479 * shadow/shadow.h: Likewise.
6480 * signal/signal.h: Likewise.
6481 * socket/send.c: Likewise.
6482 * socket/sendto.c: Likewise.
6483 * socket/sys/socket.h: Likewise.
6484 * stdio-common/printf.h: Likewise.
6485 * stdlib/bits/stdlib.h: Likewise.
6486 * stdlib/fmtmsg.h: Likewise.
6487 * stdlib/monetary.h: Likewise.
6488 * stdlib/stdlib.h: Likewise.
6489 * stdlib/ucontext.h: Likewise.
6490 * streams/stropts.h: Likewise.
6491 * string/argz.h: Likewise.
6492 * string/bits/string2.h: Likewise.
6493 * string/string.h: Likewise.
6494 * string/strings.h: Likewise.
6495 * sunrpc/rpc/auth.h: Likewise.
6496 * sunrpc/rpc/auth_des.h: Likewise.
6497 * sunrpc/rpc/clnt.h: Likewise.
6498 * sunrpc/rpc/netdb.h: Likewise.
6499 * sunrpc/rpc/pmap_clnt.h: Likewise.
6500 * sunrpc/rpc/xdr.h: Likewise.
6501 * sysdeps/generic/inttypes.h: Likewise.
6502 * sysdeps/generic/net/if.h: Likewise.
6503 * sysdeps/generic/sys/swap.h: Likewise.
6504 * sysdeps/gnu/net/if.h: Likewise.
6505 * sysdeps/gnu/utmpx.h: Likewise.
6506 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6507 * sysdeps/i386/i486/bits/string.h: Likewise.
6508 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6509 * sysdeps/s390/bits/string.h: Likewise.
6510 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6511 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6512 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6513 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6514 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6515 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6516 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6517 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6518 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6519 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6520 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6521 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6522 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6523 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6524 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6525 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6526 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6527 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6529 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6530 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6531 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6532 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6533 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6534 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6535 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6536 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6537 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6538 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6540 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6541 * sysvipc/sys/ipc.h: Likewise.
6542 * sysvipc/sys/msg.h: Likewise.
6543 * sysvipc/sys/sem.h: Likewise.
6544 * sysvipc/sys/shm.h: Likewise.
6545 * termios/termios.h: Likewise.
6546 * time/sys/time.h: Likewise.
6547 * time/time.h: Likewise.
6548 * wcsmbs/bits/wchar2.h: Likewise.
6549 * wcsmbs/uchar.h: Likewise.
6550 * wcsmbs/wchar.h: Likewise.
6551 * wctype/wctype.h: Likewise.
6554 * Makeconfig: Remove all but ELF support including AIX support.
6555 * Makerules: Likewise.
6556 * config.h.in: Likewise.
6557 * config.make.in: Likewise.
6558 * configure: Likewise.
6559 * configure.in: Likewise.
6560 * csu/Makefile: Likewise.
6561 * csu/version.c: Likewise.
6562 * debug/Makefile: Likewise.
6563 * dlfcn/Makefile: Likewise.
6564 * elf/Makefile: Likewise.
6565 * extra-lib.mk: Likewise.
6566 * iconv/Makefile: Likewise.
6567 * include/libc-symbols.h: Likewise.
6568 * include/shlib-compat.h: Likewise.
6569 * resolv/Makefile: Likewise.
6570 * resolv/res_libc.c: Likewise.
6571 * rt/Makefile: Likewise.
6572 * sysdeps/i386/asm-syntax.h: Likewise.
6573 * sysdeps/i386/sysdep.h: Likewise.
6574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6575 * sysdeps/mach/sysdep.h: Likewise.
6576 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6577 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6578 * sysdeps/s390/asm-syntax.h: Likewise.
6579 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6580 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6581 * sysdeps/sh/sysdep.h: Likewise.
6582 * sysdeps/unix/sparc/sysdep.h: Likewise.
6583 * sysdeps/wordsize-32/divdi3.c: Likewise.
6584 * sysdeps/x86_64/sysdep.h: Likewise.
6586 * argp/Versions: Remove _argp_unlock_xxx.
6589 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6590 * abilist/libBrokenLocale.abilist: Likewise.
6591 * abilist/libanl.abilist: Likewise.
6592 * abilist/libc.abilist: Likewise.
6593 * abilist/libcrypt.abilist: Likewise.
6594 * abilist/libdl.abilist: Likewise.
6595 * abilist/libm.abilist: Likewise.
6596 * abilist/libnsl.abilist: Likewise.
6597 * abilist/libpthread.abilist: Likewise.
6598 * abilist/libresolv.abilist: Likewise.
6599 * abilist/librt.abilist: Likewise.
6600 * abilist/libthread_db.abilist: Likewise.
6601 * abilist/libutil.abilist: Likewise.
6602 * abilist/libnss_db.abilist: New file.
6604 * scripts/abilist.awk: Add support for indirect functions.
6606 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6608 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6610 * shlib-versions: Remove entries for ports architectures.
6612 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6614 * elf/stackguard-macros.h: Remove support for IA-64.
6615 * elf/tst-auditmod1.c: Likewise.
6616 * sysdeps/generic/ldsodefs.h: Likewise.
6618 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6619 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6623 * configure.in: Remove --enable-omitfp support.
6625 * config.make.in: Likewise.
6626 * Makeconfig: Likewise.
6627 * manual/install.texi: Likewise.
6629 In case anyone cares, the IA-64 architecture could move to ports.
6630 * sysdeps/ia64/*: Removed.
6631 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6632 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6635 * configure.in: Remove entries for unsupported architectures.
6638 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6639 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6641 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6642 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6643 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6644 fall back to using wcrtomb.
6645 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6646 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6648 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6649 * wcsmbs/tst-c16c32-1.c: New file.
6651 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6654 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6656 * elf/tst-unique3.cc: Add explicit declaration of gets.
6657 * elf/tst-unique3lib.cc: Likewise.
6658 * elf/tst-unique3lib2.cc: Likewise.
6659 * elf/tst-unique4.cc: Likewise.
6661 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6663 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6666 * assert/assert.h (static_assert): Don't define for C++.
6667 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6668 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6670 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6672 * iconv/loop.c (single loop): Fix assertion in storing of
6675 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6677 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6679 * posix/getconf.c: Update copyright year.
6680 * nss/getent.c: Likewise.
6681 * nss/makedb.c: Likewise.
6682 * iconv/iconvconfig.c: Likewise.
6683 * iconv/iconv_prog.c: Likewise.
6684 * elf/ldconfig.c: Likewise.
6685 * elf/pldd.c: Likewise.
6686 * elf/sotruss.ksh: Likewise.
6687 * catgets/gencat.c: Likewise.
6688 * csu/version.c: Likewise.
6689 * elf/ldd.bash.in: Likewise.
6690 * elf/sprof.c (print_version): Likewise.
6691 * locale/programs/locale.c: Likewise.
6692 * locale/programs/localedef.c: Likewise.
6693 * login/programs/pt_chown.c: Likewise.
6694 * nscd/nscd.c (print_version): Likewise.
6695 * debug/xtrace.sh: Likewise.
6696 * malloc/memusage.sh: Likewise.
6697 * malloc/mtrace.pl: Likewise.
6698 * debug/catchsegv.sh: Likewise.
6700 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6702 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6705 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6708 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6709 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6711 * iconv/gconv_int.h: Likewise.
6712 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6713 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6714 from libc for GLIBC_2.16.
6715 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6716 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6717 * wcsmbs/uchar.h: Really define mbstate_t.
6718 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6719 * wcsmbs/c16rtomb.c: New file.
6720 * wcsmbs/mbrtoc16.c: New file.
6721 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6723 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6724 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6726 * wcsmbs/wchar.h: Add missing __restrict.
6728 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6731 * time/Makefile (routines): Add timespec_get.
6732 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6733 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6734 timespec for ISO C11.
6735 * time/timespec_get.c: New file.
6736 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6737 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6740 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6741 * stdlib/stdlib.h: Declare aligned_alloc.
6742 * Versions.def: Add GLIBC_2.16 for libc.
6743 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6746 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6749 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6753 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6756 * assert/assert.h (static_assert): Define.
6758 * version.h: Update for 2.16 development version.
6761 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6764 * version.h (RELEASE): Bump for 2.15 release.
6765 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6767 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6768 Patch by Marek Polacek <mpolacek@redhat.com>.
6770 * bits/byteswap.h: Protect long long constants with __extension__.
6771 * sysdeps/i386/bits/byteswap.h: Likewise.
6772 * sysdeps/ia64/bits/byteswap.h: Likewise.
6773 * sysdeps/s390/bits/byteswap.h: Likewise.
6774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6776 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6779 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6781 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6783 2011-12-23 Marek Polacek <polacek@redhat.com>
6785 * elf/dl-addr.c (determine_info): Add inline keyword.
6786 * elf/tst-auditmod4b.c (check_avx): Likewise.
6787 * elf/tst-auditmod6b.c (check_avx): Likewise.
6788 * elf/tst-auditmod6c.c (check_avx): Likewise.
6789 * elf/tst-auditmod7b.c (check_avx): Likewise.
6791 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6793 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6796 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6800 processing for last bytes.
6802 2011-08-06 Bruno Haible <bruno@clisp.org>
6805 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6806 U+0385, not to U+1FEE.
6809 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6810 entry for U+00A5 U+0301.
6812 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6815 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6816 buffer for the output is too small.
6818 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6822 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6823 SSE flags if possible.
6825 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6828 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6829 processing for last bytes.
6831 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6833 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6834 (syscall-list-default-options, syscall-list-default-condition)
6835 (syscall-list-includes): Define.
6836 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6837 list of ABIs and options and #if conditions for each ABI. Do not
6838 handle common syscalls between ABIs specially.
6839 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6841 (syscall-list-variants, syscall-list-32bit-options)
6842 (syscall-list-32bit-condition, syscall-list-64bit-options)
6843 (syscall-list-64bit-condition): Define.
6844 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6845 (syscall-list-variants, syscall-list-32bit-options)
6846 (syscall-list-32bit-condition, syscall-list-64bit-options)
6847 (syscall-list-64bit-condition): Define.
6848 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6850 (syscall-list-variants, syscall-list-32bit-options)
6851 (syscall-list-32bit-condition, syscall-list-64bit-options)
6852 (syscall-list-64bit-condition): Define.
6853 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6855 (syscall-list-variants, syscall-list-32bit-options)
6856 (syscall-list-32bit-condition, syscall-list-64bit-options)
6857 (syscall-list-64bit-condition): Define.
6859 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6861 * locale/iso-639.def: Add brx entry.
6864 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6865 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6867 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6868 __feraiseexcept_renamed.
6870 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6873 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6874 EPOLLET with unsigned values.
6875 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6876 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6878 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6879 to large cancellation.
6880 * math/s_cacoshf.c: Likewise.
6881 * math/s_cacoshl.c: Likewise.
6883 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6887 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6888 * math/s_cacoshf.c: Likewise.
6889 * math/s_cacoshl.c: Likewise.
6891 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6894 * iconv/gconv.h: Define __GCONV_SWAP.
6895 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6896 * iconvdata/utf-16.c: Likewise.
6897 * iconvdata/utf-32.c: Likewise.
6899 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6903 numerator after shifting it by one limb.
6905 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6907 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6908 under [__USE_EXTERN_INLINES].
6910 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6913 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6915 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6917 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6918 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6920 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6921 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6922 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6923 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6924 for strncasecmp/strncasecmp_l compilation.
6925 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6926 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6928 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6931 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6934 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6937 * time/tzfile.c (__tzfile_read): Check values from file header.
6939 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6941 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6942 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6943 * powerpc/powerpc32/dl-start.S: Likewise.
6944 * powerpc/powerpc32/elf/start.S: Likewise.
6945 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6946 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6947 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6948 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6949 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6950 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6951 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6952 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6953 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6954 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6955 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6956 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6957 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6958 * powerpc/powerpc32/memset.S: Likewise.
6959 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6960 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6961 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6962 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6963 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6964 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6965 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6966 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6967 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6968 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6969 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6970 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6971 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6973 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6975 * math/libm-test.inc: Added more nearbyint tests.
6976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6977 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6979 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6981 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6983 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6986 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6988 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6989 Add wcscpy-ssse3 wcscpy-c.
6990 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6991 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6992 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6993 * sysdeps/x86_64/wcschr.S: New file.
6994 * sysdeps/x86_64/wcsrchr.S: New file.
6995 * string/test-strcmp.c: Remove checking of wcscmp function for
6997 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6998 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6999 wcsrchr-sse2 wcsrchr-c.
7000 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7001 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7002 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7003 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7004 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7005 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7006 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7007 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7008 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7009 * wcsmbc/wcschr.c (WCSCHR): New macro.
7011 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7013 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7014 * wcsmbs/test-wcsrchr.c: New file.
7015 * string/test-strrchr.c: Add wcsrchr support.
7017 * wcsmbs/test-wcscpy.c: New file.
7018 * string/test-strcpy.c: Add wcscpy support.
7021 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7026 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7029 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7031 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7033 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7034 Minor optimizations.
7036 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7037 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7038 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7040 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7042 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7043 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7044 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7045 for gcc to avoid warnings.
7046 * inet/Makefile (tests): Add tst-checks.
7047 * inet/tst-checks.c: New file.
7049 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7052 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7055 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7056 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7058 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7060 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7062 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7065 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7067 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7069 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7070 conditional on GCC version.
7071 (__arch_compare_and_exchange_val_8_acq)
7072 (__arch_compare_and_exchange_val_16_acq)
7073 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7074 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7075 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7077 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7079 * sysdeps/sh/backtrace.c: New file.
7081 2011-12-02 Andreas Schwab <schwab@redhat.com>
7083 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7086 2011-12-01 Andreas Schwab <schwab@redhat.com>
7088 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7089 falling back to utime.
7091 2011-11-30 Andreas Schwab <schwab@redhat.com>
7093 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7094 expectations for float.
7096 2011-11-29 Andreas Schwab <schwab@redhat.com>
7098 * locale/weight.h (findidx): Add parameter len.
7099 * locale/weightwc.h (findidx): Likewise.
7100 * posix/fnmatch_loop.c (FCT): Adjust caller.
7101 * posix/regcomp.c (build_equiv_class): Likewise.
7102 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7103 * posix/regexec.c (check_node_accept_bytes): Likewise.
7104 * string/strcoll_l.c (STRCOLL): Likewise.
7105 * string/strxfrm_l.c (STRXFRM): Likewise.
7107 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7109 * Makefile.in: Remove CVSOPT handling.
7110 * configure.in: Remove use of AC_REVISION.
7111 * iconvdata/Makefile (distribute): No need to filter out CVS.
7112 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7115 2011-11-16 Andreas Schwab <schwab@redhat.com>
7117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7118 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7119 [USE_AS_STRNCASECMP_L]: Likewise.
7120 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7121 NO_TLS_DIRECT_SEG_REFS.
7122 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7123 Fix argument offsets for non-PIC.
7124 [USE_AS_STRNCASECMP_L]: Likewise.
7125 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7126 NO_TLS_DIRECT_SEG_REFS.
7128 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7130 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7132 * locale/loadlocale.c (_nl_load_locale): Likewise.
7134 2011-11-15 Andreas Schwab <schwab@redhat.com>
7136 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7137 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7138 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7139 (SYSCALL_GETTIME): Set errno on error.
7141 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7142 count references to noai6ai_cached.
7144 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7146 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7148 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7149 FD_CLOEXEC for /proc/self/maps.
7151 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7152 FD_CLOEXEC for /proc/meminfo.
7154 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7157 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7158 FD_CLOEXEC for given file.
7160 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7162 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7163 FD_CLOEXEC for /etc/hosts.
7164 (_gethtent): Likewise.
7166 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7168 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7169 cancellation and set FD_CLOEXEC for /etc/netgroup.
7171 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7172 reading /etc/publickey.
7174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7175 allow cancellation when reading /etc/group.
7177 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7179 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7181 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7182 when using data file.
7184 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7186 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7187 (write_nis_obj): Use "c" and "e" in fopen.
7189 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7191 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7193 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7195 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7197 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7200 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7202 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7204 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7206 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7207 file parsing and set FD_CLOEXEC.
7209 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7211 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7213 2011-11-14 Andreas Schwab <schwab@redhat.com>
7215 * malloc/arena.c (arena_get2): Don't call reused_arena when
7216 _int_new_arena failed.
7218 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7220 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7221 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7222 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7223 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7224 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7226 to compile strcasecmp and strncasecmp.
7227 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7228 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7232 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7234 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7235 locale-defines.sym to gen-as-const-headers.
7236 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7237 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7238 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7239 to compile strcasecmp and strncasecmp.
7240 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7241 strcasecmp_l and strncasecmp_l.
7242 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7243 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7244 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7245 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7246 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7247 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7248 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7249 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7250 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7251 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7252 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7254 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7256 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7257 result of SYSDEP_GETTIME_CPU to retval.
7258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7259 parameter list to macro. Remove trailing semicolon. Adjust users.
7261 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7264 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7266 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7268 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7269 from unused variable.
7271 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7273 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7276 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7279 * sunrpc/rpc_prot.c (rejected): Fix case value.
7281 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7282 unsigned long long int to avoid warnings in shift.
7284 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7286 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7289 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7290 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7291 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7293 * nis/nis_table.c (nis_list): Use variable of correct type for
7294 result of __follow_path call.
7296 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7298 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7299 of math functions ceil, trunc, floor, round, and sqrt, when
7300 avaliable on the platform.
7301 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7307 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7309 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7310 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7312 2011-11-11 Roland McGrath <roland@hack.frob.com>
7314 * include/unistd.h: Fix __readlink return type.
7315 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7317 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7319 * stdlib/ucontext.h: Undo last change for makecontext.
7321 2011-11-11 Andreas Schwab <schwab@redhat.com>
7323 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7325 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7326 * setjmp/setjmp.h: Mark functions as non-leaf.
7327 * setjmp/bits/setjmp2.h: Likewise.
7328 * stdlib/ucontext.h: Likewise.
7330 2011-11-10 Andreas Schwab <schwab@redhat.com>
7332 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7333 (reused_arena): Don't check arena limit.
7334 (arena_get2): Atomically check arena limit.
7336 2011-11-08 Ulrich Drepper <drepper@gmail.com>
7338 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7339 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7344 2011-11-07 Andreas Schwab <schwab@redhat.com>
7346 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7347 handler when locking.
7349 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7350 Fix size of allocated buffer.
7352 2011-11-04 Andreas Schwab <schwab@redhat.com>
7355 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7356 declarations for long double functions.
7357 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7359 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7361 2011-11-03 Andreas Schwab <schwab@redhat.com>
7363 * nscd/nscd.c (main): Don't start AVC thread until credentials are
7366 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
7369 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
7371 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
7373 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
7375 * include/alloca.h (stackinfo_alloca_round): Define.
7376 (extend_alloca): Use it.
7377 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
7378 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
7381 * scripts/check-local-headers.sh: Ignore libaudit.h.
7383 * nscd/Makefile (extra-objs): Make recursively expanded.
7385 2011-11-01 Ulrich Drepper <drepper@gmail.com>
7387 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
7388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
7390 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
7391 * posix/tst-rfc3484-2.c: Likewise.
7392 * posix/tst-rfc3484-3.c: Likewise.
7394 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7396 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
7398 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
7399 process_vm_writev from libc using GLIBC_2.15 version.
7401 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
7403 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7405 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
7408 2011-10-31 Ulrich Drepper <drepper@gmail.com>
7411 * nss/getent.c (initgroups_keys): Show error message in case no group
7414 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
7415 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
7416 __bump_nl_timestamp.
7417 * nscd/connections (nscd_init): When host database is served open
7418 netlink socket and request notification about configuration changes.
7419 (main_loop_poll): Track netlink file descriptor and bump timestamp
7420 in case data becomes available.
7421 (main_loop_epoll): Likewise.
7422 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
7423 (database_pers_head): Add extra_data fileds.
7424 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
7425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
7426 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
7428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
7429 in6ai data, call __free_in6ai.
7430 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
7432 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
7433 interface information. Reuse previous data if netlink timestamp
7435 (__bump_nl_timestamp): New function.
7436 (__free_in6ai): New function.
7438 2011-10-30 Ulrich Drepper <drepper@gmail.com>
7440 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
7441 close_not_cancel_no_status here.
7442 (__check_pf): Reorganize code a bit to not call close twice if OOM.
7444 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7447 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
7450 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
7451 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
7452 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
7454 2011-07-03 Andreas Jaeger <aj@suse.de>
7457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
7458 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
7459 * math/libm-test.inc (sin_test): Add test case.
7461 2011-10-29 Ulrich Drepper <drepper@gmail.com>
7464 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
7465 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7467 * elf/chroot_canon.c (chroot_canon): Cleanups.
7469 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7472 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7473 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7475 * string/test-strchr.c: Make usable for strchrnul testing.
7476 * string/test-strchrnul.c: New file.
7477 * string/Makefile (strop-tests): Add strchrnul.
7479 * po/it.po: Update from translation team.
7480 * po/es.po: Likewise.
7482 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7485 the three constants needed as parameters. Drop the others.
7486 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7487 __m128i_strloadu_tolower.
7488 Create and initialize variable zero and use it in all the places
7489 where _mm_setzero_si128 was used.
7491 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7492 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7493 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7494 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7496 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7497 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7498 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7499 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7500 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7501 __mpranred, __mptan.
7502 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7503 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7504 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7505 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7506 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7507 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7508 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7509 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7510 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7512 2011-10-28 Andreas Schwab <schwab@redhat.com>
7514 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7516 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7518 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7519 wide char related routines to wcsmbs subdir.
7521 2011-10-27 Andreas Schwab <schwab@redhat.com>
7524 * misc/sys/cdefs.h (__THROWNL): Define.
7525 * posix/unistd.h: Use __THREADNL instead of __THREAD
7526 for memory synchronization functions.
7528 2011-10-26 Roland McGrath <roland@hack.frob.com>
7531 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7533 * manual/stdio.texi (Obstack Streams): Node removed.
7535 2011-10-26 Andreas Schwab <schwab@redhat.com>
7537 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7538 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7539 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7541 * math/math_private.h (math_force_eval): Allow non-addressable
7543 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7545 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7547 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7550 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7551 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7552 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7553 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7554 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7555 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7557 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7559 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7560 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7561 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7562 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7563 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7564 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7565 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7566 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7567 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7568 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7569 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7570 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7571 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7572 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7573 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7574 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7575 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7576 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7577 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7579 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7580 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7582 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7583 place. Use VEX encoding when compiling for AVX.
7585 2011-10-25 Andreas Schwab <schwab@redhat.com>
7587 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7588 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7590 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7592 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7594 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7595 useless if() expression.
7596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7598 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7599 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7601 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7605 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7606 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7607 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7608 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7609 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7610 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7611 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7616 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7618 2011-10-25 Andreas Schwab <schwab@redhat.com>
7620 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7624 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7626 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7627 .text section. Avoid duplicate constants.
7628 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7629 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7635 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7636 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7638 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7639 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7640 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7642 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7643 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7645 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7646 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7648 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7651 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7652 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7653 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7654 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7655 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7656 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7657 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7659 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7660 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7661 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7662 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7663 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7664 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7665 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7666 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7667 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7668 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7669 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7670 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7671 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7672 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7674 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7676 * sysdeps/x86_64/dla.h: Move to ...
7677 * sysdeps/x86_64/fpu/dla.h: ...here.
7678 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7679 situations. Use __builtin_fma only for gcc 4.6 and up.
7681 * config.make.in: Add have-mfma4 entry.
7682 * configure.in: Substitute libc_cv_cc_fma4.
7683 * math/Makefile (dbl-only-routines): Add sincostab.
7684 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7685 Use __sincostab not sincos.
7686 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7688 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7693 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7694 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7695 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7696 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7699 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7701 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7702 define aliases when function name is a macro.
7703 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7704 sysdeps/ieee754/dbl-64/sincos.tbl.
7705 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7706 fma4-enabled routines.
7707 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7708 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7709 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7710 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7711 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7712 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7714 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7715 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7716 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7717 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7718 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7719 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7720 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7721 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7722 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7723 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7724 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7725 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7727 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7728 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7729 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7730 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7732 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7733 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7734 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7735 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7736 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7738 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7749 2011-10-24 Andreas Schwab <schwab@redhat.com>
7751 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7753 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7757 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7759 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7761 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7762 Remove unused variable magic_bits.
7763 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7765 * string/strnlen.c: Define and use STRNLEN macro.
7766 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7767 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7769 * wcsmbs/wcslen.c: Define and use WCSLEN.
7770 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7771 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7772 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7773 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7774 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7775 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7778 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7781 strnlen-sse2-no-bsf.
7782 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7783 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7784 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7785 Add strnlen support.
7786 (USE_AS_STRNLEN): New macro.
7787 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7788 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7789 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7790 * sysdeps/x86_64/wcslen.S: New file.
7792 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7794 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7795 XMM-moves are used for copying on small sizes.
7797 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7799 * wcsmbs/Makefile (strop-tests): Add wcschr.
7800 * wcsmbs/test-wcschr.c: New file.
7801 * string/test-strchr.c: Update.
7805 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7807 * wcsmbs/Makefile (strop-tests): Add wcslen.
7808 * wcsmbs/test-wcslen.c: New file.
7809 * string/test-strlen.c: Update.
7813 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7815 * po/it.po: Update from translation team.
7817 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7819 * sysdeps/x86_64/wcscmp.S: Update.
7820 Fix wrong comparison semantics.
7821 wcscmp shall use signed comparison not unsigned.
7822 Don't use substraction to avoid overflow bug.
7823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7824 * wcsmbc/wcscmp.c: Likewise.
7825 * string/test-strcmp.c: Likewise.
7826 Add new tests to check cases with negative values.
7828 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7830 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7831 * sysdeps/x86_64/dla.h: ...here. New file.
7832 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7833 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7834 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7837 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7838 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7839 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7840 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7842 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7845 __ynl_finite aliases.
7847 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7851 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7853 [DLA_FMA] (EMULV): Use DLA_FMA.
7854 [DLA_FMA] (MUL12): Use EMULV.
7855 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7856 that are not needed.
7857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7861 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7862 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7865 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7867 * math/s_nan.c: Undef __nan.
7868 * math/s_nanf.c: Undef __nanf.
7869 * math/s_nanl.c: Undef __nanl.
7870 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7873 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7875 * math/s_catan.c: Add branch predictions.
7876 * math/s_catanf.c: Likewise.
7877 * math/s_catanh.c: Likewise.
7878 * math/s_catanhf.c: Likewise.
7879 * math/s_catanhl.c: Likewise.
7880 * math/s_catanl.c: Likewise.
7881 * math/s_cexp.c: Likewise.
7882 * math/s_cexpf.c: Likewise.
7883 * math/s_cexpl.c: Likewise.
7884 * math/s_clog.c: Likewise.
7885 * math/s_clog10.c: Likewise.
7886 * math/s_clog10f.c: Likewise.
7887 * math/s_clog10l.c: Likewise.
7888 * math/s_clogf.c: Likewise.
7889 * math/s_clogl.c: Likewise.
7890 * math/s_csqrt.c: Likewise.
7891 * math/s_csqrtf.c: Likewise.
7892 * math/s_csqrtl.c: Likewise.
7893 * math/s_ctanf.c: Likewise.
7894 * math/s_ctanh.c: Likewise.
7895 * math/s_ctanhf.c: Likewise.
7896 * math/s_ctanhl.c: Likewise.
7897 * math/s_ctanl.c: Likewise.
7899 * math/math_private.h: Define __nan, __nanf, __nanl.
7900 * math/s_cacosh.c: Include <math_private.h>.
7901 * math/s_cacoshl.c: Likewise.
7902 * math/s_casinh.c: Likewise.
7903 * math/s_casinhf.c: Likewise.
7904 * math/s_casinhl.c: Likewise.
7905 * math/s_ccos.c: Rely entire on ccosh.
7906 * math/s_ccosf.c: Rely entire on ccoshf.
7907 * math/s_ccosl.c: Rely entirely on ccoshl.
7908 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7909 Remove tests for FE_INVALID.
7910 * math/s_ccoshf.c: Likewise.
7911 * math/s_ccoshl.c: Likewise.
7912 * math/s_csin.c: Likewise.
7913 * math/s_csinf.c: Likewise.
7914 * math/s_csinh.c Likewise.
7915 * math/s_csinhf.c: Likewise.
7916 * math/s_csinhl.c: Likewise.
7917 * math/s_csinl.c: Likewise.
7918 * math/s_ctan.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7920 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7921 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7923 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7926 compilation problems.
7928 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7931 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7933 * sysdeps/i386/configure.in: Test for -mfma4 option.
7934 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7935 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7936 COMMON_CPUID_INDEX_80000001.
7937 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7938 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7939 use it if FMA3 is not supported.
7940 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7942 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7943 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7945 2011-10-20 Andreas Schwab <schwab@redhat.com>
7948 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7949 it would create a cycle with a link time dependency.
7951 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7953 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7955 * string/Makefile (strop-tests): Add rawmemchr.
7956 * string/test-rawmemchr.c: New file.
7958 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7959 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7960 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7961 when compiling str{,n}casecmp and when AVX is available. Hook up
7962 new optimized code in initializers.
7964 2011-10-19 Andreas Schwab <schwab@redhat.com>
7966 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7967 __feraiseexcept instead of feraiseexcept.
7969 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7971 * math/math_private.h: Define defaults for libc_fetestexcept and
7973 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7974 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7975 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7976 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7977 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7978 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7979 libc_fetestexcept and libc_feupdateenv.
7981 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7982 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7983 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7984 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7985 libc_feholdexcept_setround.
7987 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7988 Add s_nearbyint-c and s_nearbyintf-c.
7989 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7991 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7992 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7993 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7994 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7996 * math/math_private.h: Define defaults for libc_fegetround,
7997 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7998 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7999 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8001 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8003 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8004 Remove comments and hacks for old compiler versions.
8005 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8006 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8009 2011-10-18 Andreas Schwab <schwab@redhat.com>
8011 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8012 (__feraiseexcept_renamed): Add __NTH.
8013 (feraiseexcept): Add __NTH. Rename local variables to fix
8014 namespace violations.
8016 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8018 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8020 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8022 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8023 recently added interfaces.
8024 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8026 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8027 about macro parameter expansion.
8029 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8030 __NO_MATH_INLINES is defined. Cleanups.
8032 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8033 and __floorf is target has SSE4.1.
8034 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8035 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8036 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8037 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8039 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8043 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8045 2011-10-17 Andreas Schwab <schwab@redhat.com>
8047 * misc/sys/cdefs.h: Fix last change.
8049 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8052 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8054 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8056 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8057 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8058 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8059 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8061 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8064 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8065 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8066 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8067 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8068 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8069 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8070 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8071 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8072 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8073 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8074 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8075 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8076 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8077 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8079 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8080 ceil, ceilf, floor, floorf.
8082 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8083 Perform IRELATIVE relocations last.
8085 * elf/do-rel.h: Add another parameter nrelative, replacing the
8086 local variable with the same name. Change name of the function
8087 to end in Rel or Rela (uppercase).
8088 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8089 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8090 elf_dynamic_do_##reloc function.
8092 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8094 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8095 is sufficient, at least on modern CPUs.
8097 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8099 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8102 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8104 * math/bits/math-finite.h: Add entries for exp.
8105 * math/e_expl.c: Add __*_finite alias.
8106 * sysdeps/i386/fpu/e_exp.S: Likewise.
8107 * sysdeps/i386/fpu/e_expf.S: Likewise.
8108 * sysdeps/i386/fpu/e_expl.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8110 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8112 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8114 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8115 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8117 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8118 is sufficient, at least on modern CPUs.
8120 * ctype/ctype-info.c (__ctype_init): Define.
8121 * include/ctype.h (__ctype_init): Declare.
8122 (__ctype_b_loc): The variable is always initialized.
8123 (__ctype_toupper_loc): Likewise.
8124 (__ctype_tolower_loc): Likewise.
8125 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8126 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8128 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8130 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8132 * configure.in: Also look in $cxxmachine/include for C++ system
8135 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8137 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8138 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8139 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8140 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8141 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8142 (USE_AS_WMEMCMP): New macro.
8144 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8145 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8146 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8147 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8149 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8150 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8151 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8152 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8153 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8154 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8155 (USE_AS_WMEMCMP): New macro.
8156 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8157 * sysdeps/string/test-memcmp.c: Update.
8160 * wcsmbs/wmemcmp.c: Update.
8161 (WMEMCMP): New macro.
8164 2011-10-12 Andreas Jaeger <aj@suse.de>
8167 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8169 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8171 * libio/iofwide.c (do_length): Avoid warning.
8173 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8175 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8177 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8179 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8180 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8181 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8182 * sysdeps/i386/i686/fpu/e_log.S: New file.
8183 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8184 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8186 * ctype/ctype.h: Add support for inlined isXXX functions when
8189 2011-10-14 Andreas Schwab <schwab@redhat.com>
8191 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8193 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8195 2011-10-13 Roland McGrath <roland@hack.frob.com>
8198 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8200 2011-10-13 Andreas Schwab <schwab@redhat.com>
8202 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8203 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8206 * sysdeps/x86_64/memrchr.S: Check for zero size.
8208 * string/stratcliff.c: Add memrchr tests.
8210 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8213 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8214 rawmemchr-sse2 rawmemchr-sse2-bsf.
8215 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8216 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8217 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8218 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8219 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8220 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8221 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8222 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8223 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8224 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8225 * string/memrchr.c (MEMRCHR): New macro.
8227 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8229 Add integration with gcc's -ffinite-math-only and optimize wrapper
8231 * Versions.def: Define GLIBC_2.15 version for libm.
8232 * math/Makefile (headers): Add bits/math-finite.h.
8233 * math/bits/math-finite.h: New file.
8234 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8235 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8236 * math/e_acoshl.c: Add __*_finite alias.
8237 * math/e_acosl.c: Likewise.
8238 * math/e_asinl.c: Likewise.
8239 * math/e_atan2l.c: Likewise.
8240 * math/e_atanhl.c: Likewise.
8241 * math/e_coshl.c: Likewise.
8242 * math/e_exp10.c: Likewise.
8243 * math/e_exp10f.c: Likewise.
8244 * math/e_exp10l.c: Likewise.
8245 * math/e_exp2l.c: Likewise.
8246 * math/e_fmodl.c: Likewise.
8247 * math/e_gammal_r.c: Likewise.
8248 * math/e_hypotl.c: Likewise.
8249 * math/e_j0l.c: Likewise.
8250 * math/e_j1l.c: Likewise.
8251 * math/e_jnl.c: Likewise.
8252 * math/e_lgammal_r.c: Likewise.
8253 * math/e_log10l.c: Likewise.
8254 * math/e_log2l.c: Likewise.
8255 * math/e_logl.c: Likewise.
8256 * math/e_powl.c: Likewise.
8257 * math/e_sinhl.c: Likewise.
8258 * math/e_sqrtl.c: Likewise.
8259 * math/e_scalb.c: Completely rewritten and optimized.
8260 * math/e_scalbf.c: Likewise.
8261 * math/e_scalbl.c: Likewise.
8262 * math/w_acos.c: Likewise.
8263 * math/w_acosf.c: Likewise.
8264 * math/w_acosl.c: Likewise.
8265 * math/w_acosh.c: Likewise.
8266 * math/w_acoshf.c: Likewise.
8267 * math/w_acoshl.c: Likewise.
8268 * math/w_asin.c: Likewise.
8269 * math/w_asinf.c: Likewise.
8270 * math/w_asinl.c: Likewise.
8271 * math/w_atan2.c: Likewise.
8272 * math/w_atan2f.c: Likewise.
8273 * math/w_atan2l.c: Likewise.
8274 * math/w_atanh.c: Likewise.
8275 * math/w_atanhf.c: Likewise.
8276 * math/w_atanhl.c: Likewise.
8277 * math/w_exp10.c: Likewise.
8278 * math/w_exp10f.c: Likewise.
8279 * math/w_exp10l.c: Likewise.
8280 * math/w_fmod.c: Likewise.
8281 * math/w_fmodf.c: Likewise.
8282 * math/w_fmodl.c: Likewise.
8283 * math/w_j0.c: Likewise.
8284 * math/w_j0f.c: Likewise.
8285 * math/w_j0l.c: Likewise.
8286 * math/w_j1.c: Likewise.
8287 * math/w_j1f.c: Likewise.
8288 * math/w_j1l.c: Likewise.
8289 * math/w_jn.c: Likewise.
8290 * math/w_jnf.c: Likewise.
8291 * math/w_log.c: Likewise.
8292 * math/w_logf.c: Likewise.
8293 * math/w_logl.c: Likewise.
8294 * math/w_log10.c: Likewise.
8295 * math/w_log10f.c: Likewise.
8296 * math/w_log10l.c: Likewise.
8297 * math/w_log2.c: Likewise.
8298 * math/w_log2f.c: Likewise.
8299 * math/w_log2l.c: Likewise.
8300 * math/w_pow.c: Likewise.
8301 * math/w_powf.c: Likewise.
8302 * math/w_powl.c: Likewise.
8303 * math/w_remainder.c: Likewise.
8304 * math/w_remainderf.c: Likewise.
8305 * math/w_remainderl.c: Likewise.
8306 * math/w_scalb.c: Likewise.
8307 * math/w_scalbf.c: Likewise.
8308 * math/w_scalbl.c: Likewise.
8309 * math/w_sqrt.c: Likewise.
8310 * math/w_sqrtf.c: Likewise.
8311 * math/w_sqrtl.c: Likewise.
8312 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8313 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8315 * math/math_private.h: Declare __kernel_standard_f.
8316 * math/w_cosh.c: Remove cruft and optimize a bit.
8317 * math/w_coshf.c: Likewise.
8318 * math/w_coshl.c: Likewise.
8319 * math/w_exp2.c: Likewise.
8320 * math/w_exp2f.c: Likewise.
8321 * math/w_exp2l.c: Likewise.
8322 * math/w_hypot.c: Likewise.
8323 * math/w_hypotf.c: Likewise.
8324 * math/w_hypotl.c: Likewise.
8325 * math/w_lgamma.c: Likewise.
8326 * math/w_lgamma_r.c: Likewise.
8327 * math/w_lgammaf.c: Likewise.
8328 * math/w_lgammaf_r.c: Likewise.
8329 * math/w_lgammal.c: Likewise.
8330 * math/w_lgammal_r.c: Likewise.
8331 * math/w_sinh.c: Likewise.
8332 * math/w_sinhf.c: Likewise.
8333 * math/w_sinhl.c: Likewise.
8334 * math/w_tgamma.c: Likewise.
8335 * math/w_tgammaf.c: Likewise.
8336 * math/w_tgammal.c: Likewise.
8337 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8339 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8340 Minor optimizations. Pretty printing. Remove cruft.
8341 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8342 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8345 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8346 * sysdeps/i386/fpu/e_asin.S: Likewise.
8347 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8348 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8349 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8350 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8351 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8353 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8354 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8355 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8356 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8357 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8358 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8359 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8360 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8361 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8362 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
8363 * sysdeps/i386/fpu/e_hypot.S: Likewise.
8364 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
8365 * sysdeps/i386/fpu/e_log.S: Likewise.
8366 * sysdeps/i386/fpu/e_log10.S: Likewise.
8367 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8369 * sysdeps/i386/fpu/e_log2.S: Likewise.
8370 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8372 * sysdeps/i386/fpu/e_logf.S: Likewise.
8373 * sysdeps/i386/fpu/e_logl.S: Likewise.
8374 * sysdeps/i386/fpu/e_pow.S: Likewise.
8375 * sysdeps/i386/fpu/e_powf.S: Likewise.
8376 * sysdeps/i386/fpu/e_powl.S: Likewise.
8377 * sysdeps/i386/fpu/e_remainder.S: Likewise.
8378 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
8379 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
8380 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8382 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8383 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
8384 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
8385 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
8386 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8387 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8389 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8391 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8392 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8395 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8396 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8397 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8407 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8408 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8409 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8410 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8411 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8412 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8413 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8414 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
8415 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8416 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8417 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8418 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8419 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8420 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8421 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8422 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8423 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8424 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8425 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8426 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8439 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8441 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8442 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8443 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8444 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
8455 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8457 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8458 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8459 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8464 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8466 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
8469 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8471 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8472 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8473 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8474 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8475 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8476 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8477 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8478 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8479 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8480 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8481 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8482 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8483 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8484 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8485 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8486 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8487 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8488 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8489 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8490 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8492 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8494 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8495 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8496 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8497 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8498 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8499 (__isnanf): Likewise.
8500 (__isinf_ns): Likewise.
8501 (__isinf_nsf): Likewise.
8502 (__finite): Likewise.
8503 (__finitef): Likewise.
8504 (__ieee754_sqrt): Define as macro.
8505 (__ieee754_sqrtf): Define as macro.
8506 (__ieee754_sqrtl): Define as macro.
8507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8509 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8510 __FINITE_MATH_ONLY__ consistent.
8511 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8513 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8515 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8518 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8520 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8522 * po/ja.po: Update from translation team.
8524 2011-10-08 Roland McGrath <roland@hack.frob.com>
8526 * locale/programs/locarchive.c (prepare_address_space): New function.
8527 (create_archive, enlarge_archive, open_archive): Use it.
8529 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8530 inside [SHARED], where it is used.
8532 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8534 * nss/getent.c (netgroup_keys): Remove unused variable.
8535 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8537 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8539 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8540 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8543 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8544 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8545 * math/Makefile (libm-calls): Add s_isinf_ns.
8546 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8547 * math/multc3.c: Likewise.
8548 * math/s_casin.c: Likewise.
8549 * math/s_casinf.c: Likewise.
8550 * math/s_casinl.c: Likewise.
8551 * math/s_ccos.c: Likewise.
8552 * math/s_ccosf.c: Likewise.
8553 * math/s_ccosl.c: Likewise.
8554 * math/s_ctan.c: Likewise.
8555 * math/s_ctanf.c: Likewise.
8556 * math/s_ctanh.c: Likewise.
8557 * math/s_ctanhf.c: Likewise.
8558 * math/s_ctanhl.c: Likewise.
8559 * math/s_ctanl.c: Likewise.
8560 * math/w_fmod.c: Likewise.
8561 * math/w_fmodf.c: Likewise.
8562 * math/w_fmodl.c: Likewise.
8563 * math/w_remainder.c: Likewise.
8564 * math/w_remainderf.c: Likewise.
8565 * math/w_remainderl.c: Likewise.
8566 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8567 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8568 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8570 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8571 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8572 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8573 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8575 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8577 * stdio-common/printf_fphex.c: Likewise.
8578 * stdio-common/printf_size.c: Likewise.
8580 * math/e_exp10.c: Include math_private.h using <...> not "...".
8581 * math/e_exp10f.c: Likewise.
8582 * math/e_exp10l.c: Likewise.
8583 * math/e_exp2l.c: Likewise.
8584 * math/e_j0l.c: Likewise.
8585 * math/e_j1l.c: Likewise.
8586 * math/e_jnl.c: Likewise.
8587 * math/e_lgammal_r.c: Likewise.
8588 * math/e_rem_pio2l.c: Likewise.
8589 * math/e_scalb.c: Likewise.
8590 * math/e_scalbf.c: Likewise.
8591 * math/e_scalbl.c: Likewise.
8592 * math/k_cosl.c: Likewise.
8593 * math/k_sinl.c: Likewise.
8594 * math/k_tanl.c: Likewise.
8595 * math/s_cacoshf.c: Likewise.
8596 * math/s_catan.c: Likewise.
8597 * math/s_catanf.c: Likewise.
8598 * math/s_catanh.c: Likewise.
8599 * math/s_catanhf.c: Likewise.
8600 * math/s_catanhl.c: Likewise.
8601 * math/s_catanl.c: Likewise.
8602 * math/s_ccosh.c: Likewise.
8603 * math/s_ccoshf.c: Likewise.
8604 * math/s_ccoshl.c: Likewise.
8605 * math/s_cexp.c: Likewise.
8606 * math/s_cexpf.c: Likewise.
8607 * math/s_cexpl.c: Likewise.
8608 * math/s_clog.c: Likewise.
8609 * math/s_clog10.c: Likewise.
8610 * math/s_clog10f.c: Likewise.
8611 * math/s_clog10l.c: Likewise.
8612 * math/s_clogf.c: Likewise.
8613 * math/s_clogl.c: Likewise.
8614 * math/s_csin.c: Likewise.
8615 * math/s_csinf.c: Likewise.
8616 * math/s_csinh.c: Likewise.
8617 * math/s_csinhf.c: Likewise.
8618 * math/s_csinhl.c: Likewise.
8619 * math/s_csinl.c: Likewise.
8620 * math/s_csqrt.c: Likewise.
8621 * math/s_csqrtf.c: Likewise.
8622 * math/s_csqrtl.c: Likewise.
8623 * math/s_ctan.c: Likewise.
8624 * math/s_ctanf.c: Likewise.
8625 * math/s_ctanh.c: Likewise.
8626 * math/s_ctanhf.c: Likewise.
8627 * math/s_ctanhl.c: Likewise.
8628 * math/s_ctanl.c: Likewise.
8629 * math/s_ldexp.c: Likewise.
8630 * math/s_ldexpf.c: Likewise.
8631 * math/s_ldexpl.c: Likewise.
8632 * math/s_significand.c: Likewise.
8633 * math/s_significandf.c: Likewise.
8634 * math/s_significandl.c: Likewise.
8635 * math/w_acos.c: Likewise.
8636 * math/w_acosf.c: Likewise.
8637 * math/w_acosh.c: Likewise.
8638 * math/w_acoshf.c: Likewise.
8639 * math/w_acoshl.c: Likewise.
8640 * math/w_acosl.c: Likewise.
8641 * math/w_asin.c: Likewise.
8642 * math/w_asinf.c: Likewise.
8643 * math/w_asinl.c: Likewise.
8644 * math/w_atan2.c: Likewise.
8645 * math/w_atan2f.c: Likewise.
8646 * math/w_atan2l.c: Likewise.
8647 * math/w_atanh.c: Likewise.
8648 * math/w_atanhf.c: Likewise.
8649 * math/w_atanhl.c: Likewise.
8650 * math/w_cosh.c: Likewise.
8651 * math/w_coshf.c: Likewise.
8652 * math/w_coshl.c: Likewise.
8653 * math/w_dremf.c: Likewise.
8654 * math/w_exp10.c: Likewise.
8655 * math/w_exp10f.c: Likewise.
8656 * math/w_exp10l.c: Likewise.
8657 * math/w_exp2.c: Likewise.
8658 * math/w_exp2f.c: Likewise.
8659 * math/w_fmod.c: Likewise.
8660 * math/w_fmodf.c: Likewise.
8661 * math/w_fmodl.c: Likewise.
8662 * math/w_hypot.c: Likewise.
8663 * math/w_hypotf.c: Likewise.
8664 * math/w_hypotl.c: Likewise.
8665 * math/w_j0.c: Likewise.
8666 * math/w_j0f.c: Likewise.
8667 * math/w_j0l.c: Likewise.
8668 * math/w_j1.c: Likewise.
8669 * math/w_j1f.c: Likewise.
8670 * math/w_j1l.c: Likewise.
8671 * math/w_jn.c: Likewise.
8672 * math/w_jnf.c: Likewise.
8673 * math/w_jnl.c: Likewise.
8674 * math/w_lgamma.c: Likewise.
8675 * math/w_lgamma_r.c: Likewise.
8676 * math/w_lgammaf.c: Likewise.
8677 * math/w_lgammaf_r.c: Likewise.
8678 * math/w_lgammal.c: Likewise.
8679 * math/w_lgammal_r.c: Likewise.
8680 * math/w_log.c: Likewise.
8681 * math/w_log10.c: Likewise.
8682 * math/w_log10f.c: Likewise.
8683 * math/w_log10l.c: Likewise.
8684 * math/w_log2.c: Likewise.
8685 * math/w_log2f.c: Likewise.
8686 * math/w_log2l.c: Likewise.
8687 * math/w_logf.c: Likewise.
8688 * math/w_logl.c: Likewise.
8689 * math/w_pow.c: Likewise.
8690 * math/w_powf.c: Likewise.
8691 * math/w_powl.c: Likewise.
8692 * math/w_remainder.c: Likewise.
8693 * math/w_remainderf.c: Likewise.
8694 * math/w_remainderl.c: Likewise.
8695 * math/w_scalb.c: Likewise.
8696 * math/w_scalbf.c: Likewise.
8697 * math/w_scalbl.c: Likewise.
8698 * math/w_sinh.c: Likewise.
8699 * math/w_sinhf.c: Likewise.
8700 * math/w_sinhl.c: Likewise.
8701 * math/w_sqrt.c: Likewise.
8702 * math/w_sqrtf.c: Likewise.
8703 * math/w_sqrtl.c: Likewise.
8704 * math/w_tgamma.c: Likewise.
8705 * math/w_tgammaf.c: Likewise.
8706 * math/w_tgammal.c: Likewise.
8708 * po/ja.po: Update from translation team.
8710 2011-09-29 Andreas Jaeger <aj@suse.de>
8713 * sunrpc/netname.c (netname2host): Fix logic.
8717 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8719 * math/w_remainder.c (__remainder): Likewise.
8720 * math/w_remainderf.c (__remainderf): Likewise.
8721 * math/libm-test.inc (remainder_test): Add test cases.
8723 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8725 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8728 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8730 * string/test-memcmp.c: Avoid unncessary #defines.
8731 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8733 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8735 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8736 Use new sse2 version for core i3 - i7 as it's faster
8738 (bit_Prefer_PMINUB_for_stringop): New.
8739 * sysdeps/x86_64/rawmemchr.S: Update.
8740 Replace with faster SSE2 version.
8741 * sysdeps/x86_64/memrchr.S: New file.
8742 * sysdeps/x86_64/memchr.S: Update.
8743 Replace with faster SSE2 version.
8745 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8747 * elf/dl-load.c (lose): Add cast to avoid warning.
8749 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8751 * po/ca.po: Update from translation team.
8753 * inet/getnetgrent_r.c: Hook up nscd.
8754 * nscd/Makefile (routines): Add nscd_netgroup.
8755 (nscd-modules): Add netgroupcache.
8756 (CFLAGS-netgroupcache.c): Define.
8757 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8758 (cache_search): Add const to second parameter.
8759 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8761 (dbs): Add netgrdb entry.
8762 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8763 (verify_persistent_db): Handle netgrdb.
8764 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8765 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8767 (netgroup_response_header): Define.
8768 (innetgroup_response_header): Define.
8769 (datahead): Add netgroup_response_header and innetgroup_response_header
8771 * nscd/nscd.conf: Add entries for netgroup cache.
8772 * nscd/nscd.h (dbtype): Add netgrdb.
8773 (_PATH_NSCD_NETGROUP_DB): Define.
8774 (netgroup_iov_disabled): Declare.
8775 (xmalloc, xcalloc, xrealloc): Move declarations here.
8776 (cache_search): Adjust prototype.
8777 Add netgroup-related prototypes.
8778 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8779 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8780 (__nscd_innetgr): Declare.
8781 * nscd/selinux.c (perms): Use access_vector_t as element type and
8782 add netgroup-related initializers.
8783 * nscd/netgroupcache.c: New file.
8784 * nscd/nscd_netgroup.c: New file.
8785 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8786 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8787 For four parameters use innetgr.
8788 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8789 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8790 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8791 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8793 * nscd/connections.c (register_traced_file): Don't register file
8794 for disabled databases.
8796 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8798 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8800 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8801 from tree and freeing node.
8803 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8805 * nss/nsswitch.c (__nss_database_lookup): Handle
8806 nss_parse_service_list out of memory case.
8808 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8810 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8813 2011-10-04 Andreas Schwab <schwab@redhat.com>
8815 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8816 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8818 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8819 elf_machine_rela, elf_machine_lazy_rel.
8820 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8821 (ELF_DYNAMIC_DO_REL): Likewise.
8822 (ELF_DYNAMIC_DO_RELA): Likewise.
8823 (ELF_DYNAMIC_RELOCATE): Likewise.
8824 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8825 to ELF_DYNAMIC_DO_REL.
8826 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8827 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8828 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8831 skip_ifunc, don't call ifunc function if non-zero.
8832 (elf_machine_rela): Likewise.
8833 (elf_machine_lazy_rel): Likewise.
8834 (elf_machine_lazy_rela): Likewise.
8835 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8836 (elf_machine_lazy_rel): Likewise.
8837 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8839 (elf_machine_lazy_rel): Likewise.
8840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8842 (elf_machine_lazy_rel): Likewise.
8843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8844 (elf_machine_lazy_rel): Likewise.
8845 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8846 (elf_machine_lazy_rel): Likewise.
8847 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8848 (elf_machine_lazy_rel): Likewise.
8849 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8850 (elf_machine_lazy_rel): Likewise.
8851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8852 (elf_machine_lazy_rel): Likewise.
8853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8854 (elf_machine_lazy_rel): Likewise.
8856 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8858 * nss/nss_files/files-init.c (_nss_files_init): Use static
8859 initialization for all the *_traced_file variables.
8861 2011-09-28 Andreas Schwab <schwab@redhat.com>
8863 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8865 2011-09-27 Roland McGrath <roland@hack.frob.com>
8868 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8870 2011-09-27 Andreas Schwab <schwab@redhat.com>
8872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8873 Reread the line before reparsing it.
8875 2011-09-26 Andreas Schwab <schwab@redhat.com>
8877 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8879 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8880 Maxim Kuvyrkov <maxim@codesourcery.com>
8881 Joseph Myers <joseph@codesourcery.com>
8883 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8884 if needed for __stack_chk_guard.
8886 2011-09-19 Roland McGrath <roland@hack.frob.com>
8888 * sysdeps/posix/spawni.c (script_execute): Always define it.
8889 It will be optimized away if unused.
8890 (maybe_script_execute): New function.
8891 (__spawni): Call it.
8893 * Makerules: Don't include tls.make.
8894 (config-tls): Always set to thread.
8895 * tls.make.c: File removed.
8897 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8899 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8900 * config.make.in (CPPFLAGS-config): New substituted variable.
8902 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8904 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8907 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8908 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8910 2011-09-15 Roland McGrath <roland@hack.frob.com>
8912 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8913 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8915 (CALL_FAIL): Likewise.
8916 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8917 (CALL_FAIL): Macro removed.
8918 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8920 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8922 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8923 for __FINITE_MATH_ONLY__ == 1.
8925 2011-09-15 Andreas Schwab <schwab@redhat.com>
8927 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8928 __ieee754_sqrt instead of sqrt.
8929 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8930 __ieee754_sqrtf instead of sqrtf.
8931 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8932 __floorf instead of floorf.
8933 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8934 __floorf, __truncf instead of floorf, truncf.
8936 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8938 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8940 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8941 __extern_always_inline.
8942 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8945 2011-09-14 Andreas Schwab <schwab@redhat.com>
8947 * elf/rtld.c (dl_main): Also relocate in dependency order when
8948 doing symbol dependency testing.
8950 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8952 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8953 Always define `refsym'.
8955 2011-09-13 Andreas Schwab <schwab@redhat.com>
8957 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8958 (__FD_ELT): Renamed from __FDELT.
8959 * misc/bits/select2.h (__FD_ELT): Likewise.
8960 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8961 __FD_MASK instead of __FDELT, __FDMASK.
8962 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8964 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8967 * elf/Makefile (gen-ldd): Fix pattern.
8969 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8970 (init_tls): Likewise.
8972 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8976 2011-09-12 Andreas Schwab <schwab@redhat.com>
8978 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8979 `struct cmsghdr *' instead of `void *'.
8980 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8983 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8985 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8987 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8990 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8992 * configure.in: Remove --with-tls option.
8993 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8994 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8995 out in case it is missing.
8996 * sysdeps/ia64/elf/configure.in: Likewise.
8997 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8998 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8999 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9000 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9001 * sysdeps/sh/elf/configure.in: Likewise.
9002 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9003 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9004 * sysdeps/x86_64/elf/configure.in: Likewise.
9005 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9006 * sysdeps/mach/hurd/tls.h: Likewise.
9009 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9012 * configure.in: Fix use of AC_INIT.
9014 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9016 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9018 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9020 * malloc/hooks.c: Likewise.
9023 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9024 variables statically.
9025 (narenas): Initialize.
9026 (list_lock): Initialize.
9027 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9028 initializtion of main_arena and list_lock. Small cleanups.
9029 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9030 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9031 Add initializers to main_arena and mp_.
9032 (malloc_state): Remove pagesize member. Change all users to use
9035 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9036 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9037 is always initialized.
9039 * malloc/malloc.c: Removed unused configurations and dead code.
9040 * malloc/arena.c: Likewise.
9041 * malloc/hooks.c: Likewise.
9042 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9044 * include/tls.h: Removed. USE___THREAD must always be defined.
9045 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9046 * elf/dl-libc.c: Likewise.
9047 * elf/dl-tsd.c: Likewise.
9048 * include/errno.h: Likewise.
9049 * include/netdb.h: Likewise.
9050 * include/resolv.h: Likewise.
9051 * inet/herrno-loc.c: Likewise.
9052 * inet/herrno.c: Likewise.
9053 * malloc/arena.c: Likewise.
9054 * malloc/hooks.c: Likewise.
9055 * malloc/malloc.c: Likewise.
9056 * resolv/res-state.c: Likewise.
9057 * resolv/res_libc.c: Likewise.
9058 * sysdeps/i386/dl-machine.h: Likewise.
9059 * sysdeps/ia64/dl-machine.h: Likewise.
9060 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9061 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9062 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9063 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9064 * sysdeps/sh/dl-machine.h: Likewise.
9065 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9066 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9067 * sysdeps/unix/i386/sysdep.S: Likewise.
9068 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9069 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9071 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9073 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9074 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9076 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9078 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9079 * sysdeps/x86_64/dl-machine.h: Likewise.
9080 * tls.make.c: Likewise.
9082 * configure.in: Remove --with-__thread option. Make tests for
9083 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9084 tls_model attribute fail if no support is available. Remove
9086 * Makeconfig: Adjust for dropped configure option. All features are
9088 * Makerules: Likewise.
9089 * Versions.def: Likewise.
9090 * argp/argp-fmtstream.c: Likewise.
9091 * argp/argp-fmtstream.h: Likewise.
9092 * argp/argp-help.c: Likewise.
9093 * assert/assert.c: Likewise.
9094 * config.h.in: Likewise.
9095 * config.make.in: Likewise.
9096 * configure: Likewise.
9097 * configure.in: Likewise.
9098 * csu/Versions: Likewise.
9099 * csu/init.c: Likewise.
9100 * elf/tst-audit2.c: Likewise.
9101 * elf/tst-tls10.c: Likewise.
9102 * elf/tst-tls10.h: Likewise.
9103 * elf/tst-tls11.c: Likewise.
9104 * elf/tst-tls12.c: Likewise.
9105 * elf/tst-tls14.c: Likewise.
9106 * elf/tst-tlsmod11.c: Likewise.
9107 * elf/tst-tlsmod12.c: Likewise.
9108 * elf/tst-tlsmod13.c: Likewise.
9109 * elf/tst-tlsmod13a.c: Likewise.
9110 * elf/tst-tlsmod14a.c: Likewise.
9111 * elf/tst-tlsmod15b.c: Likewise.
9112 * elf/tst-tlsmod16a.c: Likewise.
9113 * elf/tst-tlsmod16b.c: Likewise.
9114 * elf/tst-tlsmod7.c: Likewise.
9115 * elf/tst-tlsmod8.c: Likewise.
9116 * elf/tst-tlsmod9.c: Likewise.
9117 * gmon/gmon.c: Likewise.
9118 * grp/fgetgrent_r.c: Likewise.
9119 * grp/putgrent.c: Likewise.
9120 * hurd/fopenport.c: Likewise.
9121 * include/libc-symbols.h: Likewise.
9122 * include/tls.h: Likewise.
9123 * intl/gettextP.h: Likewise.
9124 * intl/loadinfo.h: Likewise.
9125 * locale/global-locale.c: Likewise.
9126 * locale/localeinfo.h: Likewise.
9127 * mach/devstream.c: Likewise.
9128 * malloc/arena.c: Likewise.
9129 * malloc/set-freeres.c: Likewise.
9130 * misc/err.c: Likewise.
9131 * misc/getttyent.c: Likewise.
9132 * misc/mntent_r.c: Likewise.
9133 * posix/getopt.c: Likewise.
9134 * posix/wordexp.c: Likewise.
9135 * pwd/fgetpwent_r.c: Likewise.
9136 * resolv/Versions: Likewise.
9137 * resolv/res_hconf.c: Likewise.
9138 * shadow/fgetspent_r.c: Likewise.
9139 * shadow/putspent.c: Likewise.
9140 * stdio-common/printf_fphex.c: Likewise.
9141 * stdio-common/tmpfile.c: Likewise.
9142 * stdlib/abort.c: Likewise.
9143 * stdlib/fmtmsg.c: Likewise.
9144 * sunrpc/auth_unix.c: Likewise.
9145 * sunrpc/clnt_perr.c: Likewise.
9146 * sunrpc/clnt_tcp.c: Likewise.
9147 * sunrpc/clnt_udp.c: Likewise.
9148 * sunrpc/clnt_unix.c: Likewise.
9149 * sunrpc/openchild.c: Likewise.
9150 * sunrpc/svc_simple.c: Likewise.
9151 * sunrpc/svc_tcp.c: Likewise.
9152 * sunrpc/svc_udp.c: Likewise.
9153 * sunrpc/svc_unix.c: Likewise.
9154 * sunrpc/xdr.c: Likewise.
9155 * sunrpc/xdr_array.c: Likewise.
9156 * sunrpc/xdr_rec.c: Likewise.
9157 * sunrpc/xdr_ref.c: Likewise.
9158 * sunrpc/xdr_stdio.c: Likewise.
9160 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9162 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9164 2011-07-03 Andreas Jaeger <aj@suse.de>
9166 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9167 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9168 regenerate with gen-libm-tests.pl.
9170 2010-05-12 Petr Baudis <pasky@suse.cz>
9173 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9174 around j0() zero points by switching to j1().
9175 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9180 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9182 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9184 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9187 Patch in part by Pavel Roskin <proski@gnu.org>.
9190 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9192 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9193 Free memory block if necessary.
9196 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9197 be NULL. Don't lock in this case.
9199 2011-09-09 Roland McGrath <roland@hack.frob.com>
9201 * elf/elf.h (ELFOSABI_GNU): New macro.
9202 (ELFOSABI_LINUX): Define to that.
9204 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9206 * string/strncat.c (strncat): Undef the symbol in case it has been
9207 defined in bits/string.h.
9209 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9211 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9213 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9216 2011-08-17 Andreas Jaeger <aj@suse.de>
9218 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9220 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9221 Ian Lance Taylor <iant@google.com>
9223 * math/libm-test.inc (lround_test): New testcase.
9224 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9226 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9228 * Makefile: Remove support for automatic cvs check-ins.
9229 * Makerules: Likewise.
9230 * config.make.in: Likewise.
9231 * configure.in: Likewise.
9232 * intl/Makefile: Likewise.
9233 * locale/Makefile: Likewise.
9234 * po/Makefile: Likewise.
9235 * posix/Makefile: Likewise.
9236 * sysdeps/gnu/Makefile: Likewise.
9237 * sysdeps/mach/hurd/Makefile: Likewise.
9238 * sysdeps/sparc/sparc32/Makefile: Likewise.
9241 * posix/Makefile (bug-regex32-ENV): Define.
9242 Patch by John Stanley <jpsinthemix@verizon.net>.
9244 * misc/Makefile (headers): Add bits/select2.h.
9245 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9246 * misc/bits/select2.h: New file.
9247 * include/bits/select2.h: New file.
9248 * debug/Makefile (routines): Add fdelt_chk.
9249 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9250 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9252 * debug/fdelt_chk.c: New file.
9254 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9255 * wcsmbs/test-wmemcmp.c: Likewise.
9256 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9257 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9259 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9261 * string/Makefile (strop-tests): Add memcmp.
9262 * string/test-wmemcmp.c: New file.
9263 * string/test-memcmp.c: Add wmemcmp support.
9265 2011-09-08 Roland McGrath <roland@hack.frob.com>
9268 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9271 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9272 garbage value in a __mach_port_mod_refs call in the cases of the
9273 task-self and thread-self ports.
9275 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9277 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9279 2011-09-08 Andreas Schwab <schwab@redhat.com>
9281 * elf/dl-load.c (lose): Check for non-null L.
9283 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9285 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9287 * elf/dl-libc.c (dlerror_run): Pass back error code from
9291 * elf/dl-load.c (lose): Free l_origin if it is valid.
9293 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9295 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9296 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9297 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9298 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9299 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9300 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9302 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9304 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9305 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9306 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9307 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9308 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9309 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9310 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9311 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9312 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9313 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9315 2011-08-15 Alan Modra <amodra@gmail.com>
9318 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9319 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9320 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9321 ppc_mcount to static-only-routines.
9322 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9324 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9325 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9327 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9329 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9330 for finite and infinity parameters.
9332 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9335 and add nop instructions for throughput optimization.
9336 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9338 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9340 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9341 aligned copy for power7 with vector-scalar instructions.
9342 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9344 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9349 2011-09-07 Andreas Schwab <schwab@redhat.com>
9352 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9355 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9357 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9358 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9359 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9360 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9363 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
9366 Forgot to demangle the pointer.
9368 * sysdeps/i386/sysdep.h: Define atom_text_section.
9369 * sysdeps/x86_64/sysdep.h: Likewise.
9370 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
9371 section with atom_text_section.
9372 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9373 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9374 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9376 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
9378 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
9379 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
9380 already be defined. Change to take two parameters and don't assign
9381 result to variable. Adjust all users.
9382 Define INTERNAL_GETTIME if not already defined.
9383 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
9385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
9386 HAVE_CLOCK_GETTIME_VSYSCALL.
9387 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
9389 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
9390 gettimeofday vsyscall, just use time.
9392 2011-09-06 Andreas Schwab <schwab@redhat.com>
9394 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
9397 2011-09-06 Ulrich Drepper <drepper@gmail.com>
9399 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
9401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
9403 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
9405 syscall if possible.
9407 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9409 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
9410 e_ident. Don't pass to find_mapsXX.
9411 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
9413 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9416 strchr-sse2-no-bsf strrchr-sse2-no-bsf
9417 * sysdeps/x86_64/multiarch/strchr.S: Update.
9418 Check bit_slow_BSF bit.
9419 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9420 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
9421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
9423 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9426 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
9429 (__spawni): Change last parameter to be flag. Test
9430 SPAWN_XFLAGS_USE_PATH flag to use path or not.
9431 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
9432 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
9433 * posix/spawni.c: Likewise.
9434 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
9435 * posix/spawnp.c: Likewise. Change normal version to use
9436 SPAWN_XFLAGS_USE_PATH.
9437 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
9438 SPAWN_XFLAGS_TRY_SHELL.
9441 * posix/glob.h: Remove gcc 1.x support.
9444 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
9446 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9449 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
9451 * sysdeps/i386/i686/multiarch/strchr.S: New file.
9452 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
9453 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
9454 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
9455 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
9456 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
9458 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9460 * sysdeps/x86_64/wcscmp.S: New file.
9462 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
9463 wcscmp-c wcscmp-sse2
9464 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
9465 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
9466 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
9467 * wcsmbs/wcscmp.c: Allow renaming.
9469 2011-09-05 David S. Miller <davem@davemloft.net>
9471 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9472 stack slot, rather than the struct return pointer slot.
9473 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9474 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9476 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9478 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9480 * po/ja.po: Update from translation team.
9483 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9484 kernel in 64-bit binaries.
9486 2011-09-01 David S. Miller <davem@davemloft.net>
9488 * elf/elf.h (HWCAP_SPARC_*): Move to..
9489 * sysdeps/sparc/sysdep.h: this new file and add new values.
9490 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9491 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9492 _DL_HWCAP_COUNT to 24.
9493 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9495 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9496 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9497 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9499 instead of magic constants.
9500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9502 2011-08-31 David S. Miller <davem@davemloft.net>
9504 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9506 Reimplement to do errno handling inline.
9507 (SYSCALL_ERROR_HANDLER): New macro.
9508 (__SYSCALL_STRING): Do not do errno handling in asm.
9509 (__CLONE_SYSCALL_STRING): Delete.
9510 (__INTERNAL_SYSCALL_STRING): Delete.
9511 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9512 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9513 (PSEUDO): Reimplement to do errno handling inline.
9514 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9515 (SYSCALL_ERROR_HANDLER): New macro.
9516 (__SYSCALL_STRING): Do not do errno handling in asm.
9517 (__CLONE_SYSCALL_STRING): Delete.
9518 (__INTERNAL_SYSCALL_STRING): Delete.
9519 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9520 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9522 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9523 (inline_syscall*): Add 'err' argument.
9524 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9525 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9526 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9527 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9529 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9530 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9532 2011-08-30 Andreas Schwab <schwab@redhat.com>
9534 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9536 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9538 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9541 2011-08-24 David S. Miller <davem@davemloft.net>
9543 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9545 2011-08-24 Andreas Schwab <schwab@redhat.com>
9547 * elf/Makefile: Add rules to build and run unload8 test.
9548 * elf/unload8.c: New file.
9549 * elf/unload8mod1.c: New file.
9550 * elf/unload8mod1x.c: New file.
9551 * elf/unload8mod2.c: New file.
9552 * elf/unload8mod3.c: New file.
9554 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9557 2011-08-23 David S. Miller <davem@davemloft.net>
9559 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9560 subtract stack bias.
9561 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9562 %sp not %fp in calculations.
9563 (_JMPBUF_UNWINDS_ADJ): Likewise.
9565 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9566 (aio_suspend): Call it to force an exception region around the
9567 AIO_MISC_WAIT() invocation.
9569 2011-08-23 Andreas Schwab <schwab@redhat.com>
9571 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9574 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9576 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9578 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9580 (Elf64_FuncDesc): Remove.
9582 2011-08-22 David S. Miller <davem@davemloft.net>
9584 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9585 sigaltstack check, add missing cfi directives.
9586 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9587 missing cfi directives, and sigaltstack handling.
9589 2011-08-16 Andreas Schwab <schwab@redhat.com>
9592 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9593 object is seen twice.
9594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9596 * elf/Makefile (distribute): Add tst-initorder2.c.
9597 (tests): Add tst-initorder2.
9598 (modules-names): Add tst-initorder2a tst-initorder2b
9599 tst-initorder2c tst-initorder2d. Add rules to build them.
9600 ($(objpfx)tst-initorder2.out): New rule.
9601 * elf/tst-initorder2.c: New file.
9602 * elf/tst-initorder2.exp: New file.
9604 2011-08-22 Andreas Schwab <schwab@redhat.com>
9606 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9608 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9609 dependencies back to end of function.
9611 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9614 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9617 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9619 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9620 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9621 of __vdso_gettimeofday.
9622 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9623 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9625 (_libc_vdso_platform_setup): Remove initialization of
9626 __vdso_gettimeofday and __vdso_time.
9628 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9630 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9632 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9635 * elf/dl-open.c (add_to_global): Report additions to the global scope
9636 for LD_DEBUG=scopes.
9637 (dl_open_worker): Also print scope of newly loaded dependencies.
9638 (_dl_show_scope): Indicate if there is no scope.
9641 * stdio-common/Makefile (tests): Add bug24.
9642 * stdio-common/bug24.c: New file.
9644 2011-08-19 Andreas Jaeger <aj@suse.de>
9647 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9648 non-existant file when using close-on-exec mode.
9650 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9653 the very first instruction.
9655 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9656 the CFI state in the end.
9657 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9658 inclusion of dl-trampoline.h.
9659 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9661 2011-08-19 Andreas Schwab <schwab@redhat.com>
9663 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9664 expectations for long double.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9667 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9669 2011-08-14 David S. Miller <davem@davemloft.net>
9671 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9672 artificual limit depends upon the system page size.
9674 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9676 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9677 * resolv/Makefile: Define CFLAGS-libresolv.
9679 2011-08-17 Andreas Schwab <schwab@redhat.com>
9681 * nss/makedb.c (compute_tables): Make variables used in nested
9684 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9686 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9687 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9688 if buffer was too small.
9690 * elf/pldd.c (main): Attach to all threads in the process.
9691 Rewrite /proc handling to use *at functions.
9693 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9695 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9696 specifies first scope to show.
9697 (dl_open_worker): Update callers. Move printing scope of new
9698 object to before the relocation.
9699 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9700 * sysdeps/generic/ldsodefs.h: Update declaration.
9702 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9703 string for the scope number.
9705 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9707 * nscd/servicescache.c (cache_addserv): Make sure written is always
9710 2011-08-14 Roland McGrath <roland@hack.frob.com>
9712 * sysdeps/i386/i486/bits/atomic.h
9713 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9714 statement expression, so as to suppress "set but not used" warning.
9715 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9717 * string/strncat.c (STRNCAT): Use prototype definition.
9719 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9720 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9722 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9723 (localedef-modules): Add localedef.
9724 (locale-modules): Add locale.
9726 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9727 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9730 2011-08-14 David S. Miller <davem@davemloft.net>
9732 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9733 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9735 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9737 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9738 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9739 * elf/rtld.c (dl_main): Set l_name of vDSO.
9740 Call _dl_show_scope when DL_DEBUG_SCOPES.
9741 (process_dl_debug): Recognize scopes flag and also set it for all.
9742 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9743 Declare _dl_show_scope.
9745 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9746 (do_dlopen): Pass caller_dlopen to dl_open.
9747 (__libc_dlopen_mode): Initialize caller_dlopen.
9749 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9750 of libc. Make tolower call locale-independent. Optimize a bit by
9751 using isdigit instead of isalnum.
9752 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9754 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9756 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9757 was a dependency or dynamically loaded.
9759 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9761 * intl/l10nflist.c: Allow architecture-specific pop function.
9762 * sysdeps/x86_64/l10nflist.c: New file.
9764 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9767 2011-08-10 Andreas Schwab <schwab@redhat.com>
9769 * include/dirent.h: Add libc_hidden_proto for scandirat and
9770 scandirat64. Don't declare __scandirat64.
9771 * dirent/scandirat.c: Add libc_hidden_def.
9772 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9773 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9775 2011-08-10 David S. Miller <davem@davemloft.net>
9777 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9779 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9780 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9783 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9785 * Versions.def [libc]: Add GLIBC_2.15.
9786 * dirent/Makefile (routines): Add scandirat and scandirat64.
9787 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9789 * dirent/dirent.h: Declare scandirat and scandirat64.
9790 * dirent/scandirat.c: New file.
9791 * dirent/scandirat64.c: New file.
9792 * sysdeps/wordsize-64/scandirat.c: New file.
9793 * sysdeps/wordsize-64/scandirat64.c: New file.
9794 * dirent/opendir.c: Define opendirat.
9795 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9797 * dirent/scandir64.c: Adjust for scandir.c change.
9798 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9799 __scandirat64, and __scandir_cancel_handler.
9800 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9801 additional parameter and use openat instead of open (outside of ld.so).
9802 Add new __opendir as wrapper around __opendirat.
9803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9804 here without requiring old scandirat implementation.
9806 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9808 * dirent/scandir.c (cancel_handler): Renamed to
9809 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9810 defined. Adjust users.
9811 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9814 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9816 * string/test-string.h (IMPL): Use __STRING to expand name and then
9819 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9822 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9824 * string/Makefile: Update.
9825 (strop-tests): Append strncat.
9826 * string/test-wcscmp.c: New file.
9827 New comprehensive test for wcscmp.
9828 * string/test-strcmp.c: Update.
9831 2011-07-22 Andreas Schwab <schwab@redhat.com>
9833 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9836 2011-07-26 Andreas Schwab <schwab@redhat.com>
9838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9839 encoding to ACE if AI_IDN.
9841 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9844 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9846 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9848 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9849 Fix overflow bug in strncat.
9850 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9852 * string/test-strncat.c: Update.
9853 Add new tests for checking overflow bugs.
9855 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9858 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9859 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9860 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9861 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9862 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9863 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9864 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9865 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9867 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9868 (USE_AS_STRCAT): Define.
9869 Add strcat and strncat support.
9870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9872 2011-07-25 Andreas Schwab <schwab@redhat.com>
9874 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9875 __n bigger than INT_MAX+1.
9876 (__strncmp_g): Likewise.
9878 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9880 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9881 * libio/stido.h: Likewise.
9883 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9885 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9888 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9889 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9891 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9892 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9895 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9898 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9900 (_dl_x86_64_save_sse): Likewise.
9902 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9906 (_dl_x86_64_save_sse): Likewise.
9908 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9910 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9912 2011-07-21 Andreas Schwab <schwab@redhat.com>
9914 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9916 (_dl_x86_64_save_sse): Use correct AVX check.
9918 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9920 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9921 bug in strncpy/strncat.
9922 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9924 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9926 * string/tester.c (test_strcat): Add tests for different alignments
9927 of source and destination.
9928 (test_strncat): Likewise.
9930 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9933 * posix/glob.c (glob): Check passed in values before using them in
9934 expressions to avoid some overflows.
9935 (glob_in_dir): Likewise.
9938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9939 check for AVX enablement so that we don't crash with old kernels and
9941 * elf/tst-audit4.c: Add same checks here.
9942 * elf/tst-audit6.c: Likewise.
9944 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9946 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9948 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9950 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9952 * po/cs.po: Update from translation team.
9953 * po/bg.po: Likewise.
9955 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9957 * misc/sys/cdefs.h: Add support for const attribute.
9958 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9959 to gnu_dev_{major,minor,makedev} functions.
9961 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9963 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9965 2011-07-20 Andreas Schwab <schwab@redhat.com>
9967 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9970 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9972 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9973 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9974 register in order to avoid conflicts with the soft frame pointer
9975 being held in r11 when necessary.
9976 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9977 (INTERNAL_VSYSCALL_NCS): Likewise.
9979 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9981 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9982 * elf/dl-fini.c (_dl_fini): Adjust caller.
9983 * elf/dl-close.c (_dl_close_worker): Likewise.
9984 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9986 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9988 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9989 "aux_cache->nlibs < 0".
9991 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9992 in the reload-count case.
9994 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9997 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9998 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9999 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10000 * sysdeps/x86_64/multiarch/strcat.S: New file.
10001 * sysdeps/x86_64/multiarch/strncat.S: New file.
10002 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10003 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10004 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10005 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10007 (USE_AS_STRCAT): Define.
10008 Add strcat and strncat support.
10009 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10010 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10011 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10012 * string/strncat.c: Update.
10013 (USE_AS_STRNCAT): Define.
10014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10015 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10017 * sysdeps/x86_64/multiarch/init-arch.h
10018 (bit_Prefer_PMINUB_for_stringop): New.
10019 (index_Prefer_PMINUB_for_stringop): Likewise.
10020 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10021 bit_Prefer_PMINUB_for_stringop.
10023 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10025 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10027 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10028 of casting of buffer.
10029 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10030 buffer32 and buffer64.
10031 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10032 writes instead of casting of buffer.
10033 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10035 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10038 2011-07-19 Andreas Schwab <schwab@redhat.com>
10040 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10042 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10044 * nscd/nscd.c (termination_handler): Don't do anything for a database
10045 if it has not yet been initialized.
10047 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10049 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10051 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10053 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10055 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10057 * po/nl.po: Update from translation team.
10058 * po/sv.po: Likewise.
10060 2011-07-16 Roland McGrath <roland@hack.frob.com>
10062 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10063 now disallowed by GCC.
10065 * configure.in (use-default-link): Default to yes if a test -shared
10066 link meets our qualifications.
10067 * configure: Regenerated.
10069 * config.make.in (output-format): New variable.
10070 * configure.in: Check for ld --print-output-format support.
10071 * configure: Regenerated.
10072 * Makerules ($(common-objpfx)format.lds)
10073 [$(output-format) != unknown]: Just use $(output-format),
10074 instead of the linker-script munging.
10076 2011-07-14 Roland McGrath <roland@hack.frob.com>
10078 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10079 of $(common-objpfx)shlib.lds.
10080 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10082 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10083 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10085 * configure.in (-z relro check): Adjust test code to add a large
10086 writable data section after it.
10087 * configure: Regenerated.
10089 2011-07-11 Roland McGrath <roland@hack.frob.com>
10091 * configure.in (-z relro check): Fix test code to make the variable
10093 * configure: Regenerated.
10095 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10097 * nscd/nscd.h (struct traced_file): Define.
10098 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10099 elements. Add traced_files.
10100 (inotify_fd): Declare.
10101 (register_traced_file): Declare.
10102 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10103 (inotify_fd): Export.
10104 (resolv_conf_descr): Remove.
10105 (nscd_init): Move inotify descriptor creation to main.
10106 Don't register files for notification here.
10107 (register_traced_file): New function.
10108 (invalidate_cache): Don't use reset_res to determine whether to call
10109 res_init, go through the list of registered files.
10110 (main_loop_poll): The inotify descriptors are now stored in the
10111 structures for the traced files.
10112 (main_loop_epoll): Likewise
10113 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10114 to __nss_disable_nscd.
10115 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10116 for a database anymore. Check the records for all the registered
10118 * nss/Makefile (libnss_files-routines): Add files-init.
10119 (libnss_db-routines): Add db-init.
10120 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10121 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10122 * nss/nss_db/db-init.c: New file.
10123 * nss/nss_files/files-init.c: New file.
10124 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10125 __nss_lookup_function.
10126 (__nss_lookup_function): Call nss_load_library.
10127 (nss_load_all_libraries): New function.
10128 (__nss_disable_nscd): Take parameter with callback function for files
10129 to register. Set is_nscd. Load all the DSOs for the NSS modules
10130 used for the cached services.
10131 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10132 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10133 options for features to all the files in nscd.
10135 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10137 2011-07-10 Roland McGrath <roland@hack.frob.com>
10139 * csu/elf-init.c (__libc_csu_init): Comment typo.
10141 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10143 * po/pl.po: Update from translation team.
10144 * po/ja.po: Likewise.
10145 * po/ru.po: Likewise.
10146 * po/ko.po: Likewise.
10147 * po/fr.po: Likewise.
10149 2011-07-09 Roland McGrath <roland@hack.frob.com>
10151 * configure.in (.ctors/.dtors header and trailer check):
10152 Use an empirical test on a built program.
10153 * configure: Regenerated.
10155 * configure.in (-z relro check): Use an empirical test on a built DSO.
10156 Detect, but do not require, on ia64.
10157 * configure: Regenerated.
10159 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10160 Update tests that use readelf to use $READELF instead.
10161 * configure: Regenerated.
10163 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10165 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10166 if the result is not used.
10168 2011-07-05 Andreas Jaeger <aj@suse.de>
10171 * stdlib/tst-strtod.c: Add testcase.
10173 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10175 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10176 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10177 The latter has a higher limit. Take additional parameter to pass to
10179 (__pathconf): Pass file to __statfs_link_max.
10180 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10182 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10186 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10187 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10190 (__statfs_filesize_max): Likewise.
10191 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10193 2011-07-05 Andreas Jaeger <aj@suse.de>
10195 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10197 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10199 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10201 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10204 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10206 * Makefile (strop-tests): Add strncat.
10207 * string/test-strncat.c: New file.
10209 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10211 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10213 2011-06-21 Andreas Jaeger <aj@suse.de>
10215 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10216 Copy rule from iconvdata/Makefile.
10218 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10221 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10222 but no long options are defined, just return 'W'.
10224 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10227 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10229 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10231 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10233 (innetgr): Likewise.
10235 2011-07-05 Roland McGrath <roland@hack.frob.com>
10237 * config.make.in (install_root): Default to $(DESTDIR).
10239 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10243 2011-07-02 Roland McGrath <roland@hack.frob.com>
10245 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10247 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10248 containing directory rather than embedding absolute directory names.
10250 * scripts/check-local-headers.sh: Rewritten using awk.
10251 Match by word, not by line. Print error messages for matches.
10252 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10254 * Makerules [shlib-lds-flags empty]:
10255 ($(common-objpfx)libc_pic.opts): New target.
10256 ($(common-objpfx)libc_pic.os.clean): New target.
10257 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10259 * config.make.in (OBJCOPY): New variable.
10260 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10261 * configure: Regenerated.
10263 * config.make.in (use-default-link): New variable.
10264 * configure.in (use_default_link): Grok --with-default-link to set it.
10265 * configure: Regenerated.
10266 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10267 (shlib-lds, shlib-lds-flags): Define to empty.
10269 * Makerules (shlib-lds): New variable.
10270 (shlib-lds-flags): New variable.
10271 (build-shlib, build-moduile, build-module-asneeded): Use it.
10272 ($(common-objpfx)libc.so): Use $(shlib-lds).
10273 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10274 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10276 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10277 DT_FLAGS/DT_FLAGS_1 with zero flags.
10279 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10280 linker script munging.
10282 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10284 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10286 * crypt/sha512.c (sha512_process_block): Perform total addition using
10287 128-bit if possible.
10288 (__sha512_finish_ctx): Likewise.
10289 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10291 * crypt/sha256.c (SWAP64): Define.
10292 (sha256_process_block): Perform total addition using 64-bit if
10294 (__sha256_finish_ctx): Likewise.
10296 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10298 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10300 * nscd/hstcache.c (cache_addhst): Likewise.
10301 * nscd/grpcache.c (cache_addgr): Likewise.
10302 * nscd/aicache.c (addhstaiX): Likewise
10303 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10305 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10307 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10308 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10309 * nscd/hstcache.c (cache_addhst): Likewise.
10310 * nscd/grpcache.c (cache_addgr): Likewise.
10311 * nscd/aicache.c (addhstaiX): Likewise
10313 2011-07-01 Andreas Schwab <schwab@redhat.com>
10315 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10316 domain only when needed.
10318 2011-06-30 Andreas Schwab <schwab@redhat.com>
10320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10321 is always restored.
10323 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10325 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10326 are re-adding the entry.
10327 * nscd/servicescache.c (cache_addserv): Likewise.
10329 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10331 * sysdeps/generic/dl-irel.h: fix protection against multiple
10333 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10335 2011-06-28 Ulrich Drepper <drepper@gmail.com>
10338 * malloc/memusage.sh: Fix quoting in message.
10339 * debug/xtrace.sh: Likewise.
10341 * configure.in: Remove support for --experimental-malloc option, make
10343 * config.make.in: Likewise.
10344 * malloc/Makefile: Likewise.
10346 2011-06-27 Andreas Schwab <schwab@redhat.com>
10348 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10349 two-byte characters.
10351 2011-06-27 Roland McGrath <roland@hack.frob.com>
10353 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10354 AC_CACHE_CHECK invocation.
10355 * configure: Regenerated.
10357 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10359 2011-06-27 Ulrich Drepper <drepper@gmail.com>
10362 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
10363 bit from old_res_options.
10365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
10367 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
10368 value type for setfct.
10370 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
10372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10373 __gettimeofday instead of gettimeofday.
10375 2011-06-26 Ulrich Drepper <drepper@gmail.com>
10377 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
10379 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
10381 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
10383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
10386 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10389 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10390 strcpy-sse2-unaligned strncpy-sse2-unaligned
10391 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
10392 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
10393 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
10394 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
10395 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
10396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
10397 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
10398 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
10399 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
10400 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
10401 (STRCPY): Support SSE2 and SSSE3 versions.
10403 2011-06-24 Ulrich Drepper <drepper@gmail.com>
10406 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
10407 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
10408 kernels which artificially limit size of requests.
10410 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
10412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10413 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
10414 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
10415 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
10416 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
10417 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
10418 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
10419 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
10420 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
10421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
10422 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
10423 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
10424 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
10425 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
10426 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
10427 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10428 Enable unaligned load optimization for Intel Core i3, i5 and i7
10430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
10432 (index_Fast_Unaligned_Load): Define.
10433 (HAS_FAST_UNALIGNED_LOAD): Define.
10435 2011-06-23 Marek Polacek <mpolacek@redhat.com>
10437 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
10439 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10442 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
10443 until it is clear that the information is realy needed.
10444 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
10446 2011-06-22 Andreas Schwab <schwab@redhat.com>
10448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
10450 2011-06-22 Ulrich Drepper <drepper@gmail.com>
10452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
10453 /sys/devices/system/cpu/online if it is usable.
10455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
10456 reading the information from the /proc filesystem to once a second.
10458 2011-06-21 Andreas Jaeger <aj@suse.de>
10460 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
10461 NULL after inclusion of kernel headers.
10463 2011-06-21 Ulrich Drepper <drepper@gmail.com>
10465 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
10466 calls to internal_setent.
10469 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
10470 addresses using gethostbyname4_r ignore IPv4 addresses.
10472 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10473 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10475 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10477 2011-06-20 David S. Miller <davem@davemloft.net>
10479 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10481 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10483 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10484 (elf_irel): Use it.
10485 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10486 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10487 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10488 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10489 * sysdeps/x86_64/dl-irel.h: Likewise.
10491 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10492 * elf/dl-sym.c: Likewise.
10494 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10496 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10497 need to dereference resplen2.
10499 2011-06-14 Andreas Schwab <schwab@redhat.com>
10501 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10503 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10505 * Makeconfig: Define vardbdir and inst_vardbdir.
10506 * nss/Makefile: Add rules to install db-Makefile.
10508 * nss/nss_db/db-XXX.c: Cleanup.
10510 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10511 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10513 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10514 * nss/makedb.c: Implement -g option to specify that value strings
10515 are generated and should not be added to table iterated over for
10517 * nss/nss_db/db-initgroups.c: New file.
10519 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10522 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10523 (internal_getgrouplist): Adjust to name change.
10524 Update use_initgroups_entry if this is not the first call.
10525 * nss/databases.def: Add initgroups entry.
10527 * nss/makedb.c (compute_tables): Check result of multiple hash table
10528 sizes to minimize maximum chain length.
10530 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10532 * Versions.def: Add entry for libnss_db.
10533 * shlib-versions: Likewise.
10534 * nss/Makefile: Add rules to build libnss_db.
10535 * nss/Versions: Add libnss_db information. Organize libnss_files
10537 * nss/db-Makefile: Add gshadow support. Change rules for the new
10538 makedb progra. Some minor improvements to generate smaller files.
10539 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10541 * nss/makedb.c: ...here.
10542 Improve database format to be smaller and require less memory at
10544 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10546 * nss/nss_db/db-netgrp.c: Likewise.
10547 * nss/nss_db/db-open.c: Likewise.
10548 * nss/nss_files/flies-XXX.x: Adjust comments.
10549 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10550 * nss/nss_files/files-grp.c: Likewise.
10551 * nss/nss_files/files-hosts.c: Likewise.
10552 * nss/nss_files/files-network.c: Likewise.
10553 * nss/nss_files/files-proto.c: Likewise.
10554 * nss/nss_files/files-pwd.c: Likewise.
10555 * nss/nss_files/files-rpc.c: Likewise.
10556 * nss/nss_files/files-service.c: Likewise.
10557 * nss/nss_files/files-sgrp.c: Likewise.
10558 * nss/nss_files/files-spwd.c: Likewise.
10559 * nss/nss_db/db-alias.c: Removed.
10560 * nss/nss_db/dummy-db.h: Removed.
10562 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10564 * nss/makedb.c: Rewritten to not use database library.
10565 * nss/Makefile: Update to build new makedb program.
10567 2011-06-14 Andreas Jaeger <aj@suse.de>
10569 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10570 memset declaration.
10572 2011-06-10 Andreas Schwab <schwab@redhat.com>
10574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10577 2011-06-10 Roland McGrath <roland@hack.frob.com>
10579 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10580 * elf/Makefile ($(objpfx)ld.so): Likewise.
10582 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10583 Don't list ld.so twice in dependencies.
10585 * posix/bug-regex31.c: Include <stdlib.h>.
10587 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10589 * nis/nss_compat/compat-spwd.c
10590 (getspent_next_nss_netgr): Remove unused variable.
10591 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10593 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10594 nonmembers" output to use the right array.
10596 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10598 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10600 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10601 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10602 * catgets/gencat.c (read_input_file): Likewise.
10603 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10605 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10606 variable definition inside #if's controlling its use.
10608 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10610 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10612 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10614 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10617 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10619 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10620 * configure: Regenerated.
10622 * Makerules: Revert last change.
10623 * elf/Makefile: Likewise.
10625 2011-06-09 Roland McGrath <roland@hack.frob.com>
10627 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10628 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10629 (reloc-link): Likewise.
10631 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10633 * elf/Makefile: Add rules to build pldd.
10634 * elf/pldd.c: New file.
10635 * elf/pldd-xx.c: New file.
10637 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10639 * version.h: Update for 2.15 development version.
10641 2011-06-07 David S. Miller <davem@davemloft.net>
10643 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10646 elf_machine_lazy_rel): Likewise.
10647 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10649 elf_machine_lazy_rel): Likewise.
10650 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10651 dl_hwcap via passed in argument.
10652 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10655 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10657 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10659 2011-06-06 Roland McGrath <roland@hack.frob.com>
10662 * manual/fdl-1.1.texi: New file, verbatim from:
10663 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10664 * manual/lgpl-2.1.texi: New file, verbatim from:
10665 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10666 * manual/Makefile (licenses): New variable, list those new file names.
10668 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10670 * manual/fdl.texi: File removed.
10671 * manual/lesser.texi: File removed.
10672 * manual/libc.texinfo (Copying, Documentation License):
10673 Use new @include file names, put @appendix directive before @include.
10675 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10678 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10679 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10680 (mq_open): Add __NTH.
10682 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10685 Assume Intel Core i3/i5/i7 processor if AVX is available.
10687 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10692 2011-05-31 Andreas Schwab <schwab@redhat.com>
10694 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10695 memory. Use alloca_account. Fix memory leak when retrying.
10697 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10699 * version.h (RELEASE): Bump for 2.14 release.
10700 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10702 * config.make.in (RANLIB): Remove entry.
10704 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10706 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10707 (libc.pot): Work around missing support for .ksh extension in xgettext.
10710 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10711 if both request failed.
10712 (send_dg): In case of server errors clear resplen or *resplen2.
10715 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10716 when there are multiple maps.
10717 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10718 (_dl_fini): Remove test here.
10720 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10722 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10725 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10726 bit from old_res_options.
10727 (gaih_inet): Likewise.
10730 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10733 * resolv/res_init.c (res_setoptions): Make the code more compact.
10736 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10740 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10742 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10745 * malloc/malloc.h: Declare malloc hook variables as volatile.
10747 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10751 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10752 raise in the comment.
10753 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10754 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10755 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10757 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10760 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10761 grow the buffers more if it already has to be sufficient.
10762 (build_wcs_upper_buffer): Likewise.
10763 * posix/regexec.c (check_matching): Likewise.
10764 (clean_state_log_if_needed): Likewise.
10765 (extend_buffers): Don't enlarge buffers beyond size of the input
10767 Patches mostly by Emil Wojak <emil@wojak.eu>.
10768 * posix/bug-regex32.c: New file.
10769 * posix/Makefile (tests): Add bug-regex32.
10771 * locale/findlocale.c (_nl_find_locale): Return right away if
10772 _nl_explode_name failed.
10773 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10775 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10777 * debug/xtrace.sh: Unify messages.
10778 * malloc/memusage.sh: Likewise.
10781 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10782 time symbol from vDSO. Substitute with vsyscall if not available.
10783 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10786 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10787 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10788 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10789 Add sendmmsg and internal_sendmmsg.
10790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10791 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10792 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10794 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10795 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10796 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10798 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10801 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10802 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10804 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10808 * iconvdata/Makefile (tests): Add bug-iconv9.
10809 * iconvdata/bug-iconv9.c: New file.
10811 2011-05-27 Andreas Schwab <schwab@redhat.com>
10814 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10816 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10818 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10819 (struct user_regs_struct): Change intcs field back to cs.
10821 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10823 * po/ja.po: Update from translation team.
10825 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10828 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10829 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10831 2011-05-20 Andreas Schwab <schwab@redhat.com>
10833 * stdlib/longlong.h: Update from GCC.
10835 2011-05-23 Andreas Schwab <schwab@redhat.com>
10837 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10839 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10840 Add parameter name.
10841 (__sysconf): Pass it down.
10843 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10846 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10848 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10849 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10850 add in in __libc_use_alloca calls. Adjust callers.
10851 (glob): Use malloc in some situations.
10853 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10854 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10857 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10859 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10860 and CLOCK_BOOTTIME_ALARM.
10863 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10866 * string/_strerror.c (__strerror_r): Print negative errors as signed
10870 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10871 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10872 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10874 * configure.in: Fix typo in redirection and correct removal of test
10875 files in two cases.
10878 * locale/setlocale.c (new_composite_name): Fix test to check for
10879 identical name of all categories.
10882 * libio/filedoalloc.c (local_isatty): New function.
10883 (_IO_file_doallocate): Use local_isatty.
10884 * stdio-common/perror.c (perror): In case a new stream is used
10885 forward the stream error.
10886 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10889 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10894 * include/alloca.h (extend_alloca_account): Define.
10897 * posix/regex.h: Fix comments with documentation of user-accessible
10898 fields after compilation and describe correct free'ing of pattern
10899 after re_compile_pattern.
10900 Patch by Reuben Thomas <rrt@sc3d.org>.
10902 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10904 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10905 and -mno-altivec to prevent the compiler from using Altivec and/or
10906 VSX instructions when the corresponding registers are not available.
10908 2011-05-19 Andreas Schwab <schwab@redhat.com>
10910 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10912 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10914 * libio/freopen.c (freopen): Use __dup2, not dup2.
10915 * libio/freopen64.c (freopen64): Likewise.
10917 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10920 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10921 * math/Makefile (tests): Add test-powl.
10922 (CFLAGS-test-powl.c): Define.
10923 * math/test-powl.c: New file.
10925 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10927 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10929 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10932 * iconvdata/gb18030.c: Update to GB18020-2005.
10934 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10936 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10937 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10938 Patch by Aharon Robbins <arnold@skeeve.com>.
10941 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10945 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10946 through underflows.
10949 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10950 point to strings before performing equality test for error_one_per_line
10954 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10958 (struct user_fpregs_struct): Avoid __uint*_t types.
10961 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10962 symbol info. Use it instead of calling _dl_addr locally.
10963 (lock_and_info): New function.
10964 (tr_freehook): Call lock_and_info and pass symbol info as additional
10965 parameter to tr_where.
10966 (tr_mallochook): Likewise.
10967 (tr_reallochook): Likewise.
10968 (tr_memalignhook): Likewise.
10970 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10971 used and couldn't be at all thread-safe.
10973 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10975 * libio/freopen.c (freopen): Don't close old file descriptor
10976 before the new one is opened. Instead dup the new file descriptor
10977 to the old one after the new stream is created.
10978 * libio/freopen64.c (freopen64): Likewise.
10979 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10980 * libio/fileops.c (_IO_new_file_close_it): Handle new
10981 _IO_FLAGS2_NOCLOSE flag.
10982 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10983 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10984 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10985 _IO_FLAGS2_NOCLOSE flag.
10986 * include/unistd.h: Add hidden_proto for dup3.
10987 Define __have_dup3.
10988 * io/dup3.c: Define hidden symbol.
10989 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10992 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10993 when an incomplete long option is used.
10994 * posix/tst-getopt_long1.c: New file.
10995 * posix/Makefile (tests): Add tst-getopt_long1.
10998 * scripts/config.guess: Update from autoconf-2.68.
10999 * scripts/config.sub: Likewise.
11002 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11004 (has_cpuclock): ...this. New function.
11005 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11006 macro here based on has_cpuclock code.
11009 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11010 First byte (not low byte) is now always NUL.
11011 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11013 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11014 Use non-cancelable interfaces.
11017 * locale/iso-639.def: Add entry for Sorani.
11020 * include/stdlib.h: Move include protection to the right place.
11021 Define abort_msg_s. Declare __abort_msg with it.
11022 * stdlib/abort.c (__abort_msg): Adjust type.
11023 * assert/assert.c (__assert_fail_base): New function. Majority
11024 of code from __assert_fail. Allocate memory for __abort_msg with
11026 (__assert_fail): Now call __assert_fail_base.
11027 * assert/assert-perr.c: Remove bulk of implementation. Use
11028 __assert_fail_base.
11029 * include/assert.hL Declare __assert_fail_base.
11030 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11032 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11034 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11038 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11039 until all modules are registered in the DTV.
11040 * elf/Makefile: Add rules to build and run tst-tls19.
11041 * elf/tst-tls19.c: New file.
11042 * elf/tst-tls19mod1.c: New file.
11043 * elf/tst-tls19mod2.c: New file.
11044 * elf/tst-tls19mod3.c: New file.
11045 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11048 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11052 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11053 two-byte sequence errors.
11054 * iconvdata/Makefile (tests): Add bug-iconv8.
11055 * iconvdata/bug-iconv8.c: New file.
11058 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11061 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11064 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11065 (dummy_getcfa): New function.
11066 (init): Get _Unwind_GetCFA address, use dummy if not found.
11067 (backtrace_helper): In recursion check, also check whether CFA changes.
11068 (__backtrace): Completely initialize arg.
11070 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11071 storing incomplete byte sequence in state object. Avoid testing for
11072 guaranteed too small input if we know there is enough data available.
11074 2011-05-11 Andreas Schwab <schwab@redhat.com>
11076 * Makeconfig (+link-pie): Indent.
11077 * Rules (binaries-pie): Define if $(have-fpie) and
11079 (binaries-shared): Also filter out $(binaries-pie).
11080 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11081 * nscd/Makefile (others-pie): Add nscd.
11082 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11083 ($(objpfx)nscd): Remove command override.
11084 * login/Makefile (others-pie): Add pt_chown.
11085 ($(objpfx)pt_chown): Remove command override.
11086 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11087 remove command overrides.
11089 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11091 * libio/tst_putwc.c: Fix error messages.
11094 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11095 currently writing and seek to current position when not.
11096 * libio/Makefile (tests): Add bug-fclose1.
11097 * libio/bug-fclose1.c: New file.
11099 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11102 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11103 don't set DF_1_NODELETE here.
11104 (do_lookup_x): When entering new entry test for copy relocation
11105 and if necessary set DF_1_NODELETE flag.
11106 * elf/tst-unique4.cc: New file.
11107 * elf/tst-unique4.h: New file.
11108 * elf/tst-unique4lib.cc: New file.
11109 * elf/Makefile: Add rules to build and run tst-unique4.
11110 Patch by Piotr Bury <pbury@goahead.com>.
11112 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11115 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11118 * misc/mntent_r.c (addmntent): Flush the stream after the output
11121 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11122 (is_trusted_path_normalize): Skip initial colon. Append slash
11123 to empty buffer. Duplicate is_trusted_path code but allow
11124 constructed patch to be prefix.
11125 (is_dst): Allow $ORIGIN followed by /.
11126 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11127 Correct testing of result of is_trusted_path_normalize
11128 (decompose_rpath): Fix warning.
11130 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11133 * grp/initgroups.c (internal_getgrouplist): When we found the service
11134 list through the initgroups entry in nsswitch.conf do not always
11135 continue on a successful lookup. Don't always use the
11136 __nss_group_database value if it is set.
11137 * nss/nsswitch.conf (initgroups): Change action for successful db
11138 lookup to continue for compatibility.
11140 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11143 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11145 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11147 * iconvdata/tst-tables.sh: Likewise.
11148 * iconvdata/cp770.c: New file.
11149 * iconvdata/cp771.c: New file.
11150 * iconvdata/cp772.c: New file.
11151 * iconvdata/cp773.c: New file.
11152 * iconvdata/cp774.c: New file.
11153 * iconvdata/testdata/CP770: New file.
11154 * iconvdata/testdata/CP770..UTF8: New file.
11155 * iconvdata/testdata/CP771: New file.
11156 * iconvdata/testdata/CP771..UTF8: New file.
11157 * iconvdata/testdata/CP772: New file.
11158 * iconvdata/testdata/CP772..UTF8: New file.
11159 * iconvdata/testdata/CP773: New file.
11160 * iconvdata/testdata/CP773..UTF8: New file.
11161 * iconvdata/testdata/CP774: New file.
11162 * iconvdata/testdata/CP774..UTF8: New file.
11164 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11166 * iconvdata/gen-8bit-gap.sh: Likewise.
11167 * iconvdata/gen-8bit.sh: Likewise.
11169 * locale/iso-639.def: Add ary entry.
11172 * locale/C-translit.h.in: Add U20A1 transliteration.
11175 * locale/iso-639.def: Add wae entry.
11176 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11179 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11183 * locale/C-translit.h.in: Add entry for U20B9.
11184 Patch by pravin.d.s@gmail.com.
11186 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11189 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11190 ENAMETOOLONG use generic getcwd.
11191 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11192 in rtld. Use *stat64.
11193 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11194 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11195 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11196 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11197 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11198 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11199 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11200 __fstatat64 macros.
11201 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11202 * dirent/rewinddir.c: Add libc_hidden_def.
11203 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11204 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11206 * include/dirent.h (__alloc_dir): Add flags parameter.
11207 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11208 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11210 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11211 from fdopendir if O_CLOEXEC is already set.
11213 2011-03-15 Alan Modra <amodra@gmail.com>
11215 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11216 l_tls_firstbyte_offset non-zero. Save padding offset in
11217 l_tls_firstbyte_offset for later use.
11218 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11219 freeing static tls block.
11221 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11223 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11224 where #ifdef was intended. The intent is to prevent ARG_MAX from
11225 being defined by the kernel headers.
11227 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11230 * resolv/resolv.h: Define RES_NOTLDQUERY.
11231 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11232 no-tld-query and set RES_NOTLDQUERY.
11233 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11234 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11235 modern BIND to search name as TLD unless forbidden.
11237 2011-05-07 Petr Baudis <pasky@suse.cz>
11238 Ulrich Drepper <drepper@gmail.com>
11241 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11242 (is_trusted_path): ...to here.
11243 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11244 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11245 using is_trusted_path_normalize() in setuid scripts.
11247 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11249 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11250 __BEGIN/__END_DECLS.
11252 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11255 NSS_STATUS_NOTFOUND if no record was found.
11257 2011-05-05 Andreas Schwab <schwab@redhat.com>
11259 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11260 (headers-not-in-tirpc): Remove rpc/netdb.h
11261 * resolv/netdb.h: Revert last change.
11263 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11265 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11266 circular dependency between libgcc.a and libc.a.
11268 2011-05-05 Andreas Schwab <schwab@redhat.com>
11270 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11271 * nis/Makefile: Don't install rpcsvc/*.
11272 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11273 instead of <rpc/types.h>.
11274 (MAXHOSTNAMELEN): Define.
11276 2011-05-03 Andreas Schwab <schwab@redhat.com>
11278 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11280 2011-04-28 Maciej Babinski <mbabinski@google.com>
11283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11284 gethostbyname4_r when IPv6 results are possible.
11286 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11289 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11290 _PC_PIPE_BUF handling.
11292 2011-04-30 Bruno Haible <bruno@clisp.org>
11295 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11296 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11298 * inet/getnameinfo.c (getnameinfo): Likewise.
11300 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11302 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11303 to groups setting in database lookup.
11304 * nss/nsswitch.conf: Add initgroups entry.
11306 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11309 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11311 Patch by Eric Blake <eblake@redhat.com>.
11313 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11315 * sunrpc/Makefile (need-export-routines): Add svc_run.
11316 (routines): Remove svc_run.
11317 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11318 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11319 * sunrpc/svc_run.c (svc_run): Likewise.
11320 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11322 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11324 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11325 problem in reallocation in last patch.
11327 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11329 * sunrpc/Makefile: Move inclusion of Rules.
11331 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11333 * nss/nss_files/files-initgroups.c: New file.
11334 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11335 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11336 _nss_files_initgroups_dyn.
11338 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11340 * elf/elf.h (R_ARM_IRELATIVE): Define.
11342 2011-04-19 Ulrich Drepper <drepper@gmail.com>
11344 * po/ru.po: Update from translation team.
11346 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11348 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11351 2011-02-06 Mike Frysinger <vapier@gentoo.org>
11354 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11355 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11356 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11357 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11358 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11360 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11362 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
11364 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11365 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11366 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11368 2011-04-17 Ulrich Drepper <drepper@gmail.com>
11371 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
11373 * stdlib/bug-getcontext.c: New file.
11374 * stdlib/Makefile: Add rules to build and run bug-getcontext.
11376 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11378 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
11379 instructions into .machine "z9-109".
11380 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11381 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11383 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11385 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
11386 between environment variables and auxiliary vector.
11388 2011-04-16 Ulrich Drepper <drepper@gmail.com>
11390 * Makefile: Add rules to build linkobj/libc.so.
11391 * include/libc-symbols.h: Define libc_hidden_nolink.
11392 * include/rpc/auth.h: Mark functions which are to be hidden.
11393 * include/rpc/auth_des.h: Likewise.
11394 * include/rpc/auth_unix.h: Likewise.
11395 * include/rpc/clnt.h: Likewise.
11396 * include/rpc/des_crypt.h: Likewise.
11397 * include/rpc/key_prot.h: Likewise.
11398 * include/rpc/pmap_clnt.h: Likewise.
11399 * include/rpc/pmap_prot.h: Likewise.
11400 * include/rpc/pmap_rmt.h: Likewise.
11401 * include/rpc/rpc_msg.h: Likewise.
11402 * include/rpc/svc.h: Likewise.
11403 * include/rpc/svc_auth.h: Likewise.
11404 * include/rpc/xdr.h: Likewise.
11405 * nis/Makefile: Link all DSOs against linkobj/libc.so.
11406 * nss/Makefile: Likewise.
11407 * sunrpc/Makefile: Don't install headers. Build library with normal
11408 entry points. Don't build rpcinfo. Link RPC tests appropriately.
11409 * sunrpc/auth_des.c: Hide exported symbols by default, export some
11410 for the compat linking library. Remove use of INTDEF/INTUSE.
11411 * sunrpc/auth_none.c: Likewise.
11412 * sunrpc/auth_unix.c: Likewise.
11413 * sunrpc/authdes_prot.c: Likewise.
11414 * sunrpc/authuxprot.c: Likewise.
11415 * sunrpc/clnt_gen.c: Likewise.
11416 * sunrpc/clnt_perr.c: Likewise.
11417 * sunrpc/clnt_raw.c: Likewise.
11418 * sunrpc/clnt_simp.c: Likewise.
11419 * sunrpc/clnt_tcp.c: Likewise.
11420 * sunrpc/clnt_udp.c: Likewise.
11421 * sunrpc/clnt_unix.c: Likewise.
11422 * sunrpc/des_crypt.c: Likewise.
11423 * sunrpc/des_soft.c: Likewise.
11424 * sunrpc/get_myaddr.c: Likewise.
11425 * sunrpc/key_call.c: Likewise.
11426 * sunrpc/key_prot.c: Likewise.
11427 * sunrpc/netname.c: Likewise.
11428 * sunrpc/pm_getmaps.c: Likewise.
11429 * sunrpc/pm_getport.c: Likewise.
11430 * sunrpc/pmap_clnt.c: Likewise.
11431 * sunrpc/pmap_prot.c: Likewise.
11432 * sunrpc/pmap_prot2.c: Likewise.
11433 * sunrpc/pmap_rmt.c: Likewise.
11434 * sunrpc/publickey.c: Likewise.
11435 * sunrpc/rpc_cmsg.c: Likewise.
11436 * sunrpc/rpc_common.c: Likewise.
11437 * sunrpc/rpc_dtable.c: Likewise.
11438 * sunrpc/rpc_prot.c: Likewise.
11439 * sunrpc/rpc_thread.c: Likewise.
11440 * sunrpc/rtime.c: Likewise.
11441 * sunrpc/svc.c: Likewise.
11442 * sunrpc/svc_auth.c: Likewise.
11443 * sunrpc/svc_authux.c: Likewise.
11444 * sunrpc/svc_raw.c: Likewise.
11445 * sunrpc/svc_run.c: Likewise.
11446 * sunrpc/svc_simple.c: Likewise.
11447 * sunrpc/svc_tcp.c: Likewise.
11448 * sunrpc/svc_udp.c: Likewise.
11449 * sunrpc/svc_unix.c: Likewise.
11450 * sunrpc/svcauth_des.c: Likewise.
11451 * sunrpc/xcrypt.c: Likewise.
11452 * sunrpc/xdr.c: Likewise.
11453 * sunrpc/xdr_array.c: Likewise.
11454 * sunrpc/xdr_float.c: Likewise.
11455 * sunrpc/xdr_intXX_t.c: Likewise.
11456 * sunrpc/xdr_mem.c: Likewise.
11457 * sunrpc/xdr_rec.c: Likewise.
11458 * sunrpc/xdr_ref.c: Likewise.
11459 * sunrpc/xdr_sizeof.c: Likewise.
11460 * sunrpc/xdr_stdio.c: Likewise.
11462 2011-04-10 Ulrich Drepper <drepper@gmail.com>
11465 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
11466 * sysdeps/ia64/dl-tls.h: Likewise.
11467 * sysdeps/powerpc/dl-tls.h: Likewise.
11468 * sysdeps/s390/dl-tls.h: Likewise.
11469 * sysdeps/sh/dl-tls.h: Likewise.
11470 * sysdeps/sparc/dl-tls.h: Likewise.
11471 * sysdeps/x86_64/dl-tls.h: Likewise.
11472 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11474 2011-03-14 Andreas Schwab <schwab@redhat.com>
11476 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11477 rpath element also skip the following colon.
11478 (expand_dynamic_string_token): Add is_path parameter and pass
11479 down to DL_DST_REQUIRED and _dl_dst_substitute.
11480 (decompose_rpath): Call expand_dynamic_string_token with
11481 non-zero is_path. Ignore empty rpaths.
11482 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11485 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11490 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11493 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11494 Patch by Filipe David Manana <fdmanana@apache.org>.
11496 2011-04-07 Andreas Schwab <schwab@redhat.com>
11498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11499 Maintain aligned stack.
11500 (CHECK_RSP): Remove unused macro.
11502 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11504 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11505 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11507 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11509 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11511 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11513 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11516 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11517 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11518 * sysdeps/x86_64/memmove.c: New file.
11519 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11520 (memcpy): Renamed to ...
11521 (__new_memcpy): This.
11522 (memcpy): Provide GLIBC_2_14 memcpy.
11523 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11524 (memcpy): Provide GLIBC_2_2_5 memcpy.
11526 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11529 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11531 2011-03-30 Andreas Schwab <schwab@redhat.com>
11533 * misc/syncfs.c: New file.
11534 * misc/Makefile (routines): Add syncfs.
11535 * posix/unistd.h: Declare syncfs.
11536 * sysdeps/unix/syscalls.list: Add syncfs.
11538 2011-04-01 Andreas Schwab <schwab@redhat.com>
11540 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11545 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11547 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11550 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11552 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11553 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11558 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11560 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11561 sync_file_range.c with -fexceptions.
11562 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11563 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11564 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11565 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11566 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11567 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11568 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11569 sync_file_range as cancellation point
11570 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11571 now a wrapper around __call_sync_file_range with cancellation handling.
11572 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11573 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11574 function name to __call_sync_file_range.
11575 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11576 Add call_sync_file_range.
11578 2011-04-01 Andreas Schwab <schwab@redhat.com>
11580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11583 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11585 * iconv/iconv.h: Fix typo in comment.
11586 * io/fcntl.h: Likewise.
11587 * libio/stdio.h: Likewise.
11588 * posix/spawn.h: Likewise.
11589 * posix/unistd.h: Likewise.
11590 * stdlib/stdlib.h: Likewise.
11591 * time/time.h: Likewise.
11592 * wcsmbs/wchar.h: Likewise.
11594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11595 open_by_handle): Add.
11596 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11597 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11598 Augment a few comments.
11599 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11604 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11607 * io/fcntl.h (AT_EMPTY_PATH): Define.
11609 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11611 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11612 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11613 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11615 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11616 * Versions.def: Add GLIBC_2.14.
11617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11620 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11622 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11624 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11626 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11629 * string/test-strncmp.c (do_page_test): New function.
11630 (check2): Likewise.
11631 (test_main): Call check2.
11632 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11634 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11638 Handle cache information in CPU leaf 4.
11639 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11641 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11644 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11645 character representation.
11646 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11648 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11650 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11651 END(__isnan) to END(__isnanf) to match function entry point/label
11652 EALIGN(__isnanf,...).
11654 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11656 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11658 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11661 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11662 copy from the symbol referenced in the relocation to initialize the
11664 Patch by Piotr Bury <pbury@goahead.com>.
11665 * elf/Makefile: Add rules to build and tst-unique3.
11666 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11667 * elf/tst-unique3.cc: New file.
11668 * elf/tst-unique3.h: New file.
11669 * elf/tst-unique3lib.cc: New file.
11670 * elf/tst-unique3lib2.cc: New file.
11672 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11674 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11676 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11677 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11680 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11682 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11683 to-be-loaded object along a path to loader is ld.so.
11685 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11686 Ulrich Drepper <drepper@gmail.com>
11688 * sysdeps/x86_64/memset.S: After aligning destination, code
11689 branches to different locations depending on the value of
11690 misalignment, when multiarch is enabled. Fix this.
11692 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11694 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11695 Set _x86_64_preferred_memory_instruction for AMD processsors.
11696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11697 Set bit_Prefer_SSE_for_memop for AMD processors.
11699 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11701 * libio/fmemopen.c (fmemopen): Optimize a bit.
11703 2011-03-03 Andreas Schwab <schwab@redhat.com>
11705 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11707 2011-03-03 Roland McGrath <roland@redhat.com>
11709 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11711 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11713 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11714 __bzero_ultra1 instead of __memset_ultra1.
11716 2011-02-23 Andreas Schwab <schwab@redhat.com>
11717 Ulrich Drepper <drepper@gmail.com>
11720 * include/link.h (struct link_map): Add l_orig_initfini.
11721 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11722 returning unsuccessfully.
11723 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11724 close of a file loaded at startup, restore the original l_initfini
11726 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11727 list, store the pointer.
11728 * elf/Makefile ($(objpfx)noload-mem): New rule.
11729 (noload-ENV): Define.
11730 (tests): Add $(objpfx)noload-mem.
11731 * elf/noload.c: Include <memcheck.h>.
11732 (main): Call mtrace. Close all opened handles.
11734 2011-02-17 Andreas Schwab <schwab@redhat.com>
11737 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11738 dependencies are missing.
11740 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11742 Fix __if_freereq crash: Unlike the generic version which uses free,
11744 * sysdeps/mach/hurd/ifreq.h: New file.
11746 2011-01-27 Petr Baudis <pasky@suse.cz>
11747 Ulrich Drepper <drepper@gmail.com>
11750 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11751 to extend_alloca().
11752 * stdio-common/bug23.c: New file.
11753 * stdio-common/Makefile (tests): Add bug23.
11755 2010-09-28 Andreas Schwab <schwab@redhat.com>
11756 Ulrich Drepper <drepper@gmail.com>
11759 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11760 before performing relro protection. At old place add assertion
11761 to make sure nothing changed.
11763 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11764 Glauber de Oliveira Costa <glommer@gmail.com>
11766 * elf/elf.h: Add new ARM TLS relocs.
11768 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11771 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11773 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11775 * sysdeps/wordsize-64/tst-writev.c: New file.
11777 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11779 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11780 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11781 insns in _dl_start to prevent a TOC reference before relocs are
11784 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11787 * Makeconfig: Remove RANLIB definition.
11788 * Makerules: Don't use RANLIB.
11789 * aclocal.m4: Remove ranlib test.
11790 * configure.in: No need to check for ranlib.
11791 * elf/rtld-Rules: Don't use RANLIB.
11793 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11795 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11797 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11798 inclusion protection macro.
11800 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11801 SIGRTMIN and SIGRTMAX and print information in that case only when
11802 SIGRTMIN is defined.
11804 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11806 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11807 arginfo fn returning -1.
11809 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11810 and thousands string is zero terminated.
11812 2011-02-03 Andreas Schwab <schwab@redhat.com>
11814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11815 sysdeps/unix/sysv/linux/bits/socket.h.
11817 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11819 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11820 (__CPU_COUNT): Remove old macros.
11821 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11822 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11823 (__CPU_ALLOC, __CPU_FREE): Add macros.
11824 (__sched_cpualloc, __sched_cpufree): Add declarations.
11826 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11828 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11829 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11830 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11831 (readdhstai): Return value of addhstaiX call.
11832 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11833 (addgrbyX): Return value returned by cache_addgr.
11834 (readdgrbyname): Return value returned by addgrbyX.
11835 (readdgrbygid): Likewise.
11836 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11837 (addpwbyX): Return value returned by cache_addpw.
11838 (readdpwbyname): Return value returned by addhstbyX.
11839 (readdpwbyuid): Likewise.
11840 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11841 (addservbyX): Return value returned by cache_addserv.
11842 (readdservbyname): Return value returned by addservbyX:
11843 (readdservbyport): Likewise.
11844 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11845 (addhstbyX): Return value returned by cache_addhst.
11846 (readdhstbyname): Return value returned by addhstbyX.
11847 (readdhstbyaddr): Likewise.
11848 (readdhstbynamev6): Likewise.
11849 (readdhstbyaddrv6): Likewise.
11850 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11851 (readdinitgroups): Return value returned by addinitgroupsX.
11852 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11853 (prune_cache): Keep track of timeout value of re-added entries.
11854 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11855 * nscd/nscd.h: Adjust prototypes of readd* functions.
11857 2011-02-04 Roland McGrath <roland@redhat.com>
11859 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11860 (nis_stats): Likewise.
11861 * nis/nis_modify.c (nis_modify): Likewise.
11862 * nis/nis_remove.c (nis_remove): Likewise.
11863 * nis/nis_add.c (nis_add): Likewise.
11865 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11867 * posix/fnmatch_loop.c: Add some consts.
11869 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11871 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11874 * config.make.in (config-cflags-novzeroupper): Define.
11875 * configure.in: Substitute libc_cv_cc_novzeroupper.
11876 * elf/Makefile (AVX-CFLAGS): Define.
11877 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11878 (CFLAGS-tst-auditmod4a.c): Likewise.
11879 (CFLAGS-tst-auditmod4b.c): Likewise.
11880 (CFLAGS-tst-auditmod6b.c): Likewise.
11881 (CFLAGS-tst-auditmod6c.c): Likewise.
11882 (CFLAGS-tst-auditmod7b.c): Likewise.
11883 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11885 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11887 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11888 function to the callback.
11889 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11891 2011-02-02 Andreas Schwab <schwab@redhat.com>
11893 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11896 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11899 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11901 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11903 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11906 * elf/Makefile: Add rules to build and run new test.
11907 * elf/tst-initorder.c: New file.
11908 * elf/tst-initorder.exp: New file.
11909 * elf/tst-initordera1.c: New file.
11910 * elf/tst-initordera2.c: New file.
11911 * elf/tst-initordera3.c: New file.
11912 * elf/tst-initordera4.c: New file.
11913 * elf/tst-initorderb1.c: New file.
11914 * elf/tst-initorderb2.c: New file.
11915 * elf/tst-order-a1.c: New file.
11916 * elf/tst-order-a2.c: New file.
11917 * elf/tst-order-a3.c: New file.
11918 * elf/tst-order-a4.c: New file.
11919 * elf/tst-order-b1.c: New file.
11920 * elf/tst-order-b2.c: New file.
11921 * elf/tst-order-main.c: New file.
11922 New test case by George Gensure <werkt0@gmail.com>.
11924 2010-10-01 Andreas Schwab <schwab@redhat.com>
11926 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11927 decoding ACE if AI_CANONIDN.
11929 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11931 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11933 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11935 * version.h (RELEASE): Bump for 2.13 release.
11936 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11938 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11940 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11942 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11943 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11944 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11945 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11949 * posix/getconf.c: Update copyright year.
11950 * catgets/gencat.c: Likewise.
11951 * csu/version.c: Likewise.
11952 * debug/catchsegv.sh: Likewise.
11953 * debug/xtrace.sh: Likewise.
11954 * elf/ldconfig.c: Likewise.
11955 * elf/ldd.bash.in: Likewise.
11956 * elf/sprof.c (print_version): Likewise.
11957 * iconv/iconv_prog.c: Likewise.
11958 * iconv/iconvconfig.c: Likewise.
11959 * locale/programs/locale.c: Likewise.
11960 * locale/programs/localedef.c: Likewise.
11961 * malloc/memusage.sh: Likewise.
11962 * malloc/mtrace.pl: Likewise.
11963 * nscd/nscd.c (print_version): Likewise.
11964 * nss/getent.c: Likewise.
11966 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11967 PF_CAIF, and PF_ALG.
11968 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11970 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11972 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11973 (modules-names): Use them.
11974 (ifunc-test-modules, ifunc-pie-tests): Define.
11975 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11976 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11977 (test-extras): Likewise.
11978 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11979 $(compile-command.c).
11980 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11981 (all-built-dso): Define.
11982 (check-textrel.out, check-execstack.out): Depend on it.
11984 * configure.in: Don't override --enable-multi-arch.
11986 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11989 * nscd/hstcache.c (tryagain): Define.
11990 (cache_addhst): Return tryagain not notfound for temporary errors.
11991 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11994 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11998 to make the syscall.
11999 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12002 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12003 and fall back to matching as normal character if the string ends before
12004 the matching ']' is found. This is what POSIX requires.
12005 * posix/testfnm.c: Adjust test result.
12006 * posix/globtest.sh: Adjust test result. Add new test.
12007 * posix/tst-fnmatch.input: Likewise.
12008 * posix/tst-fnmatch2.c: Add new test.
12010 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12012 * elf/Makefile (check-execstack): Revert last change. Depend on
12014 (check-execstack.h): New target.
12015 (generated): Add check-execstack.h.
12016 * elf/check-execstack.c: Include "check-execstack.h".
12017 (main): Revert last change.
12018 (handle_file): Return zero if GNU_STACK is absent and
12019 DEFAULT_STACK_PERMS doesn't include PF_X.
12021 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12023 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12024 in child fails because the descriptor is already closed.
12025 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12026 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12030 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12034 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12035 temporary buffer used to handle multi lookups locally.
12036 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12038 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12040 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12043 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12045 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12046 alignment for SSE2.
12048 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12051 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12052 characters. When rounding increased number of integer digits recompute
12054 * stdio-common/tst-grouping.c: New file.
12055 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12057 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12059 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12060 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12062 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12064 * bits/select.h: Likewise.
12066 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12068 * po/ja.po: Update from translation team.
12070 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12073 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12074 implementation just like for lxstat, fxstatat, et al.
12076 2010-12-27 Jim Meyering <meyering@redhat.com>
12079 * posix/regexec.c (build_trtable): Return failure indication upon
12080 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12082 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12085 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12086 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12087 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12088 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12091 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12094 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12095 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12097 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12099 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12100 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12101 script has SORT_BY_INIT_PRIORITY.
12102 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12103 NO_CTORS_DTORS_SECTIONS is defined.
12104 * elf/soinit.c: Likewise.
12105 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12106 NO_CTORS_DTORS_SECTIONS is defined.
12107 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12108 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12109 * sysdeps/sh/init-first.c: Likewise.
12110 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12112 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12114 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12115 always use the slow path.
12117 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12119 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12120 similar rule which adds the sysdep directories to the header search in
12121 order to pick up the correct platform stackinfo.h.
12122 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12123 perform test if it is, otherwise return successfully without testing.
12124 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12125 DEFAULT_STACK_PERMS define in stackinfo.h.
12126 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12127 defined in stackinfo.h.
12128 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12129 DEFAULT_STACK_PERMS defined in stackinfo.h.
12130 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12131 * sysdeps/ia64/stackinfo.h: Likewise.
12132 * sysdeps/s390/stackinfo.h: Likewise.
12133 * sysdeps/sh/stackinfo.h: Likewise.
12134 * sysdeps/sparc/stackinfo.h: Likewise.
12135 * sysdeps/x86_64/stackinfo.h: Likewise.
12136 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12137 PF_X for powerpc64. Retain PF_X for powerpc32.
12139 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12141 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12143 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12144 GETDENTS_64BIT_ALIGNED.
12146 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12148 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12150 2010-12-10 Andreas Schwab <schwab@redhat.com>
12152 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12155 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12156 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12158 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12159 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12161 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12164 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12167 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12169 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12171 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12173 * po/it.po: Update from translation team.
12175 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12177 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12180 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12182 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12184 2010-11-24 Andreas Schwab <schwab@redhat.com>
12186 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12188 (gaih_getanswer_slice): Likewise.
12190 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12194 2010-05-31 Petr Baudis <pasky@suse.cz>
12197 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12198 silently even in the chroot mode.
12200 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12202 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12203 last patch a bit. Pretty printing
12205 2010-05-31 Petr Baudis <pasky@suse.cz>
12208 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12209 initialization of skip_initgroups_dyn.
12211 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12213 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12214 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12216 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12218 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12220 2010-11-11 Andreas Schwab <schwab@redhat.com>
12222 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12223 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12224 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12225 ($(objpfx)tst-fnmatch-mem): New rule.
12226 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12227 * posix/tst-fnmatch.c (main): Call mtrace.
12229 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12231 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12232 Support Intel processor model 6 and model 0x2c.
12234 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12236 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12239 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12242 * string/test-strncasecmp.c (check_result): New function.
12243 (do_one_test): Use it.
12244 (check1): New function.
12245 (test_main): Use it.
12246 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12247 Support strcasecmp and strncasecmp.
12249 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12252 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12253 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12255 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12257 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12261 * sysdeps/x86_64/multiarch/bzero.S: New file.
12262 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12263 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12264 * sysdeps/x86_64/multiarch/memset.S: New file.
12265 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12267 Set bit_Prefer_SSE_for_memop for Intel processors.
12268 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12270 (index_Prefer_SSE_for_memop): Define.
12271 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12273 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12275 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12276 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12278 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12281 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12282 (__x86_64_raw_data_cache_size_half): Likewise.
12283 (__x86_64_raw_shared_cache_size): Likewise.
12284 (__x86_64_raw_shared_cache_size_half): Likewise.
12286 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12287 (__x86_64_raw_data_cache_size_half): Likewise.
12288 (__x86_64_raw_shared_cache_size): Likewise.
12289 (__x86_64_raw_shared_cache_size_half): Likewise.
12290 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12291 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12292 and __x86_64_raw_shared_cache_size_half. Round
12293 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12294 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12295 to multiple of 256 bytes.
12297 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12300 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12301 of inacessible symlinks. Verify result of symlink before returning it.
12302 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12303 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12305 2010-10-28 Erich Ritz <erichritz@gmail.com>
12307 * math/math.h (isinf): Fix typo in comment.
12309 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12311 * po/da.po: Update from translation team.
12313 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12315 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12316 is added to the list.
12318 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12319 Ulrich Drepper <drepper@gmail.com>
12321 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12322 the global list here. Move code to...
12323 (_dl_add_to_namespace_list): ...here. New function.
12324 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12325 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12326 * elf/dl-load.c (lose): Don't remove the element from the list.
12327 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12328 (_dl_map_object): Likewise.
12330 2010-10-25 Ulrich Drepper <drepper@gmail.com>
12333 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12334 into all bytes of SSE register.
12335 Patch by Richard Li <richardpku@gmail.com>.
12337 2010-10-24 Ulrich Drepper <drepper@gmail.com>
12340 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12343 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12345 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12346 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12347 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12348 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12353 2010-10-22 Andreas Schwab <schwab@redhat.com>
12355 * include/dlfcn.h (__RTLD_SECURE): Define.
12356 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12357 mode & __RTLD_SECURE instead.
12358 (open_path): Rename preloaded parameter to secure.
12359 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12360 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12361 * elf/dl-deps.c (openaux): Likewise.
12362 * elf/rtld.c (struct map_args): Remove is_preloaded.
12363 (map_doit): Don't use it.
12364 (dl_main): Likewise.
12365 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
12366 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
12368 2010-09-09 Andreas Schwab <schwab@redhat.com>
12370 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
12371 (sysd-rules-targets): Remove duplicates.
12372 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
12373 rtld-%.$o dependency.
12375 2010-10-18 Andreas Schwab <schwab@redhat.com>
12377 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
12378 _dl_map_object do it.
12380 2010-10-19 Ulrich Drepper <drepper@gmail.com>
12382 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
12383 fast fma builtins, define the macros in the C99 standard.
12384 (FP_FAST_FMAF): Likewise.
12385 (FP_FAST_FMAL): Likewise.
12386 * sysdeps/x86_64/bits/mathdef.h: Likewise.
12388 * bits/mathdef.h: Update copyright year.
12389 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12391 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
12393 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
12394 builtins, define the macros in the C99 standard.
12395 (FP_FAST_FMAF): Likewise.
12396 (FP_FAST_FMAL): Likewise.
12397 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
12399 (FP_FAST_FMAF): Likewise.
12401 2010-10-15 Jakub Jelinek <jakub@redhat.com>
12404 * math/libm-test.inc (fma_test): Some new testcases.
12405 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
12406 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
12407 y and infinite z. Do multiplication by C already in long double.
12408 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
12409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
12410 y and infinite z. Do bitwise or of inexact bit into u.d.
12411 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
12412 * sysdeps/i386/fpu/s_fmaf.S: Removed.
12413 * sysdeps/i386/fpu/s_fma.S: Removed.
12414 * sysdeps/i386/fpu/s_fmal.S: Removed.
12416 2010-10-16 Jakub Jelinek <jakub@redhat.com>
12419 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
12420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
12421 computation is not scheduled after fetestexcept. Fix value
12422 of minimum denormal long double.
12424 2010-10-14 Jakub Jelinek <jakub@redhat.com>
12427 * math/libm-test.inc (fma_test): Add some more tests.
12428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
12431 2010-10-15 Andreas Schwab <schwab@redhat.com>
12433 * scripts/data/localplt-s390-linux-gnu.data: New file.
12434 * scripts/data/localplt-s390x-linux-gnu.data: New file.
12436 2010-10-13 Jakub Jelinek <jakub@redhat.com>
12439 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
12440 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
12442 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
12444 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
12445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
12446 if one of x and y is very large and the other is subnormal.
12447 * sysdeps/s390/fpu/s_fmaf.c: New file.
12448 * sysdeps/s390/fpu/s_fma.c: New file.
12449 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
12450 * sysdeps/powerpc/fpu/s_fma.S: New file.
12451 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
12452 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
12453 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
12455 2010-10-12 Jakub Jelinek <jakub@redhat.com>
12458 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
12460 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
12461 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
12462 * sysdeps/i386/i686/multiarch/s_fma.c: Include
12463 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
12464 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
12465 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
12466 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
12468 2010-10-12 Ulrich Drepper <drepper@redhat.com>
12471 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12472 * posix/bug-regex31.input: Add test case.
12474 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12476 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12477 * posix/bug-regex31.input: New file.
12480 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12481 (parse_sub_exp): Fix last change, use postorder.
12483 * posix/bug-regex31.c: New file.
12484 * posix/Makefile: Add rules to build and run bug-regex31.
12486 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12489 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12492 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12493 to have entries in sys_siglist.
12496 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12499 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12502 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12503 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12504 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12505 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12506 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12507 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12508 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12509 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12510 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12511 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12512 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12513 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12514 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12515 * math/ftestexcept.c (fetestexcept): Likewise.
12516 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12517 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12518 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12519 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12520 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12521 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12522 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12524 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12527 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12530 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12532 * string/bug-strstr1.c: New file.
12533 * string/Makefile: Add rules to build and run bug-strstr1.
12535 2010-10-05 Eric Blake <eblake@redhat.com>
12538 * string/str-two-way.h (two_way_long_needle): Always clear memory
12539 when skipping input due to the shift table.
12541 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12544 * malloc/mcheck.c: Handle large requests.
12547 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12548 for strncmp and strncasecmp.
12549 * string/stratcliff.c: Add tests for strcmp and strncmp.
12550 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12552 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12554 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12557 2010-09-30 Andreas Jaeger <aj@suse.de>
12559 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12560 (CGROUP_SUPER_MAGIC): Define.
12561 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12562 Handle btrfs and cgroup file systems.
12563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12566 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12568 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12569 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12571 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12574 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12575 trying to locate the ELF header.
12577 2010-09-27 Andreas Schwab <schwab@redhat.com>
12580 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12581 Mask out sign-bit copies when constructing f_fsid.
12583 2010-09-24 Petr Baudis <pasky@suse.cz>
12585 * debug/stack_chk_fail_local.c: Add missing licence exception.
12586 * debug/warning-nop.c: Likewise.
12588 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12590 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12591 implementing getdents64 using getdents syscall, set d_type if
12592 __ASSUME_GETDENTS32_D_TYPE.
12594 2010-09-16 Andreas Schwab <schwab@redhat.com>
12596 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12597 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12599 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12602 * posix/unistd.h: Undo change of feature selection for ftruncate from
12605 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12607 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12610 2010-09-20 Andreas Schwab <schwab@redhat.com>
12612 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12616 2010-09-14 Andreas Schwab <schwab@redhat.com>
12618 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12619 variables after CHECK_SP call.
12620 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12622 2010-09-13 Andreas Schwab <schwab@redhat.com>
12623 Ulrich Drepper <drepper@redhat.com>
12625 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12626 re-relocationg ld.so.
12627 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12628 _dl_init_paths call.
12629 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12632 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12634 * resolv/res_init.c (__res_vinit): Count the default server we added.
12636 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12637 Ulrich Drepper <drepper@redhat.com>
12640 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12641 (____longjmp_chk): Use %ebx for saving value across system call.
12644 2010-09-06 Andreas Schwab <schwab@redhat.com>
12646 * manual/Makefile: Don't mix pattern rules with normal rules.
12648 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12650 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12652 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12653 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12654 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12655 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12656 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12659 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12662 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12663 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12665 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12667 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12668 * sysdeps/x86_64/addmul_1.S: Likewise.
12669 * sysdeps/x86_64/lshift.S: Likewise.
12670 * sysdeps/x86_64/mul_1.S: Likewise.
12671 * sysdeps/x86_64/rshift.S: Likewise.
12672 * sysdeps/x86_64/sub_n.S: Likewise.
12673 * sysdeps/x86_64/submul_1.S: Likewise.
12675 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12677 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12678 Define __sched_param instead of SCHED_* and sched_param when
12679 <bits/sched.h> is included with __need_schedparam defined.
12680 * bits/sched.h [__need_schedparam]
12681 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12682 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12683 (__defined_schedparam): Define to 1.
12684 (__sched_param): New structure, identical to sched_param.
12685 (__need_schedparam): Undefine.
12687 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12689 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12690 (epoll_create1): Declare.
12692 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12694 2010-08-31 Andreas Schwab <schwab@redhat.com>
12697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12698 shifting retval into place.
12700 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12702 * nis/rpcsvc/nis.h: Update copyright notice.
12703 * nis/rpcsvc/nis.x: Likewise.
12704 * nis/rpcsvc/nis_callback.h: Likewise.
12705 * nis/rpcsvc/nis_callback.x: Likewise.
12706 * nis/rpcsvc/nis_object.x: Likewise.
12707 * nis/rpcsvc/nis_tags.h: Likewise.
12708 * nis/rpcsvc/yp.h: Likewise.
12709 * nis/rpcsvc/yp.x: Likewise.
12710 * nis/rpcsvc/ypupd.h: Likewise.
12711 * nis/yp_xdr.c: Likewise.
12712 * nis/ypupdate_xdr.c: Likewise.
12714 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12715 mainly the body of pmap_getport. Add parameters to specify timeouts.
12716 (pmap_getport): Use __libc_rpc_getport.
12717 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12718 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12719 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12721 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12726 2010-08-27 Roland McGrath <roland@redhat.com>
12728 * sysdeps/i386/i686/multiarch/Makefile
12729 (CFLAGS-varshift.c): New variable.
12731 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12733 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12734 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12736 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12738 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12740 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12742 * sysdeps/x86_64/strlen.S: Unroll the loop.
12743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12744 strlen-sse2 strlen-sse2-bsf.
12745 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12746 __strlen_no_bsf if bit_Slow_BSF is set.
12747 (__strlen_sse42): Removed.
12748 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12749 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12751 2010-08-25 Roland McGrath <roland@redhat.com>
12753 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12754 * sysdeps/x86_64/multiarch/varshift.c: New file.
12755 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12756 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12757 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12758 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12760 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12762 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12763 strlen-sse2 strlen-sse2-bsf.
12764 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12765 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12766 (__strlen_sse2): Removed.
12767 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12768 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12770 bit_Slow_BSF for Atom.
12771 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12772 (index_Slow_BSF): Define.
12773 (HAS_SLOW_BSF): Define.
12775 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12778 * resolv/res_init.c (__res_vinit): When no server address at all
12779 is given default to loopback.
12781 2010-08-24 Roland McGrath <roland@redhat.com>
12783 * configure.in: Remove config-name.h generation.
12784 * configure: Regenerated.
12785 * config-name.in: File removed.
12786 * scripts/config-uname.sh: New file.
12787 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12788 ($(objdir)config-name.h): New target.
12790 * sunrpc/rpc_parse.h: Avoid nested comment.
12792 2010-08-24 Richard Henderson <rth@redhat.com>
12793 Ulrich Drepper <drepper@redhat.com>
12794 H.J. Lu <hongjiu.lu@intel.com>
12796 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12798 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12799 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12800 _mm_alignr_epi8 with _mm_loadu_si128.
12801 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12802 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12803 (__m128i_shift_right): Removed.
12804 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12805 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12806 * sysdeps/x86_64/multiarch/varshift.h: New file.
12807 * sysdeps/x86_64/multiarch/varshift.S: New file.
12809 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12811 * configure.in: Move assembler checks to before sysdep dir checking.
12813 2010-08-20 Petr Baudis <pasky@suse.cz>
12815 * LICENSES: Sync the sunrpc license.
12817 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12819 * sunrpc/auth_des.c: Update copyright notice once again.
12820 * sunrpc/auth_none.c: Likewise.
12821 * sunrpc/auth_unix.c: Likewise.
12822 * sunrpc/authdes_prot.c: Likewise.
12823 * sunrpc/authuxprot.c: Likewise.
12824 * sunrpc/bindrsvprt.c: Likewise.
12825 * sunrpc/clnt_gen.c: Likewise.
12826 * sunrpc/clnt_perr.c: Likewise.
12827 * sunrpc/clnt_raw.c: Likewise.
12828 * sunrpc/clnt_simp.c: Likewise.
12829 * sunrpc/clnt_tcp.c: Likewise.
12830 * sunrpc/clnt_udp.c: Likewise.
12831 * sunrpc/clnt_unix.c: Likewise.
12832 * sunrpc/des_crypt.c: Likewise.
12833 * sunrpc/des_soft.c: Likewise.
12834 * sunrpc/get_myaddr.c: Likewise.
12835 * sunrpc/getrpcport.c: Likewise.
12836 * sunrpc/key_call.c: Likewise.
12837 * sunrpc/key_prot.c: Likewise.
12838 * sunrpc/openchild.c: Likewise.
12839 * sunrpc/pm_getmaps.c: Likewise.
12840 * sunrpc/pm_getport.c: Likewise.
12841 * sunrpc/pmap_clnt.c: Likewise.
12842 * sunrpc/pmap_prot.c: Likewise.
12843 * sunrpc/pmap_prot2.c: Likewise.
12844 * sunrpc/pmap_rmt.c: Likewise.
12845 * sunrpc/rpc/auth.h: Likewise.
12846 * sunrpc/rpc/auth_unix.h: Likewise.
12847 * sunrpc/rpc/clnt.h: Likewise.
12848 * sunrpc/rpc/des_crypt.h: Likewise.
12849 * sunrpc/rpc/key_prot.h: Likewise.
12850 * sunrpc/rpc/netdb.h: Likewise.
12851 * sunrpc/rpc/pmap_clnt.h: Likewise.
12852 * sunrpc/rpc/pmap_prot.h: Likewise.
12853 * sunrpc/rpc/pmap_rmt.h: Likewise.
12854 * sunrpc/rpc/rpc.h: Likewise.
12855 * sunrpc/rpc/rpc_des.h: Likewise.
12856 * sunrpc/rpc/rpc_msg.h: Likewise.
12857 * sunrpc/rpc/svc.h: Likewise.
12858 * sunrpc/rpc/svc_auth.h: Likewise.
12859 * sunrpc/rpc/types.h: Likewise.
12860 * sunrpc/rpc/xdr.h: Likewise.
12861 * sunrpc/rpc_clntout.c: Likewise.
12862 * sunrpc/rpc_cmsg.c: Likewise.
12863 * sunrpc/rpc_common.c: Likewise.
12864 * sunrpc/rpc_cout.c: Likewise.
12865 * sunrpc/rpc_dtable.c: Likewise.
12866 * sunrpc/rpc_hout.c: Likewise.
12867 * sunrpc/rpc_main.c: Likewise.
12868 * sunrpc/rpc_parse.c: Likewise.
12869 * sunrpc/rpc_parse.h: Likewise.
12870 * sunrpc/rpc_prot.c: Likewise.
12871 * sunrpc/rpc_sample.c: Likewise.
12872 * sunrpc/rpc_scan.c: Likewise.
12873 * sunrpc/rpc_scan.h: Likewise.
12874 * sunrpc/rpc_svcout.c: Likewise.
12875 * sunrpc/rpc_tblout.c: Likewise.
12876 * sunrpc/rpc_util.c: Likewise.
12877 * sunrpc/rpc_util.h: Likewise.
12878 * sunrpc/rpcinfo.c: Likewise.
12879 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12880 * sunrpc/rpcsvc/key_prot.x: Likewise.
12881 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12882 * sunrpc/rpcsvc/mount.x: Likewise.
12883 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12884 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12885 * sunrpc/rpcsvc/rex.x: Likewise.
12886 * sunrpc/rpcsvc/rstat.x: Likewise.
12887 * sunrpc/rpcsvc/rusers.x: Likewise.
12888 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12889 * sunrpc/rpcsvc/spray.x: Likewise.
12890 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12891 * sunrpc/rtime.c: Likewise.
12892 * sunrpc/svc.c: Likewise.
12893 * sunrpc/svc_auth.c: Likewise.
12894 * sunrpc/svc_authux.c: Likewise.
12895 * sunrpc/svc_raw.c: Likewise.
12896 * sunrpc/svc_run.c: Likewise.
12897 * sunrpc/svc_simple.c: Likewise.
12898 * sunrpc/svc_tcp.c: Likewise.
12899 * sunrpc/svc_udp.c: Likewise.
12900 * sunrpc/svc_unix.c: Likewise.
12901 * sunrpc/svcauth_des.c: Likewise.
12902 * sunrpc/xcrypt.c: Likewise.
12903 * sunrpc/xdr.c: Likewise.
12904 * sunrpc/xdr_array.c: Likewise.
12905 * sunrpc/xdr_float.c: Likewise.
12906 * sunrpc/xdr_mem.c: Likewise.
12907 * sunrpc/xdr_rec.c: Likewise.
12908 * sunrpc/xdr_ref.c: Likewise.
12909 * sunrpc/xdr_sizeof.c: Likewise.
12910 * sunrpc/xdr_stdio.c: Likewise.
12912 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12915 2010-08-19 Andreas Schwab <schwab@redhat.com>
12917 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12919 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12921 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12923 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12924 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12925 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12926 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12927 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12928 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12929 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12930 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12931 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12932 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12933 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12934 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12936 2010-07-26 Anton Blanchard <anton@samba.org>
12938 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12939 * malloc/arena.c (heap_trim): Likewise.
12941 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12943 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12945 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12946 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12948 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12950 * sysdeps/i386/elf/Makefile: New file.
12952 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12954 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12955 from fanotify_init.
12956 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12957 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12959 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12961 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12963 * sysdeps/multiarch/strcmp.S: Likewise.
12965 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12967 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12968 strncase_l-nonascii.
12969 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12970 Add strncase_l-ssse3.
12971 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12972 * sysdeps/x86_64/strcmp.S: Likewise.
12973 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12974 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12975 * sysdeps/x86_64/strncase.S: New file.
12976 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12977 * sysdeps/x86_64/strncase_l.S: New file.
12978 * string/Makefile (strop-tests): Add strncasecmp.
12979 * string/test-strncasecmp.c: New file.
12981 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12984 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12985 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12987 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12989 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12991 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12993 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12994 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12995 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12997 2010-05-01 Alan Modra <amodra@gmail.com>
12999 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13000 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13001 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13002 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13003 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13004 tidying. Don't tail-call __sigjmp_save for static lib.
13005 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13007 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13008 (CALL_MCOUNT): Add eh info, and nop after bl.
13009 (TAIL_CALL_SYSCALL_ERROR): New macro.
13010 (PSEUDO_RET): Use it.
13011 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13012 Correct save location of integer regs and cr.
13013 (_dl_profile_resolve): Correct cr save location. Delete nops
13014 after bl when SHARED. Reduce cfi size a little by better
13015 placement of cfi directives.
13016 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13017 make a stack frame. Instead use parm save area as a temp.
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13019 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13021 Don't make a stack frame for parent, use parm save area.
13022 Increase child stack frame to 112 bytes. Don't save unused reg,
13023 and adjust reg usage. Set up cfi on error recovery and
13024 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13026 (__makecontext): Add dummy nop after jump to exit.
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13028 Use correct parm save area and cr save, reduce stack frame.
13029 Correct cfi for possible PSEUDO_RET frame setup.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13031 Branch to local label emitted by PSEUDO_RET rather than
13034 2010-08-12 Andreas Schwab <schwab@redhat.com>
13037 * locale/programs/locale.c (print_assignment): New function.
13038 (show_locale_vars): Use it.
13040 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13042 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13044 (struct statfs64): Likewise.
13045 (_STATFS_F_FLAGS): Define.
13046 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13047 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13048 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13049 (ST_VALID): Define locally.
13050 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13051 __statvfs_getflags, use the provided value.
13052 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13053 __ASSUME_STATFS_F_FLAGS.
13055 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13057 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13058 Add sys/fanotify.h.
13059 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13060 fanotify_mask for GLIBC_2.13.
13061 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13062 fanotify_init and fanotify_mark.
13063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13064 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13066 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13068 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13069 prlimit64 for GLIBC_2.13.
13070 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13072 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13076 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13077 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13080 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13083 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13084 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13086 * nss/Makefile: Add rules to build and run tst-nss-test1.
13087 * shlib-versions: Add entry for libnss_test1.
13088 * nss/nss_test1.c: New file.
13089 * nss/tst-nss-test1.c: New file.
13091 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13092 (__nss_configure_lookup): Set appropriate entry in
13093 __nss_configure_lookup to true.
13094 * nss/nsswitch.h: Define enum with indeces of databases in
13095 databases and __nss_database_custom arrays. Declare
13096 __nss_database_custom.
13097 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13098 to avoid using nscd when custom rules are installed.
13099 * nss/getXXbyYY_r.c: Likewise.
13100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13102 * nss/nss_files/files-parse.c: Whitespace fixes.
13104 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13107 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13108 * posix/fnmatch_loop.c: Likewise.
13110 2010-07-17 Andi Kleen <ak@linux.intel.com>
13112 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13113 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13114 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13115 * Versions.def [GLIBC_2.13]: Add.
13117 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13120 Also fail if tpwd after pwuid call is NULL.
13122 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13124 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13125 when converting to ms.
13127 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13129 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13130 EOPNOTSUPP errors with ENOTTY.
13131 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13132 EOPNOTSUPP errors with ENOTTY.
13134 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13136 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13137 Add strcasecmp_l-ssse3.
13138 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13140 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13141 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13142 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13144 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13146 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13148 * string/Makefile (strop-tests): Add strcasecmp.
13149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13150 strcasecmp_l-nonascii.
13151 (gen-as-const-headers): Add locale-defines.sym.
13152 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13153 * sysdeps/x86_64/strcasecmp.S: New file.
13154 * sysdeps/x86_64/strcasecmp_l.S: New file.
13155 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13156 * sysdeps/x86_64/locale-defines.sym: New file.
13157 * string/test-strcasecmp.c: New file.
13159 * string/test-strcasestr.c: Test both ends of the range of characters.
13160 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13162 2010-07-29 Roland McGrath <roland@redhat.com>
13165 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13167 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13169 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13172 2010-07-27 Andreas Schwab <schwab@redhat.com>
13174 * manual/memory.texi (Malloc Tunable Parameters): Document
13177 2010-07-26 Roland McGrath <roland@redhat.com>
13180 * configure.in (-fgnu89-inline check): Set and substitute
13181 gnu89_inline, not libc_cv_gnu89_inline.
13182 * configure: Regenerated.
13183 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13185 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13187 * string/test-strnlen.c: New file.
13188 * string/Makefile (strop-tests): Add strnlen.
13189 * string/tester.c (test_strnlen): Add a few more test cases.
13190 * string/tst-strlen.c: Better error reporting.
13192 * sysdeps/x86_64/strnlen.S: New file.
13194 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13196 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13197 lower-latency instructions.
13199 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13201 * string/test-strcasestr.c: New file.
13202 * string/test-strstr.c: New file.
13203 * string/Makefile (strop-tests): Add strstr and strcasestr.
13204 * string/str-two-way.h: Don't undefine MAX.
13205 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13207 2010-07-21 Andreas Schwab <schwab@redhat.com>
13209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13210 strcasestr-nonascii.
13211 (CFLAGS-strcasestr-nonascii.c): Define.
13212 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13213 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13214 Remove unused attribute.
13216 2010-07-20 Roland McGrath <roland@redhat.com>
13218 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13219 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13220 ld.so.cache was broken. With it, there is no way to disable dsocaps
13221 like LD_HWCAP_MASK can disable hwcaps.
13223 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13225 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13227 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13229 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13230 call in strcasestr.
13231 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13232 __strcasestr_sse42_nonascii.
13233 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13234 strcasestr-nonascii.c.
13235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13237 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13240 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13242 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13244 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13246 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13249 2010-07-06 Andreas Schwab <schwab@redhat.com>
13252 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13255 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13258 _PC_PIPE_BUF using F_GETPIPE_SZ.
13260 2010-07-05 Roland McGrath <roland@redhat.com>
13262 * manual/arith.texi (Rounding Functions): Fix rint description
13263 implicit in round description.
13265 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13267 * elf/Makefile: Fix linking for a few tests to make recent linker
13270 2010-06-30 Andreas Schwab <schwab@redhat.com>
13272 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13273 $(common-objpfx)libc_nonshared.a.
13275 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13277 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13278 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13279 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13280 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13281 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13282 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13283 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13284 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13299 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13300 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13301 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13302 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13303 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13304 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13305 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13306 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13307 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13308 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13309 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13310 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13326 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13328 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13329 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13330 * string/memmove.c (memmove): Renamed to ...
13331 (MEMMOVE): ...this. Default to memmove.
13332 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13333 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13335 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13336 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13337 mempcpy-ssse3-back memmove-ssse3-back.
13338 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13339 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13340 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13341 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13342 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13343 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13344 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13345 * sysdeps/x86_64/multiarch/memmove.c: New file.
13346 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13347 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13348 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13349 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13350 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13351 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13353 (index_Fast_Copy_Backward): Define.
13354 (HAS_ARCH_FEATURE): Define.
13355 (HAS_FAST_REP_STRING): Define.
13356 (HAS_FAST_COPY_BACKWARD): Define.
13358 2010-06-21 Andreas Schwab <schwab@redhat.com>
13360 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13361 Restore proper fallback handling.
13363 2010-06-19 Ulrich Drepper <drepper@redhat.com>
13366 * posix/group_member.c (__group_member): Correct checking loop.
13368 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
13369 OOM in getpwuid_r correctly. Return error number when the caller
13370 should return, otherwise -1.
13371 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
13372 call returning > 0 value.
13373 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
13375 2010-06-07 Andreas Schwab <schwab@redhat.com>
13377 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
13378 libc_nonshared.a from targets in modules-names.
13380 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
13382 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
13385 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
13387 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
13388 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
13389 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
13390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
13392 2010-06-02 Andreas Schwab <schwab@redhat.com>
13394 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
13396 2010-06-14 Ulrich Drepper <drepper@redhat.com>
13398 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
13400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13402 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13404 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13405 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
13407 2010-06-14 Roland McGrath <roland@redhat.com>
13409 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
13411 2010-06-07 Jakub Jelinek <jakub@redhat.com>
13413 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
13414 __REDIRECT followed by __THROW.
13415 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
13416 * posix/getopt.h (getopt): Likewise.
13418 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13420 * hurd/lookup-at.c (__file_name_lookup_at): Accept
13421 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
13422 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
13424 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
13425 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
13427 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
13429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
13431 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
13434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13435 Properly check family and model.
13437 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
13439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
13441 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
13443 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
13445 2010-05-21 Ulrich Drepper <drepper@redhat.com>
13447 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
13450 2010-05-19 Andreas Schwab <schwab@redhat.com>
13452 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
13455 2010-05-21 Andreas Schwab <schwab@redhat.com>
13457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
13458 and internal_recvmmsg.
13459 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
13460 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
13461 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
13462 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
13464 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
13465 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13466 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13468 2010-05-20 Andreas Schwab <schwab@redhat.com>
13470 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13472 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13474 POWER7 optimizations.
13475 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13476 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13478 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13480 * version.h: Update for 2.13 development version.
13482 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13484 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13485 exceptions. Return 0.
13487 2010-05-07 Roland McGrath <roland@redhat.com>
13489 * elf/ldconfig.c (main): Add a const.
13491 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13493 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13494 (args_options): Add no-idn option.
13495 (ahosts_keys_int): Add idn_flags to ai_flags.
13496 (parse_option): Handle 'i' option to clear idn_flags.
13498 * malloc/malloc.c (_int_free): Possible race in the most recently
13499 added check. Only act on the data if no current modification
13502 See ChangeLog.17 for earlier changes.