1 2012-03-02 Kees Cook <keescook@chromium.org>
4 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5 possibly allocate from heap instead of stack.
6 * stdio-common/bug-vfprintf-nargs.c: New file.
7 * stdio-common/Makefile (tests): Add nargs overflow test.
9 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
11 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13 2012-03-03 Marek Polacek <polacek@redhat.com>
15 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
16 * math/math_private.h: Likewise.
17 * stdlib/tst-strtod.c: Likewise.
18 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19 * sysdeps/x86_64/bits/atomic.h: Likewise.
21 2012-03-02 David S. Miller <davem@davemloft.net>
23 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
28 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
32 2012-03-02 Roland McGrath <roland@hack.frob.com>
35 * manual/examples/README: New file, says the example source files
36 can be used under GPL>=2.
37 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38 line containing just "*/".
39 * manual/examples/add.c: Add copyright header (GPL>=2).
40 * manual/examples/argp-ex1.c: Likewise.
41 * manual/examples/argp-ex2.c: Likewise.
42 * manual/examples/argp-ex3.c: Likewise.
43 * manual/examples/argp-ex4.c: Likewise.
44 * manual/examples/atexit.c: Likewise.
45 * manual/examples/db.c: Likewise.
46 * manual/examples/dir.c: Likewise.
47 * manual/examples/dir2.c: Likewise.
48 * manual/examples/execinfo.c: Likewise.
49 * manual/examples/filecli.c: Likewise.
50 * manual/examples/filesrv.c: Likewise.
51 * manual/examples/fmtmsgexpl.c: Likewise.
52 * manual/examples/genpass.c: Likewise.
53 * manual/examples/inetcli.c: Likewise.
54 * manual/examples/inetsrv.c: Likewise.
55 * manual/examples/isockad.c: Likewise.
56 * manual/examples/longopt.c: Likewise.
57 * manual/examples/memopen.c: Likewise.
58 * manual/examples/memstrm.c: Likewise.
59 * manual/examples/mkfsock.c: Likewise.
60 * manual/examples/mkisock.c: Likewise.
61 * manual/examples/mygetpass.c: Likewise.
62 * manual/examples/pipe.c: Likewise.
63 * manual/examples/popen.c: Likewise.
64 * manual/examples/rprintf.c: Likewise.
65 * manual/examples/search.c: Likewise.
66 * manual/examples/select.c: Likewise.
67 * manual/examples/setjmp.c: Likewise.
68 * manual/examples/sigh1.c: Likewise.
69 * manual/examples/sigusr.c: Likewise.
70 * manual/examples/stpcpy.c: Likewise.
71 * manual/examples/strdupa.c: Likewise.
72 * manual/examples/strftim.c: Likewise.
73 * manual/examples/strncat.c: Likewise.
74 * manual/examples/subopt.c: Likewise.
75 * manual/examples/swapcontext.c: Likewise.
76 * manual/examples/termios.c: Likewise.
77 * manual/examples/testopt.c: Likewise.
78 * manual/examples/testpass.c: Likewise.
79 * manual/examples/timeval_subtract.c: Likewise.
82 * manual/time.texi (Elapsed Time): Move timeval_subtract example
84 * manual/timeval_subtract.c.texi: ... here, new file.
86 2012-03-02 David S. Miller <davem@davemloft.net>
88 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
90 2012-03-02 Joseph Myers <joseph@codesourcery.com>
93 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
94 (__sin): Save and restore rounding mode and use round-to-nearest
96 (__cos): Save and restore rounding mode and use round-to-nearest
98 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
100 (tan): Save and restore rounding mode and use round-to-nearest for
102 * math/libm-test.inc (cos_test_tonearest): New function.
103 (cos_test_towardzero): Likewise.
104 (cos_test_downward): Likewise.
105 (cos_test_upward): Likewise.
106 (sin_test_tonearest): Likewise.
107 (sin_test_towardzero): Likewise.
108 (sin_test_downward): Likewise.
109 (sin_test_upward): Likewise.
110 (tan_test_tonearest): Likewise.
111 (tan_test_towardzero): Likewise.
112 (tan_test_downward): Likewise.
113 (tan_test_upward): Likewise.
114 (main): Call the new functions.
115 * sysdeps/i386/fpu/libm-test-ulps: Update.
116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
119 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
120 small n, then large n, before computing and testing k+n.
121 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
126 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
127 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
128 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
129 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
132 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
133 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
134 * math/libm-test.inc (scalbn_test): Add more tests.
135 (scalbln_test): Likewise.
137 * manual/filesys.texi (mode_t): Describe constraints on size and
138 signedness, not exact equivalence to a particular type.
143 (blkcnt_t): Likewise.
144 (blkcnt64_t): Likewise.
145 * manual/llio.texi (off_t): Likewise.
148 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
149 (__ieee754_exp): Save and restore rounding mode and use
150 round-to-nearest for all computations.
151 * math/libm-test.inc (exp_test_tonearest): New function.
152 (exp_test_towardzero): Likewise.
153 (exp_test_downward): Likewise.
154 (exp_test_upward): Likewise.
155 (main): Call the new functions.
156 * sysdeps/i386/fpu/libm-test-ulps: Update.
157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
159 2012-03-01 Chris Demetriou <cgd@google.com>
161 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
162 have predictable order.
164 2012-03-01 David S. Miller <davem@davemloft.net>
166 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
168 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
169 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
170 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
171 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
173 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
174 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
175 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
177 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
178 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
179 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
180 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
181 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
185 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
186 * sysdeps/sparc/fpu/libm-test-ulps: to here.
187 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
189 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
190 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
191 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
192 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
193 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
194 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
196 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
197 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
198 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
199 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
200 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
202 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
203 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
205 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
206 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
207 * sysdeps/sparc/elf/configure: Regenerated.
209 2012-03-01 Joseph Myers <joseph@codesourcery.com>
211 * configure.in (AS, LD): Require binutils 2.20 or later.
212 * configure: Regenerated.
213 * manual/install.texi (Tools for Compilation): Give binutils 2.20
214 as required minimum version.
215 * INSTALL: Regenerated.
219 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
220 before squaring exponent.
221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
222 bottom long double and 27 bits of top long double before squaring
224 * math/libm-test.inc (erfc_test): Add more tests.
225 * sysdeps/i386/fpu/libm-test-ulps: Update.
226 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
229 2012-03-01 Kai Tietz <ktietz@redhat.com>
231 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
232 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
233 containing bit-fields.
234 * soft-fp/extended.h (_FP_UNION_E): Likewise.
235 * soft-fp/single.h (_FP_UNION_S): Likewise.
236 * soft-fp/double.h (_FP_UNION_D): Likewise.
238 2012-02-29 Joseph Myers <joseph@codesourcery.com>
241 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
242 not include ../strcmp.S.
243 [USE_AS_STRNCASECMP_L]: Likewise.
244 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
245 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
246 * sysdeps/i386/i686/multiarch/strncase_l-c.c
247 (__strncasecmp_l_ia32): Define as alias to
248 __strncasecmp_l_nonascii.
251 * math/libm-test.inc (expm1_test): Add test for bug 5794.
252 * sysdeps/i386/fpu/libm-test-ulps: Update.
253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
255 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
258 2012-02-29 Jeff Law <law@redhat.com>
260 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
263 2012-02-29 Marek Polacek <polacek@redhat.com>
266 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
267 * elf/Makefile: Add rules to run tst-unused-dep.out.
269 2012-02-28 David S. Miller <davem@davemloft.net>
271 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
272 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
273 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
275 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
276 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
278 2012-02-29 Joseph Myers <joseph@codesourcery.com>
280 * math/libm-test.inc (llround_test): Move one test from
281 lround_test. Use TEST_f_L in moved test.
282 (lround_test): Move misplaced test to llround_test. Add testcase
285 2012-02-28 Ulrich Drepper <drepper@gmail.com>
287 * sysdeps/x86_64/fpu/e_expf.S: New file.
288 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
290 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
293 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
294 of remain_len that may cause incomplete multi-byte character and
296 * posix/bug-regex33.c: New file.
297 * posix/Makefile (tests): Add bug-regex33.
299 2012-02-28 Joseph Myers <joseph@codesourcery.com>
301 * manual/macros.texi: New file.
302 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
303 * manual/libc.texinfo: Include macros.texi.
304 * manual/creatute.texi: Likewise.
305 * manual/install.texi: Likewise.
306 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
307 @glibcadj{} in references to the GNU C Library.
308 * manual/charset.texi: Likewise.
309 * manual/conf.texi: Likewise.
310 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
311 when not using those macros.
312 * manual/creature.texi: Likewise.
313 * manual/crypt.texi: Likewise.
314 * manual/errno.texi: Likewise.
315 * manual/filesys.texi: Likewise.
316 * manual/header.texi: Likewise.
317 * manual/install.texi: Likewise.
318 * manual/intro.texi: Likewise.
319 * manual/io.texi: Likewise.
320 * manual/job.texi: Likewise.
321 * manual/lang.texi: Likewise.
322 * manual/libc.texiinfo: Likewise.
323 * manual/llio.texi: Likewise.
324 * manual/locale.texi: Likewise.
325 * manual/maint.texi: Likewise.
326 * manual/math.texi: Likewise.
327 * manual/memory.texi: Likewise.
328 * manual/message.texi: Likewise.
329 * manual/nss.texi: Likewise.
330 * manual/pattern.texi: Likewise.
331 * manual/process.texi: Likewise.
332 * manual/resource.texi: Likewise.
333 * manual/search.texi: Likewise.
334 * manual/setjmp.texi: Likewise.
335 * manual/signal.texi: Likewise.
336 * manual/socket.texi: Likewise.
337 * manual/startup.texi: Likewise.
338 * manual/stdio.texi: Likewise.
339 * manual/string.texi: Likewise.
340 * manual/sysinfo.texi: Likewise.
341 * manual/syslog.texi: Likewise.
342 * manual/terminal.texi: Likewise.
343 * manual/time.texi: Likewise.
344 * manual/users.texi: Likewise.
345 * INSTALL: Regenerated.
346 * NOTES: Regenerated.
347 * sysdeps/gnu/errlist.c: Regenerated.
349 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
351 * include/dirent.h: Include <dirstream.h> before
354 2012-02-28 David S. Miller <davem@davemloft.net>
356 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
357 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
358 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
359 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
361 2012-02-27 David S. Miller <davem@davemloft.net>
363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
365 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
366 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
369 frame pointer instead of stack pointer relative arg slot.
370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
371 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
372 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
374 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
377 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
379 2012-02-27 David S. Miller <davem@davemloft.net>
381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
385 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
386 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
387 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
388 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
390 2012-02-27 Joseph Myers <joseph@codesourcery.com>
392 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
393 later. Allow versions 5-9.
394 * configure: Regenerated.
395 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
396 required minimum version and 4.6 as recommended version. Do not
397 mention bugs in GCC 2.7 and 2.8.
398 * INSTALL: Regenerated.
400 2012-02-27 David S. Miller <davem@davemloft.net>
402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
406 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
407 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
408 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
409 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
411 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
412 manipulate bits before adding and subtracting TWO112[sx].
413 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
415 2012-02-27 Roland McGrath <roland@hack.frob.com>
418 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
419 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
420 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
421 being in POSIX, because they are in 1003.1-2008.
423 * rt/tst-aio.c: Include <fcntl.h>.
424 * rt/tst-aio7.c: Likewise.
425 * rt/tst-aio64.c: Likewise.
427 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
429 2012-02-27 Joseph Myers <joseph@codesourcery.com>
431 * manual/install.texi (--with-headers): Describe headers as
432 interface headers, not private headers.
433 (Specific advice for GNU/Linux systems): Describe use of headers
434 from "make headers_install", not private headers from older
436 * INSTALL: Regenerated.
437 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
439 * sysdeps/unix/sysv/linux/configure: Regenerated.
441 * manual/llio.texi (fclean): Remove documentation.
443 * manual/Makefile (libc-texi-generated): New variable. Include
445 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
446 $(libc-texi-generated), not duplicated list of files.
447 (version.texi, stamp-version): New rules.
448 (realclean): Remove $(libc-texi-generated), not individual files
449 from that list. Do not remove dir-add.texinfo.
450 * manual/libc.texinfo: Comment out uses of edition numbers and
451 references to printed manual. Remove last-updated dates.
452 (EDITION): Comment out.
454 (VERSION, UPDATED): Remove.
455 (version.texi): Include.
457 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
459 * sysdeps/posix/spawni.c: Include <signal.h>.
460 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
461 * sysdeps/pthread/aio_fsync.c: Likewise.
463 2012-02-26 Ulrich Drepper <drepper@gmail.com>
465 * conform/Makefile (tests): Run only when not cross-compiling and
466 when fast-check is not defined.
468 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
469 * conform/data/limits.h-data: Fixes for POSIX2008.
470 * conform/run-conformtest.sh: Run all tests.
471 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
473 * include/bits/dlfcn.h: Likewise.
474 * include/langinfo.h: Likewise.
475 * include/monetary.h: Likewise.
476 * include/sys/poll.h: Likewise.
478 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
480 * posix/spawn.h: Define __need_sigset_t.
481 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
482 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
483 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
484 to get sigevent_t only.
485 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
488 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
489 process_vm_writev only for __USE_GNU.
490 * termios/termios.h: Declare tcgetsid also for POSIX2008.
492 * conform/Makefile: For now ignore errors from run-conformtest.
493 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
494 POSIX to avoid namespace pollution. Don't prepend headers.
495 * conform/data/aio.h-data: Fixes for POSIX testing.
496 * conform/data/fcntl.h-data: Likewise.
497 * conform/data/glob.h-data: Likewise.
498 * conform/data/grp.h-data: Likewise.
499 * conform/data/pthread.h-data: Likewise.
500 * conform/data/pwd.h-data: Likewise.
501 * conform/data/signal.h-data: Likewise.
502 * conform/data/spawn.h-data: Likewise.
503 * conform/data/stdio.h-data: Likewise.
504 * conform/data/stdlib.h-data: Likewise.
505 * conform/data/stropts.h-data: Likewise.
506 * conform/data/sys/mman.h-data: Likewise.
507 * conform/data/sys/stat.h-data: Likewise.
508 * conform/data/sys/types.h-data: Likewise.
509 * conform/data/sys/wait.h-data: Likewise.
510 * conform/data/time.h-data: Likewise.
511 * conform/data/unistd.h-data: Likewise.
512 * conform/data/utime.h-data: Likewise.
514 * io/sys/stat.h: fchmod was always in POSIX.
515 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
516 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
517 * rt/aio.h: Define __need_timespec before including <time.h>.
518 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
519 struct. Add forward declaration of pthread_attr_t and use it in
521 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
523 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
524 always remove CLK_TCK definition.
526 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
528 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
530 2012-02-25 Ulrich Drepper <drepper@gmail.com>
532 * conform/run-conformtest.sh: New file.
533 * conform/Makefile: Run run-conformtest for tests.
534 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
537 * conform/data/uchar.h-data: New file.
538 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
539 * conform/data/arpa/inet.h-data: Likewise.
540 * conform/data/assert.h-data: Likewise.
541 * conform/data/complex.h-data: Likewise.
542 * conform/data/cpio.h-data: Likewise.
543 * conform/data/ctype.h-data: Likewise.
544 * conform/data/dirent.h-data: Likewise.
545 * conform/data/dlfcn.h-data: Likewise.
546 * conform/data/errno.h-data: Likewise.
547 * conform/data/fcntl.h-data: Likewise.
548 * conform/data/float.h-data: Likewise.
549 * conform/data/fmtmsg.h-data: Likewise.
550 * conform/data/fnmatch.h-data: Likewise.
551 * conform/data/ftw.h-data: Likewise.
552 * conform/data/glob.h-data: Likewise.
553 * conform/data/grp.h-data: Likewise.
554 * conform/data/iconv.h-data: Likewise.
555 * conform/data/inttypes.h-data: Likewise.
556 * conform/data/langinfo.h-data: Likewise.
557 * conform/data/libgen.h-data: Likewise.
558 * conform/data/limits.h-data: Likewise.
559 * conform/data/locale.h-data: Likewise.
560 * conform/data/math.h-data: Likewise.
561 * conform/data/monetary.h-data: Likewise.
562 * conform/data/mqueue.h-data: Likewise.
563 * conform/data/ndbm.h-data: Likewise.
564 * conform/data/net/if.h-data: Likewise.
565 * conform/data/netdb.h-data: Likewise.
566 * conform/data/netinet/in.h-data: Likewise.
567 * conform/data/nl_types.h-data: Likewise.
568 * conform/data/poll.h-data: Likewise.
569 * conform/data/pthread.h-data: Likewise.
570 * conform/data/pwd.h-data: Likewise.
571 * conform/data/regex.h-data: Likewise.
572 * conform/data/sched.h-data: Likewise.
573 * conform/data/search.h-data: Likewise.
574 * conform/data/semaphore.h-data: Likewise.
575 * conform/data/setjmp.h-data: Likewise.
576 * conform/data/signal.h-data: Likewise.
577 * conform/data/spawn.h-data: Likewise.
578 * conform/data/stdarg.h-data: Likewise.
579 * conform/data/stdio.h-data: Likewise.
580 * conform/data/stdlib.h-data: Likewise.
581 * conform/data/string.h-data: Likewise.
582 * conform/data/strings.h-data: Likewise.
583 * conform/data/stropts.h-data: Likewise.
584 * conform/data/sys/ipc.h-data: Likewise.
585 * conform/data/sys/mman.h-data: Likewise.
586 * conform/data/sys/msg.h-data: Likewise.
587 * conform/data/sys/resource.h-data: Likewise.
588 * conform/data/sys/select.h-data: Likewise.
589 * conform/data/sys/sem.h-data: Likewise.
590 * conform/data/sys/shm.h-data: Likewise.
591 * conform/data/sys/socket.h-data: Likewise.
592 * conform/data/sys/stat.h-data: Likewise.
593 * conform/data/sys/statvfs.h-data: Likewise.
594 * conform/data/sys/time.h-data: Likewise.
595 * conform/data/sys/timeb.h-data: Likewise.
596 * conform/data/sys/times.h-data: Likewise.
597 * conform/data/sys/types.h-data: Likewise.
598 * conform/data/sys/uio.h-data: Likewise.
599 * conform/data/sys/un.h-data: Likewise.
600 * conform/data/sys/utsname.h-data: Likewise.
601 * conform/data/sys/wait.h-data: Likewise.
602 * conform/data/syslog.h-data: Likewise.
603 * conform/data/tar.h-data: Likewise.
604 * conform/data/termios.h-data: Likewise.
605 * conform/data/utime.h-data: Likewise.
606 * conform/data/utmpx.h-data: Likewise.
607 * conform/data/varargs.h-data: Likewise.
608 * conform/data/wchar.h-data: Likewise.
609 * conform/data/wctype.h-data: Likewise.
610 * conform/data/wordexp.h-data: Likewise.
612 * include/stropts.h: New file.
613 * include/uchar.h: New file.
614 * include/aio.h: Changes to allow conformtest.pl to use the headers.
615 * include/assert.h: Likewise.
616 * include/ctype.h: Likewise.
617 * include/dirent.h: Likewise.
618 * include/dlfcn.h: Likewise.
619 * include/fcntl.h: Likewise.
620 * include/fnmatch.h: Likewise.
621 * include/glob.h: Likewise.
622 * include/grp.h: Likewise.
623 * include/libio.h: Likewise.
624 * include/locale.h: Likewise.
625 * include/math.h: Likewise.
626 * include/net/if.h: Likewise.
627 * include/netdb.h: Likewise.
628 * include/netinet/in.h: Likewise.
629 * include/pthread.h: Likewise.
630 * include/pwd.h: Likewise.
631 * include/regex.h: Likewise.
632 * include/sched.h: Likewise.
633 * include/search.h: Likewise.
634 * include/setjmp.h: Likewise.
635 * include/signal.h: Likewise.
636 * include/stdio.h: Likewise.
637 * include/stdlib.h: Likewise.
638 * include/string.h: Likewise.
639 * include/sys/cdefs.h: Likewise.
640 * include/sys/mman.h: Likewise.
641 * include/sys/msg.h: Likewise.
642 * include/sys/resource.h: Likewise.
643 * include/sys/select.h: Likewise.
644 * include/sys/socket.h: Likewise.
645 * include/sys/stat.h: Likewise.
646 * include/sys/statvfs.h: Likewise.
647 * include/sys/time.h: Likewise.
648 * include/sys/times.h: Likewise.
649 * include/sys/uio.h: Likewise.
650 * include/sys/utsname.h: Likewise.
651 * include/sys/wait.h: Likewise.
652 * include/termios.h: Likewise.
653 * include/time.h: Likewise.
654 * include/ulimit.h: Likewise.
655 * include/unistd.h: Likewise.
656 * include/utime.h: Likewise.
657 * include/wchar.h: Likewise.
658 * include/wctype.h: Likewise.
659 * include/wordexp.h: Likewise.
661 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
663 * time/time.h: TIME_UTC must be a macro.
664 Make timespec_get available for ISO C11 only as well.
666 2012-02-24 Ulrich Drepper <drepper@gmail.com>
668 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
669 Reported by Peng Haitao <penght@cn.fujitsu.com>.
671 2012-02-24 Joseph Myers <joseph@codesourcery.com>
673 * configure.in: Use -o not -a in test for unsupported multi-arch.
675 2012-02-24 Joseph Myers <joseph@codesourcery.com>
677 * manual/texinfo.tex: Update to version 2012-01-19.16.
679 2012-02-24 Joseph Myers <joseph@codesourcery.com>
681 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
683 2012-02-24 Roland McGrath <roland@hack.frob.com>
686 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
687 * manual/fdl-1.3.texi: New file.
688 * manual/fdl-1.1.texi: File removed.
691 * manual/libc.texinfo (FDL_VERSION): New @set.
692 Use it for mention of FDL in cover text.
693 (Documentation License): Use it in @include file name.
695 2012-02-22 Joseph Myers <joseph@codesourcery.com>
696 Roland McGrath <roland@hack.frob.com>
699 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
700 not LONG_LONG_MAX and LONG_LONG_MIN.
701 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
702 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
704 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
706 2012-02-22 Joseph Myers <joseph@codesourcery.com>
710 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
711 manipulate bits before adding and subtracting TWO23[sx].
712 * math/libm-test.inc (nearbyint_test): Add more tests.
714 2012-02-22 Joseph Myers <joseph@codesourcery.com>
717 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
718 bits before adding and subtracting TWO23[sx].
719 * math/libm-test.inc (rint_test): Add more tests.
720 (rint_test_tonearest): Likewise.
721 (rint_test_towardzero): Likewise.
722 (rint_test_downward): Likewise.
723 (rint_test_upward: Likewise.
725 2012-02-22 Joseph Myers <joseph@codesourcery.com>
728 * include/stdc-predef.h: New file. Extracted from features.h.
729 * include/features.h: Include stdc-predef.h.
730 * Makefile (headers): Add stdc-predef.h.
731 * CONFORMANCE (Compiler limitations): Update.
733 2012-02-22 Joseph Myers <joseph@codesourcery.com>
735 * manual/libc.texinfo (VERSION, UPDATED): Revert.
737 2012-02-21 David S. Miller <davem@davemloft.net>
739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
740 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
742 2012-02-20 David S. Miller <davem@davemloft.net>
744 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
745 using a normal save/restore sequence, rather than allocating a
746 dummy stack frame just to store a frame pointer and restore.
747 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
749 2012-02-21 Joseph Myers <joseph@codesourcery.com>
751 * manual/install.texi: Fix stray word in line-wrapped comment.
753 2012-02-20 David S. Miller <davem@davemloft.net>
755 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
756 both binutils and gcc support GOTDATA.
758 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
759 "rd %pc" in the PIC register setup sequences.
761 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
762 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
763 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
764 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
765 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
766 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
767 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
768 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
770 (SYSCALL_ERROR_HANDLER): Likewise.
771 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
772 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
774 (SYSCALL_ERROR_HANDLER): Likewise.
776 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
777 (HAVE_GCC_GOTDATA): New.
778 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
779 relocation support in both binutils and gcc.
780 * sysdeps/sparc/elf/configure: Regenerate.
782 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
783 * sysdeps/sparc/sparc32/elf/configure: Delete.
784 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
785 * sysdeps/sparc/sparc64/elf/configure: Delete.
786 * sysdeps/sparc/elf/configure.in: New file.
787 * sysdeps/sparc/elf/configure: Generate.
789 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
790 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
791 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
792 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
793 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
795 2012-02-21 Joseph Myers <joseph@codesourcery.com>
797 * manual/install.texi: Do not mention specific glibc version
799 * manual/libc.texinfo (VERSION, UPDATED): Update.
800 (@copying): Use @copyright{} and range of years.
802 2012-02-21 Joseph Myers <joseph@codesourcery.com>
805 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
806 [crti.S not in sysdirs] (generated): Do not append.
807 [crti.S not in sysdirs] (omit-deps): Likewise.
808 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
809 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
810 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
811 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
812 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
814 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
815 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
816 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
817 * csu/defs.awk: Remove file.
818 * sysdeps/generic/initfini.c: Likewise.
819 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
821 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
824 2012-02-20 Joseph Myers <joseph@codesourcery.com>
826 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
827 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
828 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
829 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
830 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
831 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
833 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
834 (__EPOLL_PACKED): Define to empty if not defined by
836 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
840 2012-02-20 Joseph Myers <joseph@codesourcery.com>
842 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
843 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
844 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
845 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
847 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
848 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
851 2012-02-20 Joseph Myers <joseph@codesourcery.com>
853 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
855 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
856 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
860 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
862 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
863 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
865 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
867 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
868 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
870 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
872 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
875 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
877 * math/w_acos.c: Use non-signaling floating-point comparisons.
878 * math/w_acosf.c: Likewise.
879 * math/w_acosh.c: Likewise.
880 * math/w_acoshf.c: Likewise.
881 * math/w_acoshl.c: Likewise.
882 * math/w_acosl.c: Likewise.
883 * math/w_asin.c: Likewise.
884 * math/w_asinf.c: Likewise.
885 * math/w_asinl.c: Likewise.
886 * math/w_atanh.c: Likewise.
887 * math/w_atanhf.c: Likewise.
888 * math/w_atanhl.c: Likewise.
889 * math/w_exp2.c: Likewise.
890 * math/w_exp2f.c: Likewise.
891 * math/w_exp2l.c: Likewise.
892 * math/w_j0.c: Likewise.
893 * math/w_j0f.c: Likewise.
894 * math/w_j0l.c: Likewise.
895 * math/w_j1.c: Likewise.
896 * math/w_j1f.c: Likewise.
897 * math/w_j1l.c: Likewise.
898 * math/w_jn.c: Likewise.
899 * math/w_jnf.c: Likewise.
900 * math/w_log.c: Likewise.
901 * math/w_log10.c: Likewise.
902 * math/w_log10f.c: Likewise.
903 * math/w_log10l.c: Likewise.
904 * math/w_log2.c: Likewise.
905 * math/w_log2f.c: Likewise.
906 * math/w_log2l.c: Likewise.
907 * math/w_logf.c: Likewise.
908 * math/w_logl.c: Likewise.
909 * math/w_sqrt.c: Likewise.
910 * math/w_sqrtf.c: Likewise.
911 * math/w_sqrtl.c: Likewise.
912 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
913 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
915 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
916 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
918 2012-02-19 Joseph Myers <joseph@codesourcery.com>
921 * manual/string.texi (strnlen): Use correct parameter name in
922 equivalent expression.
924 2012-02-19 Joseph Myers <joseph@codesourcery.com>
927 * manual/users.texi (seteuid): Consistently use neweuid for
930 2012-02-19 Joseph Myers <joseph@codesourcery.com>
933 * manual/nss.texi (Services in the NSS configuration): Correct
934 list of services in example configuration file.
936 2012-02-19 Nick Bowler <nbowler@draconx.ca>
939 * manual/arith.texi: Remove statements about negative zero
940 behaving identically to zero.
942 2012-02-18 Joseph Myers <joseph@codesourcery.com>
945 * manual/install.texi: Do not document upgrading from libc5.
947 2012-02-18 Joseph Myers <joseph@codesourcery.com>
950 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
952 2012-02-18 David S. Miller <davem@davemloft.net>
954 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
955 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
957 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
962 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
963 * sysdeps/sparc/crtn.S: Likewise.
965 2012-02-17 Ulrich Drepper <drepper@gmail.com>
967 * aout/Makefile: Remove.
969 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
972 * manual/examples/argp-ex1.c (main): Format definition in GNU
974 * manual/examples/argp-ex2.c (main): Likewise.
975 * manual/examples/argp-ex3.c (main): Likewise.
976 * manual/examples/argp-ex4.c (main): Likewise.
977 * manual/examples/longopt.c (main): Use new-style prototype
979 * manual/examples/strncat.c (main): Specify return type and use
980 (void) for arguments.
981 * manual/examples/subopt.c (main): Use char **argv argument.
983 2012-02-17 Joseph Myers <joseph@codesourcery.com>
986 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
989 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
992 * manual/string.texi (strchr): Change when strchrnul is
995 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
998 * manual/locale.texi (setlocale): Document LOCPATH.
1000 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1003 * manual/process.texi (execle): Move @dots{} before last argument.
1005 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
1008 * manual/charset.texi (Generic Charset Conversion): Fix typo
1009 (LC_TYPE -> LC_CTYPE).
1011 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
1014 * manual/arith.texi (scalbn): Use @var{} on parameter names.
1015 (scalbnf): Likewise.
1016 (scalbnl): Likewise.
1017 (scalbln): Likewise.
1018 (scalblnf): Likewise.
1019 (scalblnl): Likewise.
1020 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
1024 * manual/filesys.texi (telldir): Use braces around return type.
1025 * manual/llio.texi (mmap): Add space after comma.
1027 * manual/math.texi (jn): Use @var{} on parameter names.
1033 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
1035 * manual/resource.texi (ulimit): Use @dots{} instead of literal
1037 (sched_get_priority_min): Remove semicolon on @deftypefun line.
1038 (sched_get_priority_max): Likewise.
1039 * manual/signal.texi (sigvec): Add space after comma.
1040 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
1042 (if_indextoname): Likewise.
1043 (if_freenameindex): Likewise.
1044 (sendto): Use ',' instead of '.' in prototype.
1045 * manual/startup.texi (syscall): Use @dots{} instead of literal
1047 * manual/stdio.texi (__fpending): Separate initial words of
1048 paragraph from @deftypefun line.
1049 * manual/syslog.texi (syslog): Use @dots{} instead of literal
1051 (vsyslog): Use @var{} on parameter names.
1052 * manual/terminal.texi (stty): Use @var{} on parameter names.
1053 * manual/users.texi (getutmp): Use @var{} on parameter names.
1054 (getutmpx): Likewise.
1056 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1059 * manual/stdio.texi (fopen): Fix typos in description of
1062 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
1065 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
1066 get clock_id definition.
1068 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
1071 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
1072 (madvise): Cast every argument to void on its own.
1074 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1077 * manual/startup.texi (Exit Status): Fix typo.
1079 2012-02-17 Joseph Myers <joseph@codesourcery.com>
1082 * manual/examples/argp-ex1.c: Include <stdlib.h>.
1083 * manual/examples/argp-ex2.c: Likewise.
1084 * manual/examples/argp-ex3.c: Likewise.
1086 2012-02-16 Richard Henderson <rth@redhat.com>
1088 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
1089 * sysdeps/s390/s390-32/initfini.c: Remove.
1090 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
1091 * sysdeps/s390/s390-64/initfini.c: Remove.
1093 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1095 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
1096 compiler output for sysdeps/generic/initfini.c.
1097 * sysdeps/sh/elf/initfini.c: Remove file.
1099 2012-02-16 David S. Miller <davem@davemloft.net>
1102 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
1104 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
1105 * sysdeps/sparc/crti.S: New file.
1106 * sysdeps/sparc/crtn.S: New file.
1107 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
1108 * sysdeps/sparc/sparc64/Makefile: Likewise.
1110 2012-02-15 Mike Frysinger <vapier@gentoo.org>
1113 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
1115 2012-02-15 Roland McGrath <roland@hack.frob.com>
1118 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
1120 * mach/devstream.c (cookie_io_functions_t): Macro removed.
1121 (write, read, close): Likewise.
1122 Patch by Aurelien Jarno <aurelien@aurel32.net>.
1124 2012-02-15 Joseph Myers <joseph@codesourcery.com>
1126 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
1127 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
1128 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
1129 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
1131 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
1132 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1135 2012-02-14 Marek Polacek <polacek@redhat.com>
1137 * sysdeps/x86_64/crti.S: New file.
1138 * sysdeps/x86_64/crtn.S: New file.
1139 * sysdeps/x86_64/elf/initfini.c: Remove file.
1141 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1143 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
1144 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
1145 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
1146 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
1148 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
1149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1152 2012-02-13 Joseph Myers <joseph@codesourcery.com>
1154 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
1155 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
1156 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
1157 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1159 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1163 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1165 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1166 __feraiseexcept instead of feraiseexcept.
1168 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1169 nanosleep invocations.
1170 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1171 strings, and add error checking for a nanosleep invocations.
1173 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1175 Replace FSF snail mail address with URLs, as per GNU coding standards.
1176 Most of the snail mail addresses were wrong anyway, and omitting
1177 them makes the source code easier to maintain. Almost all of the
1178 changes are to license notices and to locale LC_IDENTIFICATION
1179 addresses, except for this one:
1180 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1181 not its snail mail address.
1183 2012-02-09 Richard Henderson <rth@twiddle.net>
1185 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1186 of kernel-features.h.
1188 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1190 2012-02-08 Marek Polacek <polacek@redhat.com>
1192 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1193 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1194 * sysdeps/gnu/_G_config.h: Likewise.
1195 * sysdeps/generic/_G_config.h: Likewise.
1197 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1199 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1203 * sysdeps/powerpc/powerpc32/crti.S: New file.
1204 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1205 * sysdeps/powerpc/powerpc64/crti.S: New file.
1206 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1208 * Makeconfig (have-initfini): Don't set.
1209 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1210 * configure.in (nopic_initfini): Don't substitute.
1211 * config.h.in (HAVE_INITFINI): Don't #undef.
1212 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1213 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1215 2012-02-08 Joseph Myers <joseph@codesourcery.com>
1217 Support crti.S and crtn.S provided directly by architectures.
1218 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1219 [crti.S in sysdirs] (omit-deps): Likewise.
1220 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1221 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1222 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1223 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1224 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1225 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1226 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1227 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1228 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1229 compiler output for sysdeps/generic/initfini.c.
1230 * sysdeps/i386/elf/Makefile: Remove file.
1231 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1233 2012-02-07 Marek Polacek <polacek@redhat.com>
1235 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1236 * sysdeps/gnu/_G_config.h: Likewise.
1237 * sysdeps/mach/hurd/_G_config.h: Likewise.
1239 2012-02-07 Marek Polacek <polacek@redhat.com>
1241 * math/Makefile (tests): Add tst-CMPLX2.
1242 * math/tst-CMPLX2.c: New file.
1244 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1246 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1248 * math/libm-test.inc (jn_test): Add missing L suffix.
1250 2012-02-06 Marek Polacek <polacek@redhat.com>
1252 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1253 * sysdeps/i386/fpu/e_powf.S: Likewise.
1254 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1255 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1256 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1257 * sysdeps/i386/fpu/e_pow.S: Likewise.
1258 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1259 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1260 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1261 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1262 * sysdeps/i386/fpu/e_log2.S: Likewise.
1263 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1264 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1265 * sysdeps/i386/fpu/e_powl.S: Likewise.
1266 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1267 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1268 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1269 * sysdeps/i386/fpu/e_logl.S: Likewise.
1270 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1271 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1272 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1273 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1274 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1275 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1276 * sysdeps/i386/fpu/e_log.S: Likewise.
1277 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1278 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1279 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1280 * sysdeps/i386/fpu/e_logf.S: Likewise.
1281 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1282 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1283 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1284 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1285 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1286 * sysdeps/i386/fpu/e_log10.S: Likewise.
1287 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1288 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1289 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1290 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1292 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1293 * sysdeps/i386/asm-syntax.h: Likewise.
1294 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1295 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1296 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1297 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1298 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1299 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1300 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1301 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1302 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1303 * sysdeps/powerpc/sysdep.h: Likewise.
1304 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1305 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1307 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1310 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1312 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1314 * sysdeps/i386/sysdep.h: Include <features.h>.
1315 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1318 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1320 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1322 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1325 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1327 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1328 (SETUP_PIC_REG): Use GET_PC_THUNK.
1329 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1332 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1334 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1335 for non-PIC compilation.
1336 (SETUP_PIC_REG): Add .p2align directive.
1337 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1338 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1339 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1340 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1341 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1342 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1343 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1344 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1345 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1346 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1347 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1348 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1349 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1350 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1351 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1352 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1353 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1354 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1355 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1356 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1357 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1359 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1360 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1361 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1364 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1365 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1366 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1367 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1368 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1369 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1370 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1371 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1372 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1373 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1374 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1375 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1376 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1377 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1379 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1381 * math/tst-CMPLX.c: Include <stdio.h>.
1383 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1385 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1387 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1388 * sysdeps/sparc/bits/mathdef.h: Likewise.
1390 2012-01-31 Marek Polacek <polacek@redhat.com>
1392 * libio/libio.h: Don't define _PARAMS.
1393 * locale/programs/config.h: Don't define PARAMS.
1394 * stdlib/strtol_l.c: Likewise.
1395 (__strtol_l): Remove PARAMS from the prototype.
1397 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1399 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1400 names. Just use the correct names. Remove unnecessary wrapper
1402 * malloc/arena.c: Likewise.
1403 * malloc/hooks.c: Likewise.
1405 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1406 ARENA_TEST says not to. Simplify test for creation of a new arena.
1407 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1409 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1411 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1413 (update_get_addr): New function.
1414 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1415 GET_ADDR_MODULE parameter.
1417 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1419 * crypt/cert.c: Remove __STDC__ conditionals.
1420 * crypt/crypt-entry.c: Likewise.
1421 * crypt/crypt_util.c: Likewise.
1422 * libio/filedoalloc.c: Likewise.
1423 * libio/fileops.c: Likewise.
1424 * libio/genops.c: Likewise.
1425 * libio/iofclose.c: Likewise.
1426 * libio/iofdopen.c: Likewise.
1427 * libio/iofopen.c: Likewise.
1428 * libio/iofopen64.c: Likewise.
1429 * libio/iogetdelim.c: Likewise.
1430 * libio/iopopen.c: Likewise.
1431 * libio/obprintf.c: Likewise.
1432 * libio/oldfileops.c: Likewise.
1433 * libio/oldiofclose.c: Likewise.
1434 * libio/oldiofdopen.c: Likewise.
1435 * libio/oldiofopen.c: Likewise.
1436 * libio/oldiopopen.c: Likewise.
1437 * libio/wfiledoalloc.c: Likewise.
1438 * libio/wgenops.c: Likewise.
1439 * locale/programs/xmalloc.c: Likewise.
1440 * misc/syslog.c: Likewise.
1441 * stdio-common/xbug.c: Likewise.
1442 * string/memchr.c: Likewise.
1443 * string/memcmp.c: Likewise.
1444 * string/memrchr.c: Likewise.
1445 * string/rawmemchr.c: Likewise.
1446 * sysdeps/posix/getcwd.c: Likewise.
1447 * time/strftime_l.c: Likewise.
1449 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1451 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1452 * config.make.in (config-cflags-sse2avx): Define.
1453 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1456 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1458 * scripts/config.guess: Update from upstream config git repository.
1459 * scripts/config.sub: Likewise.
1461 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1463 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1465 (R_TILEPRO_*, R_TILEGX_*): New macros.
1467 * scripts/firstversions.awk: Fix bug in version range handling.
1469 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1471 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1473 * include/sys/epoll.h: New file.
1474 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1477 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1479 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1480 Avoid unnecessary __WORDSIZE == 64 test.
1481 (fmaxf): Use VEX format if possible.
1486 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1487 * math/math_private.h: Remove libc_fegetround* and
1489 * sysdeps/i386/configure.in: Check for -msse2avx.
1490 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1491 also if SSE2AVX is defined.
1492 Remove libc_fegetround* and libc_fesetround*.
1493 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1494 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1495 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1497 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1498 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1500 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1501 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1503 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1505 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1507 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1509 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1511 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1514 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1516 * Makeconfig (libm): Define.
1517 * elf/Makefile: Add rules to build and run tst-relsort1.
1518 * elf/tst-relsort1.c: New file.
1519 * elf/tst-relsort1mod1.c: New file.
1520 * elf/tst-relsort1mod2.c: New file.
1522 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1524 * math/s_ldexp.c: Remove __STDC__ conditionals.
1525 * math/s_ldexpf.c: Likewise.
1526 * math/s_ldexpl.c: Likewise.
1527 * math/s_nextafter.c: Likewise.
1528 * math/s_nexttowardf.c: Likewise.
1529 * math/s_significand.c: Likewise.
1530 * math/s_significandf.c: Likewise.
1531 * math/s_significandl.c: Likewise.
1532 * math/w_jnl.c: Likewise.
1533 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1534 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1535 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1536 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1537 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1552 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1553 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1554 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1555 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1557 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1559 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1563 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1564 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1565 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1566 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1567 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1568 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1569 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1572 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1573 * sysdeps/ieee754/k_standard.c: Likewise.
1574 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1575 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1576 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1577 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1578 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1579 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1580 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1581 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1582 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1583 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1586 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1588 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1589 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1590 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1591 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1592 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1593 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1594 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1595 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1596 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1597 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1598 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1599 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1600 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1601 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1631 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1635 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1637 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1640 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1648 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1649 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1653 * sysdeps/ieee754/s_matherr.c: Likewise.
1654 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1655 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1656 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1659 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1661 * crypt/md5.h: Remove __STDC__ conditionals.
1662 * libio/libioP.h: Likewise.
1663 * locale/programs/config.h: Likewise.
1664 * sysdeps/generic/sysdep.h: Likewise.
1665 * sysdeps/i386/asm-syntax.h: Likewise.
1666 * sysdeps/s390/asm-syntax.h: Likewise.
1667 * sysdeps/unix/sysdep.h: Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1671 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1673 * libio/libio.h: Remove __STDC__ conditionals.
1674 * malloc/obstack.h: Likewise.
1675 * math/complex.h: Likewise.
1676 * math/math.h: Likewise.
1677 * sysdeps/generic/_G_config.h: Likewise.
1678 * sysdeps/gnu/_G_config.h: Likewise.
1679 * sysdeps/mach/hurd/_G_config.h: Likewise.
1680 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1681 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1682 * sysdeps/sparc/bits/mathdef.h: Likewise.
1684 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1687 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1688 Clean up HAS_* macros.
1689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1690 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1700 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1702 * elf/tst-unique3.cc (gets): Remove declaration.
1703 * elf/tst-unique3lib.cc (gets): Likewise.
1704 * elf/tst-unique3lib2.cc (gets): Likewise.
1705 * elf/tst-unique4.cc (gets): Likewise.
1707 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1709 * include/stdio.h: Add C++ protection. Add gets declarations and
1711 * debug/tst-chk1.c: Don't declare gets here.
1712 * stdio-common/tst-gets.c: Likewise.
1714 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1716 * posix/glob: Remove directory.
1718 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1720 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1722 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1724 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1725 of the non-standard EPFNOSUPPORT.
1727 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1729 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1730 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1731 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1733 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1735 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1737 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1739 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1741 * nscd/grpcache.c (cache_addgr): Likewise.
1742 * nscd/hstcache.c (cache_addhst): Likewise.
1743 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1744 * nscd/pwdcache.c (cache_addpw): Likewise.
1745 * nscd/servicescache.c (cache_addserv): Likewise.
1747 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1749 * malloc/malloc.c: Various cleanups.
1750 * malloc/hooks.c: Likewise.
1752 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1753 * stdlib/bug-fmtmsg1.c: New file.
1755 * stdlib/fmtmsg.c (init): Add missing unlock.
1756 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1758 2012-01-12 Marek Polacek <polacek@redhat.com>
1760 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1763 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1765 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1766 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1767 macro to ensure uniqueness of label name.
1768 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1769 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1771 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1773 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1775 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1776 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1780 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1782 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1784 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1785 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1788 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1790 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
1791 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1792 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1793 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
1795 * math/bits/math-finite.h: Add ldexp support.
1797 2012-01-10 Marek Polacek <polacek@redhat.com>
1799 * locale/programs/localedef.h (show_archive_content): Add noreturn
1802 2012-01-09 Ulrich Drepper <drepper@gmail.com>
1804 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1806 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1808 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1810 * io/Makefile (headers): Add bits/poll2.h.
1812 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1815 typo #include statement.
1817 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1819 * include/sys/cdefs.h: Define __attribute_alloc_size.
1820 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1821 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1822 * elf/pldd.c: Likewise.
1823 * iconv/iconv_charmap.c: Likewise.
1824 * iconv/iconvconfig.c: Likewise.
1825 * iconv/strtab.c: Likewise.
1826 * locale/programs/locale.c: Likewise.
1827 * locale/programs/localedef.h: Likewise.
1828 * locale/programs/simple-hash.c: Likewise.
1829 * nscd/nscd.h: Likewise.
1830 * nss/makedb.c: Likewise.
1831 * sysdeps/generic/ldconfig.h: Likewise.
1832 * locale/programs/localedef.c: Remove xmalloc prototype.
1833 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1835 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1837 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1840 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1842 * math/Makefile (tests): Add tst-CMPLX.
1843 * math/tst-CMPLX.c: New file.
1845 * math/complex.h (CMPLXL): Fix typo.
1847 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1848 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1850 * debug/tst-chk1.c: Add poll and ppoll tests.
1851 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1852 * include/sys/poll.h: Add hidden proto for ppoll.
1853 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1854 * sysdeps/mach/hurd/ppoll.c: Likewise.
1855 * io/ppoll.c: Likewise.
1856 * debug/poll_chk.c: New file.
1857 * debug/ppoll_chk.c: New file.
1858 * include/bits/poll2.h: New file.
1859 * io/bits/poll2.h: New file.
1862 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1864 * configure.in: static is always set to yes. Remove.
1865 * config.make.in: Don't set build-static.
1866 * Makeconfig: Remove use of build-static.
1867 * dlfcn/Makefile: Likewise.
1868 * elf/Makefile: Likewise.
1869 * math/Makefile: Likewise.
1870 * misc/Makefile: Likewise.
1871 * nptl/Makefile: Likewise.
1872 * sysdeps/mach/hurd/Makefile: Likewise.
1874 * configure.in: PWD_P is not used anymore.
1875 * config.make.in: Remove PWD_P entry.
1877 * configure.in: Remove last remnants of RANLIB.
1878 No need to check for signed size_t anymore.
1879 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1881 Remove __builtin_expect test because we require at least gcc 3.4.
1882 * aclocal.m4: Likewise.
1884 * wcsmbs/mbrtoc16.c: Implement using towc function.
1885 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1886 * wcsmbs/wcsmbsload.c: Likewise.
1887 * iconv/gconv_simple.c: Likewise.
1888 * iconv/gconv_int.h: Likewise.
1889 * iconv/gconv_builtin.h: Likewise.
1890 * iconv/iconv_prog.c: Remove CHAR16 handling.
1892 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1894 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1896 * configure.in: Remove --with-elf and --enable-bounded options.
1897 Dont set base_machine for ia64. More non-ELF conditions removed.
1898 Remove testing and setting of leading underscore information.
1899 * config.make.in (build-bounded): Set to no.
1900 * config.h.in: Remove NO_UNDERSCORES entry.
1901 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1903 * csu/start.c: Remove !NO_UNDERSCORE code.
1904 * locale/localeinfo.h: Likewise.
1905 * sysdeps/generic/machine-gmon.h: Likewise.
1906 * sysdeps/generic/sysdep.h: Likewise.
1907 * sysdeps/i386/sysdep.h: Likewise.
1908 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1909 * sysdeps/mach/sysdep.h: Likewise.
1910 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1911 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1912 * sysdeps/sh/sysdep.h: Likewise.
1913 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1914 * sysdeps/unix/i386/sysdep.S: Likewise.
1915 * sysdeps/unix/sparc/start.c: Likewise.
1916 * sysdeps/unix/sparc/sysdep.S: Likewise.
1917 * sysdeps/unix/sparc/sysdep.h: Likewise.
1918 * sysdeps/unix/start.c: Likewise.
1919 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1920 * sysdeps/x86_64/sysdep.h: Likewise.
1922 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1925 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1927 * argp/argp-fmtstream.h: Use const instead __const.
1928 * argp/argp.h: Likewise.
1929 * assert/assert.h: Likewise.
1930 * bits/fenv.h: Likewise.
1931 * bits/sched.h: Likewise.
1932 * bits/sigset.h: Likewise.
1933 * bits/sigthread.h: Likewise.
1934 * catgets/nl_types.h: Likewise.
1935 * conform/data/pthread.h-data: Likewise.
1936 * crypt/crypt-private.h: Likewise.
1937 * crypt/crypt.h: Likewise.
1938 * crypt/crypt_util.c: Likewise.
1939 * ctype/ctype.h: Likewise.
1940 * debug/execinfo.h: Likewise.
1941 * debug/mbsnrtowcs_chk.c: Likewise.
1942 * debug/mbsrtowcs_chk.c: Likewise.
1943 * debug/wcsnrtombs_chk.c: Likewise.
1944 * debug/wcsrtombs_chk.c: Likewise.
1945 * debug/wcstombs_chk.c: Likewise.
1946 * dirent/dirent.h: Likewise.
1947 * dlfcn/dlfcn.h: Likewise.
1948 * elf/neededtest4.c: Likewise.
1949 * grp/grp.h: Likewise.
1950 * gshadow/gshadow.h: Likewise.
1951 * iconv/gconv.h: Likewise.
1952 * iconv/gconv_int.h: Likewise.
1953 * iconv/gconv_simple.c: Likewise.
1954 * iconv/iconv.h: Likewise.
1955 * iconv/loop.c: Likewise.
1956 * iconv/skeleton.c: Likewise.
1957 * include/aio.h: Likewise.
1958 * include/aliases.h: Likewise.
1959 * include/argz.h: Likewise.
1960 * include/arpa/inet.h: Likewise.
1961 * include/assert.h: Likewise.
1962 * include/dirent.h: Likewise.
1963 * include/dlfcn.h: Likewise.
1964 * include/execinfo.h: Likewise.
1965 * include/fcntl.h: Likewise.
1966 * include/fenv.h: Likewise.
1967 * include/glob.h: Likewise.
1968 * include/grp.h: Likewise.
1969 * include/libintl.h: Likewise.
1970 * include/mntent.h: Likewise.
1971 * include/netdb.h: Likewise.
1972 * include/pwd.h: Likewise.
1973 * include/rpc/netdb.h: Likewise.
1974 * include/sched.h: Likewise.
1975 * include/search.h: Likewise.
1976 * include/shadow.h: Likewise.
1977 * include/signal.h: Likewise.
1978 * include/stdio.h: Likewise.
1979 * include/stdlib.h: Likewise.
1980 * include/string.h: Likewise.
1981 * include/sys/socket.h: Likewise.
1982 * include/sys/stat.h: Likewise.
1983 * include/sys/statfs.h: Likewise.
1984 * include/sys/statvfs.h: Likewise.
1985 * include/sys/syslog.h: Likewise.
1986 * include/sys/time.h: Likewise.
1987 * include/sys/uio.h: Likewise.
1988 * include/time.h: Likewise.
1989 * include/unistd.h: Likewise.
1990 * include/utmp.h: Likewise.
1991 * include/wchar.h: Likewise.
1992 * include/wctype.h: Likewise.
1993 * inet/aliases.h: Likewise.
1994 * inet/arpa/inet.h: Likewise.
1995 * inet/netinet/ether.h: Likewise.
1996 * inet/netinet/in.h: Likewise.
1997 * intl/libintl.h: Likewise.
1998 * io/bits/fcntl2.h: Likewise.
1999 * io/fcntl.h: Likewise.
2000 * io/ftw.h: Likewise.
2001 * io/sys/poll.h: Likewise.
2002 * io/sys/stat.h: Likewise.
2003 * io/sys/statfs.h: Likewise.
2004 * io/sys/statvfs.h: Likewise.
2005 * io/utime.h: Likewise.
2006 * libio/bits/stdio.h: Likewise.
2007 * libio/bits/stdio2.h: Likewise.
2008 * libio/libio.h: Likewise.
2009 * libio/libioP.h: Likewise.
2010 * libio/stdio.h: Likewise.
2011 * locale/lc-ctype.c: Likewise.
2012 * locale/locale.h: Likewise.
2013 * login/utmp.h: Likewise.
2014 * malloc/arena.c: Likewise.
2015 * malloc/malloc.c: Likewise.
2016 * malloc/malloc.h: Likewise.
2017 * malloc/mcheck.c: Likewise.
2018 * malloc/mtrace.c: Likewise.
2019 * math/bits/mathcalls.h: Likewise.
2020 * math/fenv.h: Likewise.
2021 * math/math_private.h: Likewise.
2022 * misc/bits/error.h: Likewise.
2023 * misc/bits/syslog.h: Likewise.
2024 * misc/err.h: Likewise.
2025 * misc/error.h: Likewise.
2026 * misc/fstab.h: Likewise.
2027 * misc/mntent.h: Likewise.
2028 * misc/regexp.h: Likewise.
2029 * misc/search.h: Likewise.
2030 * misc/sgtty.h: Likewise.
2031 * misc/sys/mman.h: Likewise.
2032 * misc/sys/syslog.h: Likewise.
2033 * misc/sys/uio.h: Likewise.
2034 * misc/sys/xattr.h: Likewise.
2035 * misc/ttyent.h: Likewise.
2036 * nis/rpcsvc/ypclnt.h: Likewise.
2037 * nss/nss.h: Likewise.
2038 * posix/bits/unistd.h: Likewise.
2039 * posix/fnmatch.h: Likewise.
2040 * posix/glob.h: Likewise.
2041 * posix/sched.h: Likewise.
2042 * posix/spawn.h: Likewise.
2043 * posix/sys/wait.h: Likewise.
2044 * posix/unistd.h: Likewise.
2045 * posix/wordexp.h: Likewise.
2046 * pwd/pwd.h: Likewise.
2047 * resolv/netdb.h: Likewise.
2048 * resource/sys/resource.h: Likewise.
2049 * rt/aio.h: Likewise.
2050 * rt/bits/mqueue2.h: Likewise.
2051 * rt/mqueue.h: Likewise.
2052 * shadow/shadow.h: Likewise.
2053 * signal/signal.h: Likewise.
2054 * socket/send.c: Likewise.
2055 * socket/sendto.c: Likewise.
2056 * socket/sys/socket.h: Likewise.
2057 * stdio-common/printf.h: Likewise.
2058 * stdlib/bits/stdlib.h: Likewise.
2059 * stdlib/fmtmsg.h: Likewise.
2060 * stdlib/monetary.h: Likewise.
2061 * stdlib/stdlib.h: Likewise.
2062 * stdlib/ucontext.h: Likewise.
2063 * streams/stropts.h: Likewise.
2064 * string/argz.h: Likewise.
2065 * string/bits/string2.h: Likewise.
2066 * string/string.h: Likewise.
2067 * string/strings.h: Likewise.
2068 * sunrpc/rpc/auth.h: Likewise.
2069 * sunrpc/rpc/auth_des.h: Likewise.
2070 * sunrpc/rpc/clnt.h: Likewise.
2071 * sunrpc/rpc/netdb.h: Likewise.
2072 * sunrpc/rpc/pmap_clnt.h: Likewise.
2073 * sunrpc/rpc/xdr.h: Likewise.
2074 * sysdeps/generic/inttypes.h: Likewise.
2075 * sysdeps/generic/net/if.h: Likewise.
2076 * sysdeps/generic/sys/swap.h: Likewise.
2077 * sysdeps/gnu/net/if.h: Likewise.
2078 * sysdeps/gnu/utmpx.h: Likewise.
2079 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
2080 * sysdeps/i386/i486/bits/string.h: Likewise.
2081 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
2082 * sysdeps/s390/bits/string.h: Likewise.
2083 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
2084 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
2085 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
2086 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
2087 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
2088 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
2089 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2090 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
2091 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
2092 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
2093 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
2094 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2095 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
2096 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2097 * sysdeps/unix/sysv/linux/readv.c: Likewise.
2098 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
2099 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2100 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2101 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2104 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
2105 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
2106 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
2107 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
2108 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
2109 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
2110 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2111 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
2112 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
2113 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
2114 * sysvipc/sys/ipc.h: Likewise.
2115 * sysvipc/sys/msg.h: Likewise.
2116 * sysvipc/sys/sem.h: Likewise.
2117 * sysvipc/sys/shm.h: Likewise.
2118 * termios/termios.h: Likewise.
2119 * time/sys/time.h: Likewise.
2120 * time/time.h: Likewise.
2121 * wcsmbs/bits/wchar2.h: Likewise.
2122 * wcsmbs/uchar.h: Likewise.
2123 * wcsmbs/wchar.h: Likewise.
2124 * wctype/wctype.h: Likewise.
2127 * Makeconfig: Remove all but ELF support including AIX support.
2128 * Makerules: Likewise.
2129 * config.h.in: Likewise.
2130 * config.make.in: Likewise.
2131 * configure: Likewise.
2132 * configure.in: Likewise.
2133 * csu/Makefile: Likewise.
2134 * csu/version.c: Likewise.
2135 * debug/Makefile: Likewise.
2136 * dlfcn/Makefile: Likewise.
2137 * elf/Makefile: Likewise.
2138 * extra-lib.mk: Likewise.
2139 * iconv/Makefile: Likewise.
2140 * include/libc-symbols.h: Likewise.
2141 * include/shlib-compat.h: Likewise.
2142 * resolv/Makefile: Likewise.
2143 * resolv/res_libc.c: Likewise.
2144 * rt/Makefile: Likewise.
2145 * sysdeps/i386/asm-syntax.h: Likewise.
2146 * sysdeps/i386/sysdep.h: Likewise.
2147 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
2148 * sysdeps/mach/sysdep.h: Likewise.
2149 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
2150 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
2151 * sysdeps/s390/asm-syntax.h: Likewise.
2152 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2153 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2154 * sysdeps/sh/sysdep.h: Likewise.
2155 * sysdeps/unix/sparc/sysdep.h: Likewise.
2156 * sysdeps/wordsize-32/divdi3.c: Likewise.
2157 * sysdeps/x86_64/sysdep.h: Likewise.
2159 * argp/Versions: Remove _argp_unlock_xxx.
2162 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2163 * abilist/libBrokenLocale.abilist: Likewise.
2164 * abilist/libanl.abilist: Likewise.
2165 * abilist/libc.abilist: Likewise.
2166 * abilist/libcrypt.abilist: Likewise.
2167 * abilist/libdl.abilist: Likewise.
2168 * abilist/libm.abilist: Likewise.
2169 * abilist/libnsl.abilist: Likewise.
2170 * abilist/libpthread.abilist: Likewise.
2171 * abilist/libresolv.abilist: Likewise.
2172 * abilist/librt.abilist: Likewise.
2173 * abilist/libthread_db.abilist: Likewise.
2174 * abilist/libutil.abilist: Likewise.
2175 * abilist/libnss_db.abilist: New file.
2177 * scripts/abilist.awk: Add support for indirect functions.
2179 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2181 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2183 * shlib-versions: Remove entries for ports architectures.
2185 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2187 * elf/stackguard-macros.h: Remove support for IA-64.
2188 * elf/tst-auditmod1.c: Likewise.
2189 * sysdeps/generic/ldsodefs.h: Likewise.
2191 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2192 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2196 * configure.in: Remove --enable-omitfp support.
2198 * config.make.in: Likewise.
2199 * Makeconfig: Likewise.
2200 * manual/install.texi: Likewise.
2202 In case anyone cares, the IA-64 architecture could move to ports.
2203 * sysdeps/ia64/*: Removed.
2204 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2205 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2208 * configure.in: Remove entries for unsupported architectures.
2211 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2212 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2214 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2215 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2216 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2217 fall back to using wcrtomb.
2218 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2219 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2221 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2222 * wcsmbs/tst-c16c32-1.c: New file.
2224 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2227 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2229 * elf/tst-unique3.cc: Add explicit declaration of gets.
2230 * elf/tst-unique3lib.cc: Likewise.
2231 * elf/tst-unique3lib2.cc: Likewise.
2232 * elf/tst-unique4.cc: Likewise.
2234 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2236 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2239 * assert/assert.h (static_assert): Don't define for C++.
2240 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2241 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2243 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2245 * iconv/loop.c (single loop): Fix assertion in storing of
2248 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2250 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2252 * posix/getconf.c: Update copyright year.
2253 * nss/getent.c: Likewise.
2254 * nss/makedb.c: Likewise.
2255 * iconv/iconvconfig.c: Likewise.
2256 * iconv/iconv_prog.c: Likewise.
2257 * elf/ldconfig.c: Likewise.
2258 * elf/pldd.c: Likewise.
2259 * elf/sotruss.ksh: Likewise.
2260 * catgets/gencat.c: Likewise.
2261 * csu/version.c: Likewise.
2262 * elf/ldd.bash.in: Likewise.
2263 * elf/sprof.c (print_version): Likewise.
2264 * locale/programs/locale.c: Likewise.
2265 * locale/programs/localedef.c: Likewise.
2266 * login/programs/pt_chown.c: Likewise.
2267 * nscd/nscd.c (print_version): Likewise.
2268 * debug/xtrace.sh: Likewise.
2269 * malloc/memusage.sh: Likewise.
2270 * malloc/mtrace.pl: Likewise.
2271 * debug/catchsegv.sh: Likewise.
2273 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2275 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2278 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2281 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2282 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2284 * iconv/gconv_int.h: Likewise.
2285 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2286 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2287 from libc for GLIBC_2.16.
2288 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2289 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2290 * wcsmbs/uchar.h: Really define mbstate_t.
2291 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2292 * wcsmbs/c16rtomb.c: New file.
2293 * wcsmbs/mbrtoc16.c: New file.
2294 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2296 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2297 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2299 * wcsmbs/wchar.h: Add missing __restrict.
2301 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2304 * time/Makefile (routines): Add timespec_get.
2305 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2306 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2307 timespec for ISO C11.
2308 * time/timespec_get.c: New file.
2309 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2310 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2313 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2314 * stdlib/stdlib.h: Declare aligned_alloc.
2315 * Versions.def: Add GLIBC_2.16 for libc.
2316 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2319 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2322 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2326 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2329 * assert/assert.h (static_assert): Define.
2331 * version.h: Update for 2.16 development version.
2334 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2337 * version.h (RELEASE): Bump for 2.15 release.
2338 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2340 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2341 Patch by Marek Polacek <mpolacek@redhat.com>.
2343 * bits/byteswap.h: Protect long long constants with __extension__.
2344 * sysdeps/i386/bits/byteswap.h: Likewise.
2345 * sysdeps/ia64/bits/byteswap.h: Likewise.
2346 * sysdeps/s390/bits/byteswap.h: Likewise.
2347 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2349 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2352 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2354 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2356 2011-12-23 Marek Polacek <polacek@redhat.com>
2358 * elf/dl-addr.c (determine_info): Add inline keyword.
2359 * elf/tst-auditmod4b.c (check_avx): Likewise.
2360 * elf/tst-auditmod6b.c (check_avx): Likewise.
2361 * elf/tst-auditmod6c.c (check_avx): Likewise.
2362 * elf/tst-auditmod7b.c (check_avx): Likewise.
2364 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2366 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2369 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2372 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2373 processing for last bytes.
2375 2011-08-06 Bruno Haible <bruno@clisp.org>
2378 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2379 U+0385, not to U+1FEE.
2382 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2383 entry for U+00A5 U+0301.
2385 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2388 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2389 buffer for the output is too small.
2391 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2395 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2396 SSE flags if possible.
2398 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2401 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2402 processing for last bytes.
2404 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2406 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2407 (syscall-list-default-options, syscall-list-default-condition)
2408 (syscall-list-includes): Define.
2409 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2410 list of ABIs and options and #if conditions for each ABI. Do not
2411 handle common syscalls between ABIs specially.
2412 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2414 (syscall-list-variants, syscall-list-32bit-options)
2415 (syscall-list-32bit-condition, syscall-list-64bit-options)
2416 (syscall-list-64bit-condition): Define.
2417 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2418 (syscall-list-variants, syscall-list-32bit-options)
2419 (syscall-list-32bit-condition, syscall-list-64bit-options)
2420 (syscall-list-64bit-condition): Define.
2421 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2423 (syscall-list-variants, syscall-list-32bit-options)
2424 (syscall-list-32bit-condition, syscall-list-64bit-options)
2425 (syscall-list-64bit-condition): Define.
2426 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2428 (syscall-list-variants, syscall-list-32bit-options)
2429 (syscall-list-32bit-condition, syscall-list-64bit-options)
2430 (syscall-list-64bit-condition): Define.
2432 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2434 * locale/iso-639.def: Add brx entry.
2437 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2438 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2440 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2441 __feraiseexcept_renamed.
2443 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2446 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2447 EPOLLET with unsigned values.
2448 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2451 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2452 to large cancellation.
2453 * math/s_cacoshf.c: Likewise.
2454 * math/s_cacoshl.c: Likewise.
2456 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2460 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2461 * math/s_cacoshf.c: Likewise.
2462 * math/s_cacoshl.c: Likewise.
2464 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2467 * iconv/gconv.h: Define __GCONV_SWAP.
2468 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2469 * iconvdata/utf-16.c: Likewise.
2470 * iconvdata/utf-32.c: Likewise.
2472 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2475 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2476 numerator after shifting it by one limb.
2478 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2480 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2481 under [__USE_EXTERN_INLINES].
2483 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2486 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2488 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2490 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2491 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2493 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2494 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2495 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2496 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2497 for strncasecmp/strncasecmp_l compilation.
2498 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2499 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2501 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2504 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2507 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2510 * time/tzfile.c (__tzfile_read): Check values from file header.
2512 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2514 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2515 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2516 * powerpc/powerpc32/dl-start.S: Likewise.
2517 * powerpc/powerpc32/elf/start.S: Likewise.
2518 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2519 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2520 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2521 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2522 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2523 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2524 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2525 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2526 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2527 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2528 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2529 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2530 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2531 * powerpc/powerpc32/memset.S: Likewise.
2532 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2533 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2534 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2535 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2536 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2537 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2538 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2539 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2540 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2541 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2542 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2543 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2544 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2546 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2548 * math/libm-test.inc: Added more nearbyint tests.
2549 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2550 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2551 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2554 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2556 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2559 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2561 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2562 Add wcscpy-ssse3 wcscpy-c.
2563 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2564 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2565 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2566 * sysdeps/x86_64/wcschr.S: New file.
2567 * sysdeps/x86_64/wcsrchr.S: New file.
2568 * string/test-strcmp.c: Remove checking of wcscmp function for
2570 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2571 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2572 wcsrchr-sse2 wcsrchr-c.
2573 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2574 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2575 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2576 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2577 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2578 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2579 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2580 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2581 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2582 * wcsmbc/wcschr.c (WCSCHR): New macro.
2584 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2586 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2587 * wcsmbs/test-wcsrchr.c: New file.
2588 * string/test-strrchr.c: Add wcsrchr support.
2590 * wcsmbs/test-wcscpy.c: New file.
2591 * string/test-strcpy.c: Add wcscpy support.
2594 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2596 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2599 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2602 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2604 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2606 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2607 Minor optimizations.
2609 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2610 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2611 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2613 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2615 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2616 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2617 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2618 for gcc to avoid warnings.
2619 * inet/Makefile (tests): Add tst-checks.
2620 * inet/tst-checks.c: New file.
2622 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2625 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2628 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2629 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2631 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2633 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2635 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2638 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2640 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2643 conditional on GCC version.
2644 (__arch_compare_and_exchange_val_8_acq)
2645 (__arch_compare_and_exchange_val_16_acq)
2646 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2647 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2648 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2650 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2652 * sysdeps/sh/backtrace.c: New file.
2654 2011-12-02 Andreas Schwab <schwab@redhat.com>
2656 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2659 2011-12-01 Andreas Schwab <schwab@redhat.com>
2661 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2662 falling back to utime.
2664 2011-11-30 Andreas Schwab <schwab@redhat.com>
2666 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2667 expectations for float.
2669 2011-11-29 Andreas Schwab <schwab@redhat.com>
2671 * locale/weight.h (findidx): Add parameter len.
2672 * locale/weightwc.h (findidx): Likewise.
2673 * posix/fnmatch_loop.c (FCT): Adjust caller.
2674 * posix/regcomp.c (build_equiv_class): Likewise.
2675 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2676 * posix/regexec.c (check_node_accept_bytes): Likewise.
2677 * string/strcoll_l.c (STRCOLL): Likewise.
2678 * string/strxfrm_l.c (STRXFRM): Likewise.
2680 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2682 * Makefile.in: Remove CVSOPT handling.
2683 * configure.in: Remove use of AC_REVISION.
2684 * iconvdata/Makefile (distribute): No need to filter out CVS.
2685 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2688 2011-11-16 Andreas Schwab <schwab@redhat.com>
2690 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2691 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2692 [USE_AS_STRNCASECMP_L]: Likewise.
2693 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2694 NO_TLS_DIRECT_SEG_REFS.
2695 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2696 Fix argument offsets for non-PIC.
2697 [USE_AS_STRNCASECMP_L]: Likewise.
2698 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2699 NO_TLS_DIRECT_SEG_REFS.
2701 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2703 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2705 * locale/loadlocale.c (_nl_load_locale): Likewise.
2707 2011-11-15 Andreas Schwab <schwab@redhat.com>
2709 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2710 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2711 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2712 (SYSCALL_GETTIME): Set errno on error.
2714 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2715 count references to noai6ai_cached.
2717 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2719 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2721 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2722 FD_CLOEXEC for /proc/self/maps.
2724 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2725 FD_CLOEXEC for /proc/meminfo.
2727 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2730 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2731 FD_CLOEXEC for given file.
2733 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2735 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2736 FD_CLOEXEC for /etc/hosts.
2737 (_gethtent): Likewise.
2739 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2741 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2742 cancellation and set FD_CLOEXEC for /etc/netgroup.
2744 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2745 reading /etc/publickey.
2747 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2748 allow cancellation when reading /etc/group.
2750 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2752 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2754 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2755 when using data file.
2757 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2759 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2760 (write_nis_obj): Use "c" and "e" in fopen.
2762 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2764 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2766 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2768 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2770 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2773 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2775 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2777 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2779 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2780 file parsing and set FD_CLOEXEC.
2782 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2784 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2786 2011-11-14 Andreas Schwab <schwab@redhat.com>
2788 * malloc/arena.c (arena_get2): Don't call reused_arena when
2789 _int_new_arena failed.
2791 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2793 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2794 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2795 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2796 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2797 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2799 to compile strcasecmp and strncasecmp.
2800 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2801 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2803 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2805 2011-11-13 Ulrich Drepper <drepper@gmail.com>
2807 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2808 locale-defines.sym to gen-as-const-headers.
2809 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2810 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2812 to compile strcasecmp and strncasecmp.
2813 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2814 strcasecmp_l and strncasecmp_l.
2815 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2816 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2817 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2818 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2819 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2820 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2821 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2822 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2823 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2824 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2825 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2827 2011-11-12 Ulrich Drepper <drepper@gmail.com>
2829 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2830 result of SYSDEP_GETTIME_CPU to retval.
2831 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2832 parameter list to macro. Remove trailing semicolon. Adjust users.
2834 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2837 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2839 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2841 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2842 from unused variable.
2844 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2846 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2849 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2852 * sunrpc/rpc_prot.c (rejected): Fix case value.
2854 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2855 unsigned long long int to avoid warnings in shift.
2857 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2859 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2862 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2863 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2864 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2866 * nis/nis_table.c (nis_list): Use variable of correct type for
2867 result of __follow_path call.
2869 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2871 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2872 of math functions ceil, trunc, floor, round, and sqrt, when
2873 avaliable on the platform.
2874 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2876 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2877 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2878 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2880 2011-10-30 Marek Polacek <mpolacek@redhat.com>
2882 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2883 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2885 2011-11-11 Roland McGrath <roland@hack.frob.com>
2887 * include/unistd.h: Fix __readlink return type.
2888 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2890 2011-11-11 Ulrich Drepper <drepper@gmail.com>
2892 * stdlib/ucontext.h: Undo last change for makecontext.
2894 2011-11-11 Andreas Schwab <schwab@redhat.com>
2896 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2898 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2899 * setjmp/setjmp.h: Mark functions as non-leaf.
2900 * setjmp/bits/setjmp2.h: Likewise.
2901 * stdlib/ucontext.h: Likewise.
2903 2011-11-10 Andreas Schwab <schwab@redhat.com>
2905 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2906 (reused_arena): Don't check arena limit.
2907 (arena_get2): Atomically check arena limit.
2909 2011-11-08 Ulrich Drepper <drepper@gmail.com>
2911 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2912 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2917 2011-11-07 Andreas Schwab <schwab@redhat.com>
2919 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2920 handler when locking.
2922 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2923 Fix size of allocated buffer.
2925 2011-11-04 Andreas Schwab <schwab@redhat.com>
2928 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2929 declarations for long double functions.
2930 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2932 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2934 2011-11-03 Andreas Schwab <schwab@redhat.com>
2936 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2939 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2942 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2944 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2946 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2948 * include/alloca.h (stackinfo_alloca_round): Define.
2949 (extend_alloca): Use it.
2950 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2951 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2954 * scripts/check-local-headers.sh: Ignore libaudit.h.
2956 * nscd/Makefile (extra-objs): Make recursively expanded.
2958 2011-11-01 Ulrich Drepper <drepper@gmail.com>
2960 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2963 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2964 * posix/tst-rfc3484-2.c: Likewise.
2965 * posix/tst-rfc3484-3.c: Likewise.
2967 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2969 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2971 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2972 process_vm_writev from libc using GLIBC_2.15 version.
2974 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2976 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2978 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2981 2011-10-31 Ulrich Drepper <drepper@gmail.com>
2984 * nss/getent.c (initgroups_keys): Show error message in case no group
2987 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2988 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2989 __bump_nl_timestamp.
2990 * nscd/connections (nscd_init): When host database is served open
2991 netlink socket and request notification about configuration changes.
2992 (main_loop_poll): Track netlink file descriptor and bump timestamp
2993 in case data becomes available.
2994 (main_loop_epoll): Likewise.
2995 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2996 (database_pers_head): Add extra_data fileds.
2997 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2998 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2999 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
3001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
3002 in6ai data, call __free_in6ai.
3003 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
3005 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
3006 interface information. Reuse previous data if netlink timestamp
3008 (__bump_nl_timestamp): New function.
3009 (__free_in6ai): New function.
3011 2011-10-30 Ulrich Drepper <drepper@gmail.com>
3013 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
3014 close_not_cancel_no_status here.
3015 (__check_pf): Reorganize code a bit to not call close twice if OOM.
3017 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3020 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
3023 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
3024 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
3025 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
3027 2011-07-03 Andreas Jaeger <aj@suse.de>
3030 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
3031 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
3032 * math/libm-test.inc (sin_test): Add test case.
3034 2011-10-29 Ulrich Drepper <drepper@gmail.com>
3037 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
3038 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3040 * elf/chroot_canon.c (chroot_canon): Cleanups.
3042 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
3045 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
3046 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
3048 * string/test-strchr.c: Make usable for strchrnul testing.
3049 * string/test-strchrnul.c: New file.
3050 * string/Makefile (strop-tests): Add strchrnul.
3052 * po/it.po: Update from translation team.
3053 * po/es.po: Likewise.
3055 2011-10-28 Ulrich Drepper <drepper@gmail.com>
3057 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
3058 the three constants needed as parameters. Drop the others.
3059 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
3060 __m128i_strloadu_tolower.
3061 Create and initialize variable zero and use it in all the places
3062 where _mm_setzero_si128 was used.
3064 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
3065 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
3066 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
3067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
3069 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
3070 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
3071 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
3072 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
3073 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
3074 __mpranred, __mptan.
3075 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
3076 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
3077 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
3078 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
3079 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
3080 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
3081 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
3082 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
3083 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
3085 2011-10-28 Andreas Schwab <schwab@redhat.com>
3087 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
3089 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
3091 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
3092 wide char related routines to wcsmbs subdir.
3094 2011-10-27 Andreas Schwab <schwab@redhat.com>
3097 * misc/sys/cdefs.h (__THROWNL): Define.
3098 * posix/unistd.h: Use __THREADNL instead of __THREAD
3099 for memory synchronization functions.
3101 2011-10-26 Roland McGrath <roland@hack.frob.com>
3104 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
3106 * manual/stdio.texi (Obstack Streams): Node removed.
3108 2011-10-26 Andreas Schwab <schwab@redhat.com>
3110 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
3111 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3112 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3114 * math/math_private.h (math_force_eval): Allow non-addressable
3116 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
3118 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
3123 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
3124 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3125 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3126 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3127 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3129 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3130 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
3132 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
3133 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
3134 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
3135 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
3136 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
3137 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
3138 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
3139 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
3140 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
3141 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
3142 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
3143 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
3144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
3145 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
3146 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
3147 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
3148 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
3149 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
3150 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
3152 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
3153 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
3155 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
3156 place. Use VEX encoding when compiling for AVX.
3158 2011-10-25 Andreas Schwab <schwab@redhat.com>
3160 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3161 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3163 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3165 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3167 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3168 useless if() expression.
3169 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3170 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3174 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3175 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3176 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3177 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3178 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3179 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3180 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3181 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3182 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3183 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3187 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3189 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3191 2011-10-25 Andreas Schwab <schwab@redhat.com>
3193 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3197 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3199 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3200 .text section. Avoid duplicate constants.
3201 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3209 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3210 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3212 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3213 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3214 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3215 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3218 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3219 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3224 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3225 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3226 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3227 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3228 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3230 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3231 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3232 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3233 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3234 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3235 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3236 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3237 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3238 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3239 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3240 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3241 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3242 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3243 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3244 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3245 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3247 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3249 * sysdeps/x86_64/dla.h: Move to ...
3250 * sysdeps/x86_64/fpu/dla.h: ...here.
3251 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3252 situations. Use __builtin_fma only for gcc 4.6 and up.
3254 * config.make.in: Add have-mfma4 entry.
3255 * configure.in: Substitute libc_cv_cc_fma4.
3256 * math/Makefile (dbl-only-routines): Add sincostab.
3257 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3258 Use __sincostab not sincos.
3259 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3261 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3266 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3267 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3268 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3269 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3271 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3272 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3274 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3275 define aliases when function name is a macro.
3276 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3277 sysdeps/ieee754/dbl-64/sincos.tbl.
3278 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3279 fma4-enabled routines.
3280 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3281 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3282 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3283 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3284 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3285 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3286 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3287 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3288 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3289 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3290 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3291 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3292 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3293 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3294 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3295 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3296 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3297 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3298 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3300 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3301 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3302 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3303 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3305 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3306 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3307 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3308 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3309 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3311 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3319 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3320 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3322 2011-10-24 Andreas Schwab <schwab@redhat.com>
3324 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3326 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3328 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3330 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3332 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3334 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3335 Remove unused variable magic_bits.
3336 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3338 * string/strnlen.c: Define and use STRNLEN macro.
3339 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3340 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3341 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3342 * wcsmbs/wcslen.c: Define and use WCSLEN.
3343 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3344 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3345 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3346 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3347 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3348 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3349 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3351 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3354 strnlen-sse2-no-bsf.
3355 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3356 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3357 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3358 Add strnlen support.
3359 (USE_AS_STRNLEN): New macro.
3360 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3361 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3362 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3363 * sysdeps/x86_64/wcslen.S: New file.
3365 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3368 XMM-moves are used for copying on small sizes.
3370 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3372 * wcsmbs/Makefile (strop-tests): Add wcschr.
3373 * wcsmbs/test-wcschr.c: New file.
3374 * string/test-strchr.c: Update.
3378 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3380 * wcsmbs/Makefile (strop-tests): Add wcslen.
3381 * wcsmbs/test-wcslen.c: New file.
3382 * string/test-strlen.c: Update.
3386 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3388 * po/it.po: Update from translation team.
3390 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3392 * sysdeps/x86_64/wcscmp.S: Update.
3393 Fix wrong comparison semantics.
3394 wcscmp shall use signed comparison not unsigned.
3395 Don't use substraction to avoid overflow bug.
3396 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3397 * wcsmbc/wcscmp.c: Likewise.
3398 * string/test-strcmp.c: Likewise.
3399 Add new tests to check cases with negative values.
3401 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3403 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3404 * sysdeps/x86_64/dla.h: ...here. New file.
3405 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3407 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3408 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3410 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3411 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3412 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3413 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3415 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3418 __ynl_finite aliases.
3420 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3424 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3426 [DLA_FMA] (EMULV): Use DLA_FMA.
3427 [DLA_FMA] (MUL12): Use EMULV.
3428 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3429 that are not needed.
3430 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3431 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3438 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3440 * math/s_nan.c: Undef __nan.
3441 * math/s_nanf.c: Undef __nanf.
3442 * math/s_nanl.c: Undef __nanl.
3443 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3446 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3448 * math/s_catan.c: Add branch predictions.
3449 * math/s_catanf.c: Likewise.
3450 * math/s_catanh.c: Likewise.
3451 * math/s_catanhf.c: Likewise.
3452 * math/s_catanhl.c: Likewise.
3453 * math/s_catanl.c: Likewise.
3454 * math/s_cexp.c: Likewise.
3455 * math/s_cexpf.c: Likewise.
3456 * math/s_cexpl.c: Likewise.
3457 * math/s_clog.c: Likewise.
3458 * math/s_clog10.c: Likewise.
3459 * math/s_clog10f.c: Likewise.
3460 * math/s_clog10l.c: Likewise.
3461 * math/s_clogf.c: Likewise.
3462 * math/s_clogl.c: Likewise.
3463 * math/s_csqrt.c: Likewise.
3464 * math/s_csqrtf.c: Likewise.
3465 * math/s_csqrtl.c: Likewise.
3466 * math/s_ctanf.c: Likewise.
3467 * math/s_ctanh.c: Likewise.
3468 * math/s_ctanhf.c: Likewise.
3469 * math/s_ctanhl.c: Likewise.
3470 * math/s_ctanl.c: Likewise.
3472 * math/math_private.h: Define __nan, __nanf, __nanl.
3473 * math/s_cacosh.c: Include <math_private.h>.
3474 * math/s_cacoshl.c: Likewise.
3475 * math/s_casinh.c: Likewise.
3476 * math/s_casinhf.c: Likewise.
3477 * math/s_casinhl.c: Likewise.
3478 * math/s_ccos.c: Rely entire on ccosh.
3479 * math/s_ccosf.c: Rely entire on ccoshf.
3480 * math/s_ccosl.c: Rely entirely on ccoshl.
3481 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3482 Remove tests for FE_INVALID.
3483 * math/s_ccoshf.c: Likewise.
3484 * math/s_ccoshl.c: Likewise.
3485 * math/s_csin.c: Likewise.
3486 * math/s_csinf.c: Likewise.
3487 * math/s_csinh.c Likewise.
3488 * math/s_csinhf.c: Likewise.
3489 * math/s_csinhl.c: Likewise.
3490 * math/s_csinl.c: Likewise.
3491 * math/s_ctan.c: Likewise.
3492 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3493 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3494 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3496 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3499 compilation problems.
3501 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3504 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3506 * sysdeps/i386/configure.in: Test for -mfma4 option.
3507 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3508 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3509 COMMON_CPUID_INDEX_80000001.
3510 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3511 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3512 use it if FMA3 is not supported.
3513 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3515 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3516 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3518 2011-10-20 Andreas Schwab <schwab@redhat.com>
3521 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3522 it would create a cycle with a link time dependency.
3524 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3526 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3528 * string/Makefile (strop-tests): Add rawmemchr.
3529 * string/test-rawmemchr.c: New file.
3531 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3532 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3533 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3534 when compiling str{,n}casecmp and when AVX is available. Hook up
3535 new optimized code in initializers.
3537 2011-10-19 Andreas Schwab <schwab@redhat.com>
3539 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3540 __feraiseexcept instead of feraiseexcept.
3542 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3544 * math/math_private.h: Define defaults for libc_fetestexcept and
3546 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3547 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3548 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3549 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3550 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3551 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3552 libc_fetestexcept and libc_feupdateenv.
3554 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3555 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3556 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3557 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3558 libc_feholdexcept_setround.
3560 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3561 Add s_nearbyint-c and s_nearbyintf-c.
3562 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3564 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3565 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3566 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3567 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3569 * math/math_private.h: Define defaults for libc_fegetround,
3570 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3571 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3572 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3573 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3574 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3576 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3577 Remove comments and hacks for old compiler versions.
3578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3579 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3582 2011-10-18 Andreas Schwab <schwab@redhat.com>
3584 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3585 (__feraiseexcept_renamed): Add __NTH.
3586 (feraiseexcept): Add __NTH. Rename local variables to fix
3587 namespace violations.
3589 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3591 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3593 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3595 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3596 recently added interfaces.
3597 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3599 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3600 about macro parameter expansion.
3602 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3603 __NO_MATH_INLINES is defined. Cleanups.
3605 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3606 and __floorf is target has SSE4.1.
3607 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3608 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3609 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3610 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3612 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3616 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3618 2011-10-17 Andreas Schwab <schwab@redhat.com>
3620 * misc/sys/cdefs.h: Fix last change.
3622 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3625 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3627 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3629 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3636 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3637 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3638 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3639 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3640 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3641 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3642 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3643 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3644 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3645 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3646 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3647 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3648 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3649 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3650 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3652 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3653 ceil, ceilf, floor, floorf.
3655 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3656 Perform IRELATIVE relocations last.
3658 * elf/do-rel.h: Add another parameter nrelative, replacing the
3659 local variable with the same name. Change name of the function
3660 to end in Rel or Rela (uppercase).
3661 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3662 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3663 elf_dynamic_do_##reloc function.
3665 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3667 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3668 is sufficient, at least on modern CPUs.
3670 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3672 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3673 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3675 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3677 * math/bits/math-finite.h: Add entries for exp.
3678 * math/e_expl.c: Add __*_finite alias.
3679 * sysdeps/i386/fpu/e_exp.S: Likewise.
3680 * sysdeps/i386/fpu/e_expf.S: Likewise.
3681 * sysdeps/i386/fpu/e_expl.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3683 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3686 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3687 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3688 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3690 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3691 is sufficient, at least on modern CPUs.
3693 * ctype/ctype-info.c (__ctype_init): Define.
3694 * include/ctype.h (__ctype_init): Declare.
3695 (__ctype_b_loc): The variable is always initialized.
3696 (__ctype_toupper_loc): Likewise.
3697 (__ctype_tolower_loc): Likewise.
3698 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3699 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3701 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3703 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3705 * configure.in: Also look in $cxxmachine/include for C++ system
3708 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3710 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3711 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3712 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3713 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3714 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3715 (USE_AS_WMEMCMP): New macro.
3717 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3718 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3719 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3720 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3721 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3722 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3723 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3724 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3725 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3726 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3727 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3728 (USE_AS_WMEMCMP): New macro.
3729 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3730 * sysdeps/string/test-memcmp.c: Update.
3733 * wcsmbs/wmemcmp.c: Update.
3734 (WMEMCMP): New macro.
3737 2011-10-12 Andreas Jaeger <aj@suse.de>
3740 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3742 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3744 * libio/iofwide.c (do_length): Avoid warning.
3746 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3748 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3750 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3752 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3753 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3754 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3755 * sysdeps/i386/i686/fpu/e_log.S: New file.
3756 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3757 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3759 * ctype/ctype.h: Add support for inlined isXXX functions when
3762 2011-10-14 Andreas Schwab <schwab@redhat.com>
3764 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3766 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3768 2011-10-13 Roland McGrath <roland@hack.frob.com>
3771 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3773 2011-10-13 Andreas Schwab <schwab@redhat.com>
3775 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3776 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3779 * sysdeps/x86_64/memrchr.S: Check for zero size.
3781 * string/stratcliff.c: Add memrchr tests.
3783 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3786 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3787 rawmemchr-sse2 rawmemchr-sse2-bsf.
3788 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3789 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3790 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3791 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3792 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3793 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3794 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3795 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3796 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3797 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3798 * string/memrchr.c (MEMRCHR): New macro.
3800 2011-10-12 Ulrich Drepper <drepper@gmail.com>
3802 Add integration with gcc's -ffinite-math-only and optimize wrapper
3804 * Versions.def: Define GLIBC_2.15 version for libm.
3805 * math/Makefile (headers): Add bits/math-finite.h.
3806 * math/bits/math-finite.h: New file.
3807 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3808 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3809 * math/e_acoshl.c: Add __*_finite alias.
3810 * math/e_acosl.c: Likewise.
3811 * math/e_asinl.c: Likewise.
3812 * math/e_atan2l.c: Likewise.
3813 * math/e_atanhl.c: Likewise.
3814 * math/e_coshl.c: Likewise.
3815 * math/e_exp10.c: Likewise.
3816 * math/e_exp10f.c: Likewise.
3817 * math/e_exp10l.c: Likewise.
3818 * math/e_exp2l.c: Likewise.
3819 * math/e_fmodl.c: Likewise.
3820 * math/e_gammal_r.c: Likewise.
3821 * math/e_hypotl.c: Likewise.
3822 * math/e_j0l.c: Likewise.
3823 * math/e_j1l.c: Likewise.
3824 * math/e_jnl.c: Likewise.
3825 * math/e_lgammal_r.c: Likewise.
3826 * math/e_log10l.c: Likewise.
3827 * math/e_log2l.c: Likewise.
3828 * math/e_logl.c: Likewise.
3829 * math/e_powl.c: Likewise.
3830 * math/e_sinhl.c: Likewise.
3831 * math/e_sqrtl.c: Likewise.
3832 * math/e_scalb.c: Completely rewritten and optimized.
3833 * math/e_scalbf.c: Likewise.
3834 * math/e_scalbl.c: Likewise.
3835 * math/w_acos.c: Likewise.
3836 * math/w_acosf.c: Likewise.
3837 * math/w_acosl.c: Likewise.
3838 * math/w_acosh.c: Likewise.
3839 * math/w_acoshf.c: Likewise.
3840 * math/w_acoshl.c: Likewise.
3841 * math/w_asin.c: Likewise.
3842 * math/w_asinf.c: Likewise.
3843 * math/w_asinl.c: Likewise.
3844 * math/w_atan2.c: Likewise.
3845 * math/w_atan2f.c: Likewise.
3846 * math/w_atan2l.c: Likewise.
3847 * math/w_atanh.c: Likewise.
3848 * math/w_atanhf.c: Likewise.
3849 * math/w_atanhl.c: Likewise.
3850 * math/w_exp10.c: Likewise.
3851 * math/w_exp10f.c: Likewise.
3852 * math/w_exp10l.c: Likewise.
3853 * math/w_fmod.c: Likewise.
3854 * math/w_fmodf.c: Likewise.
3855 * math/w_fmodl.c: Likewise.
3856 * math/w_j0.c: Likewise.
3857 * math/w_j0f.c: Likewise.
3858 * math/w_j0l.c: Likewise.
3859 * math/w_j1.c: Likewise.
3860 * math/w_j1f.c: Likewise.
3861 * math/w_j1l.c: Likewise.
3862 * math/w_jn.c: Likewise.
3863 * math/w_jnf.c: Likewise.
3864 * math/w_log.c: Likewise.
3865 * math/w_logf.c: Likewise.
3866 * math/w_logl.c: Likewise.
3867 * math/w_log10.c: Likewise.
3868 * math/w_log10f.c: Likewise.
3869 * math/w_log10l.c: Likewise.
3870 * math/w_log2.c: Likewise.
3871 * math/w_log2f.c: Likewise.
3872 * math/w_log2l.c: Likewise.
3873 * math/w_pow.c: Likewise.
3874 * math/w_powf.c: Likewise.
3875 * math/w_powl.c: Likewise.
3876 * math/w_remainder.c: Likewise.
3877 * math/w_remainderf.c: Likewise.
3878 * math/w_remainderl.c: Likewise.
3879 * math/w_scalb.c: Likewise.
3880 * math/w_scalbf.c: Likewise.
3881 * math/w_scalbl.c: Likewise.
3882 * math/w_sqrt.c: Likewise.
3883 * math/w_sqrtf.c: Likewise.
3884 * math/w_sqrtl.c: Likewise.
3885 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3886 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3888 * math/math_private.h: Declare __kernel_standard_f.
3889 * math/w_cosh.c: Remove cruft and optimize a bit.
3890 * math/w_coshf.c: Likewise.
3891 * math/w_coshl.c: Likewise.
3892 * math/w_exp2.c: Likewise.
3893 * math/w_exp2f.c: Likewise.
3894 * math/w_exp2l.c: Likewise.
3895 * math/w_hypot.c: Likewise.
3896 * math/w_hypotf.c: Likewise.
3897 * math/w_hypotl.c: Likewise.
3898 * math/w_lgamma.c: Likewise.
3899 * math/w_lgamma_r.c: Likewise.
3900 * math/w_lgammaf.c: Likewise.
3901 * math/w_lgammaf_r.c: Likewise.
3902 * math/w_lgammal.c: Likewise.
3903 * math/w_lgammal_r.c: Likewise.
3904 * math/w_sinh.c: Likewise.
3905 * math/w_sinhf.c: Likewise.
3906 * math/w_sinhl.c: Likewise.
3907 * math/w_tgamma.c: Likewise.
3908 * math/w_tgammaf.c: Likewise.
3909 * math/w_tgammal.c: Likewise.
3910 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3911 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3912 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3913 Minor optimizations. Pretty printing. Remove cruft.
3914 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3915 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3916 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3917 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3918 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3919 * sysdeps/i386/fpu/e_asin.S: Likewise.
3920 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3921 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3922 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3923 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3924 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3925 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3926 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3927 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3928 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3929 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3930 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3931 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3932 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3933 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3934 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3935 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3936 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3937 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3938 * sysdeps/i386/fpu/e_log.S: Likewise.
3939 * sysdeps/i386/fpu/e_log10.S: Likewise.
3940 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3941 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3942 * sysdeps/i386/fpu/e_log2.S: Likewise.
3943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3944 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3945 * sysdeps/i386/fpu/e_logf.S: Likewise.
3946 * sysdeps/i386/fpu/e_logl.S: Likewise.
3947 * sysdeps/i386/fpu/e_pow.S: Likewise.
3948 * sysdeps/i386/fpu/e_powf.S: Likewise.
3949 * sysdeps/i386/fpu/e_powl.S: Likewise.
3950 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3951 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3952 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3953 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3954 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3956 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3957 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3958 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3980 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3981 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3983 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3984 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3985 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3986 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3988 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3989 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3990 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3991 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3992 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3993 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3994 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3995 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3996 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3998 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3999 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4039 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
4042 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4044 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4045 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4047 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4050 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4051 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4052 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4053 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4054 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4055 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4056 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4057 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4058 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4059 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
4060 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
4061 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
4062 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
4063 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4064 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4065 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4066 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4067 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
4068 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4069 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
4070 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
4071 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
4072 (__isnanf): Likewise.
4073 (__isinf_ns): Likewise.
4074 (__isinf_nsf): Likewise.
4075 (__finite): Likewise.
4076 (__finitef): Likewise.
4077 (__ieee754_sqrt): Define as macro.
4078 (__ieee754_sqrtf): Define as macro.
4079 (__ieee754_sqrtl): Define as macro.
4080 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
4082 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
4083 __FINITE_MATH_ONLY__ consistent.
4084 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
4086 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
4088 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
4091 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
4093 2011-10-09 Ulrich Drepper <drepper@gmail.com>
4095 * po/ja.po: Update from translation team.
4097 2011-10-08 Roland McGrath <roland@hack.frob.com>
4099 * locale/programs/locarchive.c (prepare_address_space): New function.
4100 (create_archive, enlarge_archive, open_archive): Use it.
4102 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
4103 inside [SHARED], where it is used.
4105 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
4107 * nss/getent.c (netgroup_keys): Remove unused variable.
4108 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4110 2011-10-08 Ulrich Drepper <drepper@gmail.com>
4112 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
4113 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
4114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
4115 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
4116 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
4117 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
4118 * math/Makefile (libm-calls): Add s_isinf_ns.
4119 * math/divtc3.c: Use __isinf_nsl instead of isinf.
4120 * math/multc3.c: Likewise.
4121 * math/s_casin.c: Likewise.
4122 * math/s_casinf.c: Likewise.
4123 * math/s_casinl.c: Likewise.
4124 * math/s_ccos.c: Likewise.
4125 * math/s_ccosf.c: Likewise.
4126 * math/s_ccosl.c: Likewise.
4127 * math/s_ctan.c: Likewise.
4128 * math/s_ctanf.c: Likewise.
4129 * math/s_ctanh.c: Likewise.
4130 * math/s_ctanhf.c: Likewise.
4131 * math/s_ctanhl.c: Likewise.
4132 * math/s_ctanl.c: Likewise.
4133 * math/w_fmod.c: Likewise.
4134 * math/w_fmodf.c: Likewise.
4135 * math/w_fmodl.c: Likewise.
4136 * math/w_remainder.c: Likewise.
4137 * math/w_remainderf.c: Likewise.
4138 * math/w_remainderl.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
4140 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
4141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
4142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
4143 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
4144 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
4145 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
4146 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
4148 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
4150 * stdio-common/printf_fphex.c: Likewise.
4151 * stdio-common/printf_size.c: Likewise.
4153 * math/e_exp10.c: Include math_private.h using <...> not "...".
4154 * math/e_exp10f.c: Likewise.
4155 * math/e_exp10l.c: Likewise.
4156 * math/e_exp2l.c: Likewise.
4157 * math/e_j0l.c: Likewise.
4158 * math/e_j1l.c: Likewise.
4159 * math/e_jnl.c: Likewise.
4160 * math/e_lgammal_r.c: Likewise.
4161 * math/e_rem_pio2l.c: Likewise.
4162 * math/e_scalb.c: Likewise.
4163 * math/e_scalbf.c: Likewise.
4164 * math/e_scalbl.c: Likewise.
4165 * math/k_cosl.c: Likewise.
4166 * math/k_sinl.c: Likewise.
4167 * math/k_tanl.c: Likewise.
4168 * math/s_cacoshf.c: Likewise.
4169 * math/s_catan.c: Likewise.
4170 * math/s_catanf.c: Likewise.
4171 * math/s_catanh.c: Likewise.
4172 * math/s_catanhf.c: Likewise.
4173 * math/s_catanhl.c: Likewise.
4174 * math/s_catanl.c: Likewise.
4175 * math/s_ccosh.c: Likewise.
4176 * math/s_ccoshf.c: Likewise.
4177 * math/s_ccoshl.c: Likewise.
4178 * math/s_cexp.c: Likewise.
4179 * math/s_cexpf.c: Likewise.
4180 * math/s_cexpl.c: Likewise.
4181 * math/s_clog.c: Likewise.
4182 * math/s_clog10.c: Likewise.
4183 * math/s_clog10f.c: Likewise.
4184 * math/s_clog10l.c: Likewise.
4185 * math/s_clogf.c: Likewise.
4186 * math/s_clogl.c: Likewise.
4187 * math/s_csin.c: Likewise.
4188 * math/s_csinf.c: Likewise.
4189 * math/s_csinh.c: Likewise.
4190 * math/s_csinhf.c: Likewise.
4191 * math/s_csinhl.c: Likewise.
4192 * math/s_csinl.c: Likewise.
4193 * math/s_csqrt.c: Likewise.
4194 * math/s_csqrtf.c: Likewise.
4195 * math/s_csqrtl.c: Likewise.
4196 * math/s_ctan.c: Likewise.
4197 * math/s_ctanf.c: Likewise.
4198 * math/s_ctanh.c: Likewise.
4199 * math/s_ctanhf.c: Likewise.
4200 * math/s_ctanhl.c: Likewise.
4201 * math/s_ctanl.c: Likewise.
4202 * math/s_ldexp.c: Likewise.
4203 * math/s_ldexpf.c: Likewise.
4204 * math/s_ldexpl.c: Likewise.
4205 * math/s_significand.c: Likewise.
4206 * math/s_significandf.c: Likewise.
4207 * math/s_significandl.c: Likewise.
4208 * math/w_acos.c: Likewise.
4209 * math/w_acosf.c: Likewise.
4210 * math/w_acosh.c: Likewise.
4211 * math/w_acoshf.c: Likewise.
4212 * math/w_acoshl.c: Likewise.
4213 * math/w_acosl.c: Likewise.
4214 * math/w_asin.c: Likewise.
4215 * math/w_asinf.c: Likewise.
4216 * math/w_asinl.c: Likewise.
4217 * math/w_atan2.c: Likewise.
4218 * math/w_atan2f.c: Likewise.
4219 * math/w_atan2l.c: Likewise.
4220 * math/w_atanh.c: Likewise.
4221 * math/w_atanhf.c: Likewise.
4222 * math/w_atanhl.c: Likewise.
4223 * math/w_cosh.c: Likewise.
4224 * math/w_coshf.c: Likewise.
4225 * math/w_coshl.c: Likewise.
4226 * math/w_dremf.c: Likewise.
4227 * math/w_exp10.c: Likewise.
4228 * math/w_exp10f.c: Likewise.
4229 * math/w_exp10l.c: Likewise.
4230 * math/w_exp2.c: Likewise.
4231 * math/w_exp2f.c: Likewise.
4232 * math/w_fmod.c: Likewise.
4233 * math/w_fmodf.c: Likewise.
4234 * math/w_fmodl.c: Likewise.
4235 * math/w_hypot.c: Likewise.
4236 * math/w_hypotf.c: Likewise.
4237 * math/w_hypotl.c: Likewise.
4238 * math/w_j0.c: Likewise.
4239 * math/w_j0f.c: Likewise.
4240 * math/w_j0l.c: Likewise.
4241 * math/w_j1.c: Likewise.
4242 * math/w_j1f.c: Likewise.
4243 * math/w_j1l.c: Likewise.
4244 * math/w_jn.c: Likewise.
4245 * math/w_jnf.c: Likewise.
4246 * math/w_jnl.c: Likewise.
4247 * math/w_lgamma.c: Likewise.
4248 * math/w_lgamma_r.c: Likewise.
4249 * math/w_lgammaf.c: Likewise.
4250 * math/w_lgammaf_r.c: Likewise.
4251 * math/w_lgammal.c: Likewise.
4252 * math/w_lgammal_r.c: Likewise.
4253 * math/w_log.c: Likewise.
4254 * math/w_log10.c: Likewise.
4255 * math/w_log10f.c: Likewise.
4256 * math/w_log10l.c: Likewise.
4257 * math/w_log2.c: Likewise.
4258 * math/w_log2f.c: Likewise.
4259 * math/w_log2l.c: Likewise.
4260 * math/w_logf.c: Likewise.
4261 * math/w_logl.c: Likewise.
4262 * math/w_pow.c: Likewise.
4263 * math/w_powf.c: Likewise.
4264 * math/w_powl.c: Likewise.
4265 * math/w_remainder.c: Likewise.
4266 * math/w_remainderf.c: Likewise.
4267 * math/w_remainderl.c: Likewise.
4268 * math/w_scalb.c: Likewise.
4269 * math/w_scalbf.c: Likewise.
4270 * math/w_scalbl.c: Likewise.
4271 * math/w_sinh.c: Likewise.
4272 * math/w_sinhf.c: Likewise.
4273 * math/w_sinhl.c: Likewise.
4274 * math/w_sqrt.c: Likewise.
4275 * math/w_sqrtf.c: Likewise.
4276 * math/w_sqrtl.c: Likewise.
4277 * math/w_tgamma.c: Likewise.
4278 * math/w_tgammaf.c: Likewise.
4279 * math/w_tgammal.c: Likewise.
4281 * po/ja.po: Update from translation team.
4283 2011-09-29 Andreas Jaeger <aj@suse.de>
4286 * sunrpc/netname.c (netname2host): Fix logic.
4290 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4292 * math/w_remainder.c (__remainder): Likewise.
4293 * math/w_remainderf.c (__remainderf): Likewise.
4294 * math/libm-test.inc (remainder_test): Add test cases.
4296 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4298 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4301 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4303 * string/test-memcmp.c: Avoid unncessary #defines.
4304 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4306 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4308 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4309 Use new sse2 version for core i3 - i7 as it's faster
4311 (bit_Prefer_PMINUB_for_stringop): New.
4312 * sysdeps/x86_64/rawmemchr.S: Update.
4313 Replace with faster SSE2 version.
4314 * sysdeps/x86_64/memrchr.S: New file.
4315 * sysdeps/x86_64/memchr.S: Update.
4316 Replace with faster SSE2 version.
4318 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4320 * elf/dl-load.c (lose): Add cast to avoid warning.
4322 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4324 * po/ca.po: Update from translation team.
4326 * inet/getnetgrent_r.c: Hook up nscd.
4327 * nscd/Makefile (routines): Add nscd_netgroup.
4328 (nscd-modules): Add netgroupcache.
4329 (CFLAGS-netgroupcache.c): Define.
4330 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4331 (cache_search): Add const to second parameter.
4332 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4334 (dbs): Add netgrdb entry.
4335 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4336 (verify_persistent_db): Handle netgrdb.
4337 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4338 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4340 (netgroup_response_header): Define.
4341 (innetgroup_response_header): Define.
4342 (datahead): Add netgroup_response_header and innetgroup_response_header
4344 * nscd/nscd.conf: Add entries for netgroup cache.
4345 * nscd/nscd.h (dbtype): Add netgrdb.
4346 (_PATH_NSCD_NETGROUP_DB): Define.
4347 (netgroup_iov_disabled): Declare.
4348 (xmalloc, xcalloc, xrealloc): Move declarations here.
4349 (cache_search): Adjust prototype.
4350 Add netgroup-related prototypes.
4351 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4352 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4353 (__nscd_innetgr): Declare.
4354 * nscd/selinux.c (perms): Use access_vector_t as element type and
4355 add netgroup-related initializers.
4356 * nscd/netgroupcache.c: New file.
4357 * nscd/nscd_netgroup.c: New file.
4358 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4359 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4360 For four parameters use innetgr.
4361 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4362 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4363 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4364 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4366 * nscd/connections.c (register_traced_file): Don't register file
4367 for disabled databases.
4369 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4371 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4373 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4374 from tree and freeing node.
4376 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4378 * nss/nsswitch.c (__nss_database_lookup): Handle
4379 nss_parse_service_list out of memory case.
4381 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4383 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4386 2011-10-04 Andreas Schwab <schwab@redhat.com>
4388 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4389 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4391 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4392 elf_machine_rela, elf_machine_lazy_rel.
4393 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4394 (ELF_DYNAMIC_DO_REL): Likewise.
4395 (ELF_DYNAMIC_DO_RELA): Likewise.
4396 (ELF_DYNAMIC_RELOCATE): Likewise.
4397 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4398 to ELF_DYNAMIC_DO_REL.
4399 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4400 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4401 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4403 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4404 skip_ifunc, don't call ifunc function if non-zero.
4405 (elf_machine_rela): Likewise.
4406 (elf_machine_lazy_rel): Likewise.
4407 (elf_machine_lazy_rela): Likewise.
4408 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4409 (elf_machine_lazy_rel): Likewise.
4410 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4412 (elf_machine_lazy_rel): Likewise.
4413 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4415 (elf_machine_lazy_rel): Likewise.
4416 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4417 (elf_machine_lazy_rel): Likewise.
4418 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4419 (elf_machine_lazy_rel): Likewise.
4420 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4421 (elf_machine_lazy_rel): Likewise.
4422 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4423 (elf_machine_lazy_rel): Likewise.
4424 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4425 (elf_machine_lazy_rel): Likewise.
4426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4427 (elf_machine_lazy_rel): Likewise.
4429 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4431 * nss/nss_files/files-init.c (_nss_files_init): Use static
4432 initialization for all the *_traced_file variables.
4434 2011-09-28 Andreas Schwab <schwab@redhat.com>
4436 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4438 2011-09-27 Roland McGrath <roland@hack.frob.com>
4441 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4443 2011-09-27 Andreas Schwab <schwab@redhat.com>
4445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4446 Reread the line before reparsing it.
4448 2011-09-26 Andreas Schwab <schwab@redhat.com>
4450 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4452 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4453 Maxim Kuvyrkov <maxim@codesourcery.com>
4454 Joseph Myers <joseph@codesourcery.com>
4456 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4457 if needed for __stack_chk_guard.
4459 2011-09-19 Roland McGrath <roland@hack.frob.com>
4461 * sysdeps/posix/spawni.c (script_execute): Always define it.
4462 It will be optimized away if unused.
4463 (maybe_script_execute): New function.
4464 (__spawni): Call it.
4466 * Makerules: Don't include tls.make.
4467 (config-tls): Always set to thread.
4468 * tls.make.c: File removed.
4470 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4472 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4473 * config.make.in (CPPFLAGS-config): New substituted variable.
4475 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4480 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4481 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4483 2011-09-15 Roland McGrath <roland@hack.frob.com>
4485 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4486 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4487 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4488 (CALL_FAIL): Likewise.
4489 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4490 (CALL_FAIL): Macro removed.
4491 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4493 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4495 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4496 for __FINITE_MATH_ONLY__ == 1.
4498 2011-09-15 Andreas Schwab <schwab@redhat.com>
4500 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4501 __ieee754_sqrt instead of sqrt.
4502 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4503 __ieee754_sqrtf instead of sqrtf.
4504 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4505 __floorf instead of floorf.
4506 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4507 __floorf, __truncf instead of floorf, truncf.
4509 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4511 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4513 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4514 __extern_always_inline.
4515 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4518 2011-09-14 Andreas Schwab <schwab@redhat.com>
4520 * elf/rtld.c (dl_main): Also relocate in dependency order when
4521 doing symbol dependency testing.
4523 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4526 Always define `refsym'.
4528 2011-09-13 Andreas Schwab <schwab@redhat.com>
4530 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4531 (__FD_ELT): Renamed from __FDELT.
4532 * misc/bits/select2.h (__FD_ELT): Likewise.
4533 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4534 __FD_MASK instead of __FDELT, __FDMASK.
4535 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4537 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4540 * elf/Makefile (gen-ldd): Fix pattern.
4542 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4543 (init_tls): Likewise.
4545 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4547 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4549 2011-09-12 Andreas Schwab <schwab@redhat.com>
4551 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4552 `struct cmsghdr *' instead of `void *'.
4553 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4556 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4558 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4560 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4563 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4565 * configure.in: Remove --with-tls option.
4566 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4567 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4568 out in case it is missing.
4569 * sysdeps/ia64/elf/configure.in: Likewise.
4570 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4571 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4572 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4573 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4574 * sysdeps/sh/elf/configure.in: Likewise.
4575 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4576 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4577 * sysdeps/x86_64/elf/configure.in: Likewise.
4578 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4579 * sysdeps/mach/hurd/tls.h: Likewise.
4582 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4585 * configure.in: Fix use of AC_INIT.
4587 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4589 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4591 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4593 * malloc/hooks.c: Likewise.
4596 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4597 variables statically.
4598 (narenas): Initialize.
4599 (list_lock): Initialize.
4600 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4601 initializtion of main_arena and list_lock. Small cleanups.
4602 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4603 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4604 Add initializers to main_arena and mp_.
4605 (malloc_state): Remove pagesize member. Change all users to use
4608 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4609 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4610 is always initialized.
4612 * malloc/malloc.c: Removed unused configurations and dead code.
4613 * malloc/arena.c: Likewise.
4614 * malloc/hooks.c: Likewise.
4615 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4617 * include/tls.h: Removed. USE___THREAD must always be defined.
4618 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4619 * elf/dl-libc.c: Likewise.
4620 * elf/dl-tsd.c: Likewise.
4621 * include/errno.h: Likewise.
4622 * include/netdb.h: Likewise.
4623 * include/resolv.h: Likewise.
4624 * inet/herrno-loc.c: Likewise.
4625 * inet/herrno.c: Likewise.
4626 * malloc/arena.c: Likewise.
4627 * malloc/hooks.c: Likewise.
4628 * malloc/malloc.c: Likewise.
4629 * resolv/res-state.c: Likewise.
4630 * resolv/res_libc.c: Likewise.
4631 * sysdeps/i386/dl-machine.h: Likewise.
4632 * sysdeps/ia64/dl-machine.h: Likewise.
4633 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4634 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4635 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4636 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4637 * sysdeps/sh/dl-machine.h: Likewise.
4638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4639 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4640 * sysdeps/unix/i386/sysdep.S: Likewise.
4641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4642 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4647 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4648 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4650 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4651 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4652 * sysdeps/x86_64/dl-machine.h: Likewise.
4653 * tls.make.c: Likewise.
4655 * configure.in: Remove --with-__thread option. Make tests for
4656 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4657 tls_model attribute fail if no support is available. Remove
4659 * Makeconfig: Adjust for dropped configure option. All features are
4661 * Makerules: Likewise.
4662 * Versions.def: Likewise.
4663 * argp/argp-fmtstream.c: Likewise.
4664 * argp/argp-fmtstream.h: Likewise.
4665 * argp/argp-help.c: Likewise.
4666 * assert/assert.c: Likewise.
4667 * config.h.in: Likewise.
4668 * config.make.in: Likewise.
4669 * configure: Likewise.
4670 * configure.in: Likewise.
4671 * csu/Versions: Likewise.
4672 * csu/init.c: Likewise.
4673 * elf/tst-audit2.c: Likewise.
4674 * elf/tst-tls10.c: Likewise.
4675 * elf/tst-tls10.h: Likewise.
4676 * elf/tst-tls11.c: Likewise.
4677 * elf/tst-tls12.c: Likewise.
4678 * elf/tst-tls14.c: Likewise.
4679 * elf/tst-tlsmod11.c: Likewise.
4680 * elf/tst-tlsmod12.c: Likewise.
4681 * elf/tst-tlsmod13.c: Likewise.
4682 * elf/tst-tlsmod13a.c: Likewise.
4683 * elf/tst-tlsmod14a.c: Likewise.
4684 * elf/tst-tlsmod15b.c: Likewise.
4685 * elf/tst-tlsmod16a.c: Likewise.
4686 * elf/tst-tlsmod16b.c: Likewise.
4687 * elf/tst-tlsmod7.c: Likewise.
4688 * elf/tst-tlsmod8.c: Likewise.
4689 * elf/tst-tlsmod9.c: Likewise.
4690 * gmon/gmon.c: Likewise.
4691 * grp/fgetgrent_r.c: Likewise.
4692 * grp/putgrent.c: Likewise.
4693 * hurd/fopenport.c: Likewise.
4694 * include/libc-symbols.h: Likewise.
4695 * include/tls.h: Likewise.
4696 * intl/gettextP.h: Likewise.
4697 * intl/loadinfo.h: Likewise.
4698 * locale/global-locale.c: Likewise.
4699 * locale/localeinfo.h: Likewise.
4700 * mach/devstream.c: Likewise.
4701 * malloc/arena.c: Likewise.
4702 * malloc/set-freeres.c: Likewise.
4703 * misc/err.c: Likewise.
4704 * misc/getttyent.c: Likewise.
4705 * misc/mntent_r.c: Likewise.
4706 * posix/getopt.c: Likewise.
4707 * posix/wordexp.c: Likewise.
4708 * pwd/fgetpwent_r.c: Likewise.
4709 * resolv/Versions: Likewise.
4710 * resolv/res_hconf.c: Likewise.
4711 * shadow/fgetspent_r.c: Likewise.
4712 * shadow/putspent.c: Likewise.
4713 * stdio-common/printf_fphex.c: Likewise.
4714 * stdio-common/tmpfile.c: Likewise.
4715 * stdlib/abort.c: Likewise.
4716 * stdlib/fmtmsg.c: Likewise.
4717 * sunrpc/auth_unix.c: Likewise.
4718 * sunrpc/clnt_perr.c: Likewise.
4719 * sunrpc/clnt_tcp.c: Likewise.
4720 * sunrpc/clnt_udp.c: Likewise.
4721 * sunrpc/clnt_unix.c: Likewise.
4722 * sunrpc/openchild.c: Likewise.
4723 * sunrpc/svc_simple.c: Likewise.
4724 * sunrpc/svc_tcp.c: Likewise.
4725 * sunrpc/svc_udp.c: Likewise.
4726 * sunrpc/svc_unix.c: Likewise.
4727 * sunrpc/xdr.c: Likewise.
4728 * sunrpc/xdr_array.c: Likewise.
4729 * sunrpc/xdr_rec.c: Likewise.
4730 * sunrpc/xdr_ref.c: Likewise.
4731 * sunrpc/xdr_stdio.c: Likewise.
4733 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4735 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4737 2011-07-03 Andreas Jaeger <aj@suse.de>
4739 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4740 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4741 regenerate with gen-libm-tests.pl.
4743 2010-05-12 Petr Baudis <pasky@suse.cz>
4746 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4747 around j0() zero points by switching to j1().
4748 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4753 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4755 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4757 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4759 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4760 Patch in part by Pavel Roskin <proski@gnu.org>.
4763 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4765 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4766 Free memory block if necessary.
4769 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4770 be NULL. Don't lock in this case.
4772 2011-09-09 Roland McGrath <roland@hack.frob.com>
4774 * elf/elf.h (ELFOSABI_GNU): New macro.
4775 (ELFOSABI_LINUX): Define to that.
4777 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4779 * string/strncat.c (strncat): Undef the symbol in case it has been
4780 defined in bits/string.h.
4782 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4784 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4786 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
4789 2011-08-17 Andreas Jaeger <aj@suse.de>
4791 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4793 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4794 Ian Lance Taylor <iant@google.com>
4796 * math/libm-test.inc (lround_test): New testcase.
4797 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4799 2011-09-08 Ulrich Drepper <drepper@gmail.com>
4801 * Makefile: Remove support for automatic cvs check-ins.
4802 * Makerules: Likewise.
4803 * config.make.in: Likewise.
4804 * configure.in: Likewise.
4805 * intl/Makefile: Likewise.
4806 * locale/Makefile: Likewise.
4807 * po/Makefile: Likewise.
4808 * posix/Makefile: Likewise.
4809 * sysdeps/gnu/Makefile: Likewise.
4810 * sysdeps/mach/hurd/Makefile: Likewise.
4811 * sysdeps/sparc/sparc32/Makefile: Likewise.
4814 * posix/Makefile (bug-regex32-ENV): Define.
4815 Patch by John Stanley <jpsinthemix@verizon.net>.
4817 * misc/Makefile (headers): Add bits/select2.h.
4818 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4819 * misc/bits/select2.h: New file.
4820 * include/bits/select2.h: New file.
4821 * debug/Makefile (routines): Add fdelt_chk.
4822 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4823 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4825 * debug/fdelt_chk.c: New file.
4827 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4828 * wcsmbs/test-wmemcmp.c: Likewise.
4829 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4830 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4832 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4834 * string/Makefile (strop-tests): Add memcmp.
4835 * string/test-wmemcmp.c: New file.
4836 * string/test-memcmp.c: Add wmemcmp support.
4838 2011-09-08 Roland McGrath <roland@hack.frob.com>
4841 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4844 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4845 garbage value in a __mach_port_mod_refs call in the cases of the
4846 task-self and thread-self ports.
4848 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4850 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4852 2011-09-08 Andreas Schwab <schwab@redhat.com>
4854 * elf/dl-load.c (lose): Check for non-null L.
4856 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4858 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4860 * elf/dl-libc.c (dlerror_run): Pass back error code from
4864 * elf/dl-load.c (lose): Free l_origin if it is valid.
4866 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4868 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4869 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4871 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4872 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4873 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4875 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4877 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4878 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4879 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4880 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4881 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4882 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4883 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4884 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4885 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4886 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4888 2011-08-15 Alan Modra <amodra@gmail.com>
4891 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4892 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4893 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4894 ppc_mcount to static-only-routines.
4895 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4897 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4898 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4900 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4902 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4903 for finite and infinity parameters.
4905 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4907 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4908 and add nop instructions for throughput optimization.
4909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4911 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4914 aligned copy for power7 with vector-scalar instructions.
4915 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4917 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4922 2011-09-07 Andreas Schwab <schwab@redhat.com>
4925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4928 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4930 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4931 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4932 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4933 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4936 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4938 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4939 Forgot to demangle the pointer.
4941 * sysdeps/i386/sysdep.h: Define atom_text_section.
4942 * sysdeps/x86_64/sysdep.h: Likewise.
4943 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4944 section with atom_text_section.
4945 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4946 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4947 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4949 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4951 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4952 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4953 already be defined. Change to take two parameters and don't assign
4954 result to variable. Adjust all users.
4955 Define INTERNAL_GETTIME if not already defined.
4956 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4958 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4959 HAVE_CLOCK_GETTIME_VSYSCALL.
4960 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4963 gettimeofday vsyscall, just use time.
4965 2011-09-06 Andreas Schwab <schwab@redhat.com>
4967 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4970 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4972 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4976 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4978 syscall if possible.
4980 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4982 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4983 e_ident. Don't pass to find_mapsXX.
4984 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4986 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4989 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4990 * sysdeps/x86_64/multiarch/strchr.S: Update.
4991 Check bit_slow_BSF bit.
4992 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4993 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4994 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4996 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4999 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
5002 (__spawni): Change last parameter to be flag. Test
5003 SPAWN_XFLAGS_USE_PATH flag to use path or not.
5004 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
5005 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
5006 * posix/spawni.c: Likewise.
5007 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
5008 * posix/spawnp.c: Likewise. Change normal version to use
5009 SPAWN_XFLAGS_USE_PATH.
5010 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
5011 SPAWN_XFLAGS_TRY_SHELL.
5014 * posix/glob.h: Remove gcc 1.x support.
5017 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
5019 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5022 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
5024 * sysdeps/i386/i686/multiarch/strchr.S: New file.
5025 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
5026 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
5027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
5028 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
5029 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
5031 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5033 * sysdeps/x86_64/wcscmp.S: New file.
5035 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
5036 wcscmp-c wcscmp-sse2
5037 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
5038 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
5039 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
5040 * wcsmbs/wcscmp.c: Allow renaming.
5042 2011-09-05 David S. Miller <davem@davemloft.net>
5044 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
5045 stack slot, rather than the struct return pointer slot.
5046 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
5047 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
5048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
5049 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
5051 2011-09-05 Ulrich Drepper <drepper@gmail.com>
5053 * po/ja.po: Update from translation team.
5056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
5057 kernel in 64-bit binaries.
5059 2011-09-01 David S. Miller <davem@davemloft.net>
5061 * elf/elf.h (HWCAP_SPARC_*): Move to..
5062 * sysdeps/sparc/sysdep.h: this new file and add new values.
5063 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
5064 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
5065 _DL_HWCAP_COUNT to 24.
5066 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5068 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
5069 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
5070 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
5071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
5072 instead of magic constants.
5073 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5075 2011-08-31 David S. Miller <davem@davemloft.net>
5077 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
5078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
5079 Reimplement to do errno handling inline.
5080 (SYSCALL_ERROR_HANDLER): New macro.
5081 (__SYSCALL_STRING): Do not do errno handling in asm.
5082 (__CLONE_SYSCALL_STRING): Delete.
5083 (__INTERNAL_SYSCALL_STRING): Delete.
5084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
5085 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
5086 (PSEUDO): Reimplement to do errno handling inline.
5087 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
5088 (SYSCALL_ERROR_HANDLER): New macro.
5089 (__SYSCALL_STRING): Do not do errno handling in asm.
5090 (__CLONE_SYSCALL_STRING): Delete.
5091 (__INTERNAL_SYSCALL_STRING): Delete.
5092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
5093 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
5095 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
5096 (inline_syscall*): Add 'err' argument.
5097 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
5098 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
5099 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
5100 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
5102 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
5103 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5105 2011-08-30 Andreas Schwab <schwab@redhat.com>
5107 * elf/rtld.c (dl_main): Relocate objects in dependency order.
5109 2011-08-29 Jiri Olsa <jolsa@redhat.com>
5111 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
5114 2011-08-24 David S. Miller <davem@davemloft.net>
5116 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
5118 2011-08-24 Andreas Schwab <schwab@redhat.com>
5120 * elf/Makefile: Add rules to build and run unload8 test.
5121 * elf/unload8.c: New file.
5122 * elf/unload8mod1.c: New file.
5123 * elf/unload8mod1x.c: New file.
5124 * elf/unload8mod2.c: New file.
5125 * elf/unload8mod3.c: New file.
5127 * elf/dl-close.c (_dl_close_worker): Reset private search list if
5130 2011-08-23 David S. Miller <davem@davemloft.net>
5132 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
5133 subtract stack bias.
5134 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
5135 %sp not %fp in calculations.
5136 (_JMPBUF_UNWINDS_ADJ): Likewise.
5138 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
5139 (aio_suspend): Call it to force an exception region around the
5140 AIO_MISC_WAIT() invocation.
5142 2011-08-23 Andreas Schwab <schwab@redhat.com>
5144 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
5147 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
5149 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
5151 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
5153 (Elf64_FuncDesc): Remove.
5155 2011-08-22 David S. Miller <davem@davemloft.net>
5157 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5158 sigaltstack check, add missing cfi directives.
5159 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5160 missing cfi directives, and sigaltstack handling.
5162 2011-08-16 Andreas Schwab <schwab@redhat.com>
5165 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5166 object is seen twice.
5167 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5169 * elf/Makefile (distribute): Add tst-initorder2.c.
5170 (tests): Add tst-initorder2.
5171 (modules-names): Add tst-initorder2a tst-initorder2b
5172 tst-initorder2c tst-initorder2d. Add rules to build them.
5173 ($(objpfx)tst-initorder2.out): New rule.
5174 * elf/tst-initorder2.c: New file.
5175 * elf/tst-initorder2.exp: New file.
5177 2011-08-22 Andreas Schwab <schwab@redhat.com>
5179 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5181 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5182 dependencies back to end of function.
5184 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5187 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5190 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5191 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5192 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5193 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5194 of __vdso_gettimeofday.
5195 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5196 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5198 (_libc_vdso_platform_setup): Remove initialization of
5199 __vdso_gettimeofday and __vdso_time.
5201 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5203 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5205 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5208 * elf/dl-open.c (add_to_global): Report additions to the global scope
5209 for LD_DEBUG=scopes.
5210 (dl_open_worker): Also print scope of newly loaded dependencies.
5211 (_dl_show_scope): Indicate if there is no scope.
5214 * stdio-common/Makefile (tests): Add bug24.
5215 * stdio-common/bug24.c: New file.
5217 2011-08-19 Andreas Jaeger <aj@suse.de>
5220 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5221 non-existant file when using close-on-exec mode.
5223 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5226 the very first instruction.
5228 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5229 the CFI state in the end.
5230 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5231 inclusion of dl-trampoline.h.
5232 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5234 2011-08-19 Andreas Schwab <schwab@redhat.com>
5236 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5237 expectations for long double.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5240 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5242 2011-08-14 David S. Miller <davem@davemloft.net>
5244 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5245 artificual limit depends upon the system page size.
5247 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5249 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5250 * resolv/Makefile: Define CFLAGS-libresolv.
5252 2011-08-17 Andreas Schwab <schwab@redhat.com>
5254 * nss/makedb.c (compute_tables): Make variables used in nested
5257 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5259 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5260 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5261 if buffer was too small.
5263 * elf/pldd.c (main): Attach to all threads in the process.
5264 Rewrite /proc handling to use *at functions.
5266 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5268 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5269 specifies first scope to show.
5270 (dl_open_worker): Update callers. Move printing scope of new
5271 object to before the relocation.
5272 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5273 * sysdeps/generic/ldsodefs.h: Update declaration.
5275 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5276 string for the scope number.
5278 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5280 * nscd/servicescache.c (cache_addserv): Make sure written is always
5283 2011-08-14 Roland McGrath <roland@hack.frob.com>
5285 * sysdeps/i386/i486/bits/atomic.h
5286 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5287 statement expression, so as to suppress "set but not used" warning.
5288 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5290 * string/strncat.c (STRNCAT): Use prototype definition.
5292 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5293 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5295 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5296 (localedef-modules): Add localedef.
5297 (locale-modules): Add locale.
5299 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5300 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5303 2011-08-14 David S. Miller <davem@davemloft.net>
5305 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5306 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5308 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5310 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5311 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5312 * elf/rtld.c (dl_main): Set l_name of vDSO.
5313 Call _dl_show_scope when DL_DEBUG_SCOPES.
5314 (process_dl_debug): Recognize scopes flag and also set it for all.
5315 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5316 Declare _dl_show_scope.
5318 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5319 (do_dlopen): Pass caller_dlopen to dl_open.
5320 (__libc_dlopen_mode): Initialize caller_dlopen.
5322 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5323 of libc. Make tolower call locale-independent. Optimize a bit by
5324 using isdigit instead of isalnum.
5325 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5327 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5329 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5330 was a dependency or dynamically loaded.
5332 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5334 * intl/l10nflist.c: Allow architecture-specific pop function.
5335 * sysdeps/x86_64/l10nflist.c: New file.
5337 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5340 2011-08-10 Andreas Schwab <schwab@redhat.com>
5342 * include/dirent.h: Add libc_hidden_proto for scandirat and
5343 scandirat64. Don't declare __scandirat64.
5344 * dirent/scandirat.c: Add libc_hidden_def.
5345 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5346 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5348 2011-08-10 David S. Miller <davem@davemloft.net>
5350 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5352 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5354 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5356 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5358 * Versions.def [libc]: Add GLIBC_2.15.
5359 * dirent/Makefile (routines): Add scandirat and scandirat64.
5360 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5362 * dirent/dirent.h: Declare scandirat and scandirat64.
5363 * dirent/scandirat.c: New file.
5364 * dirent/scandirat64.c: New file.
5365 * sysdeps/wordsize-64/scandirat.c: New file.
5366 * sysdeps/wordsize-64/scandirat64.c: New file.
5367 * dirent/opendir.c: Define opendirat.
5368 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5370 * dirent/scandir64.c: Adjust for scandir.c change.
5371 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5372 __scandirat64, and __scandir_cancel_handler.
5373 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5374 additional parameter and use openat instead of open (outside of ld.so).
5375 Add new __opendir as wrapper around __opendirat.
5376 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5377 here without requiring old scandirat implementation.
5379 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5381 * dirent/scandir.c (cancel_handler): Renamed to
5382 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5383 defined. Adjust users.
5384 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5385 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5387 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5389 * string/test-string.h (IMPL): Use __STRING to expand name and then
5392 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5395 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5397 * string/Makefile: Update.
5398 (strop-tests): Append strncat.
5399 * string/test-wcscmp.c: New file.
5400 New comprehensive test for wcscmp.
5401 * string/test-strcmp.c: Update.
5404 2011-07-22 Andreas Schwab <schwab@redhat.com>
5406 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5409 2011-07-26 Andreas Schwab <schwab@redhat.com>
5411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5412 encoding to ACE if AI_IDN.
5414 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5416 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5417 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5419 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5421 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5422 Fix overflow bug in strncat.
5423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5425 * string/test-strncat.c: Update.
5426 Add new tests for checking overflow bugs.
5428 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5431 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5432 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5433 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5434 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5435 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5436 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5437 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5438 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5440 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5441 (USE_AS_STRCAT): Define.
5442 Add strcat and strncat support.
5443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5445 2011-07-25 Andreas Schwab <schwab@redhat.com>
5447 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5448 __n bigger than INT_MAX+1.
5449 (__strncmp_g): Likewise.
5451 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5453 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5454 * libio/stido.h: Likewise.
5456 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5458 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5461 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5464 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5465 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5468 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5471 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5473 (_dl_x86_64_save_sse): Likewise.
5475 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5479 (_dl_x86_64_save_sse): Likewise.
5481 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5483 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5485 2011-07-21 Andreas Schwab <schwab@redhat.com>
5487 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5489 (_dl_x86_64_save_sse): Use correct AVX check.
5491 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5493 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5494 bug in strncpy/strncat.
5495 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5497 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5499 * string/tester.c (test_strcat): Add tests for different alignments
5500 of source and destination.
5501 (test_strncat): Likewise.
5503 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5506 * posix/glob.c (glob): Check passed in values before using them in
5507 expressions to avoid some overflows.
5508 (glob_in_dir): Likewise.
5511 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5512 check for AVX enablement so that we don't crash with old kernels and
5514 * elf/tst-audit4.c: Add same checks here.
5515 * elf/tst-audit6.c: Likewise.
5517 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5519 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5521 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5523 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5525 * po/cs.po: Update from translation team.
5526 * po/bg.po: Likewise.
5528 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5530 * misc/sys/cdefs.h: Add support for const attribute.
5531 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5532 to gnu_dev_{major,minor,makedev} functions.
5534 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5536 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5538 2011-07-20 Andreas Schwab <schwab@redhat.com>
5540 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5543 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5545 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5546 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5547 register in order to avoid conflicts with the soft frame pointer
5548 being held in r11 when necessary.
5549 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5550 (INTERNAL_VSYSCALL_NCS): Likewise.
5552 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5554 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5555 * elf/dl-fini.c (_dl_fini): Adjust caller.
5556 * elf/dl-close.c (_dl_close_worker): Likewise.
5557 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5559 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5561 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5562 "aux_cache->nlibs < 0".
5564 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5565 in the reload-count case.
5567 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5570 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5571 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5572 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5573 * sysdeps/x86_64/multiarch/strcat.S: New file.
5574 * sysdeps/x86_64/multiarch/strncat.S: New file.
5575 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5577 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5578 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5580 (USE_AS_STRCAT): Define.
5581 Add strcat and strncat support.
5582 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5583 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5584 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5585 * string/strncat.c: Update.
5586 (USE_AS_STRNCAT): Define.
5587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5588 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5590 * sysdeps/x86_64/multiarch/init-arch.h
5591 (bit_Prefer_PMINUB_for_stringop): New.
5592 (index_Prefer_PMINUB_for_stringop): Likewise.
5593 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5594 bit_Prefer_PMINUB_for_stringop.
5596 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5598 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5600 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5601 of casting of buffer.
5602 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5603 buffer32 and buffer64.
5604 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5605 writes instead of casting of buffer.
5606 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5608 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5611 2011-07-19 Andreas Schwab <schwab@redhat.com>
5613 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5615 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5617 * nscd/nscd.c (termination_handler): Don't do anything for a database
5618 if it has not yet been initialized.
5620 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5622 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5624 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5626 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5628 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5630 * po/nl.po: Update from translation team.
5631 * po/sv.po: Likewise.
5633 2011-07-16 Roland McGrath <roland@hack.frob.com>
5635 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5636 now disallowed by GCC.
5638 * configure.in (use-default-link): Default to yes if a test -shared
5639 link meets our qualifications.
5640 * configure: Regenerated.
5642 * config.make.in (output-format): New variable.
5643 * configure.in: Check for ld --print-output-format support.
5644 * configure: Regenerated.
5645 * Makerules ($(common-objpfx)format.lds)
5646 [$(output-format) != unknown]: Just use $(output-format),
5647 instead of the linker-script munging.
5649 2011-07-14 Roland McGrath <roland@hack.frob.com>
5651 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5652 of $(common-objpfx)shlib.lds.
5653 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5655 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5656 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5658 * configure.in (-z relro check): Adjust test code to add a large
5659 writable data section after it.
5660 * configure: Regenerated.
5662 2011-07-11 Roland McGrath <roland@hack.frob.com>
5664 * configure.in (-z relro check): Fix test code to make the variable
5666 * configure: Regenerated.
5668 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5670 * nscd/nscd.h (struct traced_file): Define.
5671 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5672 elements. Add traced_files.
5673 (inotify_fd): Declare.
5674 (register_traced_file): Declare.
5675 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5676 (inotify_fd): Export.
5677 (resolv_conf_descr): Remove.
5678 (nscd_init): Move inotify descriptor creation to main.
5679 Don't register files for notification here.
5680 (register_traced_file): New function.
5681 (invalidate_cache): Don't use reset_res to determine whether to call
5682 res_init, go through the list of registered files.
5683 (main_loop_poll): The inotify descriptors are now stored in the
5684 structures for the traced files.
5685 (main_loop_epoll): Likewise
5686 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5687 to __nss_disable_nscd.
5688 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5689 for a database anymore. Check the records for all the registered
5691 * nss/Makefile (libnss_files-routines): Add files-init.
5692 (libnss_db-routines): Add db-init.
5693 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5694 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5695 * nss/nss_db/db-init.c: New file.
5696 * nss/nss_files/files-init.c: New file.
5697 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5698 __nss_lookup_function.
5699 (__nss_lookup_function): Call nss_load_library.
5700 (nss_load_all_libraries): New function.
5701 (__nss_disable_nscd): Take parameter with callback function for files
5702 to register. Set is_nscd. Load all the DSOs for the NSS modules
5703 used for the cached services.
5704 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5705 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5706 options for features to all the files in nscd.
5708 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5710 2011-07-10 Roland McGrath <roland@hack.frob.com>
5712 * csu/elf-init.c (__libc_csu_init): Comment typo.
5714 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5716 * po/pl.po: Update from translation team.
5717 * po/ja.po: Likewise.
5718 * po/ru.po: Likewise.
5719 * po/ko.po: Likewise.
5720 * po/fr.po: Likewise.
5722 2011-07-09 Roland McGrath <roland@hack.frob.com>
5724 * configure.in (.ctors/.dtors header and trailer check):
5725 Use an empirical test on a built program.
5726 * configure: Regenerated.
5728 * configure.in (-z relro check): Use an empirical test on a built DSO.
5729 Detect, but do not require, on ia64.
5730 * configure: Regenerated.
5732 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5733 Update tests that use readelf to use $READELF instead.
5734 * configure: Regenerated.
5736 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5738 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5739 if the result is not used.
5741 2011-07-05 Andreas Jaeger <aj@suse.de>
5744 * stdlib/tst-strtod.c: Add testcase.
5746 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5748 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5749 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5750 The latter has a higher limit. Take additional parameter to pass to
5752 (__pathconf): Pass file to __statfs_link_max.
5753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5755 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5759 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5760 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5762 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5763 (__statfs_filesize_max): Likewise.
5764 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5766 2011-07-05 Andreas Jaeger <aj@suse.de>
5768 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5770 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5772 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5774 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5777 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5779 * Makefile (strop-tests): Add strncat.
5780 * string/test-strncat.c: New file.
5782 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5784 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5786 2011-06-21 Andreas Jaeger <aj@suse.de>
5788 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5789 Copy rule from iconvdata/Makefile.
5791 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5794 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5795 but no long options are defined, just return 'W'.
5797 2011-06-22 Marek Polacek <mpolacek@redhat.com>
5800 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5802 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5804 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5806 (innetgr): Likewise.
5808 2011-07-05 Roland McGrath <roland@hack.frob.com>
5810 * config.make.in (install_root): Default to $(DESTDIR).
5812 2011-07-05 Ulrich Drepper <drepper@gmail.com>
5814 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5816 2011-07-02 Roland McGrath <roland@hack.frob.com>
5818 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5820 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5821 containing directory rather than embedding absolute directory names.
5823 * scripts/check-local-headers.sh: Rewritten using awk.
5824 Match by word, not by line. Print error messages for matches.
5825 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5827 * Makerules [shlib-lds-flags empty]:
5828 ($(common-objpfx)libc_pic.opts): New target.
5829 ($(common-objpfx)libc_pic.os.clean): New target.
5830 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5832 * config.make.in (OBJCOPY): New variable.
5833 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5834 * configure: Regenerated.
5836 * config.make.in (use-default-link): New variable.
5837 * configure.in (use_default_link): Grok --with-default-link to set it.
5838 * configure: Regenerated.
5839 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5840 (shlib-lds, shlib-lds-flags): Define to empty.
5842 * Makerules (shlib-lds): New variable.
5843 (shlib-lds-flags): New variable.
5844 (build-shlib, build-moduile, build-module-asneeded): Use it.
5845 ($(common-objpfx)libc.so): Use $(shlib-lds).
5846 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5847 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5849 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5850 DT_FLAGS/DT_FLAGS_1 with zero flags.
5852 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5853 linker script munging.
5855 2011-07-02 Ulrich Drepper <drepper@gmail.com>
5857 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5859 * crypt/sha512.c (sha512_process_block): Perform total addition using
5860 128-bit if possible.
5861 (__sha512_finish_ctx): Likewise.
5862 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5864 * crypt/sha256.c (SWAP64): Define.
5865 (sha256_process_block): Perform total addition using 64-bit if
5867 (__sha256_finish_ctx): Likewise.
5869 2011-07-01 Ulrich Drepper <drepper@gmail.com>
5871 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5872 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5873 * nscd/hstcache.c (cache_addhst): Likewise.
5874 * nscd/grpcache.c (cache_addgr): Likewise.
5875 * nscd/aicache.c (addhstaiX): Likewise
5876 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5878 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
5880 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5882 * nscd/hstcache.c (cache_addhst): Likewise.
5883 * nscd/grpcache.c (cache_addgr): Likewise.
5884 * nscd/aicache.c (addhstaiX): Likewise
5886 2011-07-01 Andreas Schwab <schwab@redhat.com>
5888 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5889 domain only when needed.
5891 2011-06-30 Andreas Schwab <schwab@redhat.com>
5893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5896 2011-06-29 Ulrich Drepper <drepper@gmail.com>
5898 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5899 are re-adding the entry.
5900 * nscd/servicescache.c (cache_addserv): Likewise.
5902 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5904 * sysdeps/generic/dl-irel.h: fix protection against multiple
5906 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5908 2011-06-28 Ulrich Drepper <drepper@gmail.com>
5911 * malloc/memusage.sh: Fix quoting in message.
5912 * debug/xtrace.sh: Likewise.
5914 * configure.in: Remove support for --experimental-malloc option, make
5916 * config.make.in: Likewise.
5917 * malloc/Makefile: Likewise.
5919 2011-06-27 Andreas Schwab <schwab@redhat.com>
5921 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5922 two-byte characters.
5924 2011-06-27 Roland McGrath <roland@hack.frob.com>
5926 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5927 AC_CACHE_CHECK invocation.
5928 * configure: Regenerated.
5930 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5932 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5935 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5936 bit from old_res_options.
5938 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5940 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5941 value type for setfct.
5943 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5945 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5946 __gettimeofday instead of gettimeofday.
5948 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5950 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5952 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5954 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5956 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5959 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5962 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5963 strcpy-sse2-unaligned strncpy-sse2-unaligned
5964 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5965 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5966 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5967 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5968 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5969 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5970 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5971 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5972 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5973 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5974 (STRCPY): Support SSE2 and SSSE3 versions.
5976 2011-06-24 Ulrich Drepper <drepper@gmail.com>
5979 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5980 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5981 kernels which artificially limit size of requests.
5983 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5986 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5987 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5988 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5989 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5990 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5991 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5992 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5993 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5995 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5996 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5997 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5998 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5999 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
6000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6001 Enable unaligned load optimization for Intel Core i3, i5 and i7
6003 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
6005 (index_Fast_Unaligned_Load): Define.
6006 (HAS_FAST_UNALIGNED_LOAD): Define.
6008 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6010 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
6012 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6015 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
6016 until it is clear that the information is realy needed.
6017 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
6019 2011-06-22 Andreas Schwab <schwab@redhat.com>
6021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
6023 2011-06-22 Ulrich Drepper <drepper@gmail.com>
6025 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
6026 /sys/devices/system/cpu/online if it is usable.
6028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
6029 reading the information from the /proc filesystem to once a second.
6031 2011-06-21 Andreas Jaeger <aj@suse.de>
6033 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
6034 NULL after inclusion of kernel headers.
6036 2011-06-21 Ulrich Drepper <drepper@gmail.com>
6038 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
6039 calls to internal_setent.
6042 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
6043 addresses using gethostbyname4_r ignore IPv4 addresses.
6045 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
6046 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
6048 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
6050 2011-06-20 David S. Miller <davem@davemloft.net>
6052 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
6054 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
6056 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
6058 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
6059 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
6060 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
6061 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
6062 * sysdeps/x86_64/dl-irel.h: Likewise.
6064 * elf/dl-runtime.c: Use elf_ifunc_invoke.
6065 * elf/dl-sym.c: Likewise.
6067 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6069 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
6070 need to dereference resplen2.
6072 2011-06-14 Andreas Schwab <schwab@redhat.com>
6074 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
6076 2011-06-15 Ulrich Drepper <drepper@gmail.com>
6078 * Makeconfig: Define vardbdir and inst_vardbdir.
6079 * nss/Makefile: Add rules to install db-Makefile.
6081 * nss/nss_db/db-XXX.c: Cleanup.
6083 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
6084 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
6086 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
6087 * nss/makedb.c: Implement -g option to specify that value strings
6088 are generated and should not be added to table iterated over for
6090 * nss/nss_db/db-initgroups.c: New file.
6092 * nss/getent.c: Add support for initgroups lookups through getgrouplist
6095 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
6096 (internal_getgrouplist): Adjust to name change.
6097 Update use_initgroups_entry if this is not the first call.
6098 * nss/databases.def: Add initgroups entry.
6100 * nss/makedb.c (compute_tables): Check result of multiple hash table
6101 sizes to minimize maximum chain length.
6103 2011-06-14 Ulrich Drepper <drepper@gmail.com>
6105 * Versions.def: Add entry for libnss_db.
6106 * shlib-versions: Likewise.
6107 * nss/Makefile: Add rules to build libnss_db.
6108 * nss/Versions: Add libnss_db information. Organize libnss_files
6110 * nss/db-Makefile: Add gshadow support. Change rules for the new
6111 makedb progra. Some minor improvements to generate smaller files.
6112 * nss/nss_db/nss_db.h: Move NSS database header data structures to
6114 * nss/makedb.c: ...here.
6115 Improve database format to be smaller and require less memory at
6117 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
6119 * nss/nss_db/db-netgrp.c: Likewise.
6120 * nss/nss_db/db-open.c: Likewise.
6121 * nss/nss_files/flies-XXX.x: Adjust comments.
6122 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
6123 * nss/nss_files/files-grp.c: Likewise.
6124 * nss/nss_files/files-hosts.c: Likewise.
6125 * nss/nss_files/files-network.c: Likewise.
6126 * nss/nss_files/files-proto.c: Likewise.
6127 * nss/nss_files/files-pwd.c: Likewise.
6128 * nss/nss_files/files-rpc.c: Likewise.
6129 * nss/nss_files/files-service.c: Likewise.
6130 * nss/nss_files/files-sgrp.c: Likewise.
6131 * nss/nss_files/files-spwd.c: Likewise.
6132 * nss/nss_db/db-alias.c: Removed.
6133 * nss/nss_db/dummy-db.h: Removed.
6135 2011-06-02 Ulrich Drepper <drepper@gmail.com>
6137 * nss/makedb.c: Rewritten to not use database library.
6138 * nss/Makefile: Update to build new makedb program.
6140 2011-06-14 Andreas Jaeger <aj@suse.de>
6142 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
6145 2011-06-10 Andreas Schwab <schwab@redhat.com>
6147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
6150 2011-06-10 Roland McGrath <roland@hack.frob.com>
6152 * Makerules (shlib.lds): Fail if the linker script comes out empty.
6153 * elf/Makefile ($(objpfx)ld.so): Likewise.
6155 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
6156 Don't list ld.so twice in dependencies.
6158 * posix/bug-regex31.c: Include <stdlib.h>.
6160 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6162 * nis/nss_compat/compat-spwd.c
6163 (getspent_next_nss_netgr): Remove unused variable.
6164 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6166 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6167 nonmembers" output to use the right array.
6169 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6171 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6173 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6174 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6175 * catgets/gencat.c (read_input_file): Likewise.
6176 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6178 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6179 variable definition inside #if's controlling its use.
6181 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6183 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6185 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6187 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6190 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6192 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6193 * configure: Regenerated.
6195 * Makerules: Revert last change.
6196 * elf/Makefile: Likewise.
6198 2011-06-09 Roland McGrath <roland@hack.frob.com>
6200 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6201 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6202 (reloc-link): Likewise.
6204 2011-06-09 Ulrich Drepper <drepper@gmail.com>
6206 * elf/Makefile: Add rules to build pldd.
6207 * elf/pldd.c: New file.
6208 * elf/pldd-xx.c: New file.
6210 2011-06-07 Ulrich Drepper <drepper@gmail.com>
6212 * version.h: Update for 2.15 development version.
6214 2011-06-07 David S. Miller <davem@davemloft.net>
6216 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6219 elf_machine_lazy_rel): Likewise.
6220 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6221 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6222 elf_machine_lazy_rel): Likewise.
6223 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6224 dl_hwcap via passed in argument.
6225 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6228 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6230 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6232 2011-06-06 Roland McGrath <roland@hack.frob.com>
6235 * manual/fdl-1.1.texi: New file, verbatim from:
6236 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6237 * manual/lgpl-2.1.texi: New file, verbatim from:
6238 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6239 * manual/Makefile (licenses): New variable, list those new file names.
6241 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6243 * manual/fdl.texi: File removed.
6244 * manual/lesser.texi: File removed.
6245 * manual/libc.texinfo (Copying, Documentation License):
6246 Use new @include file names, put @appendix directive before @include.
6248 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6251 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6252 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6253 (mq_open): Add __NTH.
6255 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6258 Assume Intel Core i3/i5/i7 processor if AVX is available.
6260 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6262 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6265 2011-05-31 Andreas Schwab <schwab@redhat.com>
6267 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6268 memory. Use alloca_account. Fix memory leak when retrying.
6270 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6272 * version.h (RELEASE): Bump for 2.14 release.
6273 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6275 * config.make.in (RANLIB): Remove entry.
6277 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6279 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6280 (libc.pot): Work around missing support for .ksh extension in xgettext.
6283 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6284 if both request failed.
6285 (send_dg): In case of server errors clear resplen or *resplen2.
6288 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6289 when there are multiple maps.
6290 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6291 (_dl_fini): Remove test here.
6293 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6295 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6298 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6299 bit from old_res_options.
6300 (gaih_inet): Likewise.
6303 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6306 * resolv/res_init.c (res_setoptions): Make the code more compact.
6309 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6313 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6315 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6318 * malloc/malloc.h: Declare malloc hook variables as volatile.
6320 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6324 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6325 raise in the comment.
6326 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6328 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6330 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6333 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6334 grow the buffers more if it already has to be sufficient.
6335 (build_wcs_upper_buffer): Likewise.
6336 * posix/regexec.c (check_matching): Likewise.
6337 (clean_state_log_if_needed): Likewise.
6338 (extend_buffers): Don't enlarge buffers beyond size of the input
6340 Patches mostly by Emil Wojak <emil@wojak.eu>.
6341 * posix/bug-regex32.c: New file.
6342 * posix/Makefile (tests): Add bug-regex32.
6344 * locale/findlocale.c (_nl_find_locale): Return right away if
6345 _nl_explode_name failed.
6346 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6348 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6350 * debug/xtrace.sh: Unify messages.
6351 * malloc/memusage.sh: Likewise.
6354 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6355 time symbol from vDSO. Substitute with vsyscall if not available.
6356 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6359 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6360 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6361 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6362 Add sendmmsg and internal_sendmmsg.
6363 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6364 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6365 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6367 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6368 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6369 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6371 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6374 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6375 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6377 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6381 * iconvdata/Makefile (tests): Add bug-iconv9.
6382 * iconvdata/bug-iconv9.c: New file.
6384 2011-05-27 Andreas Schwab <schwab@redhat.com>
6387 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6389 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6391 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6392 (struct user_regs_struct): Change intcs field back to cs.
6394 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6396 * po/ja.po: Update from translation team.
6398 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6401 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6402 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6404 2011-05-20 Andreas Schwab <schwab@redhat.com>
6406 * stdlib/longlong.h: Update from GCC.
6408 2011-05-23 Andreas Schwab <schwab@redhat.com>
6410 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6412 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6414 (__sysconf): Pass it down.
6416 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6419 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6421 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6422 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6423 add in in __libc_use_alloca calls. Adjust callers.
6424 (glob): Use malloc in some situations.
6426 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6427 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6430 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6432 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6433 and CLOCK_BOOTTIME_ALARM.
6436 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6439 * string/_strerror.c (__strerror_r): Print negative errors as signed
6443 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6444 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6445 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6447 * configure.in: Fix typo in redirection and correct removal of test
6451 * locale/setlocale.c (new_composite_name): Fix test to check for
6452 identical name of all categories.
6455 * libio/filedoalloc.c (local_isatty): New function.
6456 (_IO_file_doallocate): Use local_isatty.
6457 * stdio-common/perror.c (perror): In case a new stream is used
6458 forward the stream error.
6459 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6462 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6467 * include/alloca.h (extend_alloca_account): Define.
6470 * posix/regex.h: Fix comments with documentation of user-accessible
6471 fields after compilation and describe correct free'ing of pattern
6472 after re_compile_pattern.
6473 Patch by Reuben Thomas <rrt@sc3d.org>.
6475 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6477 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6478 and -mno-altivec to prevent the compiler from using Altivec and/or
6479 VSX instructions when the corresponding registers are not available.
6481 2011-05-19 Andreas Schwab <schwab@redhat.com>
6483 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6485 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6487 * libio/freopen.c (freopen): Use __dup2, not dup2.
6488 * libio/freopen64.c (freopen64): Likewise.
6490 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6493 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6494 * math/Makefile (tests): Add test-powl.
6495 (CFLAGS-test-powl.c): Define.
6496 * math/test-powl.c: New file.
6498 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6500 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6502 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6505 * iconvdata/gb18030.c: Update to GB18020-2005.
6507 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6509 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6510 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6511 Patch by Aharon Robbins <arnold@skeeve.com>.
6514 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6518 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6522 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6523 point to strings before performing equality test for error_one_per_line
6527 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6531 (struct user_fpregs_struct): Avoid __uint*_t types.
6534 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6535 symbol info. Use it instead of calling _dl_addr locally.
6536 (lock_and_info): New function.
6537 (tr_freehook): Call lock_and_info and pass symbol info as additional
6538 parameter to tr_where.
6539 (tr_mallochook): Likewise.
6540 (tr_reallochook): Likewise.
6541 (tr_memalignhook): Likewise.
6543 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6544 used and couldn't be at all thread-safe.
6546 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6548 * libio/freopen.c (freopen): Don't close old file descriptor
6549 before the new one is opened. Instead dup the new file descriptor
6550 to the old one after the new stream is created.
6551 * libio/freopen64.c (freopen64): Likewise.
6552 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6553 * libio/fileops.c (_IO_new_file_close_it): Handle new
6554 _IO_FLAGS2_NOCLOSE flag.
6555 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6556 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6557 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6558 _IO_FLAGS2_NOCLOSE flag.
6559 * include/unistd.h: Add hidden_proto for dup3.
6561 * io/dup3.c: Define hidden symbol.
6562 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6565 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6566 when an incomplete long option is used.
6567 * posix/tst-getopt_long1.c: New file.
6568 * posix/Makefile (tests): Add tst-getopt_long1.
6571 * scripts/config.guess: Update from autoconf-2.68.
6572 * scripts/config.sub: Likewise.
6575 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6577 (has_cpuclock): ...this. New function.
6578 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6579 macro here based on has_cpuclock code.
6582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6583 First byte (not low byte) is now always NUL.
6584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6587 Use non-cancelable interfaces.
6590 * locale/iso-639.def: Add entry for Sorani.
6593 * include/stdlib.h: Move include protection to the right place.
6594 Define abort_msg_s. Declare __abort_msg with it.
6595 * stdlib/abort.c (__abort_msg): Adjust type.
6596 * assert/assert.c (__assert_fail_base): New function. Majority
6597 of code from __assert_fail. Allocate memory for __abort_msg with
6599 (__assert_fail): Now call __assert_fail_base.
6600 * assert/assert-perr.c: Remove bulk of implementation. Use
6602 * include/assert.hL Declare __assert_fail_base.
6603 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6605 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6607 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6611 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6612 until all modules are registered in the DTV.
6613 * elf/Makefile: Add rules to build and run tst-tls19.
6614 * elf/tst-tls19.c: New file.
6615 * elf/tst-tls19mod1.c: New file.
6616 * elf/tst-tls19mod2.c: New file.
6617 * elf/tst-tls19mod3.c: New file.
6618 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6621 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6625 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6626 two-byte sequence errors.
6627 * iconvdata/Makefile (tests): Add bug-iconv8.
6628 * iconvdata/bug-iconv8.c: New file.
6631 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6634 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6637 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6638 (dummy_getcfa): New function.
6639 (init): Get _Unwind_GetCFA address, use dummy if not found.
6640 (backtrace_helper): In recursion check, also check whether CFA changes.
6641 (__backtrace): Completely initialize arg.
6643 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6644 storing incomplete byte sequence in state object. Avoid testing for
6645 guaranteed too small input if we know there is enough data available.
6647 2011-05-11 Andreas Schwab <schwab@redhat.com>
6649 * Makeconfig (+link-pie): Indent.
6650 * Rules (binaries-pie): Define if $(have-fpie) and
6652 (binaries-shared): Also filter out $(binaries-pie).
6653 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6654 * nscd/Makefile (others-pie): Add nscd.
6655 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6656 ($(objpfx)nscd): Remove command override.
6657 * login/Makefile (others-pie): Add pt_chown.
6658 ($(objpfx)pt_chown): Remove command override.
6659 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6660 remove command overrides.
6662 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6664 * libio/tst_putwc.c: Fix error messages.
6667 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6668 currently writing and seek to current position when not.
6669 * libio/Makefile (tests): Add bug-fclose1.
6670 * libio/bug-fclose1.c: New file.
6672 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6675 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6676 don't set DF_1_NODELETE here.
6677 (do_lookup_x): When entering new entry test for copy relocation
6678 and if necessary set DF_1_NODELETE flag.
6679 * elf/tst-unique4.cc: New file.
6680 * elf/tst-unique4.h: New file.
6681 * elf/tst-unique4lib.cc: New file.
6682 * elf/Makefile: Add rules to build and run tst-unique4.
6683 Patch by Piotr Bury <pbury@goahead.com>.
6685 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6688 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6691 * misc/mntent_r.c (addmntent): Flush the stream after the output
6694 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6695 (is_trusted_path_normalize): Skip initial colon. Append slash
6696 to empty buffer. Duplicate is_trusted_path code but allow
6697 constructed patch to be prefix.
6698 (is_dst): Allow $ORIGIN followed by /.
6699 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6700 Correct testing of result of is_trusted_path_normalize
6701 (decompose_rpath): Fix warning.
6703 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6706 * grp/initgroups.c (internal_getgrouplist): When we found the service
6707 list through the initgroups entry in nsswitch.conf do not always
6708 continue on a successful lookup. Don't always use the
6709 __nss_group_database value if it is set.
6710 * nss/nsswitch.conf (initgroups): Change action for successful db
6711 lookup to continue for compatibility.
6713 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6716 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6718 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6720 * iconvdata/tst-tables.sh: Likewise.
6721 * iconvdata/cp770.c: New file.
6722 * iconvdata/cp771.c: New file.
6723 * iconvdata/cp772.c: New file.
6724 * iconvdata/cp773.c: New file.
6725 * iconvdata/cp774.c: New file.
6726 * iconvdata/testdata/CP770: New file.
6727 * iconvdata/testdata/CP770..UTF8: New file.
6728 * iconvdata/testdata/CP771: New file.
6729 * iconvdata/testdata/CP771..UTF8: New file.
6730 * iconvdata/testdata/CP772: New file.
6731 * iconvdata/testdata/CP772..UTF8: New file.
6732 * iconvdata/testdata/CP773: New file.
6733 * iconvdata/testdata/CP773..UTF8: New file.
6734 * iconvdata/testdata/CP774: New file.
6735 * iconvdata/testdata/CP774..UTF8: New file.
6737 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6739 * iconvdata/gen-8bit-gap.sh: Likewise.
6740 * iconvdata/gen-8bit.sh: Likewise.
6742 * locale/iso-639.def: Add ary entry.
6745 * locale/C-translit.h.in: Add U20A1 transliteration.
6748 * locale/iso-639.def: Add wae entry.
6749 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6752 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6756 * locale/C-translit.h.in: Add entry for U20B9.
6757 Patch by pravin.d.s@gmail.com.
6759 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6762 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6763 ENAMETOOLONG use generic getcwd.
6764 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6765 in rtld. Use *stat64.
6766 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6767 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6768 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6769 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6770 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6771 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6772 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6774 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6775 * dirent/rewinddir.c: Add libc_hidden_def.
6776 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6777 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6779 * include/dirent.h (__alloc_dir): Add flags parameter.
6780 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6781 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6783 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6784 from fdopendir if O_CLOEXEC is already set.
6786 2011-03-15 Alan Modra <amodra@gmail.com>
6788 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6789 l_tls_firstbyte_offset non-zero. Save padding offset in
6790 l_tls_firstbyte_offset for later use.
6791 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6792 freeing static tls block.
6794 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6796 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6797 where #ifdef was intended. The intent is to prevent ARG_MAX from
6798 being defined by the kernel headers.
6800 2011-05-07 Ulrich Drepper <drepper@gmail.com>
6803 * resolv/resolv.h: Define RES_NOTLDQUERY.
6804 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6805 no-tld-query and set RES_NOTLDQUERY.
6806 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6807 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6808 modern BIND to search name as TLD unless forbidden.
6810 2011-05-07 Petr Baudis <pasky@suse.cz>
6811 Ulrich Drepper <drepper@gmail.com>
6814 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6815 (is_trusted_path): ...to here.
6816 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6817 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6818 using is_trusted_path_normalize() in setuid scripts.
6820 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6822 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6823 __BEGIN/__END_DECLS.
6825 2011-05-06 Ulrich Drepper <drepper@gmail.com>
6827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6828 NSS_STATUS_NOTFOUND if no record was found.
6830 2011-05-05 Andreas Schwab <schwab@redhat.com>
6832 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6833 (headers-not-in-tirpc): Remove rpc/netdb.h
6834 * resolv/netdb.h: Revert last change.
6836 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6838 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6839 circular dependency between libgcc.a and libc.a.
6841 2011-05-05 Andreas Schwab <schwab@redhat.com>
6843 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6844 * nis/Makefile: Don't install rpcsvc/*.
6845 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6846 instead of <rpc/types.h>.
6847 (MAXHOSTNAMELEN): Define.
6849 2011-05-03 Andreas Schwab <schwab@redhat.com>
6851 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6853 2011-04-28 Maciej Babinski <mbabinski@google.com>
6856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6857 gethostbyname4_r when IPv6 results are possible.
6859 2011-05-02 Ulrich Drepper <drepper@gmail.com>
6862 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6863 _PC_PIPE_BUF handling.
6865 2011-04-30 Bruno Haible <bruno@clisp.org>
6868 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6869 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6871 * inet/getnameinfo.c (getnameinfo): Likewise.
6873 2011-04-29 Ulrich Drepper <drepper@gmail.com>
6875 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6876 to groups setting in database lookup.
6877 * nss/nsswitch.conf: Add initgroups entry.
6879 2011-04-22 Ulrich Drepper <drepper@gmail.com>
6882 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6884 Patch by Eric Blake <eblake@redhat.com>.
6886 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6888 * sunrpc/Makefile (need-export-routines): Add svc_run.
6889 (routines): Remove svc_run.
6890 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6891 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6892 * sunrpc/svc_run.c (svc_run): Likewise.
6893 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6895 2011-04-21 Ulrich Drepper <drepper@gmail.com>
6897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6898 problem in reallocation in last patch.
6900 2011-04-20 Ulrich Drepper <drepper@gmail.com>
6902 * sunrpc/Makefile: Move inclusion of Rules.
6904 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6906 * nss/nss_files/files-initgroups.c: New file.
6907 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6908 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6909 _nss_files_initgroups_dyn.
6911 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6913 * elf/elf.h (R_ARM_IRELATIVE): Define.
6915 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6917 * po/ru.po: Update from translation team.
6919 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6921 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6924 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6927 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6928 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6929 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6930 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6933 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6935 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6938 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6941 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6944 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6946 * stdlib/bug-getcontext.c: New file.
6947 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6949 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6951 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6952 instructions into .machine "z9-109".
6953 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6954 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6956 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6958 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6959 between environment variables and auxiliary vector.
6961 2011-04-16 Ulrich Drepper <drepper@gmail.com>
6963 * Makefile: Add rules to build linkobj/libc.so.
6964 * include/libc-symbols.h: Define libc_hidden_nolink.
6965 * include/rpc/auth.h: Mark functions which are to be hidden.
6966 * include/rpc/auth_des.h: Likewise.
6967 * include/rpc/auth_unix.h: Likewise.
6968 * include/rpc/clnt.h: Likewise.
6969 * include/rpc/des_crypt.h: Likewise.
6970 * include/rpc/key_prot.h: Likewise.
6971 * include/rpc/pmap_clnt.h: Likewise.
6972 * include/rpc/pmap_prot.h: Likewise.
6973 * include/rpc/pmap_rmt.h: Likewise.
6974 * include/rpc/rpc_msg.h: Likewise.
6975 * include/rpc/svc.h: Likewise.
6976 * include/rpc/svc_auth.h: Likewise.
6977 * include/rpc/xdr.h: Likewise.
6978 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6979 * nss/Makefile: Likewise.
6980 * sunrpc/Makefile: Don't install headers. Build library with normal
6981 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6982 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6983 for the compat linking library. Remove use of INTDEF/INTUSE.
6984 * sunrpc/auth_none.c: Likewise.
6985 * sunrpc/auth_unix.c: Likewise.
6986 * sunrpc/authdes_prot.c: Likewise.
6987 * sunrpc/authuxprot.c: Likewise.
6988 * sunrpc/clnt_gen.c: Likewise.
6989 * sunrpc/clnt_perr.c: Likewise.
6990 * sunrpc/clnt_raw.c: Likewise.
6991 * sunrpc/clnt_simp.c: Likewise.
6992 * sunrpc/clnt_tcp.c: Likewise.
6993 * sunrpc/clnt_udp.c: Likewise.
6994 * sunrpc/clnt_unix.c: Likewise.
6995 * sunrpc/des_crypt.c: Likewise.
6996 * sunrpc/des_soft.c: Likewise.
6997 * sunrpc/get_myaddr.c: Likewise.
6998 * sunrpc/key_call.c: Likewise.
6999 * sunrpc/key_prot.c: Likewise.
7000 * sunrpc/netname.c: Likewise.
7001 * sunrpc/pm_getmaps.c: Likewise.
7002 * sunrpc/pm_getport.c: Likewise.
7003 * sunrpc/pmap_clnt.c: Likewise.
7004 * sunrpc/pmap_prot.c: Likewise.
7005 * sunrpc/pmap_prot2.c: Likewise.
7006 * sunrpc/pmap_rmt.c: Likewise.
7007 * sunrpc/publickey.c: Likewise.
7008 * sunrpc/rpc_cmsg.c: Likewise.
7009 * sunrpc/rpc_common.c: Likewise.
7010 * sunrpc/rpc_dtable.c: Likewise.
7011 * sunrpc/rpc_prot.c: Likewise.
7012 * sunrpc/rpc_thread.c: Likewise.
7013 * sunrpc/rtime.c: Likewise.
7014 * sunrpc/svc.c: Likewise.
7015 * sunrpc/svc_auth.c: Likewise.
7016 * sunrpc/svc_authux.c: Likewise.
7017 * sunrpc/svc_raw.c: Likewise.
7018 * sunrpc/svc_run.c: Likewise.
7019 * sunrpc/svc_simple.c: Likewise.
7020 * sunrpc/svc_tcp.c: Likewise.
7021 * sunrpc/svc_udp.c: Likewise.
7022 * sunrpc/svc_unix.c: Likewise.
7023 * sunrpc/svcauth_des.c: Likewise.
7024 * sunrpc/xcrypt.c: Likewise.
7025 * sunrpc/xdr.c: Likewise.
7026 * sunrpc/xdr_array.c: Likewise.
7027 * sunrpc/xdr_float.c: Likewise.
7028 * sunrpc/xdr_intXX_t.c: Likewise.
7029 * sunrpc/xdr_mem.c: Likewise.
7030 * sunrpc/xdr_rec.c: Likewise.
7031 * sunrpc/xdr_ref.c: Likewise.
7032 * sunrpc/xdr_sizeof.c: Likewise.
7033 * sunrpc/xdr_stdio.c: Likewise.
7035 2011-04-10 Ulrich Drepper <drepper@gmail.com>
7038 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
7039 * sysdeps/ia64/dl-tls.h: Likewise.
7040 * sysdeps/powerpc/dl-tls.h: Likewise.
7041 * sysdeps/s390/dl-tls.h: Likewise.
7042 * sysdeps/sh/dl-tls.h: Likewise.
7043 * sysdeps/sparc/dl-tls.h: Likewise.
7044 * sysdeps/x86_64/dl-tls.h: Likewise.
7045 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
7047 2011-03-14 Andreas Schwab <schwab@redhat.com>
7049 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
7050 rpath element also skip the following colon.
7051 (expand_dynamic_string_token): Add is_path parameter and pass
7052 down to DL_DST_REQUIRED and _dl_dst_substitute.
7053 (decompose_rpath): Call expand_dynamic_string_token with
7054 non-zero is_path. Ignore empty rpaths.
7055 (_dl_map_object_from_fd): Call expand_dynamic_string_token
7058 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
7060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7063 2011-04-09 Ulrich Drepper <drepper@gmail.com>
7066 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
7067 Patch by Filipe David Manana <fdmanana@apache.org>.
7069 2011-04-07 Andreas Schwab <schwab@redhat.com>
7071 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
7072 Maintain aligned stack.
7073 (CHECK_RSP): Remove unused macro.
7075 2011-04-03 Ulrich Drepper <drepper@gmail.com>
7077 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
7078 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
7080 2011-04-02 Ulrich Drepper <drepper@gmail.com>
7082 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
7084 * include/features.h: Mention __USE_XOPEN2K8 in comment.
7086 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
7089 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
7090 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
7091 * sysdeps/x86_64/memmove.c: New file.
7092 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
7093 (memcpy): Renamed to ...
7094 (__new_memcpy): This.
7095 (memcpy): Provide GLIBC_2_14 memcpy.
7096 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
7097 (memcpy): Provide GLIBC_2_2_5 memcpy.
7099 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7102 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
7104 2011-03-30 Andreas Schwab <schwab@redhat.com>
7106 * misc/syncfs.c: New file.
7107 * misc/Makefile (routines): Add syncfs.
7108 * posix/unistd.h: Declare syncfs.
7109 * sysdeps/unix/syscalls.list: Add syncfs.
7111 2011-04-01 Andreas Schwab <schwab@redhat.com>
7113 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
7115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7116 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7117 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7119 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7120 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7121 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7123 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7125 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
7126 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7127 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
7128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7133 * io/Makefile: Compile fallocate.c, fallocate64.c, and
7134 sync_file_range.c with -fexceptions.
7135 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
7136 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
7137 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7138 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7139 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
7140 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7141 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
7142 sync_file_range as cancellation point
7143 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
7144 now a wrapper around __call_sync_file_range with cancellation handling.
7145 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
7146 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
7147 function name to __call_sync_file_range.
7148 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
7149 Add call_sync_file_range.
7151 2011-04-01 Andreas Schwab <schwab@redhat.com>
7153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7156 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7158 * iconv/iconv.h: Fix typo in comment.
7159 * io/fcntl.h: Likewise.
7160 * libio/stdio.h: Likewise.
7161 * posix/spawn.h: Likewise.
7162 * posix/unistd.h: Likewise.
7163 * stdlib/stdlib.h: Likewise.
7164 * time/time.h: Likewise.
7165 * wcsmbs/wchar.h: Likewise.
7167 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7168 open_by_handle): Add.
7169 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7170 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7171 Augment a few comments.
7172 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7173 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7175 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7176 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7177 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7180 * io/fcntl.h (AT_EMPTY_PATH): Define.
7182 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7184 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7185 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7186 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7188 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7189 * Versions.def: Add GLIBC_2.14.
7190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7193 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7195 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7197 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7199 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7202 * string/test-strncmp.c (do_page_test): New function.
7204 (test_main): Call check2.
7205 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7207 2011-03-20 Ulrich Drepper <drepper@gmail.com>
7210 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7211 Handle cache information in CPU leaf 4.
7212 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7214 2011-03-18 Ulrich Drepper <drepper@gmail.com>
7217 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7218 character representation.
7219 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7221 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7223 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7224 END(__isnan) to END(__isnanf) to match function entry point/label
7225 EALIGN(__isnanf,...).
7227 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7229 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7231 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7234 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7235 copy from the symbol referenced in the relocation to initialize the
7237 Patch by Piotr Bury <pbury@goahead.com>.
7238 * elf/Makefile: Add rules to build and tst-unique3.
7239 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7240 * elf/tst-unique3.cc: New file.
7241 * elf/tst-unique3.h: New file.
7242 * elf/tst-unique3lib.cc: New file.
7243 * elf/tst-unique3lib2.cc: New file.
7245 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7247 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7249 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7250 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7253 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7255 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7256 to-be-loaded object along a path to loader is ld.so.
7258 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7259 Ulrich Drepper <drepper@gmail.com>
7261 * sysdeps/x86_64/memset.S: After aligning destination, code
7262 branches to different locations depending on the value of
7263 misalignment, when multiarch is enabled. Fix this.
7265 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7267 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7268 Set _x86_64_preferred_memory_instruction for AMD processsors.
7269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7270 Set bit_Prefer_SSE_for_memop for AMD processors.
7272 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7274 * libio/fmemopen.c (fmemopen): Optimize a bit.
7276 2011-03-03 Andreas Schwab <schwab@redhat.com>
7278 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7280 2011-03-03 Roland McGrath <roland@redhat.com>
7282 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7284 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7286 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7287 __bzero_ultra1 instead of __memset_ultra1.
7289 2011-02-23 Andreas Schwab <schwab@redhat.com>
7290 Ulrich Drepper <drepper@gmail.com>
7293 * include/link.h (struct link_map): Add l_orig_initfini.
7294 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7295 returning unsuccessfully.
7296 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7297 close of a file loaded at startup, restore the original l_initfini
7299 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7300 list, store the pointer.
7301 * elf/Makefile ($(objpfx)noload-mem): New rule.
7302 (noload-ENV): Define.
7303 (tests): Add $(objpfx)noload-mem.
7304 * elf/noload.c: Include <memcheck.h>.
7305 (main): Call mtrace. Close all opened handles.
7307 2011-02-17 Andreas Schwab <schwab@redhat.com>
7310 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7311 dependencies are missing.
7313 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7315 Fix __if_freereq crash: Unlike the generic version which uses free,
7317 * sysdeps/mach/hurd/ifreq.h: New file.
7319 2011-01-27 Petr Baudis <pasky@suse.cz>
7320 Ulrich Drepper <drepper@gmail.com>
7323 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7325 * stdio-common/bug23.c: New file.
7326 * stdio-common/Makefile (tests): Add bug23.
7328 2010-09-28 Andreas Schwab <schwab@redhat.com>
7329 Ulrich Drepper <drepper@gmail.com>
7332 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7333 before performing relro protection. At old place add assertion
7334 to make sure nothing changed.
7336 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7337 Glauber de Oliveira Costa <glommer@gmail.com>
7339 * elf/elf.h: Add new ARM TLS relocs.
7341 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7344 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7346 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7348 * sysdeps/wordsize-64/tst-writev.c: New file.
7350 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7352 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7353 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7354 insns in _dl_start to prevent a TOC reference before relocs are
7357 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7360 * Makeconfig: Remove RANLIB definition.
7361 * Makerules: Don't use RANLIB.
7362 * aclocal.m4: Remove ranlib test.
7363 * configure.in: No need to check for ranlib.
7364 * elf/rtld-Rules: Don't use RANLIB.
7366 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7368 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7370 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7371 inclusion protection macro.
7373 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7374 SIGRTMIN and SIGRTMAX and print information in that case only when
7375 SIGRTMIN is defined.
7377 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7379 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7380 arginfo fn returning -1.
7382 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7383 and thousands string is zero terminated.
7385 2011-02-03 Andreas Schwab <schwab@redhat.com>
7387 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7388 sysdeps/unix/sysv/linux/bits/socket.h.
7390 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7392 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7393 (__CPU_COUNT): Remove old macros.
7394 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7395 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7396 (__CPU_ALLOC, __CPU_FREE): Add macros.
7397 (__sched_cpualloc, __sched_cpufree): Add declarations.
7399 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7401 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7402 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7403 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7404 (readdhstai): Return value of addhstaiX call.
7405 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7406 (addgrbyX): Return value returned by cache_addgr.
7407 (readdgrbyname): Return value returned by addgrbyX.
7408 (readdgrbygid): Likewise.
7409 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7410 (addpwbyX): Return value returned by cache_addpw.
7411 (readdpwbyname): Return value returned by addhstbyX.
7412 (readdpwbyuid): Likewise.
7413 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7414 (addservbyX): Return value returned by cache_addserv.
7415 (readdservbyname): Return value returned by addservbyX:
7416 (readdservbyport): Likewise.
7417 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7418 (addhstbyX): Return value returned by cache_addhst.
7419 (readdhstbyname): Return value returned by addhstbyX.
7420 (readdhstbyaddr): Likewise.
7421 (readdhstbynamev6): Likewise.
7422 (readdhstbyaddrv6): Likewise.
7423 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7424 (readdinitgroups): Return value returned by addinitgroupsX.
7425 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7426 (prune_cache): Keep track of timeout value of re-added entries.
7427 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7428 * nscd/nscd.h: Adjust prototypes of readd* functions.
7430 2011-02-04 Roland McGrath <roland@redhat.com>
7432 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7433 (nis_stats): Likewise.
7434 * nis/nis_modify.c (nis_modify): Likewise.
7435 * nis/nis_remove.c (nis_remove): Likewise.
7436 * nis/nis_add.c (nis_add): Likewise.
7438 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7440 * posix/fnmatch_loop.c: Add some consts.
7442 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7444 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7447 * config.make.in (config-cflags-novzeroupper): Define.
7448 * configure.in: Substitute libc_cv_cc_novzeroupper.
7449 * elf/Makefile (AVX-CFLAGS): Define.
7450 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7451 (CFLAGS-tst-auditmod4a.c): Likewise.
7452 (CFLAGS-tst-auditmod4b.c): Likewise.
7453 (CFLAGS-tst-auditmod6b.c): Likewise.
7454 (CFLAGS-tst-auditmod6c.c): Likewise.
7455 (CFLAGS-tst-auditmod7b.c): Likewise.
7456 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7458 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7460 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7461 function to the callback.
7462 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7464 2011-02-02 Andreas Schwab <schwab@redhat.com>
7466 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7469 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7472 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7474 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7476 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7479 * elf/Makefile: Add rules to build and run new test.
7480 * elf/tst-initorder.c: New file.
7481 * elf/tst-initorder.exp: New file.
7482 * elf/tst-initordera1.c: New file.
7483 * elf/tst-initordera2.c: New file.
7484 * elf/tst-initordera3.c: New file.
7485 * elf/tst-initordera4.c: New file.
7486 * elf/tst-initorderb1.c: New file.
7487 * elf/tst-initorderb2.c: New file.
7488 * elf/tst-order-a1.c: New file.
7489 * elf/tst-order-a2.c: New file.
7490 * elf/tst-order-a3.c: New file.
7491 * elf/tst-order-a4.c: New file.
7492 * elf/tst-order-b1.c: New file.
7493 * elf/tst-order-b2.c: New file.
7494 * elf/tst-order-main.c: New file.
7495 New test case by George Gensure <werkt0@gmail.com>.
7497 2010-10-01 Andreas Schwab <schwab@redhat.com>
7499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7500 decoding ACE if AI_CANONIDN.
7502 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7504 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7506 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7508 * version.h (RELEASE): Bump for 2.13 release.
7509 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7511 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7515 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7516 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7517 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7518 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7519 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7520 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7522 * posix/getconf.c: Update copyright year.
7523 * catgets/gencat.c: Likewise.
7524 * csu/version.c: Likewise.
7525 * debug/catchsegv.sh: Likewise.
7526 * debug/xtrace.sh: Likewise.
7527 * elf/ldconfig.c: Likewise.
7528 * elf/ldd.bash.in: Likewise.
7529 * elf/sprof.c (print_version): Likewise.
7530 * iconv/iconv_prog.c: Likewise.
7531 * iconv/iconvconfig.c: Likewise.
7532 * locale/programs/locale.c: Likewise.
7533 * locale/programs/localedef.c: Likewise.
7534 * malloc/memusage.sh: Likewise.
7535 * malloc/mtrace.pl: Likewise.
7536 * nscd/nscd.c (print_version): Likewise.
7537 * nss/getent.c: Likewise.
7539 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7540 PF_CAIF, and PF_ALG.
7541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7543 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7545 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7546 (modules-names): Use them.
7547 (ifunc-test-modules, ifunc-pie-tests): Define.
7548 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7549 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7550 (test-extras): Likewise.
7551 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7552 $(compile-command.c).
7553 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7554 (all-built-dso): Define.
7555 (check-textrel.out, check-execstack.out): Depend on it.
7557 * configure.in: Don't override --enable-multi-arch.
7559 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7562 * nscd/hstcache.c (tryagain): Define.
7563 (cache_addhst): Return tryagain not notfound for temporary errors.
7564 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7567 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7570 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7571 to make the syscall.
7572 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7575 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7576 and fall back to matching as normal character if the string ends before
7577 the matching ']' is found. This is what POSIX requires.
7578 * posix/testfnm.c: Adjust test result.
7579 * posix/globtest.sh: Adjust test result. Add new test.
7580 * posix/tst-fnmatch.input: Likewise.
7581 * posix/tst-fnmatch2.c: Add new test.
7583 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7585 * elf/Makefile (check-execstack): Revert last change. Depend on
7587 (check-execstack.h): New target.
7588 (generated): Add check-execstack.h.
7589 * elf/check-execstack.c: Include "check-execstack.h".
7590 (main): Revert last change.
7591 (handle_file): Return zero if GNU_STACK is absent and
7592 DEFAULT_STACK_PERMS doesn't include PF_X.
7594 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7596 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7597 in child fails because the descriptor is already closed.
7598 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7599 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7600 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7603 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7607 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7608 temporary buffer used to handle multi lookups locally.
7609 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7611 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7613 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7616 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7618 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7621 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7624 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7625 characters. When rounding increased number of integer digits recompute
7627 * stdio-common/tst-grouping.c: New file.
7628 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7630 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7632 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7633 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7635 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7637 * bits/select.h: Likewise.
7639 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7641 * po/ja.po: Update from translation team.
7643 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7647 implementation just like for lxstat, fxstatat, et al.
7649 2010-12-27 Jim Meyering <meyering@redhat.com>
7652 * posix/regexec.c (build_trtable): Return failure indication upon
7653 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7655 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7658 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7659 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7660 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7664 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7667 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7668 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7670 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7672 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7673 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7674 script has SORT_BY_INIT_PRIORITY.
7675 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7676 NO_CTORS_DTORS_SECTIONS is defined.
7677 * elf/soinit.c: Likewise.
7678 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7679 NO_CTORS_DTORS_SECTIONS is defined.
7680 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7681 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7682 * sysdeps/sh/init-first.c: Likewise.
7683 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7685 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7687 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7688 always use the slow path.
7690 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7692 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7693 similar rule which adds the sysdep directories to the header search in
7694 order to pick up the correct platform stackinfo.h.
7695 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7696 perform test if it is, otherwise return successfully without testing.
7697 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7698 DEFAULT_STACK_PERMS define in stackinfo.h.
7699 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7700 defined in stackinfo.h.
7701 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7702 DEFAULT_STACK_PERMS defined in stackinfo.h.
7703 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7704 * sysdeps/ia64/stackinfo.h: Likewise.
7705 * sysdeps/s390/stackinfo.h: Likewise.
7706 * sysdeps/sh/stackinfo.h: Likewise.
7707 * sysdeps/sparc/stackinfo.h: Likewise.
7708 * sysdeps/x86_64/stackinfo.h: Likewise.
7709 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7710 PF_X for powerpc64. Retain PF_X for powerpc32.
7712 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7714 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7716 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7717 GETDENTS_64BIT_ALIGNED.
7719 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7721 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7723 2010-12-10 Andreas Schwab <schwab@redhat.com>
7725 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7728 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7729 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7731 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7732 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7734 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7737 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7740 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7742 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7744 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7746 * po/it.po: Update from translation team.
7748 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7753 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7755 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7757 2010-11-24 Andreas Schwab <schwab@redhat.com>
7759 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7761 (gaih_getanswer_slice): Likewise.
7763 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7767 2010-05-31 Petr Baudis <pasky@suse.cz>
7770 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7771 silently even in the chroot mode.
7773 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7775 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7776 last patch a bit. Pretty printing
7778 2010-05-31 Petr Baudis <pasky@suse.cz>
7781 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7782 initialization of skip_initgroups_dyn.
7784 2010-11-19 Ulrich Drepper <drepper@gmail.com>
7786 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7787 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7789 2010-11-16 Ulrich Drepper <drepper@gmail.com>
7791 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7793 2010-11-11 Andreas Schwab <schwab@redhat.com>
7795 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7796 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7797 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7798 ($(objpfx)tst-fnmatch-mem): New rule.
7799 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7800 * posix/tst-fnmatch.c (main): Call mtrace.
7802 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7804 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7805 Support Intel processor model 6 and model 0x2c.
7807 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
7809 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7812 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7815 * string/test-strncasecmp.c (check_result): New function.
7816 (do_one_test): Use it.
7817 (check1): New function.
7818 (test_main): Use it.
7819 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7820 Support strcasecmp and strncasecmp.
7822 2010-11-08 Ulrich Drepper <drepper@gmail.com>
7825 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7826 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7828 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7830 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7832 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7834 * sysdeps/x86_64/multiarch/bzero.S: New file.
7835 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7836 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7837 * sysdeps/x86_64/multiarch/memset.S: New file.
7838 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7840 Set bit_Prefer_SSE_for_memop for Intel processors.
7841 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7843 (index_Prefer_SSE_for_memop): Define.
7844 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7846 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
7848 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7849 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7851 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7854 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7855 (__x86_64_raw_data_cache_size_half): Likewise.
7856 (__x86_64_raw_shared_cache_size): Likewise.
7857 (__x86_64_raw_shared_cache_size_half): Likewise.
7859 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7860 (__x86_64_raw_data_cache_size_half): Likewise.
7861 (__x86_64_raw_shared_cache_size): Likewise.
7862 (__x86_64_raw_shared_cache_size_half): Likewise.
7863 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7864 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7865 and __x86_64_raw_shared_cache_size_half. Round
7866 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7867 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7868 to multiple of 256 bytes.
7870 2010-11-03 Ulrich Drepper <drepper@gmail.com>
7873 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7874 of inacessible symlinks. Verify result of symlink before returning it.
7875 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7876 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7878 2010-10-28 Erich Ritz <erichritz@gmail.com>
7880 * math/math.h (isinf): Fix typo in comment.
7882 2010-11-01 Ulrich Drepper <drepper@gmail.com>
7884 * po/da.po: Update from translation team.
7886 2010-10-26 Ulrich Drepper <drepper@gmail.com>
7888 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7889 is added to the list.
7891 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7892 Ulrich Drepper <drepper@gmail.com>
7894 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7895 the global list here. Move code to...
7896 (_dl_add_to_namespace_list): ...here. New function.
7897 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7898 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7899 * elf/dl-load.c (lose): Don't remove the element from the list.
7900 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7901 (_dl_map_object): Likewise.
7903 2010-10-25 Ulrich Drepper <drepper@gmail.com>
7906 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7907 into all bytes of SSE register.
7908 Patch by Richard Li <richardpku@gmail.com>.
7910 2010-10-24 Ulrich Drepper <drepper@gmail.com>
7913 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7916 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7918 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7919 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7920 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7921 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7926 2010-10-22 Andreas Schwab <schwab@redhat.com>
7928 * include/dlfcn.h (__RTLD_SECURE): Define.
7929 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7930 mode & __RTLD_SECURE instead.
7931 (open_path): Rename preloaded parameter to secure.
7932 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7933 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7934 * elf/dl-deps.c (openaux): Likewise.
7935 * elf/rtld.c (struct map_args): Remove is_preloaded.
7936 (map_doit): Don't use it.
7937 (dl_main): Likewise.
7938 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7939 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7941 2010-09-09 Andreas Schwab <schwab@redhat.com>
7943 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7944 (sysd-rules-targets): Remove duplicates.
7945 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7946 rtld-%.$o dependency.
7948 2010-10-18 Andreas Schwab <schwab@redhat.com>
7950 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7951 _dl_map_object do it.
7953 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7955 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7956 fast fma builtins, define the macros in the C99 standard.
7957 (FP_FAST_FMAF): Likewise.
7958 (FP_FAST_FMAL): Likewise.
7959 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7961 * bits/mathdef.h: Update copyright year.
7962 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7964 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7966 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7967 builtins, define the macros in the C99 standard.
7968 (FP_FAST_FMAF): Likewise.
7969 (FP_FAST_FMAL): Likewise.
7970 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7972 (FP_FAST_FMAF): Likewise.
7974 2010-10-15 Jakub Jelinek <jakub@redhat.com>
7977 * math/libm-test.inc (fma_test): Some new testcases.
7978 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7979 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7980 y and infinite z. Do multiplication by C already in long double.
7981 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7983 y and infinite z. Do bitwise or of inexact bit into u.d.
7984 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7985 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7986 * sysdeps/i386/fpu/s_fma.S: Removed.
7987 * sysdeps/i386/fpu/s_fmal.S: Removed.
7989 2010-10-16 Jakub Jelinek <jakub@redhat.com>
7992 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7994 computation is not scheduled after fetestexcept. Fix value
7995 of minimum denormal long double.
7997 2010-10-14 Jakub Jelinek <jakub@redhat.com>
8000 * math/libm-test.inc (fma_test): Add some more tests.
8001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
8004 2010-10-15 Andreas Schwab <schwab@redhat.com>
8006 * scripts/data/localplt-s390-linux-gnu.data: New file.
8007 * scripts/data/localplt-s390x-linux-gnu.data: New file.
8009 2010-10-13 Jakub Jelinek <jakub@redhat.com>
8012 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
8013 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
8015 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
8017 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
8018 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
8019 if one of x and y is very large and the other is subnormal.
8020 * sysdeps/s390/fpu/s_fmaf.c: New file.
8021 * sysdeps/s390/fpu/s_fma.c: New file.
8022 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
8023 * sysdeps/powerpc/fpu/s_fma.S: New file.
8024 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
8025 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
8026 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
8028 2010-10-12 Jakub Jelinek <jakub@redhat.com>
8031 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
8033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
8034 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
8035 * sysdeps/i386/i686/multiarch/s_fma.c: Include
8036 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
8037 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
8038 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
8039 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
8041 2010-10-12 Ulrich Drepper <drepper@redhat.com>
8044 * posix/regcomp.c (parse_branch): One more memory leak plugged.
8045 * posix/bug-regex31.input: Add test case.
8047 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8049 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
8050 * posix/bug-regex31.input: New file.
8053 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
8054 (parse_sub_exp): Fix last change, use postorder.
8056 * posix/bug-regex31.c: New file.
8057 * posix/Makefile: Add rules to build and run bug-regex31.
8059 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
8062 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
8065 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
8066 to have entries in sys_siglist.
8069 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
8072 2010-10-07 Jakub Jelinek <jakub@redhat.com>
8075 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
8076 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
8077 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
8078 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
8079 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8080 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
8081 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
8082 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
8083 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
8084 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
8085 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
8086 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
8087 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8088 * math/ftestexcept.c (fetestexcept): Likewise.
8089 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
8090 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
8091 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
8092 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
8093 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
8094 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
8095 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8097 2010-10-11 Ulrich Drepper <drepper@gmail.com>
8100 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
8103 2010-10-06 Ulrich Drepper <drepper@gmail.com>
8105 * string/bug-strstr1.c: New file.
8106 * string/Makefile: Add rules to build and run bug-strstr1.
8108 2010-10-05 Eric Blake <eblake@redhat.com>
8111 * string/str-two-way.h (two_way_long_needle): Always clear memory
8112 when skipping input due to the shift table.
8114 2010-10-03 Ulrich Drepper <drepper@gmail.com>
8117 * malloc/mcheck.c: Handle large requests.
8120 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
8121 for strncmp and strncasecmp.
8122 * string/stratcliff.c: Add tests for strcmp and strncmp.
8123 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
8125 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8127 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
8130 2010-09-30 Andreas Jaeger <aj@suse.de>
8132 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
8133 (CGROUP_SUPER_MAGIC): Define.
8134 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8135 Handle btrfs and cgroup file systems.
8136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8139 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
8141 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
8142 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
8144 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8147 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
8148 trying to locate the ELF header.
8150 2010-09-27 Andreas Schwab <schwab@redhat.com>
8153 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
8154 Mask out sign-bit copies when constructing f_fsid.
8156 2010-09-24 Petr Baudis <pasky@suse.cz>
8158 * debug/stack_chk_fail_local.c: Add missing licence exception.
8159 * debug/warning-nop.c: Likewise.
8161 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8163 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8164 implementing getdents64 using getdents syscall, set d_type if
8165 __ASSUME_GETDENTS32_D_TYPE.
8167 2010-09-16 Andreas Schwab <schwab@redhat.com>
8169 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8170 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8172 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8175 * posix/unistd.h: Undo change of feature selection for ftruncate from
8178 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8180 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8183 2010-09-20 Andreas Schwab <schwab@redhat.com>
8185 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8187 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8189 2010-09-14 Andreas Schwab <schwab@redhat.com>
8191 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8192 variables after CHECK_SP call.
8193 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8195 2010-09-13 Andreas Schwab <schwab@redhat.com>
8196 Ulrich Drepper <drepper@redhat.com>
8198 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8199 re-relocationg ld.so.
8200 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8201 _dl_init_paths call.
8202 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8205 2010-09-14 Ulrich Drepper <drepper@redhat.com>
8207 * resolv/res_init.c (__res_vinit): Count the default server we added.
8209 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8210 Ulrich Drepper <drepper@redhat.com>
8213 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8214 (____longjmp_chk): Use %ebx for saving value across system call.
8217 2010-09-06 Andreas Schwab <schwab@redhat.com>
8219 * manual/Makefile: Don't mix pattern rules with normal rules.
8221 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8223 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8225 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8226 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8227 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8228 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8232 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8235 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8236 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8238 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8240 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8241 * sysdeps/x86_64/addmul_1.S: Likewise.
8242 * sysdeps/x86_64/lshift.S: Likewise.
8243 * sysdeps/x86_64/mul_1.S: Likewise.
8244 * sysdeps/x86_64/rshift.S: Likewise.
8245 * sysdeps/x86_64/sub_n.S: Likewise.
8246 * sysdeps/x86_64/submul_1.S: Likewise.
8248 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8250 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8251 Define __sched_param instead of SCHED_* and sched_param when
8252 <bits/sched.h> is included with __need_schedparam defined.
8253 * bits/sched.h [__need_schedparam]
8254 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8255 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8256 (__defined_schedparam): Define to 1.
8257 (__sched_param): New structure, identical to sched_param.
8258 (__need_schedparam): Undefine.
8260 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8262 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8263 (epoll_create1): Declare.
8265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8267 2010-08-31 Andreas Schwab <schwab@redhat.com>
8270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8271 shifting retval into place.
8273 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8275 * nis/rpcsvc/nis.h: Update copyright notice.
8276 * nis/rpcsvc/nis.x: Likewise.
8277 * nis/rpcsvc/nis_callback.h: Likewise.
8278 * nis/rpcsvc/nis_callback.x: Likewise.
8279 * nis/rpcsvc/nis_object.x: Likewise.
8280 * nis/rpcsvc/nis_tags.h: Likewise.
8281 * nis/rpcsvc/yp.h: Likewise.
8282 * nis/rpcsvc/yp.x: Likewise.
8283 * nis/rpcsvc/ypupd.h: Likewise.
8284 * nis/yp_xdr.c: Likewise.
8285 * nis/ypupdate_xdr.c: Likewise.
8287 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8288 mainly the body of pmap_getport. Add parameters to specify timeouts.
8289 (pmap_getport): Use __libc_rpc_getport.
8290 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8291 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8292 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8294 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8299 2010-08-27 Roland McGrath <roland@redhat.com>
8301 * sysdeps/i386/i686/multiarch/Makefile
8302 (CFLAGS-varshift.c): New variable.
8304 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8306 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8307 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8311 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8313 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8315 * sysdeps/x86_64/strlen.S: Unroll the loop.
8316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8317 strlen-sse2 strlen-sse2-bsf.
8318 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8319 __strlen_no_bsf if bit_Slow_BSF is set.
8320 (__strlen_sse42): Removed.
8321 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8322 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8324 2010-08-25 Roland McGrath <roland@redhat.com>
8326 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8327 * sysdeps/x86_64/multiarch/varshift.c: New file.
8328 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8329 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8330 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8331 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8333 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8336 strlen-sse2 strlen-sse2-bsf.
8337 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8338 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8339 (__strlen_sse2): Removed.
8340 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8341 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8343 bit_Slow_BSF for Atom.
8344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8345 (index_Slow_BSF): Define.
8346 (HAS_SLOW_BSF): Define.
8348 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8351 * resolv/res_init.c (__res_vinit): When no server address at all
8352 is given default to loopback.
8354 2010-08-24 Roland McGrath <roland@redhat.com>
8356 * configure.in: Remove config-name.h generation.
8357 * configure: Regenerated.
8358 * config-name.in: File removed.
8359 * scripts/config-uname.sh: New file.
8360 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8361 ($(objdir)config-name.h): New target.
8363 * sunrpc/rpc_parse.h: Avoid nested comment.
8365 2010-08-24 Richard Henderson <rth@redhat.com>
8366 Ulrich Drepper <drepper@redhat.com>
8367 H.J. Lu <hongjiu.lu@intel.com>
8369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8371 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8372 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8373 _mm_alignr_epi8 with _mm_loadu_si128.
8374 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8375 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8376 (__m128i_shift_right): Removed.
8377 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8378 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8379 * sysdeps/x86_64/multiarch/varshift.h: New file.
8380 * sysdeps/x86_64/multiarch/varshift.S: New file.
8382 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8384 * configure.in: Move assembler checks to before sysdep dir checking.
8386 2010-08-20 Petr Baudis <pasky@suse.cz>
8388 * LICENSES: Sync the sunrpc license.
8390 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8392 * sunrpc/auth_des.c: Update copyright notice once again.
8393 * sunrpc/auth_none.c: Likewise.
8394 * sunrpc/auth_unix.c: Likewise.
8395 * sunrpc/authdes_prot.c: Likewise.
8396 * sunrpc/authuxprot.c: Likewise.
8397 * sunrpc/bindrsvprt.c: Likewise.
8398 * sunrpc/clnt_gen.c: Likewise.
8399 * sunrpc/clnt_perr.c: Likewise.
8400 * sunrpc/clnt_raw.c: Likewise.
8401 * sunrpc/clnt_simp.c: Likewise.
8402 * sunrpc/clnt_tcp.c: Likewise.
8403 * sunrpc/clnt_udp.c: Likewise.
8404 * sunrpc/clnt_unix.c: Likewise.
8405 * sunrpc/des_crypt.c: Likewise.
8406 * sunrpc/des_soft.c: Likewise.
8407 * sunrpc/get_myaddr.c: Likewise.
8408 * sunrpc/getrpcport.c: Likewise.
8409 * sunrpc/key_call.c: Likewise.
8410 * sunrpc/key_prot.c: Likewise.
8411 * sunrpc/openchild.c: Likewise.
8412 * sunrpc/pm_getmaps.c: Likewise.
8413 * sunrpc/pm_getport.c: Likewise.
8414 * sunrpc/pmap_clnt.c: Likewise.
8415 * sunrpc/pmap_prot.c: Likewise.
8416 * sunrpc/pmap_prot2.c: Likewise.
8417 * sunrpc/pmap_rmt.c: Likewise.
8418 * sunrpc/rpc/auth.h: Likewise.
8419 * sunrpc/rpc/auth_unix.h: Likewise.
8420 * sunrpc/rpc/clnt.h: Likewise.
8421 * sunrpc/rpc/des_crypt.h: Likewise.
8422 * sunrpc/rpc/key_prot.h: Likewise.
8423 * sunrpc/rpc/netdb.h: Likewise.
8424 * sunrpc/rpc/pmap_clnt.h: Likewise.
8425 * sunrpc/rpc/pmap_prot.h: Likewise.
8426 * sunrpc/rpc/pmap_rmt.h: Likewise.
8427 * sunrpc/rpc/rpc.h: Likewise.
8428 * sunrpc/rpc/rpc_des.h: Likewise.
8429 * sunrpc/rpc/rpc_msg.h: Likewise.
8430 * sunrpc/rpc/svc.h: Likewise.
8431 * sunrpc/rpc/svc_auth.h: Likewise.
8432 * sunrpc/rpc/types.h: Likewise.
8433 * sunrpc/rpc/xdr.h: Likewise.
8434 * sunrpc/rpc_clntout.c: Likewise.
8435 * sunrpc/rpc_cmsg.c: Likewise.
8436 * sunrpc/rpc_common.c: Likewise.
8437 * sunrpc/rpc_cout.c: Likewise.
8438 * sunrpc/rpc_dtable.c: Likewise.
8439 * sunrpc/rpc_hout.c: Likewise.
8440 * sunrpc/rpc_main.c: Likewise.
8441 * sunrpc/rpc_parse.c: Likewise.
8442 * sunrpc/rpc_parse.h: Likewise.
8443 * sunrpc/rpc_prot.c: Likewise.
8444 * sunrpc/rpc_sample.c: Likewise.
8445 * sunrpc/rpc_scan.c: Likewise.
8446 * sunrpc/rpc_scan.h: Likewise.
8447 * sunrpc/rpc_svcout.c: Likewise.
8448 * sunrpc/rpc_tblout.c: Likewise.
8449 * sunrpc/rpc_util.c: Likewise.
8450 * sunrpc/rpc_util.h: Likewise.
8451 * sunrpc/rpcinfo.c: Likewise.
8452 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8453 * sunrpc/rpcsvc/key_prot.x: Likewise.
8454 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8455 * sunrpc/rpcsvc/mount.x: Likewise.
8456 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8457 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8458 * sunrpc/rpcsvc/rex.x: Likewise.
8459 * sunrpc/rpcsvc/rstat.x: Likewise.
8460 * sunrpc/rpcsvc/rusers.x: Likewise.
8461 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8462 * sunrpc/rpcsvc/spray.x: Likewise.
8463 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8464 * sunrpc/rtime.c: Likewise.
8465 * sunrpc/svc.c: Likewise.
8466 * sunrpc/svc_auth.c: Likewise.
8467 * sunrpc/svc_authux.c: Likewise.
8468 * sunrpc/svc_raw.c: Likewise.
8469 * sunrpc/svc_run.c: Likewise.
8470 * sunrpc/svc_simple.c: Likewise.
8471 * sunrpc/svc_tcp.c: Likewise.
8472 * sunrpc/svc_udp.c: Likewise.
8473 * sunrpc/svc_unix.c: Likewise.
8474 * sunrpc/svcauth_des.c: Likewise.
8475 * sunrpc/xcrypt.c: Likewise.
8476 * sunrpc/xdr.c: Likewise.
8477 * sunrpc/xdr_array.c: Likewise.
8478 * sunrpc/xdr_float.c: Likewise.
8479 * sunrpc/xdr_mem.c: Likewise.
8480 * sunrpc/xdr_rec.c: Likewise.
8481 * sunrpc/xdr_ref.c: Likewise.
8482 * sunrpc/xdr_sizeof.c: Likewise.
8483 * sunrpc/xdr_stdio.c: Likewise.
8485 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8488 2010-08-19 Andreas Schwab <schwab@redhat.com>
8490 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8492 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8494 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8495 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8496 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8497 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8498 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8499 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8501 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8502 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8503 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8504 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8505 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8506 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8507 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8509 2010-07-26 Anton Blanchard <anton@samba.org>
8511 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8512 * malloc/arena.c (heap_trim): Likewise.
8514 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8516 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8519 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8521 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8523 * sysdeps/i386/elf/Makefile: New file.
8525 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8527 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8529 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8530 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8532 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8534 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8536 * sysdeps/multiarch/strcmp.S: Likewise.
8538 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8540 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8541 strncase_l-nonascii.
8542 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8543 Add strncase_l-ssse3.
8544 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8545 * sysdeps/x86_64/strcmp.S: Likewise.
8546 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8547 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8548 * sysdeps/x86_64/strncase.S: New file.
8549 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8550 * sysdeps/x86_64/strncase_l.S: New file.
8551 * string/Makefile (strop-tests): Add strncasecmp.
8552 * string/test-strncasecmp.c: New file.
8554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8557 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8558 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8560 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8562 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8564 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8566 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8567 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8568 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8570 2010-05-01 Alan Modra <amodra@gmail.com>
8572 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8573 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8574 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8575 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8576 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8577 tidying. Don't tail-call __sigjmp_save for static lib.
8578 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8580 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8581 (CALL_MCOUNT): Add eh info, and nop after bl.
8582 (TAIL_CALL_SYSCALL_ERROR): New macro.
8583 (PSEUDO_RET): Use it.
8584 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8585 Correct save location of integer regs and cr.
8586 (_dl_profile_resolve): Correct cr save location. Delete nops
8587 after bl when SHARED. Reduce cfi size a little by better
8588 placement of cfi directives.
8589 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8590 make a stack frame. Instead use parm save area as a temp.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8592 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8594 Don't make a stack frame for parent, use parm save area.
8595 Increase child stack frame to 112 bytes. Don't save unused reg,
8596 and adjust reg usage. Set up cfi on error recovery and
8597 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8599 (__makecontext): Add dummy nop after jump to exit.
8600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8601 Use correct parm save area and cr save, reduce stack frame.
8602 Correct cfi for possible PSEUDO_RET frame setup.
8603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8604 Branch to local label emitted by PSEUDO_RET rather than
8607 2010-08-12 Andreas Schwab <schwab@redhat.com>
8610 * locale/programs/locale.c (print_assignment): New function.
8611 (show_locale_vars): Use it.
8613 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8615 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8617 (struct statfs64): Likewise.
8618 (_STATFS_F_FLAGS): Define.
8619 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8620 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8621 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8622 (ST_VALID): Define locally.
8623 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8624 __statvfs_getflags, use the provided value.
8625 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8626 __ASSUME_STATFS_F_FLAGS.
8628 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8630 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8632 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8633 fanotify_mask for GLIBC_2.13.
8634 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8635 fanotify_init and fanotify_mark.
8636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8637 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8639 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8641 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8642 prlimit64 for GLIBC_2.13.
8643 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8645 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8648 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8649 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8650 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8653 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8656 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8657 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8659 * nss/Makefile: Add rules to build and run tst-nss-test1.
8660 * shlib-versions: Add entry for libnss_test1.
8661 * nss/nss_test1.c: New file.
8662 * nss/tst-nss-test1.c: New file.
8664 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8665 (__nss_configure_lookup): Set appropriate entry in
8666 __nss_configure_lookup to true.
8667 * nss/nsswitch.h: Define enum with indeces of databases in
8668 databases and __nss_database_custom arrays. Declare
8669 __nss_database_custom.
8670 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8671 to avoid using nscd when custom rules are installed.
8672 * nss/getXXbyYY_r.c: Likewise.
8673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8675 * nss/nss_files/files-parse.c: Whitespace fixes.
8677 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8680 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8681 * posix/fnmatch_loop.c: Likewise.
8683 2010-07-17 Andi Kleen <ak@linux.intel.com>
8685 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8686 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8687 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8688 * Versions.def [GLIBC_2.13]: Add.
8690 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8692 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8693 Also fail if tpwd after pwuid call is NULL.
8695 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8697 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8698 when converting to ms.
8700 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8702 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8703 EOPNOTSUPP errors with ENOTTY.
8704 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8705 EOPNOTSUPP errors with ENOTTY.
8707 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8709 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8710 Add strcasecmp_l-ssse3.
8711 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8713 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8714 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8715 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8717 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8719 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8721 * string/Makefile (strop-tests): Add strcasecmp.
8722 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8723 strcasecmp_l-nonascii.
8724 (gen-as-const-headers): Add locale-defines.sym.
8725 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8726 * sysdeps/x86_64/strcasecmp.S: New file.
8727 * sysdeps/x86_64/strcasecmp_l.S: New file.
8728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8729 * sysdeps/x86_64/locale-defines.sym: New file.
8730 * string/test-strcasecmp.c: New file.
8732 * string/test-strcasestr.c: Test both ends of the range of characters.
8733 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8735 2010-07-29 Roland McGrath <roland@redhat.com>
8738 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8740 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8742 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8745 2010-07-27 Andreas Schwab <schwab@redhat.com>
8747 * manual/memory.texi (Malloc Tunable Parameters): Document
8750 2010-07-26 Roland McGrath <roland@redhat.com>
8753 * configure.in (-fgnu89-inline check): Set and substitute
8754 gnu89_inline, not libc_cv_gnu89_inline.
8755 * configure: Regenerated.
8756 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8758 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8760 * string/test-strnlen.c: New file.
8761 * string/Makefile (strop-tests): Add strnlen.
8762 * string/tester.c (test_strnlen): Add a few more test cases.
8763 * string/tst-strlen.c: Better error reporting.
8765 * sysdeps/x86_64/strnlen.S: New file.
8767 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8769 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8770 lower-latency instructions.
8772 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8774 * string/test-strcasestr.c: New file.
8775 * string/test-strstr.c: New file.
8776 * string/Makefile (strop-tests): Add strstr and strcasestr.
8777 * string/str-two-way.h: Don't undefine MAX.
8778 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8780 2010-07-21 Andreas Schwab <schwab@redhat.com>
8782 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8783 strcasestr-nonascii.
8784 (CFLAGS-strcasestr-nonascii.c): Define.
8785 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8786 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8787 Remove unused attribute.
8789 2010-07-20 Roland McGrath <roland@redhat.com>
8791 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8792 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8793 ld.so.cache was broken. With it, there is no way to disable dsocaps
8794 like LD_HWCAP_MASK can disable hwcaps.
8796 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8798 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8800 2010-07-16 Ulrich Drepper <drepper@redhat.com>
8802 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8804 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8805 __strcasestr_sse42_nonascii.
8806 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8807 strcasestr-nonascii.c.
8808 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8810 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
8812 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8814 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8817 2010-07-09 Ulrich Drepper <drepper@redhat.com>
8819 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8822 2010-07-06 Andreas Schwab <schwab@redhat.com>
8825 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8828 2010-07-06 Ulrich Drepper <drepper@redhat.com>
8830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8831 _PC_PIPE_BUF using F_GETPIPE_SZ.
8833 2010-07-05 Roland McGrath <roland@redhat.com>
8835 * manual/arith.texi (Rounding Functions): Fix rint description
8836 implicit in round description.
8838 2010-07-02 Ulrich Drepper <drepper@redhat.com>
8840 * elf/Makefile: Fix linking for a few tests to make recent linker
8843 2010-06-30 Andreas Schwab <schwab@redhat.com>
8845 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8846 $(common-objpfx)libc_nonshared.a.
8848 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
8850 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8851 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8852 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8853 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8854 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8855 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8856 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8857 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8872 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8873 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8874 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8875 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8876 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8877 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8878 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8879 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8880 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8881 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8882 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8883 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8899 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8901 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8902 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8903 * string/memmove.c (memmove): Renamed to ...
8904 (MEMMOVE): ...this. Default to memmove.
8905 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8906 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8909 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8910 mempcpy-ssse3-back memmove-ssse3-back.
8911 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8912 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8913 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8914 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8915 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8916 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8917 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8918 * sysdeps/x86_64/multiarch/memmove.c: New file.
8919 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8920 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8921 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8922 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8923 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8926 (index_Fast_Copy_Backward): Define.
8927 (HAS_ARCH_FEATURE): Define.
8928 (HAS_FAST_REP_STRING): Define.
8929 (HAS_FAST_COPY_BACKWARD): Define.
8931 2010-06-21 Andreas Schwab <schwab@redhat.com>
8933 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8934 Restore proper fallback handling.
8936 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8939 * posix/group_member.c (__group_member): Correct checking loop.
8941 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8942 OOM in getpwuid_r correctly. Return error number when the caller
8943 should return, otherwise -1.
8944 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8945 call returning > 0 value.
8946 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8948 2010-06-07 Andreas Schwab <schwab@redhat.com>
8950 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8951 libc_nonshared.a from targets in modules-names.
8953 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8955 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8958 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
8960 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8961 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8962 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8963 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8965 2010-06-02 Andreas Schwab <schwab@redhat.com>
8967 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8969 2010-06-14 Ulrich Drepper <drepper@redhat.com>
8971 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8978 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8980 2010-06-14 Roland McGrath <roland@redhat.com>
8982 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8984 2010-06-07 Jakub Jelinek <jakub@redhat.com>
8986 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8987 __REDIRECT followed by __THROW.
8988 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8989 * posix/getopt.h (getopt): Likewise.
8991 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8993 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8994 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8995 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8997 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8998 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
9000 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
9002 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
9004 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
9007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9008 Properly check family and model.
9010 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
9012 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
9014 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
9016 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
9018 2010-05-21 Ulrich Drepper <drepper@redhat.com>
9020 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
9023 2010-05-19 Andreas Schwab <schwab@redhat.com>
9025 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
9028 2010-05-21 Andreas Schwab <schwab@redhat.com>
9030 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
9031 and internal_recvmmsg.
9032 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
9033 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
9034 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
9035 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
9037 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
9038 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9039 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9041 2010-05-20 Andreas Schwab <schwab@redhat.com>
9043 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
9045 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
9047 POWER7 optimizations.
9048 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
9049 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
9051 2010-05-19 Ulrich Drepper <drepper@redhat.com>
9053 * version.h: Update for 2.13 development version.
9055 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
9057 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
9058 exceptions. Return 0.
9060 2010-05-07 Roland McGrath <roland@redhat.com>
9062 * elf/ldconfig.c (main): Add a const.
9064 2010-05-06 Ulrich Drepper <drepper@redhat.com>
9066 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
9067 (args_options): Add no-idn option.
9068 (ahosts_keys_int): Add idn_flags to ai_flags.
9069 (parse_option): Handle 'i' option to clear idn_flags.
9071 * malloc/malloc.c (_int_free): Possible race in the most recently
9072 added check. Only act on the data if no current modification
9075 See ChangeLog.17 for earlier changes.