1 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3 * conform/Makefile (tests): Run only when not cross-compiling and
4 when fast-check is not defined.
6 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7 * conform/data/limits.h-data: Fixes for POSIX2008.
8 * conform/run-conformtest.sh: Run all tests.
9 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
11 * include/bits/dlfcn.h: Likewise.
12 * include/langinfo.h: Likewise.
13 * include/monetary.h: Likewise.
14 * include/sys/poll.h: Likewise.
16 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18 * posix/spawn.h: Define __need_sigset_t.
19 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
21 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
22 to get sigevent_t only.
23 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27 process_vm_writev only for __USE_GNU.
28 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30 * conform/Makefile: For now ignore errors from run-conformtest.
31 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
32 POSIX to avoid namespace pollution. Don't prepend headers.
33 * conform/data/aio.h-data: Fixes for POSIX testing.
34 * conform/data/fcntl.h-data: Likewise.
35 * conform/data/glob.h-data: Likewise.
36 * conform/data/grp.h-data: Likewise.
37 * conform/data/pthread.h-data: Likewise.
38 * conform/data/pwd.h-data: Likewise.
39 * conform/data/signal.h-data: Likewise.
40 * conform/data/spawn.h-data: Likewise.
41 * conform/data/stdio.h-data: Likewise.
42 * conform/data/stdlib.h-data: Likewise.
43 * conform/data/stropts.h-data: Likewise.
44 * conform/data/sys/mman.h-data: Likewise.
45 * conform/data/sys/stat.h-data: Likewise.
46 * conform/data/sys/types.h-data: Likewise.
47 * conform/data/sys/wait.h-data: Likewise.
48 * conform/data/time.h-data: Likewise.
49 * conform/data/unistd.h-data: Likewise.
50 * conform/data/utime.h-data: Likewise.
52 * io/sys/stat.h: fchmod was always in POSIX.
53 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55 * rt/aio.h: Define __need_timespec before including <time.h>.
56 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
57 struct. Add forward declaration of pthread_attr_t and use it in
59 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
60 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62 always remove CLK_TCK definition.
64 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
66 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
68 2012-02-25 Ulrich Drepper <drepper@gmail.com>
70 * conform/run-conformtest.sh: New file.
71 * conform/Makefile: Run run-conformtest for tests.
72 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
75 * conform/data/uchar.h-data: New file.
76 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77 * conform/data/arpa/inet.h-data: Likewise.
78 * conform/data/assert.h-data: Likewise.
79 * conform/data/complex.h-data: Likewise.
80 * conform/data/cpio.h-data: Likewise.
81 * conform/data/ctype.h-data: Likewise.
82 * conform/data/dirent.h-data: Likewise.
83 * conform/data/dlfcn.h-data: Likewise.
84 * conform/data/errno.h-data: Likewise.
85 * conform/data/fcntl.h-data: Likewise.
86 * conform/data/float.h-data: Likewise.
87 * conform/data/fmtmsg.h-data: Likewise.
88 * conform/data/fnmatch.h-data: Likewise.
89 * conform/data/ftw.h-data: Likewise.
90 * conform/data/glob.h-data: Likewise.
91 * conform/data/grp.h-data: Likewise.
92 * conform/data/iconv.h-data: Likewise.
93 * conform/data/inttypes.h-data: Likewise.
94 * conform/data/langinfo.h-data: Likewise.
95 * conform/data/libgen.h-data: Likewise.
96 * conform/data/limits.h-data: Likewise.
97 * conform/data/locale.h-data: Likewise.
98 * conform/data/math.h-data: Likewise.
99 * conform/data/monetary.h-data: Likewise.
100 * conform/data/mqueue.h-data: Likewise.
101 * conform/data/ndbm.h-data: Likewise.
102 * conform/data/net/if.h-data: Likewise.
103 * conform/data/netdb.h-data: Likewise.
104 * conform/data/netinet/in.h-data: Likewise.
105 * conform/data/nl_types.h-data: Likewise.
106 * conform/data/poll.h-data: Likewise.
107 * conform/data/pthread.h-data: Likewise.
108 * conform/data/pwd.h-data: Likewise.
109 * conform/data/regex.h-data: Likewise.
110 * conform/data/sched.h-data: Likewise.
111 * conform/data/search.h-data: Likewise.
112 * conform/data/semaphore.h-data: Likewise.
113 * conform/data/setjmp.h-data: Likewise.
114 * conform/data/signal.h-data: Likewise.
115 * conform/data/spawn.h-data: Likewise.
116 * conform/data/stdarg.h-data: Likewise.
117 * conform/data/stdio.h-data: Likewise.
118 * conform/data/stdlib.h-data: Likewise.
119 * conform/data/string.h-data: Likewise.
120 * conform/data/strings.h-data: Likewise.
121 * conform/data/stropts.h-data: Likewise.
122 * conform/data/sys/ipc.h-data: Likewise.
123 * conform/data/sys/mman.h-data: Likewise.
124 * conform/data/sys/msg.h-data: Likewise.
125 * conform/data/sys/resource.h-data: Likewise.
126 * conform/data/sys/select.h-data: Likewise.
127 * conform/data/sys/sem.h-data: Likewise.
128 * conform/data/sys/shm.h-data: Likewise.
129 * conform/data/sys/socket.h-data: Likewise.
130 * conform/data/sys/stat.h-data: Likewise.
131 * conform/data/sys/statvfs.h-data: Likewise.
132 * conform/data/sys/time.h-data: Likewise.
133 * conform/data/sys/timeb.h-data: Likewise.
134 * conform/data/sys/times.h-data: Likewise.
135 * conform/data/sys/types.h-data: Likewise.
136 * conform/data/sys/uio.h-data: Likewise.
137 * conform/data/sys/un.h-data: Likewise.
138 * conform/data/sys/utsname.h-data: Likewise.
139 * conform/data/sys/wait.h-data: Likewise.
140 * conform/data/syslog.h-data: Likewise.
141 * conform/data/tar.h-data: Likewise.
142 * conform/data/termios.h-data: Likewise.
143 * conform/data/utime.h-data: Likewise.
144 * conform/data/utmpx.h-data: Likewise.
145 * conform/data/varargs.h-data: Likewise.
146 * conform/data/wchar.h-data: Likewise.
147 * conform/data/wctype.h-data: Likewise.
148 * conform/data/wordexp.h-data: Likewise.
150 * include/stropts.h: New file.
151 * include/uchar.h: New file.
152 * include/aio.h: Changes to allow conformtest.pl to use the headers.
153 * include/assert.h: Likewise.
154 * include/ctype.h: Likewise.
155 * include/dirent.h: Likewise.
156 * include/dlfcn.h: Likewise.
157 * include/fcntl.h: Likewise.
158 * include/fnmatch.h: Likewise.
159 * include/glob.h: Likewise.
160 * include/grp.h: Likewise.
161 * include/libio.h: Likewise.
162 * include/locale.h: Likewise.
163 * include/math.h: Likewise.
164 * include/net/if.h: Likewise.
165 * include/netdb.h: Likewise.
166 * include/netinet/in.h: Likewise.
167 * include/pthread.h: Likewise.
168 * include/pwd.h: Likewise.
169 * include/regex.h: Likewise.
170 * include/sched.h: Likewise.
171 * include/search.h: Likewise.
172 * include/setjmp.h: Likewise.
173 * include/signal.h: Likewise.
174 * include/stdio.h: Likewise.
175 * include/stdlib.h: Likewise.
176 * include/string.h: Likewise.
177 * include/sys/cdefs.h: Likewise.
178 * include/sys/mman.h: Likewise.
179 * include/sys/msg.h: Likewise.
180 * include/sys/resource.h: Likewise.
181 * include/sys/select.h: Likewise.
182 * include/sys/socket.h: Likewise.
183 * include/sys/stat.h: Likewise.
184 * include/sys/statvfs.h: Likewise.
185 * include/sys/time.h: Likewise.
186 * include/sys/times.h: Likewise.
187 * include/sys/uio.h: Likewise.
188 * include/sys/utsname.h: Likewise.
189 * include/sys/wait.h: Likewise.
190 * include/termios.h: Likewise.
191 * include/time.h: Likewise.
192 * include/ulimit.h: Likewise.
193 * include/unistd.h: Likewise.
194 * include/utime.h: Likewise.
195 * include/wchar.h: Likewise.
196 * include/wctype.h: Likewise.
197 * include/wordexp.h: Likewise.
199 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
201 * time/time.h: TIME_UTC must be a macro.
202 Make timespec_get available for ISO C11 only as well.
204 2012-02-24 Ulrich Drepper <drepper@gmail.com>
206 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
207 Reported by Peng Haitao <penght@cn.fujitsu.com>.
209 2012-02-24 Joseph Myers <joseph@codesourcery.com>
211 * configure.in: Use -o not -a in test for unsupported multi-arch.
213 2012-02-24 Joseph Myers <joseph@codesourcery.com>
215 * manual/texinfo.tex: Update to version 2012-01-19.16.
217 2012-02-24 Joseph Myers <joseph@codesourcery.com>
219 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
221 2012-02-24 Roland McGrath <roland@hack.frob.com>
224 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
225 * manual/fdl-1.3.texi: New file.
226 * manual/fdl-1.1.texi: File removed.
229 * manual/libc.texinfo (FDL_VERSION): New @set.
230 Use it for mention of FDL in cover text.
231 (Documentation License): Use it in @include file name.
233 2012-02-22 Joseph Myers <joseph@codesourcery.com>
234 Roland McGrath <roland@hack.frob.com>
237 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
238 not LONG_LONG_MAX and LONG_LONG_MIN.
239 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
240 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
242 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
244 2012-02-22 Joseph Myers <joseph@codesourcery.com>
248 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
249 manipulate bits before adding and subtracting TWO23[sx].
250 * math/libm-test.inc (nearbyint_test): Add more tests.
252 2012-02-22 Joseph Myers <joseph@codesourcery.com>
255 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
256 bits before adding and subtracting TWO23[sx].
257 * math/libm-test.inc (rint_test): Add more tests.
258 (rint_test_tonearest): Likewise.
259 (rint_test_towardzero): Likewise.
260 (rint_test_downward): Likewise.
261 (rint_test_upward: Likewise.
263 2012-02-22 Joseph Myers <joseph@codesourcery.com>
266 * include/stdc-predef.h: New file. Extracted from features.h.
267 * include/features.h: Include stdc-predef.h.
268 * Makefile (headers): Add stdc-predef.h.
269 * CONFORMANCE (Compiler limitations): Update.
271 2012-02-22 Joseph Myers <joseph@codesourcery.com>
273 * manual/libc.texinfo (VERSION, UPDATED): Revert.
275 2012-02-21 David S. Miller <davem@davemloft.net>
277 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
278 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
280 2012-02-20 David S. Miller <davem@davemloft.net>
282 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
283 using a normal save/restore sequence, rather than allocating a
284 dummy stack frame just to store a frame pointer and restore.
285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
287 2012-02-21 Joseph Myers <joseph@codesourcery.com>
289 * manual/install.texi: Fix stray word in line-wrapped comment.
291 2012-02-20 David S. Miller <davem@davemloft.net>
293 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
294 both binutils and gcc support GOTDATA.
296 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
297 "rd %pc" in the PIC register setup sequences.
299 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
300 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
301 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
302 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
303 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
308 (SYSCALL_ERROR_HANDLER): Likewise.
309 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
310 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
312 (SYSCALL_ERROR_HANDLER): Likewise.
314 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
315 (HAVE_GCC_GOTDATA): New.
316 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
317 relocation support in both binutils and gcc.
318 * sysdeps/sparc/elf/configure: Regenerate.
320 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
321 * sysdeps/sparc/sparc32/elf/configure: Delete.
322 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
323 * sysdeps/sparc/sparc64/elf/configure: Delete.
324 * sysdeps/sparc/elf/configure.in: New file.
325 * sysdeps/sparc/elf/configure: Generate.
327 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
328 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
330 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
331 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
333 2012-02-21 Joseph Myers <joseph@codesourcery.com>
335 * manual/install.texi: Do not mention specific glibc version
337 * manual/libc.texinfo (VERSION, UPDATED): Update.
338 (@copying): Use @copyright{} and range of years.
340 2012-02-21 Joseph Myers <joseph@codesourcery.com>
343 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
344 [crti.S not in sysdirs] (generated): Do not append.
345 [crti.S not in sysdirs] (omit-deps): Likewise.
346 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
347 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
348 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
349 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
350 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
352 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
353 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
354 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
355 * csu/defs.awk: Remove file.
356 * sysdeps/generic/initfini.c: Likewise.
357 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
359 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
362 2012-02-20 Joseph Myers <joseph@codesourcery.com>
364 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
365 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
366 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
367 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
369 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
371 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
372 (__EPOLL_PACKED): Define to empty if not defined by
374 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
378 2012-02-20 Joseph Myers <joseph@codesourcery.com>
380 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
381 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
382 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
383 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
385 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
389 2012-02-20 Joseph Myers <joseph@codesourcery.com>
391 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
398 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
403 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
405 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
406 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
408 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
410 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
413 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
415 * math/w_acos.c: Use non-signaling floating-point comparisons.
416 * math/w_acosf.c: Likewise.
417 * math/w_acosh.c: Likewise.
418 * math/w_acoshf.c: Likewise.
419 * math/w_acoshl.c: Likewise.
420 * math/w_acosl.c: Likewise.
421 * math/w_asin.c: Likewise.
422 * math/w_asinf.c: Likewise.
423 * math/w_asinl.c: Likewise.
424 * math/w_atanh.c: Likewise.
425 * math/w_atanhf.c: Likewise.
426 * math/w_atanhl.c: Likewise.
427 * math/w_exp2.c: Likewise.
428 * math/w_exp2f.c: Likewise.
429 * math/w_exp2l.c: Likewise.
430 * math/w_j0.c: Likewise.
431 * math/w_j0f.c: Likewise.
432 * math/w_j0l.c: Likewise.
433 * math/w_j1.c: Likewise.
434 * math/w_j1f.c: Likewise.
435 * math/w_j1l.c: Likewise.
436 * math/w_jn.c: Likewise.
437 * math/w_jnf.c: Likewise.
438 * math/w_log.c: Likewise.
439 * math/w_log10.c: Likewise.
440 * math/w_log10f.c: Likewise.
441 * math/w_log10l.c: Likewise.
442 * math/w_log2.c: Likewise.
443 * math/w_log2f.c: Likewise.
444 * math/w_log2l.c: Likewise.
445 * math/w_logf.c: Likewise.
446 * math/w_logl.c: Likewise.
447 * math/w_sqrt.c: Likewise.
448 * math/w_sqrtf.c: Likewise.
449 * math/w_sqrtl.c: Likewise.
450 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
451 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
453 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
454 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
456 2012-02-19 Joseph Myers <joseph@codesourcery.com>
459 * manual/string.texi (strnlen): Use correct parameter name in
460 equivalent expression.
462 2012-02-19 Joseph Myers <joseph@codesourcery.com>
465 * manual/users.texi (seteuid): Consistently use neweuid for
468 2012-02-19 Joseph Myers <joseph@codesourcery.com>
471 * manual/nss.texi (Services in the NSS configuration): Correct
472 list of services in example configuration file.
474 2012-02-19 Nick Bowler <nbowler@draconx.ca>
477 * manual/arith.texi: Remove statements about negative zero
478 behaving identically to zero.
480 2012-02-18 Joseph Myers <joseph@codesourcery.com>
483 * manual/install.texi: Do not document upgrading from libc5.
485 2012-02-18 Joseph Myers <joseph@codesourcery.com>
488 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
490 2012-02-18 David S. Miller <davem@davemloft.net>
492 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
493 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
495 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
500 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
501 * sysdeps/sparc/crtn.S: Likewise.
503 2012-02-17 Ulrich Drepper <drepper@gmail.com>
505 * aout/Makefile: Remove.
507 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
510 * manual/examples/argp-ex1.c (main): Format definition in GNU
512 * manual/examples/argp-ex2.c (main): Likewise.
513 * manual/examples/argp-ex3.c (main): Likewise.
514 * manual/examples/argp-ex4.c (main): Likewise.
515 * manual/examples/longopt.c (main): Use new-style prototype
517 * manual/examples/strncat.c (main): Specify return type and use
518 (void) for arguments.
519 * manual/examples/subopt.c (main): Use char **argv argument.
521 2012-02-17 Joseph Myers <joseph@codesourcery.com>
524 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
527 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
530 * manual/string.texi (strchr): Change when strchrnul is
533 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
536 * manual/locale.texi (setlocale): Document LOCPATH.
538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
541 * manual/process.texi (execle): Move @dots{} before last argument.
543 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
546 * manual/charset.texi (Generic Charset Conversion): Fix typo
547 (LC_TYPE -> LC_CTYPE).
549 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
552 * manual/arith.texi (scalbn): Use @var{} on parameter names.
556 (scalblnf): Likewise.
557 (scalblnl): Likewise.
558 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
562 * manual/filesys.texi (telldir): Use braces around return type.
563 * manual/llio.texi (mmap): Add space after comma.
565 * manual/math.texi (jn): Use @var{} on parameter names.
571 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
573 * manual/resource.texi (ulimit): Use @dots{} instead of literal
575 (sched_get_priority_min): Remove semicolon on @deftypefun line.
576 (sched_get_priority_max): Likewise.
577 * manual/signal.texi (sigvec): Add space after comma.
578 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
580 (if_indextoname): Likewise.
581 (if_freenameindex): Likewise.
582 (sendto): Use ',' instead of '.' in prototype.
583 * manual/startup.texi (syscall): Use @dots{} instead of literal
585 * manual/stdio.texi (__fpending): Separate initial words of
586 paragraph from @deftypefun line.
587 * manual/syslog.texi (syslog): Use @dots{} instead of literal
589 (vsyslog): Use @var{} on parameter names.
590 * manual/terminal.texi (stty): Use @var{} on parameter names.
591 * manual/users.texi (getutmp): Use @var{} on parameter names.
592 (getutmpx): Likewise.
594 2012-02-17 Joseph Myers <joseph@codesourcery.com>
597 * manual/stdio.texi (fopen): Fix typos in description of
600 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
603 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
604 get clock_id definition.
606 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
609 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
610 (madvise): Cast every argument to void on its own.
612 2012-02-17 Joseph Myers <joseph@codesourcery.com>
615 * manual/startup.texi (Exit Status): Fix typo.
617 2012-02-17 Joseph Myers <joseph@codesourcery.com>
620 * manual/examples/argp-ex1.c: Include <stdlib.h>.
621 * manual/examples/argp-ex2.c: Likewise.
622 * manual/examples/argp-ex3.c: Likewise.
624 2012-02-16 Richard Henderson <rth@redhat.com>
626 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
627 * sysdeps/s390/s390-32/initfini.c: Remove.
628 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
629 * sysdeps/s390/s390-64/initfini.c: Remove.
631 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
633 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
634 compiler output for sysdeps/generic/initfini.c.
635 * sysdeps/sh/elf/initfini.c: Remove file.
637 2012-02-16 David S. Miller <davem@davemloft.net>
640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
642 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
643 * sysdeps/sparc/crti.S: New file.
644 * sysdeps/sparc/crtn.S: New file.
645 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
646 * sysdeps/sparc/sparc64/Makefile: Likewise.
648 2012-02-15 Mike Frysinger <vapier@gentoo.org>
651 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
653 2012-02-15 Roland McGrath <roland@hack.frob.com>
656 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
658 * mach/devstream.c (cookie_io_functions_t): Macro removed.
659 (write, read, close): Likewise.
660 Patch by Aurelien Jarno <aurelien@aurel32.net>.
662 2012-02-15 Joseph Myers <joseph@codesourcery.com>
664 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
665 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
666 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
667 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
669 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
673 2012-02-14 Marek Polacek <polacek@redhat.com>
675 * sysdeps/x86_64/crti.S: New file.
676 * sysdeps/x86_64/crtn.S: New file.
677 * sysdeps/x86_64/elf/initfini.c: Remove file.
679 2012-02-13 Joseph Myers <joseph@codesourcery.com>
681 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
682 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
683 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
684 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
686 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
690 2012-02-13 Joseph Myers <joseph@codesourcery.com>
692 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
693 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
694 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
695 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
697 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
701 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
703 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
704 __feraiseexcept instead of feraiseexcept.
706 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
707 nanosleep invocations.
708 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
709 strings, and add error checking for a nanosleep invocations.
711 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
713 Replace FSF snail mail address with URLs, as per GNU coding standards.
714 Most of the snail mail addresses were wrong anyway, and omitting
715 them makes the source code easier to maintain. Almost all of the
716 changes are to license notices and to locale LC_IDENTIFICATION
717 addresses, except for this one:
718 * manual/libc.texinfo: In "Published by", give the FSF's URL,
719 not its snail mail address.
721 2012-02-09 Richard Henderson <rth@twiddle.net>
723 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
724 of kernel-features.h.
726 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
728 2012-02-08 Marek Polacek <polacek@redhat.com>
730 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
731 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
732 * sysdeps/gnu/_G_config.h: Likewise.
733 * sysdeps/generic/_G_config.h: Likewise.
735 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
737 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
741 * sysdeps/powerpc/powerpc32/crti.S: New file.
742 * sysdeps/powerpc/powerpc32/crtn.S: New file.
743 * sysdeps/powerpc/powerpc64/crti.S: New file.
744 * sysdeps/powerpc/powerpc64/crtn.S: New file.
746 * Makeconfig (have-initfini): Don't set.
747 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
748 * configure.in (nopic_initfini): Don't substitute.
749 * config.h.in (HAVE_INITFINI): Don't #undef.
750 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
751 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
753 2012-02-08 Joseph Myers <joseph@codesourcery.com>
755 Support crti.S and crtn.S provided directly by architectures.
756 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
757 [crti.S in sysdirs] (omit-deps): Likewise.
758 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
759 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
760 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
761 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
762 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
763 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
764 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
765 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
766 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
767 compiler output for sysdeps/generic/initfini.c.
768 * sysdeps/i386/elf/Makefile: Remove file.
769 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
771 2012-02-07 Marek Polacek <polacek@redhat.com>
773 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
774 * sysdeps/gnu/_G_config.h: Likewise.
775 * sysdeps/mach/hurd/_G_config.h: Likewise.
777 2012-02-07 Marek Polacek <polacek@redhat.com>
779 * math/Makefile (tests): Add tst-CMPLX2.
780 * math/tst-CMPLX2.c: New file.
782 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
786 * math/libm-test.inc (jn_test): Add missing L suffix.
788 2012-02-06 Marek Polacek <polacek@redhat.com>
790 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
791 * sysdeps/i386/fpu/e_powf.S: Likewise.
792 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
793 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
794 * sysdeps/i386/fpu/e_acosh.S: Likewise.
795 * sysdeps/i386/fpu/e_pow.S: Likewise.
796 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
797 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
798 * sysdeps/i386/fpu/s_expm1.S: Likewise.
799 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
800 * sysdeps/i386/fpu/e_log2.S: Likewise.
801 * sysdeps/i386/fpu/e_log2l.S: Likewise.
802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
803 * sysdeps/i386/fpu/e_powl.S: Likewise.
804 * sysdeps/i386/fpu/s_log1p.S: Likewise.
805 * sysdeps/i386/fpu/e_log10f.S: Likewise.
806 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
807 * sysdeps/i386/fpu/e_logl.S: Likewise.
808 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
809 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
810 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
811 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
812 * sysdeps/i386/fpu/e_log2f.S: Likewise.
813 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
814 * sysdeps/i386/fpu/e_log.S: Likewise.
815 * sysdeps/i386/fpu/s_cexp.S: Likewise.
816 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
817 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
818 * sysdeps/i386/fpu/e_logf.S: Likewise.
819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
821 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
822 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
824 * sysdeps/i386/fpu/e_log10.S: Likewise.
825 * sysdeps/i386/fpu/s_frexp.S: Likewise.
826 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
827 * sysdeps/i386/fpu/s_asinh.S: Likewise.
828 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
829 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
830 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
831 * sysdeps/i386/asm-syntax.h: Likewise.
832 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
834 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
835 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
836 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
838 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
839 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
841 * sysdeps/powerpc/sysdep.h: Likewise.
842 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
845 2012-02-06 Joseph Myers <joseph@codesourcery.com>
848 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
850 2012-02-06 Joseph Myers <joseph@codesourcery.com>
852 * sysdeps/i386/sysdep.h: Include <features.h>.
853 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
856 2012-02-05 Joseph Myers <joseph@codesourcery.com>
858 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
860 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
863 2012-02-03 Joseph Myers <joseph@codesourcery.com>
865 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
866 (SETUP_PIC_REG): Use GET_PC_THUNK.
867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
870 2012-02-03 Joseph Myers <joseph@codesourcery.com>
872 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
873 for non-PIC compilation.
874 (SETUP_PIC_REG): Add .p2align directive.
875 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
876 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
877 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
878 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
879 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
881 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
882 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
883 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
884 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
885 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
886 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
887 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
888 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
889 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
890 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
891 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
892 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
893 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
894 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
895 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
897 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
898 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
901 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
903 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
904 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
905 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
908 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
909 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
910 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
911 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
912 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
913 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
914 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
915 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
917 2012-02-03 Joseph Myers <joseph@codesourcery.com>
919 * math/tst-CMPLX.c: Include <stdio.h>.
921 2012-01-31 Joseph Myers <joseph@codesourcery.com>
923 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
925 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
926 * sysdeps/sparc/bits/mathdef.h: Likewise.
928 2012-01-31 Marek Polacek <polacek@redhat.com>
930 * libio/libio.h: Don't define _PARAMS.
931 * locale/programs/config.h: Don't define PARAMS.
932 * stdlib/strtol_l.c: Likewise.
933 (__strtol_l): Remove PARAMS from the prototype.
935 2012-01-31 Ulrich Drepper <drepper@gmail.com>
937 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
938 names. Just use the correct names. Remove unnecessary wrapper
940 * malloc/arena.c: Likewise.
941 * malloc/hooks.c: Likewise.
943 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
944 ARENA_TEST says not to. Simplify test for creation of a new arena.
945 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
947 2012-01-30 Ulrich Drepper <drepper@gmail.com>
949 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
951 (update_get_addr): New function.
952 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
953 GET_ADDR_MODULE parameter.
955 2012-01-30 Joseph Myers <joseph@codesourcery.com>
957 * crypt/cert.c: Remove __STDC__ conditionals.
958 * crypt/crypt-entry.c: Likewise.
959 * crypt/crypt_util.c: Likewise.
960 * libio/filedoalloc.c: Likewise.
961 * libio/fileops.c: Likewise.
962 * libio/genops.c: Likewise.
963 * libio/iofclose.c: Likewise.
964 * libio/iofdopen.c: Likewise.
965 * libio/iofopen.c: Likewise.
966 * libio/iofopen64.c: Likewise.
967 * libio/iogetdelim.c: Likewise.
968 * libio/iopopen.c: Likewise.
969 * libio/obprintf.c: Likewise.
970 * libio/oldfileops.c: Likewise.
971 * libio/oldiofclose.c: Likewise.
972 * libio/oldiofdopen.c: Likewise.
973 * libio/oldiofopen.c: Likewise.
974 * libio/oldiopopen.c: Likewise.
975 * libio/wfiledoalloc.c: Likewise.
976 * libio/wgenops.c: Likewise.
977 * locale/programs/xmalloc.c: Likewise.
978 * misc/syslog.c: Likewise.
979 * stdio-common/xbug.c: Likewise.
980 * string/memchr.c: Likewise.
981 * string/memcmp.c: Likewise.
982 * string/memrchr.c: Likewise.
983 * string/rawmemchr.c: Likewise.
984 * sysdeps/posix/getcwd.c: Likewise.
985 * time/strftime_l.c: Likewise.
987 2012-01-30 Joseph Myers <joseph@codesourcery.com>
989 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
990 * config.make.in (config-cflags-sse2avx): Define.
991 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
994 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
996 * scripts/config.guess: Update from upstream config git repository.
997 * scripts/config.sub: Likewise.
999 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1001 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1003 (R_TILEPRO_*, R_TILEGX_*): New macros.
1005 * scripts/firstversions.awk: Fix bug in version range handling.
1007 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1009 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1011 * include/sys/epoll.h: New file.
1012 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1015 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1017 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1018 Avoid unnecessary __WORDSIZE == 64 test.
1019 (fmaxf): Use VEX format if possible.
1024 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1025 * math/math_private.h: Remove libc_fegetround* and
1027 * sysdeps/i386/configure.in: Check for -msse2avx.
1028 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1029 also if SSE2AVX is defined.
1030 Remove libc_fegetround* and libc_fesetround*.
1031 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1032 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1041 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1043 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1049 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1052 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1054 * Makeconfig (libm): Define.
1055 * elf/Makefile: Add rules to build and run tst-relsort1.
1056 * elf/tst-relsort1.c: New file.
1057 * elf/tst-relsort1mod1.c: New file.
1058 * elf/tst-relsort1mod2.c: New file.
1060 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1062 * math/s_ldexp.c: Remove __STDC__ conditionals.
1063 * math/s_ldexpf.c: Likewise.
1064 * math/s_ldexpl.c: Likewise.
1065 * math/s_nextafter.c: Likewise.
1066 * math/s_nexttowardf.c: Likewise.
1067 * math/s_significand.c: Likewise.
1068 * math/s_significandf.c: Likewise.
1069 * math/s_significandl.c: Likewise.
1070 * math/w_jnl.c: Likewise.
1071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1077 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1078 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1079 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1080 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1081 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1083 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1084 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1085 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1088 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1092 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1093 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1095 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1096 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1098 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1099 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1100 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1101 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1102 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1103 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1105 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1108 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1109 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1110 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1111 * sysdeps/ieee754/k_standard.c: Likewise.
1112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1113 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1114 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1115 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1116 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1117 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1118 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1119 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1120 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1121 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1122 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1125 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1126 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1131 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1133 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1137 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1141 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1142 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1143 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1144 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1145 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1147 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1148 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1151 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1152 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1154 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1155 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1157 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1159 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1161 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1162 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1165 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1166 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1167 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1173 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1174 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1175 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1176 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1177 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1178 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1179 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1180 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1181 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1182 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1183 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1184 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1188 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1189 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1191 * sysdeps/ieee754/s_matherr.c: Likewise.
1192 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1193 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1197 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1199 * crypt/md5.h: Remove __STDC__ conditionals.
1200 * libio/libioP.h: Likewise.
1201 * locale/programs/config.h: Likewise.
1202 * sysdeps/generic/sysdep.h: Likewise.
1203 * sysdeps/i386/asm-syntax.h: Likewise.
1204 * sysdeps/s390/asm-syntax.h: Likewise.
1205 * sysdeps/unix/sysdep.h: Likewise.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1209 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1211 * libio/libio.h: Remove __STDC__ conditionals.
1212 * malloc/obstack.h: Likewise.
1213 * math/complex.h: Likewise.
1214 * math/math.h: Likewise.
1215 * sysdeps/generic/_G_config.h: Likewise.
1216 * sysdeps/gnu/_G_config.h: Likewise.
1217 * sysdeps/mach/hurd/_G_config.h: Likewise.
1218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1219 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1220 * sysdeps/sparc/bits/mathdef.h: Likewise.
1222 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1225 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1226 Clean up HAS_* macros.
1227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1228 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1230 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1232 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1233 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1234 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1235 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1236 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1238 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1240 * elf/tst-unique3.cc (gets): Remove declaration.
1241 * elf/tst-unique3lib.cc (gets): Likewise.
1242 * elf/tst-unique3lib2.cc (gets): Likewise.
1243 * elf/tst-unique4.cc (gets): Likewise.
1245 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1247 * include/stdio.h: Add C++ protection. Add gets declarations and
1249 * debug/tst-chk1.c: Don't declare gets here.
1250 * stdio-common/tst-gets.c: Likewise.
1252 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1254 * posix/glob: Remove directory.
1256 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1258 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1260 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1262 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1263 of the non-standard EPFNOSUPPORT.
1265 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1267 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1268 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1269 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1271 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1273 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1275 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1277 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1279 * nscd/grpcache.c (cache_addgr): Likewise.
1280 * nscd/hstcache.c (cache_addhst): Likewise.
1281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1282 * nscd/pwdcache.c (cache_addpw): Likewise.
1283 * nscd/servicescache.c (cache_addserv): Likewise.
1285 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1287 * malloc/malloc.c: Various cleanups.
1288 * malloc/hooks.c: Likewise.
1290 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1291 * stdlib/bug-fmtmsg1.c: New file.
1293 * stdlib/fmtmsg.c (init): Add missing unlock.
1294 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1296 2012-01-12 Marek Polacek <polacek@redhat.com>
1298 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1301 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1303 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1304 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1305 macro to ensure uniqueness of label name.
1306 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1307 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1309 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1313 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1318 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1320 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1322 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1323 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1324 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1326 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
1329 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
1333 * math/bits/math-finite.h: Add ldexp support.
1335 2012-01-10 Marek Polacek <polacek@redhat.com>
1337 * locale/programs/localedef.h (show_archive_content): Add noreturn
1340 2012-01-09 Ulrich Drepper <drepper@gmail.com>
1342 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1344 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1346 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1348 * io/Makefile (headers): Add bits/poll2.h.
1350 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1353 typo #include statement.
1355 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1357 * include/sys/cdefs.h: Define __attribute_alloc_size.
1358 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1359 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1360 * elf/pldd.c: Likewise.
1361 * iconv/iconv_charmap.c: Likewise.
1362 * iconv/iconvconfig.c: Likewise.
1363 * iconv/strtab.c: Likewise.
1364 * locale/programs/locale.c: Likewise.
1365 * locale/programs/localedef.h: Likewise.
1366 * locale/programs/simple-hash.c: Likewise.
1367 * nscd/nscd.h: Likewise.
1368 * nss/makedb.c: Likewise.
1369 * sysdeps/generic/ldconfig.h: Likewise.
1370 * locale/programs/localedef.c: Remove xmalloc prototype.
1371 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1373 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1375 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1378 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1380 * math/Makefile (tests): Add tst-CMPLX.
1381 * math/tst-CMPLX.c: New file.
1383 * math/complex.h (CMPLXL): Fix typo.
1385 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1386 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1388 * debug/tst-chk1.c: Add poll and ppoll tests.
1389 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1390 * include/sys/poll.h: Add hidden proto for ppoll.
1391 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1392 * sysdeps/mach/hurd/ppoll.c: Likewise.
1393 * io/ppoll.c: Likewise.
1394 * debug/poll_chk.c: New file.
1395 * debug/ppoll_chk.c: New file.
1396 * include/bits/poll2.h: New file.
1397 * io/bits/poll2.h: New file.
1400 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1402 * configure.in: static is always set to yes. Remove.
1403 * config.make.in: Don't set build-static.
1404 * Makeconfig: Remove use of build-static.
1405 * dlfcn/Makefile: Likewise.
1406 * elf/Makefile: Likewise.
1407 * math/Makefile: Likewise.
1408 * misc/Makefile: Likewise.
1409 * nptl/Makefile: Likewise.
1410 * sysdeps/mach/hurd/Makefile: Likewise.
1412 * configure.in: PWD_P is not used anymore.
1413 * config.make.in: Remove PWD_P entry.
1415 * configure.in: Remove last remnants of RANLIB.
1416 No need to check for signed size_t anymore.
1417 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1419 Remove __builtin_expect test because we require at least gcc 3.4.
1420 * aclocal.m4: Likewise.
1422 * wcsmbs/mbrtoc16.c: Implement using towc function.
1423 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1424 * wcsmbs/wcsmbsload.c: Likewise.
1425 * iconv/gconv_simple.c: Likewise.
1426 * iconv/gconv_int.h: Likewise.
1427 * iconv/gconv_builtin.h: Likewise.
1428 * iconv/iconv_prog.c: Remove CHAR16 handling.
1430 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1432 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1434 * configure.in: Remove --with-elf and --enable-bounded options.
1435 Dont set base_machine for ia64. More non-ELF conditions removed.
1436 Remove testing and setting of leading underscore information.
1437 * config.make.in (build-bounded): Set to no.
1438 * config.h.in: Remove NO_UNDERSCORES entry.
1439 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1441 * csu/start.c: Remove !NO_UNDERSCORE code.
1442 * locale/localeinfo.h: Likewise.
1443 * sysdeps/generic/machine-gmon.h: Likewise.
1444 * sysdeps/generic/sysdep.h: Likewise.
1445 * sysdeps/i386/sysdep.h: Likewise.
1446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1447 * sysdeps/mach/sysdep.h: Likewise.
1448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1450 * sysdeps/sh/sysdep.h: Likewise.
1451 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1452 * sysdeps/unix/i386/sysdep.S: Likewise.
1453 * sysdeps/unix/sparc/start.c: Likewise.
1454 * sysdeps/unix/sparc/sysdep.S: Likewise.
1455 * sysdeps/unix/sparc/sysdep.h: Likewise.
1456 * sysdeps/unix/start.c: Likewise.
1457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1458 * sysdeps/x86_64/sysdep.h: Likewise.
1460 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1463 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1465 * argp/argp-fmtstream.h: Use const instead __const.
1466 * argp/argp.h: Likewise.
1467 * assert/assert.h: Likewise.
1468 * bits/fenv.h: Likewise.
1469 * bits/sched.h: Likewise.
1470 * bits/sigset.h: Likewise.
1471 * bits/sigthread.h: Likewise.
1472 * catgets/nl_types.h: Likewise.
1473 * conform/data/pthread.h-data: Likewise.
1474 * crypt/crypt-private.h: Likewise.
1475 * crypt/crypt.h: Likewise.
1476 * crypt/crypt_util.c: Likewise.
1477 * ctype/ctype.h: Likewise.
1478 * debug/execinfo.h: Likewise.
1479 * debug/mbsnrtowcs_chk.c: Likewise.
1480 * debug/mbsrtowcs_chk.c: Likewise.
1481 * debug/wcsnrtombs_chk.c: Likewise.
1482 * debug/wcsrtombs_chk.c: Likewise.
1483 * debug/wcstombs_chk.c: Likewise.
1484 * dirent/dirent.h: Likewise.
1485 * dlfcn/dlfcn.h: Likewise.
1486 * elf/neededtest4.c: Likewise.
1487 * grp/grp.h: Likewise.
1488 * gshadow/gshadow.h: Likewise.
1489 * iconv/gconv.h: Likewise.
1490 * iconv/gconv_int.h: Likewise.
1491 * iconv/gconv_simple.c: Likewise.
1492 * iconv/iconv.h: Likewise.
1493 * iconv/loop.c: Likewise.
1494 * iconv/skeleton.c: Likewise.
1495 * include/aio.h: Likewise.
1496 * include/aliases.h: Likewise.
1497 * include/argz.h: Likewise.
1498 * include/arpa/inet.h: Likewise.
1499 * include/assert.h: Likewise.
1500 * include/dirent.h: Likewise.
1501 * include/dlfcn.h: Likewise.
1502 * include/execinfo.h: Likewise.
1503 * include/fcntl.h: Likewise.
1504 * include/fenv.h: Likewise.
1505 * include/glob.h: Likewise.
1506 * include/grp.h: Likewise.
1507 * include/libintl.h: Likewise.
1508 * include/mntent.h: Likewise.
1509 * include/netdb.h: Likewise.
1510 * include/pwd.h: Likewise.
1511 * include/rpc/netdb.h: Likewise.
1512 * include/sched.h: Likewise.
1513 * include/search.h: Likewise.
1514 * include/shadow.h: Likewise.
1515 * include/signal.h: Likewise.
1516 * include/stdio.h: Likewise.
1517 * include/stdlib.h: Likewise.
1518 * include/string.h: Likewise.
1519 * include/sys/socket.h: Likewise.
1520 * include/sys/stat.h: Likewise.
1521 * include/sys/statfs.h: Likewise.
1522 * include/sys/statvfs.h: Likewise.
1523 * include/sys/syslog.h: Likewise.
1524 * include/sys/time.h: Likewise.
1525 * include/sys/uio.h: Likewise.
1526 * include/time.h: Likewise.
1527 * include/unistd.h: Likewise.
1528 * include/utmp.h: Likewise.
1529 * include/wchar.h: Likewise.
1530 * include/wctype.h: Likewise.
1531 * inet/aliases.h: Likewise.
1532 * inet/arpa/inet.h: Likewise.
1533 * inet/netinet/ether.h: Likewise.
1534 * inet/netinet/in.h: Likewise.
1535 * intl/libintl.h: Likewise.
1536 * io/bits/fcntl2.h: Likewise.
1537 * io/fcntl.h: Likewise.
1538 * io/ftw.h: Likewise.
1539 * io/sys/poll.h: Likewise.
1540 * io/sys/stat.h: Likewise.
1541 * io/sys/statfs.h: Likewise.
1542 * io/sys/statvfs.h: Likewise.
1543 * io/utime.h: Likewise.
1544 * libio/bits/stdio.h: Likewise.
1545 * libio/bits/stdio2.h: Likewise.
1546 * libio/libio.h: Likewise.
1547 * libio/libioP.h: Likewise.
1548 * libio/stdio.h: Likewise.
1549 * locale/lc-ctype.c: Likewise.
1550 * locale/locale.h: Likewise.
1551 * login/utmp.h: Likewise.
1552 * malloc/arena.c: Likewise.
1553 * malloc/malloc.c: Likewise.
1554 * malloc/malloc.h: Likewise.
1555 * malloc/mcheck.c: Likewise.
1556 * malloc/mtrace.c: Likewise.
1557 * math/bits/mathcalls.h: Likewise.
1558 * math/fenv.h: Likewise.
1559 * math/math_private.h: Likewise.
1560 * misc/bits/error.h: Likewise.
1561 * misc/bits/syslog.h: Likewise.
1562 * misc/err.h: Likewise.
1563 * misc/error.h: Likewise.
1564 * misc/fstab.h: Likewise.
1565 * misc/mntent.h: Likewise.
1566 * misc/regexp.h: Likewise.
1567 * misc/search.h: Likewise.
1568 * misc/sgtty.h: Likewise.
1569 * misc/sys/mman.h: Likewise.
1570 * misc/sys/syslog.h: Likewise.
1571 * misc/sys/uio.h: Likewise.
1572 * misc/sys/xattr.h: Likewise.
1573 * misc/ttyent.h: Likewise.
1574 * nis/rpcsvc/ypclnt.h: Likewise.
1575 * nss/nss.h: Likewise.
1576 * posix/bits/unistd.h: Likewise.
1577 * posix/fnmatch.h: Likewise.
1578 * posix/glob.h: Likewise.
1579 * posix/sched.h: Likewise.
1580 * posix/spawn.h: Likewise.
1581 * posix/sys/wait.h: Likewise.
1582 * posix/unistd.h: Likewise.
1583 * posix/wordexp.h: Likewise.
1584 * pwd/pwd.h: Likewise.
1585 * resolv/netdb.h: Likewise.
1586 * resource/sys/resource.h: Likewise.
1587 * rt/aio.h: Likewise.
1588 * rt/bits/mqueue2.h: Likewise.
1589 * rt/mqueue.h: Likewise.
1590 * shadow/shadow.h: Likewise.
1591 * signal/signal.h: Likewise.
1592 * socket/send.c: Likewise.
1593 * socket/sendto.c: Likewise.
1594 * socket/sys/socket.h: Likewise.
1595 * stdio-common/printf.h: Likewise.
1596 * stdlib/bits/stdlib.h: Likewise.
1597 * stdlib/fmtmsg.h: Likewise.
1598 * stdlib/monetary.h: Likewise.
1599 * stdlib/stdlib.h: Likewise.
1600 * stdlib/ucontext.h: Likewise.
1601 * streams/stropts.h: Likewise.
1602 * string/argz.h: Likewise.
1603 * string/bits/string2.h: Likewise.
1604 * string/string.h: Likewise.
1605 * string/strings.h: Likewise.
1606 * sunrpc/rpc/auth.h: Likewise.
1607 * sunrpc/rpc/auth_des.h: Likewise.
1608 * sunrpc/rpc/clnt.h: Likewise.
1609 * sunrpc/rpc/netdb.h: Likewise.
1610 * sunrpc/rpc/pmap_clnt.h: Likewise.
1611 * sunrpc/rpc/xdr.h: Likewise.
1612 * sysdeps/generic/inttypes.h: Likewise.
1613 * sysdeps/generic/net/if.h: Likewise.
1614 * sysdeps/generic/sys/swap.h: Likewise.
1615 * sysdeps/gnu/net/if.h: Likewise.
1616 * sysdeps/gnu/utmpx.h: Likewise.
1617 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1618 * sysdeps/i386/i486/bits/string.h: Likewise.
1619 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1620 * sysdeps/s390/bits/string.h: Likewise.
1621 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1622 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1623 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1624 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1625 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1626 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1627 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1628 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1629 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1630 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1631 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1632 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1633 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1634 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1635 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1636 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1637 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1639 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1643 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1644 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1645 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1646 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1647 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1649 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1651 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1652 * sysvipc/sys/ipc.h: Likewise.
1653 * sysvipc/sys/msg.h: Likewise.
1654 * sysvipc/sys/sem.h: Likewise.
1655 * sysvipc/sys/shm.h: Likewise.
1656 * termios/termios.h: Likewise.
1657 * time/sys/time.h: Likewise.
1658 * time/time.h: Likewise.
1659 * wcsmbs/bits/wchar2.h: Likewise.
1660 * wcsmbs/uchar.h: Likewise.
1661 * wcsmbs/wchar.h: Likewise.
1662 * wctype/wctype.h: Likewise.
1665 * Makeconfig: Remove all but ELF support including AIX support.
1666 * Makerules: Likewise.
1667 * config.h.in: Likewise.
1668 * config.make.in: Likewise.
1669 * configure: Likewise.
1670 * configure.in: Likewise.
1671 * csu/Makefile: Likewise.
1672 * csu/version.c: Likewise.
1673 * debug/Makefile: Likewise.
1674 * dlfcn/Makefile: Likewise.
1675 * elf/Makefile: Likewise.
1676 * extra-lib.mk: Likewise.
1677 * iconv/Makefile: Likewise.
1678 * include/libc-symbols.h: Likewise.
1679 * include/shlib-compat.h: Likewise.
1680 * resolv/Makefile: Likewise.
1681 * resolv/res_libc.c: Likewise.
1682 * rt/Makefile: Likewise.
1683 * sysdeps/i386/asm-syntax.h: Likewise.
1684 * sysdeps/i386/sysdep.h: Likewise.
1685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1686 * sysdeps/mach/sysdep.h: Likewise.
1687 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1688 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1689 * sysdeps/s390/asm-syntax.h: Likewise.
1690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1691 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1692 * sysdeps/sh/sysdep.h: Likewise.
1693 * sysdeps/unix/sparc/sysdep.h: Likewise.
1694 * sysdeps/wordsize-32/divdi3.c: Likewise.
1695 * sysdeps/x86_64/sysdep.h: Likewise.
1697 * argp/Versions: Remove _argp_unlock_xxx.
1700 * abilist/ld.abilist: Update. Adjust for removal of tls option.
1701 * abilist/libBrokenLocale.abilist: Likewise.
1702 * abilist/libanl.abilist: Likewise.
1703 * abilist/libc.abilist: Likewise.
1704 * abilist/libcrypt.abilist: Likewise.
1705 * abilist/libdl.abilist: Likewise.
1706 * abilist/libm.abilist: Likewise.
1707 * abilist/libnsl.abilist: Likewise.
1708 * abilist/libpthread.abilist: Likewise.
1709 * abilist/libresolv.abilist: Likewise.
1710 * abilist/librt.abilist: Likewise.
1711 * abilist/libthread_db.abilist: Likewise.
1712 * abilist/libutil.abilist: Likewise.
1713 * abilist/libnss_db.abilist: New file.
1715 * scripts/abilist.awk: Add support for indirect functions.
1717 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1719 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1721 * shlib-versions: Remove entries for ports architectures.
1723 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1725 * elf/stackguard-macros.h: Remove support for IA-64.
1726 * elf/tst-auditmod1.c: Likewise.
1727 * sysdeps/generic/ldsodefs.h: Likewise.
1729 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1730 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1734 * configure.in: Remove --enable-omitfp support.
1736 * config.make.in: Likewise.
1737 * Makeconfig: Likewise.
1738 * manual/install.texi: Likewise.
1740 In case anyone cares, the IA-64 architecture could move to ports.
1741 * sysdeps/ia64/*: Removed.
1742 * sysdeps/unix/sysv/linux/ia64/*: Removed.
1743 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
1746 * configure.in: Remove entries for unsupported architectures.
1749 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1750 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1752 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1753 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1754 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1755 fall back to using wcrtomb.
1756 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1757 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1759 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1760 * wcsmbs/tst-c16c32-1.c: New file.
1762 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1765 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1767 * elf/tst-unique3.cc: Add explicit declaration of gets.
1768 * elf/tst-unique3lib.cc: Likewise.
1769 * elf/tst-unique3lib2.cc: Likewise.
1770 * elf/tst-unique4.cc: Likewise.
1772 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1774 2012-01-06 Joseph Myers <joseph@codesourcery.com>
1777 * assert/assert.h (static_assert): Don't define for C++.
1778 * libio/stdio.h (gets): Do declare for C++ <= C++11.
1779 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1781 2012-01-03 Ulrich Drepper <drepper@gmail.com>
1783 * iconv/loop.c (single loop): Fix assertion in storing of
1786 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1788 2012-01-01 Ulrich Drepper <drepper@gmail.com>
1790 * posix/getconf.c: Update copyright year.
1791 * nss/getent.c: Likewise.
1792 * nss/makedb.c: Likewise.
1793 * iconv/iconvconfig.c: Likewise.
1794 * iconv/iconv_prog.c: Likewise.
1795 * elf/ldconfig.c: Likewise.
1796 * elf/pldd.c: Likewise.
1797 * elf/sotruss.ksh: Likewise.
1798 * catgets/gencat.c: Likewise.
1799 * csu/version.c: Likewise.
1800 * elf/ldd.bash.in: Likewise.
1801 * elf/sprof.c (print_version): Likewise.
1802 * locale/programs/locale.c: Likewise.
1803 * locale/programs/localedef.c: Likewise.
1804 * login/programs/pt_chown.c: Likewise.
1805 * nscd/nscd.c (print_version): Likewise.
1806 * debug/xtrace.sh: Likewise.
1807 * malloc/memusage.sh: Likewise.
1808 * malloc/mtrace.pl: Likewise.
1809 * debug/catchsegv.sh: Likewise.
1811 2011-12-30 Jakub Jelinek <jakub@redhat.com>
1813 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
1816 2011-12-24 Ulrich Drepper <drepper@gmail.com>
1819 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
1820 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
1822 * iconv/gconv_int.h: Likewise.
1823 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
1824 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
1825 from libc for GLIBC_2.16.
1826 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
1827 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
1828 * wcsmbs/uchar.h: Really define mbstate_t.
1829 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
1830 * wcsmbs/c16rtomb.c: New file.
1831 * wcsmbs/mbrtoc16.c: New file.
1832 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
1834 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
1835 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
1837 * wcsmbs/wchar.h: Add missing __restrict.
1839 2011-12-23 Ulrich Drepper <drepper@gmail.com>
1842 * time/Makefile (routines): Add timespec_get.
1843 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
1844 * time/time.h: Define TIME_UTC and declare timespec_get. Define
1845 timespec for ISO C11.
1846 * time/timespec_get.c: New file.
1847 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
1848 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
1851 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
1852 * stdlib/stdlib.h: Declare aligned_alloc.
1853 * Versions.def: Add GLIBC_2.16 for libc.
1854 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
1857 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
1860 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
1864 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
1867 * assert/assert.h (static_assert): Define.
1869 * version.h: Update for 2.16 development version.
1872 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
1875 * version.h (RELEASE): Bump for 2.15 release.
1876 * include/features.h (__GLIBC_MINOR__): Bump to 15.
1878 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
1879 Patch by Marek Polacek <mpolacek@redhat.com>.
1881 * bits/byteswap.h: Protect long long constants with __extension__.
1882 * sysdeps/i386/bits/byteswap.h: Likewise.
1883 * sysdeps/ia64/bits/byteswap.h: Likewise.
1884 * sysdeps/s390/bits/byteswap.h: Likewise.
1885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1887 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
1892 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1894 2011-12-23 Marek Polacek <polacek@redhat.com>
1896 * elf/dl-addr.c (determine_info): Add inline keyword.
1897 * elf/tst-auditmod4b.c (check_avx): Likewise.
1898 * elf/tst-auditmod6b.c (check_avx): Likewise.
1899 * elf/tst-auditmod6c.c (check_avx): Likewise.
1900 * elf/tst-auditmod7b.c (check_avx): Likewise.
1902 2011-12-23 Ulrich Drepper <drepper@gmail.com>
1904 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
1907 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1910 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
1911 processing for last bytes.
1913 2011-08-06 Bruno Haible <bruno@clisp.org>
1916 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
1917 U+0385, not to U+1FEE.
1920 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
1921 entry for U+00A5 U+0301.
1923 2011-12-22 Ulrich Drepper <drepper@gmail.com>
1926 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
1927 buffer for the output is too small.
1929 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
1933 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
1934 SSE flags if possible.
1936 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
1940 processing for last bytes.
1942 2011-12-22 Joseph Myers <joseph@codesourcery.com>
1944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
1945 (syscall-list-default-options, syscall-list-default-condition)
1946 (syscall-list-includes): Define.
1947 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
1948 list of ABIs and options and #if conditions for each ABI. Do not
1949 handle common syscalls between ABIs specially.
1950 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
1952 (syscall-list-variants, syscall-list-32bit-options)
1953 (syscall-list-32bit-condition, syscall-list-64bit-options)
1954 (syscall-list-64bit-condition): Define.
1955 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
1956 (syscall-list-variants, syscall-list-32bit-options)
1957 (syscall-list-32bit-condition, syscall-list-64bit-options)
1958 (syscall-list-64bit-condition): Define.
1959 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
1961 (syscall-list-variants, syscall-list-32bit-options)
1962 (syscall-list-32bit-condition, syscall-list-64bit-options)
1963 (syscall-list-64bit-condition): Define.
1964 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
1966 (syscall-list-variants, syscall-list-32bit-options)
1967 (syscall-list-32bit-condition, syscall-list-64bit-options)
1968 (syscall-list-64bit-condition): Define.
1970 2011-12-22 Ulrich Drepper <drepper@gmail.com>
1972 * locale/iso-639.def: Add brx entry.
1975 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
1976 Proposed by Mariusz_Cukr <marcukr@op.pl>.
1978 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
1979 __feraiseexcept_renamed.
1981 2011-12-21 Ulrich Drepper <drepper@gmail.com>
1984 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
1985 EPOLLET with unsigned values.
1986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1987 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1989 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
1990 to large cancellation.
1991 * math/s_cacoshf.c: Likewise.
1992 * math/s_cacoshl.c: Likewise.
1994 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
1998 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
1999 * math/s_cacoshf.c: Likewise.
2000 * math/s_cacoshl.c: Likewise.
2002 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2005 * iconv/gconv.h: Define __GCONV_SWAP.
2006 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2007 * iconvdata/utf-16.c: Likewise.
2008 * iconvdata/utf-32.c: Likewise.
2010 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2014 numerator after shifting it by one limb.
2016 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2019 under [__USE_EXTERN_INLINES].
2021 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2024 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2026 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2029 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2031 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2032 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2033 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2034 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2035 for strncasecmp/strncasecmp_l compilation.
2036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2037 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2039 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2042 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2045 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2048 * time/tzfile.c (__tzfile_read): Check values from file header.
2050 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2052 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2053 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2054 * powerpc/powerpc32/dl-start.S: Likewise.
2055 * powerpc/powerpc32/elf/start.S: Likewise.
2056 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2057 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2058 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2059 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2060 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2061 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2062 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2063 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2064 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2065 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2066 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2067 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2068 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2069 * powerpc/powerpc32/memset.S: Likewise.
2070 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2071 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2072 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2073 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2074 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2075 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2076 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2077 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2078 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2079 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2084 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086 * math/libm-test.inc: Added more nearbyint tests.
2087 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2092 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2094 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2097 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2099 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2100 Add wcscpy-ssse3 wcscpy-c.
2101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2102 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2103 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2104 * sysdeps/x86_64/wcschr.S: New file.
2105 * sysdeps/x86_64/wcsrchr.S: New file.
2106 * string/test-strcmp.c: Remove checking of wcscmp function for
2108 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2109 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2110 wcsrchr-sse2 wcsrchr-c.
2111 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2112 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2113 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2114 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2115 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2116 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2117 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2118 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2120 * wcsmbc/wcschr.c (WCSCHR): New macro.
2122 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2124 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2125 * wcsmbs/test-wcsrchr.c: New file.
2126 * string/test-strrchr.c: Add wcsrchr support.
2128 * wcsmbs/test-wcscpy.c: New file.
2129 * string/test-strcpy.c: Add wcscpy support.
2132 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2137 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2140 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2142 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2144 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2145 Minor optimizations.
2147 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2148 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2149 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2151 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2153 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2154 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2155 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2156 for gcc to avoid warnings.
2157 * inet/Makefile (tests): Add tst-checks.
2158 * inet/tst-checks.c: New file.
2160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2163 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2166 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2167 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2169 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2171 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2173 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2176 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2178 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2180 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2181 conditional on GCC version.
2182 (__arch_compare_and_exchange_val_8_acq)
2183 (__arch_compare_and_exchange_val_16_acq)
2184 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2185 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2186 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2188 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2190 * sysdeps/sh/backtrace.c: New file.
2192 2011-12-02 Andreas Schwab <schwab@redhat.com>
2194 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2197 2011-12-01 Andreas Schwab <schwab@redhat.com>
2199 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2200 falling back to utime.
2202 2011-11-30 Andreas Schwab <schwab@redhat.com>
2204 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2205 expectations for float.
2207 2011-11-29 Andreas Schwab <schwab@redhat.com>
2209 * locale/weight.h (findidx): Add parameter len.
2210 * locale/weightwc.h (findidx): Likewise.
2211 * posix/fnmatch_loop.c (FCT): Adjust caller.
2212 * posix/regcomp.c (build_equiv_class): Likewise.
2213 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2214 * posix/regexec.c (check_node_accept_bytes): Likewise.
2215 * string/strcoll_l.c (STRCOLL): Likewise.
2216 * string/strxfrm_l.c (STRXFRM): Likewise.
2218 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2220 * Makefile.in: Remove CVSOPT handling.
2221 * configure.in: Remove use of AC_REVISION.
2222 * iconvdata/Makefile (distribute): No need to filter out CVS.
2223 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2226 2011-11-16 Andreas Schwab <schwab@redhat.com>
2228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2229 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2230 [USE_AS_STRNCASECMP_L]: Likewise.
2231 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2232 NO_TLS_DIRECT_SEG_REFS.
2233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2234 Fix argument offsets for non-PIC.
2235 [USE_AS_STRNCASECMP_L]: Likewise.
2236 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2237 NO_TLS_DIRECT_SEG_REFS.
2239 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2241 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2243 * locale/loadlocale.c (_nl_load_locale): Likewise.
2245 2011-11-15 Andreas Schwab <schwab@redhat.com>
2247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2248 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2250 (SYSCALL_GETTIME): Set errno on error.
2252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2253 count references to noai6ai_cached.
2255 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2257 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2259 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2260 FD_CLOEXEC for /proc/self/maps.
2262 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2263 FD_CLOEXEC for /proc/meminfo.
2265 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2268 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2269 FD_CLOEXEC for given file.
2271 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2273 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2274 FD_CLOEXEC for /etc/hosts.
2275 (_gethtent): Likewise.
2277 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2279 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2280 cancellation and set FD_CLOEXEC for /etc/netgroup.
2282 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2283 reading /etc/publickey.
2285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2286 allow cancellation when reading /etc/group.
2288 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2290 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2292 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2293 when using data file.
2295 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2297 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2298 (write_nis_obj): Use "c" and "e" in fopen.
2300 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2302 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2304 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2306 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2308 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2311 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2313 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2315 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2317 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2318 file parsing and set FD_CLOEXEC.
2320 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2322 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2324 2011-11-14 Andreas Schwab <schwab@redhat.com>
2326 * malloc/arena.c (arena_get2): Don't call reused_arena when
2327 _int_new_arena failed.
2329 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2331 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2332 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2333 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2334 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2337 to compile strcasecmp and strncasecmp.
2338 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2339 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2343 2011-11-13 Ulrich Drepper <drepper@gmail.com>
2345 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2346 locale-defines.sym to gen-as-const-headers.
2347 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2348 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2350 to compile strcasecmp and strncasecmp.
2351 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2352 strcasecmp_l and strncasecmp_l.
2353 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2354 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2355 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2356 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2357 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2358 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2359 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2360 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2361 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2362 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2363 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2365 2011-11-12 Ulrich Drepper <drepper@gmail.com>
2367 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2368 result of SYSDEP_GETTIME_CPU to retval.
2369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2370 parameter list to macro. Remove trailing semicolon. Adjust users.
2372 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2375 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2379 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2380 from unused variable.
2382 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2384 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2387 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2390 * sunrpc/rpc_prot.c (rejected): Fix case value.
2392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2393 unsigned long long int to avoid warnings in shift.
2395 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2397 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2400 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2401 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2402 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2404 * nis/nis_table.c (nis_list): Use variable of correct type for
2405 result of __follow_path call.
2407 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2409 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2410 of math functions ceil, trunc, floor, round, and sqrt, when
2411 avaliable on the platform.
2412 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2414 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2416 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2418 2011-10-30 Marek Polacek <mpolacek@redhat.com>
2420 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2423 2011-11-11 Roland McGrath <roland@hack.frob.com>
2425 * include/unistd.h: Fix __readlink return type.
2426 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2428 2011-11-11 Ulrich Drepper <drepper@gmail.com>
2430 * stdlib/ucontext.h: Undo last change for makecontext.
2432 2011-11-11 Andreas Schwab <schwab@redhat.com>
2434 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2436 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2437 * setjmp/setjmp.h: Mark functions as non-leaf.
2438 * setjmp/bits/setjmp2.h: Likewise.
2439 * stdlib/ucontext.h: Likewise.
2441 2011-11-10 Andreas Schwab <schwab@redhat.com>
2443 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2444 (reused_arena): Don't check arena limit.
2445 (arena_get2): Atomically check arena limit.
2447 2011-11-08 Ulrich Drepper <drepper@gmail.com>
2449 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2450 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2455 2011-11-07 Andreas Schwab <schwab@redhat.com>
2457 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2458 handler when locking.
2460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2461 Fix size of allocated buffer.
2463 2011-11-04 Andreas Schwab <schwab@redhat.com>
2466 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2467 declarations for long double functions.
2468 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2470 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2472 2011-11-03 Andreas Schwab <schwab@redhat.com>
2474 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2477 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2480 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2482 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2484 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2486 * include/alloca.h (stackinfo_alloca_round): Define.
2487 (extend_alloca): Use it.
2488 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2489 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2492 * scripts/check-local-headers.sh: Ignore libaudit.h.
2494 * nscd/Makefile (extra-objs): Make recursively expanded.
2496 2011-11-01 Ulrich Drepper <drepper@gmail.com>
2498 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2499 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2501 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2502 * posix/tst-rfc3484-2.c: Likewise.
2503 * posix/tst-rfc3484-3.c: Likewise.
2505 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2507 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2509 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2510 process_vm_writev from libc using GLIBC_2.15 version.
2512 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2514 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2516 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2519 2011-10-31 Ulrich Drepper <drepper@gmail.com>
2522 * nss/getent.c (initgroups_keys): Show error message in case no group
2525 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2526 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2527 __bump_nl_timestamp.
2528 * nscd/connections (nscd_init): When host database is served open
2529 netlink socket and request notification about configuration changes.
2530 (main_loop_poll): Track netlink file descriptor and bump timestamp
2531 in case data becomes available.
2532 (main_loop_epoll): Likewise.
2533 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2534 (database_pers_head): Add extra_data fileds.
2535 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2537 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2540 in6ai data, call __free_in6ai.
2541 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2543 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2544 interface information. Reuse previous data if netlink timestamp
2546 (__bump_nl_timestamp): New function.
2547 (__free_in6ai): New function.
2549 2011-10-30 Ulrich Drepper <drepper@gmail.com>
2551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2552 close_not_cancel_no_status here.
2553 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2555 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2558 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2561 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
2562 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2563 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2565 2011-07-03 Andreas Jaeger <aj@suse.de>
2568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2569 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2570 * math/libm-test.inc (sin_test): Add test case.
2572 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2575 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2576 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2578 * elf/chroot_canon.c (chroot_canon): Cleanups.
2580 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2583 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2584 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2586 * string/test-strchr.c: Make usable for strchrnul testing.
2587 * string/test-strchrnul.c: New file.
2588 * string/Makefile (strop-tests): Add strchrnul.
2590 * po/it.po: Update from translation team.
2591 * po/es.po: Likewise.
2593 2011-10-28 Ulrich Drepper <drepper@gmail.com>
2595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2596 the three constants needed as parameters. Drop the others.
2597 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2598 __m128i_strloadu_tolower.
2599 Create and initialize variable zero and use it in all the places
2600 where _mm_setzero_si128 was used.
2602 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2603 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2604 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2607 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2608 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2609 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2610 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2611 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2612 __mpranred, __mptan.
2613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2617 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2618 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2620 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2623 2011-10-28 Andreas Schwab <schwab@redhat.com>
2625 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2627 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2630 wide char related routines to wcsmbs subdir.
2632 2011-10-27 Andreas Schwab <schwab@redhat.com>
2635 * misc/sys/cdefs.h (__THROWNL): Define.
2636 * posix/unistd.h: Use __THREADNL instead of __THREAD
2637 for memory synchronization functions.
2639 2011-10-26 Roland McGrath <roland@hack.frob.com>
2642 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2644 * manual/stdio.texi (Obstack Streams): Node removed.
2646 2011-10-26 Andreas Schwab <schwab@redhat.com>
2648 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2652 * math/math_private.h (math_force_eval): Allow non-addressable
2654 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2656 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2661 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2668 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2670 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2671 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2672 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2673 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2674 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2675 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2676 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2677 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2680 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2681 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2683 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2684 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2685 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2686 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2687 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2688 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2690 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2691 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
2693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2694 place. Use VEX encoding when compiling for AVX.
2696 2011-10-25 Andreas Schwab <schwab@redhat.com>
2698 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
2699 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2701 * string/test-strchr.c (do_test): Don't generate NUL bytes.
2703 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2705 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
2706 useless if() expression.
2707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2708 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2719 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2721 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2724 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2727 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2729 2011-10-25 Andreas Schwab <schwab@redhat.com>
2731 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2735 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2737 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2738 .text section. Avoid duplicate constants.
2739 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2751 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2754 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2756 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2762 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2763 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2764 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2765 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2768 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2769 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2770 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2775 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2777 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2785 2011-10-24 Ulrich Drepper <drepper@gmail.com>
2787 * sysdeps/x86_64/dla.h: Move to ...
2788 * sysdeps/x86_64/fpu/dla.h: ...here.
2789 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2790 situations. Use __builtin_fma only for gcc 4.6 and up.
2792 * config.make.in: Add have-mfma4 entry.
2793 * configure.in: Substitute libc_cv_cc_fma4.
2794 * math/Makefile (dbl-only-routines): Add sincostab.
2795 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
2796 Use __sincostab not sincos.
2797 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
2799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
2804 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
2805 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
2806 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
2807 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
2809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
2810 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
2812 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
2813 define aliases when function name is a macro.
2814 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
2815 sysdeps/ieee754/dbl-64/sincos.tbl.
2816 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
2817 fma4-enabled routines.
2818 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
2819 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
2820 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
2821 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
2822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
2823 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
2824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
2825 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
2826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
2827 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
2828 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
2829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
2830 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
2831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
2832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
2833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
2834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
2835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
2836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
2837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
2838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
2839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
2840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
2841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
2842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
2843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
2844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
2845 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
2846 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
2847 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
2849 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
2851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2860 2011-10-24 Andreas Schwab <schwab@redhat.com>
2862 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
2864 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
2868 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
2870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
2872 * string/strnlen.c: Don't define STRNLEN, reverse logic.
2873 Remove unused variable magic_bits.
2874 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
2876 * string/strnlen.c: Define and use STRNLEN macro.
2877 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
2878 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
2879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
2880 * wcsmbs/wcslen.c: Define and use WCSLEN.
2881 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
2882 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
2883 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
2884 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
2885 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
2886 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
2887 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2889 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2892 strnlen-sse2-no-bsf.
2893 Rename strlen-no-bsf to strlen-sse2-no-bsf.
2894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
2895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
2896 Add strnlen support.
2897 (USE_AS_STRNLEN): New macro.
2898 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
2899 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
2900 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
2901 * sysdeps/x86_64/wcslen.S: New file.
2903 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
2905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2906 XMM-moves are used for copying on small sizes.
2908 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2910 * wcsmbs/Makefile (strop-tests): Add wcschr.
2911 * wcsmbs/test-wcschr.c: New file.
2912 * string/test-strchr.c: Update.
2916 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2918 * wcsmbs/Makefile (strop-tests): Add wcslen.
2919 * wcsmbs/test-wcslen.c: New file.
2920 * string/test-strlen.c: Update.
2924 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2926 * po/it.po: Update from translation team.
2928 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2930 * sysdeps/x86_64/wcscmp.S: Update.
2931 Fix wrong comparison semantics.
2932 wcscmp shall use signed comparison not unsigned.
2933 Don't use substraction to avoid overflow bug.
2934 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2935 * wcsmbc/wcscmp.c: Likewise.
2936 * string/test-strcmp.c: Likewise.
2937 Add new tests to check cases with negative values.
2939 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2941 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
2942 * sysdeps/x86_64/dla.h: ...here. New file.
2943 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
2944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2953 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
2955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
2956 __ynl_finite aliases.
2958 2011-10-22 Ulrich Drepper <drepper@gmail.com>
2960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2962 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
2964 [DLA_FMA] (EMULV): Use DLA_FMA.
2965 [DLA_FMA] (MUL12): Use EMULV.
2966 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
2967 that are not needed.
2968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2976 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
2978 * math/s_nan.c: Undef __nan.
2979 * math/s_nanf.c: Undef __nanf.
2980 * math/s_nanl.c: Undef __nanl.
2981 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
2984 2011-10-22 Ulrich Drepper <drepper@gmail.com>
2986 * math/s_catan.c: Add branch predictions.
2987 * math/s_catanf.c: Likewise.
2988 * math/s_catanh.c: Likewise.
2989 * math/s_catanhf.c: Likewise.
2990 * math/s_catanhl.c: Likewise.
2991 * math/s_catanl.c: Likewise.
2992 * math/s_cexp.c: Likewise.
2993 * math/s_cexpf.c: Likewise.
2994 * math/s_cexpl.c: Likewise.
2995 * math/s_clog.c: Likewise.
2996 * math/s_clog10.c: Likewise.
2997 * math/s_clog10f.c: Likewise.
2998 * math/s_clog10l.c: Likewise.
2999 * math/s_clogf.c: Likewise.
3000 * math/s_clogl.c: Likewise.
3001 * math/s_csqrt.c: Likewise.
3002 * math/s_csqrtf.c: Likewise.
3003 * math/s_csqrtl.c: Likewise.
3004 * math/s_ctanf.c: Likewise.
3005 * math/s_ctanh.c: Likewise.
3006 * math/s_ctanhf.c: Likewise.
3007 * math/s_ctanhl.c: Likewise.
3008 * math/s_ctanl.c: Likewise.
3010 * math/math_private.h: Define __nan, __nanf, __nanl.
3011 * math/s_cacosh.c: Include <math_private.h>.
3012 * math/s_cacoshl.c: Likewise.
3013 * math/s_casinh.c: Likewise.
3014 * math/s_casinhf.c: Likewise.
3015 * math/s_casinhl.c: Likewise.
3016 * math/s_ccos.c: Rely entire on ccosh.
3017 * math/s_ccosf.c: Rely entire on ccoshf.
3018 * math/s_ccosl.c: Rely entirely on ccoshl.
3019 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3020 Remove tests for FE_INVALID.
3021 * math/s_ccoshf.c: Likewise.
3022 * math/s_ccoshl.c: Likewise.
3023 * math/s_csin.c: Likewise.
3024 * math/s_csinf.c: Likewise.
3025 * math/s_csinh.c Likewise.
3026 * math/s_csinhf.c: Likewise.
3027 * math/s_csinhl.c: Likewise.
3028 * math/s_csinl.c: Likewise.
3029 * math/s_ctan.c: Likewise.
3030 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3031 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3034 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3037 compilation problems.
3039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3042 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3044 * sysdeps/i386/configure.in: Test for -mfma4 option.
3045 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3046 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3047 COMMON_CPUID_INDEX_80000001.
3048 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3049 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3050 use it if FMA3 is not supported.
3051 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3053 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3054 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3056 2011-10-20 Andreas Schwab <schwab@redhat.com>
3059 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3060 it would create a cycle with a link time dependency.
3062 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3064 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3066 * string/Makefile (strop-tests): Add rawmemchr.
3067 * string/test-rawmemchr.c: New file.
3069 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3071 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3072 when compiling str{,n}casecmp and when AVX is available. Hook up
3073 new optimized code in initializers.
3075 2011-10-19 Andreas Schwab <schwab@redhat.com>
3077 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3078 __feraiseexcept instead of feraiseexcept.
3080 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3082 * math/math_private.h: Define defaults for libc_fetestexcept and
3084 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3085 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3087 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3089 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3090 libc_fetestexcept and libc_feupdateenv.
3092 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3093 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3094 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3095 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3096 libc_feholdexcept_setround.
3098 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3099 Add s_nearbyint-c and s_nearbyintf-c.
3100 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3102 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3103 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3104 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3105 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3107 * math/math_private.h: Define defaults for libc_fegetround,
3108 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3109 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3110 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3112 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3115 Remove comments and hacks for old compiler versions.
3116 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3117 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3120 2011-10-18 Andreas Schwab <schwab@redhat.com>
3122 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3123 (__feraiseexcept_renamed): Add __NTH.
3124 (feraiseexcept): Add __NTH. Rename local variables to fix
3125 namespace violations.
3127 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3133 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3134 recently added interfaces.
3135 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3137 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3138 about macro parameter expansion.
3140 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3141 __NO_MATH_INLINES is defined. Cleanups.
3143 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3144 and __floorf is target has SSE4.1.
3145 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3146 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3147 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3150 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3154 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3156 2011-10-17 Andreas Schwab <schwab@redhat.com>
3158 * misc/sys/cdefs.h: Fix last change.
3160 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3163 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3165 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3167 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3173 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3176 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3177 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3178 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3179 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3181 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3182 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3183 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3184 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3185 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3186 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3188 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3190 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3191 ceil, ceilf, floor, floorf.
3193 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3194 Perform IRELATIVE relocations last.
3196 * elf/do-rel.h: Add another parameter nrelative, replacing the
3197 local variable with the same name. Change name of the function
3198 to end in Rel or Rela (uppercase).
3199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3200 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3201 elf_dynamic_do_##reloc function.
3203 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3205 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3206 is sufficient, at least on modern CPUs.
3208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3210 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3213 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3215 * math/bits/math-finite.h: Add entries for exp.
3216 * math/e_expl.c: Add __*_finite alias.
3217 * sysdeps/i386/fpu/e_exp.S: Likewise.
3218 * sysdeps/i386/fpu/e_expf.S: Likewise.
3219 * sysdeps/i386/fpu/e_expl.c: Likewise.
3220 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3221 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3224 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3225 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3226 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3228 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3229 is sufficient, at least on modern CPUs.
3231 * ctype/ctype-info.c (__ctype_init): Define.
3232 * include/ctype.h (__ctype_init): Declare.
3233 (__ctype_b_loc): The variable is always initialized.
3234 (__ctype_toupper_loc): Likewise.
3235 (__ctype_tolower_loc): Likewise.
3236 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3237 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3239 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3241 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3243 * configure.in: Also look in $cxxmachine/include for C++ system
3246 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3248 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3249 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3250 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3251 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3252 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3253 (USE_AS_WMEMCMP): New macro.
3255 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3256 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3257 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3258 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3260 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3261 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3262 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3263 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3264 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3266 (USE_AS_WMEMCMP): New macro.
3267 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3268 * sysdeps/string/test-memcmp.c: Update.
3271 * wcsmbs/wmemcmp.c: Update.
3272 (WMEMCMP): New macro.
3275 2011-10-12 Andreas Jaeger <aj@suse.de>
3278 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3280 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3282 * libio/iofwide.c (do_length): Avoid warning.
3284 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3286 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3288 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3290 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3291 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3292 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3293 * sysdeps/i386/i686/fpu/e_log.S: New file.
3294 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3295 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3297 * ctype/ctype.h: Add support for inlined isXXX functions when
3300 2011-10-14 Andreas Schwab <schwab@redhat.com>
3302 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3306 2011-10-13 Roland McGrath <roland@hack.frob.com>
3309 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3311 2011-10-13 Andreas Schwab <schwab@redhat.com>
3313 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3314 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3317 * sysdeps/x86_64/memrchr.S: Check for zero size.
3319 * string/stratcliff.c: Add memrchr tests.
3321 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3324 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3325 rawmemchr-sse2 rawmemchr-sse2-bsf.
3326 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3327 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3328 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3329 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3330 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3331 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3332 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3333 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3334 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3335 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3336 * string/memrchr.c (MEMRCHR): New macro.
3338 2011-10-12 Ulrich Drepper <drepper@gmail.com>
3340 Add integration with gcc's -ffinite-math-only and optimize wrapper
3342 * Versions.def: Define GLIBC_2.15 version for libm.
3343 * math/Makefile (headers): Add bits/math-finite.h.
3344 * math/bits/math-finite.h: New file.
3345 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3346 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3347 * math/e_acoshl.c: Add __*_finite alias.
3348 * math/e_acosl.c: Likewise.
3349 * math/e_asinl.c: Likewise.
3350 * math/e_atan2l.c: Likewise.
3351 * math/e_atanhl.c: Likewise.
3352 * math/e_coshl.c: Likewise.
3353 * math/e_exp10.c: Likewise.
3354 * math/e_exp10f.c: Likewise.
3355 * math/e_exp10l.c: Likewise.
3356 * math/e_exp2l.c: Likewise.
3357 * math/e_fmodl.c: Likewise.
3358 * math/e_gammal_r.c: Likewise.
3359 * math/e_hypotl.c: Likewise.
3360 * math/e_j0l.c: Likewise.
3361 * math/e_j1l.c: Likewise.
3362 * math/e_jnl.c: Likewise.
3363 * math/e_lgammal_r.c: Likewise.
3364 * math/e_log10l.c: Likewise.
3365 * math/e_log2l.c: Likewise.
3366 * math/e_logl.c: Likewise.
3367 * math/e_powl.c: Likewise.
3368 * math/e_sinhl.c: Likewise.
3369 * math/e_sqrtl.c: Likewise.
3370 * math/e_scalb.c: Completely rewritten and optimized.
3371 * math/e_scalbf.c: Likewise.
3372 * math/e_scalbl.c: Likewise.
3373 * math/w_acos.c: Likewise.
3374 * math/w_acosf.c: Likewise.
3375 * math/w_acosl.c: Likewise.
3376 * math/w_acosh.c: Likewise.
3377 * math/w_acoshf.c: Likewise.
3378 * math/w_acoshl.c: Likewise.
3379 * math/w_asin.c: Likewise.
3380 * math/w_asinf.c: Likewise.
3381 * math/w_asinl.c: Likewise.
3382 * math/w_atan2.c: Likewise.
3383 * math/w_atan2f.c: Likewise.
3384 * math/w_atan2l.c: Likewise.
3385 * math/w_atanh.c: Likewise.
3386 * math/w_atanhf.c: Likewise.
3387 * math/w_atanhl.c: Likewise.
3388 * math/w_exp10.c: Likewise.
3389 * math/w_exp10f.c: Likewise.
3390 * math/w_exp10l.c: Likewise.
3391 * math/w_fmod.c: Likewise.
3392 * math/w_fmodf.c: Likewise.
3393 * math/w_fmodl.c: Likewise.
3394 * math/w_j0.c: Likewise.
3395 * math/w_j0f.c: Likewise.
3396 * math/w_j0l.c: Likewise.
3397 * math/w_j1.c: Likewise.
3398 * math/w_j1f.c: Likewise.
3399 * math/w_j1l.c: Likewise.
3400 * math/w_jn.c: Likewise.
3401 * math/w_jnf.c: Likewise.
3402 * math/w_log.c: Likewise.
3403 * math/w_logf.c: Likewise.
3404 * math/w_logl.c: Likewise.
3405 * math/w_log10.c: Likewise.
3406 * math/w_log10f.c: Likewise.
3407 * math/w_log10l.c: Likewise.
3408 * math/w_log2.c: Likewise.
3409 * math/w_log2f.c: Likewise.
3410 * math/w_log2l.c: Likewise.
3411 * math/w_pow.c: Likewise.
3412 * math/w_powf.c: Likewise.
3413 * math/w_powl.c: Likewise.
3414 * math/w_remainder.c: Likewise.
3415 * math/w_remainderf.c: Likewise.
3416 * math/w_remainderl.c: Likewise.
3417 * math/w_scalb.c: Likewise.
3418 * math/w_scalbf.c: Likewise.
3419 * math/w_scalbl.c: Likewise.
3420 * math/w_sqrt.c: Likewise.
3421 * math/w_sqrtf.c: Likewise.
3422 * math/w_sqrtl.c: Likewise.
3423 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3424 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3426 * math/math_private.h: Declare __kernel_standard_f.
3427 * math/w_cosh.c: Remove cruft and optimize a bit.
3428 * math/w_coshf.c: Likewise.
3429 * math/w_coshl.c: Likewise.
3430 * math/w_exp2.c: Likewise.
3431 * math/w_exp2f.c: Likewise.
3432 * math/w_exp2l.c: Likewise.
3433 * math/w_hypot.c: Likewise.
3434 * math/w_hypotf.c: Likewise.
3435 * math/w_hypotl.c: Likewise.
3436 * math/w_lgamma.c: Likewise.
3437 * math/w_lgamma_r.c: Likewise.
3438 * math/w_lgammaf.c: Likewise.
3439 * math/w_lgammaf_r.c: Likewise.
3440 * math/w_lgammal.c: Likewise.
3441 * math/w_lgammal_r.c: Likewise.
3442 * math/w_sinh.c: Likewise.
3443 * math/w_sinhf.c: Likewise.
3444 * math/w_sinhl.c: Likewise.
3445 * math/w_tgamma.c: Likewise.
3446 * math/w_tgammaf.c: Likewise.
3447 * math/w_tgammal.c: Likewise.
3448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3449 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3450 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3451 Minor optimizations. Pretty printing. Remove cruft.
3452 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3456 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3457 * sysdeps/i386/fpu/e_asin.S: Likewise.
3458 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3459 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3460 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3461 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3465 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3466 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3467 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3468 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3469 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3470 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3471 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3472 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3473 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3474 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3475 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3476 * sysdeps/i386/fpu/e_log.S: Likewise.
3477 * sysdeps/i386/fpu/e_log10.S: Likewise.
3478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3480 * sysdeps/i386/fpu/e_log2.S: Likewise.
3481 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3483 * sysdeps/i386/fpu/e_logf.S: Likewise.
3484 * sysdeps/i386/fpu/e_logl.S: Likewise.
3485 * sysdeps/i386/fpu/e_pow.S: Likewise.
3486 * sysdeps/i386/fpu/e_powf.S: Likewise.
3487 * sysdeps/i386/fpu/e_powl.S: Likewise.
3488 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3489 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3490 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3491 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3494 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3495 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3496 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3503 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3517 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3518 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3519 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3520 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3521 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3522 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3523 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3524 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3525 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3535 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3536 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3537 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3539 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3543 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3545 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3552 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3553 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3554 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3555 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3568 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3590 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3594 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3595 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3596 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3597 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3598 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3599 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3600 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3602 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3603 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3605 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3607 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3608 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3609 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3610 (__isnanf): Likewise.
3611 (__isinf_ns): Likewise.
3612 (__isinf_nsf): Likewise.
3613 (__finite): Likewise.
3614 (__finitef): Likewise.
3615 (__ieee754_sqrt): Define as macro.
3616 (__ieee754_sqrtf): Define as macro.
3617 (__ieee754_sqrtl): Define as macro.
3618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3620 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3621 __FINITE_MATH_ONLY__ consistent.
3622 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3624 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3626 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3631 2011-10-09 Ulrich Drepper <drepper@gmail.com>
3633 * po/ja.po: Update from translation team.
3635 2011-10-08 Roland McGrath <roland@hack.frob.com>
3637 * locale/programs/locarchive.c (prepare_address_space): New function.
3638 (create_archive, enlarge_archive, open_archive): Use it.
3640 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3641 inside [SHARED], where it is used.
3643 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3645 * nss/getent.c (netgroup_keys): Remove unused variable.
3646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3648 2011-10-08 Ulrich Drepper <drepper@gmail.com>
3650 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3654 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3655 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3656 * math/Makefile (libm-calls): Add s_isinf_ns.
3657 * math/divtc3.c: Use __isinf_nsl instead of isinf.
3658 * math/multc3.c: Likewise.
3659 * math/s_casin.c: Likewise.
3660 * math/s_casinf.c: Likewise.
3661 * math/s_casinl.c: Likewise.
3662 * math/s_ccos.c: Likewise.
3663 * math/s_ccosf.c: Likewise.
3664 * math/s_ccosl.c: Likewise.
3665 * math/s_ctan.c: Likewise.
3666 * math/s_ctanf.c: Likewise.
3667 * math/s_ctanh.c: Likewise.
3668 * math/s_ctanhf.c: Likewise.
3669 * math/s_ctanhl.c: Likewise.
3670 * math/s_ctanl.c: Likewise.
3671 * math/w_fmod.c: Likewise.
3672 * math/w_fmodf.c: Likewise.
3673 * math/w_fmodl.c: Likewise.
3674 * math/w_remainder.c: Likewise.
3675 * math/w_remainderf.c: Likewise.
3676 * math/w_remainderl.c: Likewise.
3677 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3678 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3681 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3682 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3683 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3684 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3686 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3688 * stdio-common/printf_fphex.c: Likewise.
3689 * stdio-common/printf_size.c: Likewise.
3691 * math/e_exp10.c: Include math_private.h using <...> not "...".
3692 * math/e_exp10f.c: Likewise.
3693 * math/e_exp10l.c: Likewise.
3694 * math/e_exp2l.c: Likewise.
3695 * math/e_j0l.c: Likewise.
3696 * math/e_j1l.c: Likewise.
3697 * math/e_jnl.c: Likewise.
3698 * math/e_lgammal_r.c: Likewise.
3699 * math/e_rem_pio2l.c: Likewise.
3700 * math/e_scalb.c: Likewise.
3701 * math/e_scalbf.c: Likewise.
3702 * math/e_scalbl.c: Likewise.
3703 * math/k_cosl.c: Likewise.
3704 * math/k_sinl.c: Likewise.
3705 * math/k_tanl.c: Likewise.
3706 * math/s_cacoshf.c: Likewise.
3707 * math/s_catan.c: Likewise.
3708 * math/s_catanf.c: Likewise.
3709 * math/s_catanh.c: Likewise.
3710 * math/s_catanhf.c: Likewise.
3711 * math/s_catanhl.c: Likewise.
3712 * math/s_catanl.c: Likewise.
3713 * math/s_ccosh.c: Likewise.
3714 * math/s_ccoshf.c: Likewise.
3715 * math/s_ccoshl.c: Likewise.
3716 * math/s_cexp.c: Likewise.
3717 * math/s_cexpf.c: Likewise.
3718 * math/s_cexpl.c: Likewise.
3719 * math/s_clog.c: Likewise.
3720 * math/s_clog10.c: Likewise.
3721 * math/s_clog10f.c: Likewise.
3722 * math/s_clog10l.c: Likewise.
3723 * math/s_clogf.c: Likewise.
3724 * math/s_clogl.c: Likewise.
3725 * math/s_csin.c: Likewise.
3726 * math/s_csinf.c: Likewise.
3727 * math/s_csinh.c: Likewise.
3728 * math/s_csinhf.c: Likewise.
3729 * math/s_csinhl.c: Likewise.
3730 * math/s_csinl.c: Likewise.
3731 * math/s_csqrt.c: Likewise.
3732 * math/s_csqrtf.c: Likewise.
3733 * math/s_csqrtl.c: Likewise.
3734 * math/s_ctan.c: Likewise.
3735 * math/s_ctanf.c: Likewise.
3736 * math/s_ctanh.c: Likewise.
3737 * math/s_ctanhf.c: Likewise.
3738 * math/s_ctanhl.c: Likewise.
3739 * math/s_ctanl.c: Likewise.
3740 * math/s_ldexp.c: Likewise.
3741 * math/s_ldexpf.c: Likewise.
3742 * math/s_ldexpl.c: Likewise.
3743 * math/s_significand.c: Likewise.
3744 * math/s_significandf.c: Likewise.
3745 * math/s_significandl.c: Likewise.
3746 * math/w_acos.c: Likewise.
3747 * math/w_acosf.c: Likewise.
3748 * math/w_acosh.c: Likewise.
3749 * math/w_acoshf.c: Likewise.
3750 * math/w_acoshl.c: Likewise.
3751 * math/w_acosl.c: Likewise.
3752 * math/w_asin.c: Likewise.
3753 * math/w_asinf.c: Likewise.
3754 * math/w_asinl.c: Likewise.
3755 * math/w_atan2.c: Likewise.
3756 * math/w_atan2f.c: Likewise.
3757 * math/w_atan2l.c: Likewise.
3758 * math/w_atanh.c: Likewise.
3759 * math/w_atanhf.c: Likewise.
3760 * math/w_atanhl.c: Likewise.
3761 * math/w_cosh.c: Likewise.
3762 * math/w_coshf.c: Likewise.
3763 * math/w_coshl.c: Likewise.
3764 * math/w_dremf.c: Likewise.
3765 * math/w_exp10.c: Likewise.
3766 * math/w_exp10f.c: Likewise.
3767 * math/w_exp10l.c: Likewise.
3768 * math/w_exp2.c: Likewise.
3769 * math/w_exp2f.c: Likewise.
3770 * math/w_fmod.c: Likewise.
3771 * math/w_fmodf.c: Likewise.
3772 * math/w_fmodl.c: Likewise.
3773 * math/w_hypot.c: Likewise.
3774 * math/w_hypotf.c: Likewise.
3775 * math/w_hypotl.c: Likewise.
3776 * math/w_j0.c: Likewise.
3777 * math/w_j0f.c: Likewise.
3778 * math/w_j0l.c: Likewise.
3779 * math/w_j1.c: Likewise.
3780 * math/w_j1f.c: Likewise.
3781 * math/w_j1l.c: Likewise.
3782 * math/w_jn.c: Likewise.
3783 * math/w_jnf.c: Likewise.
3784 * math/w_jnl.c: Likewise.
3785 * math/w_lgamma.c: Likewise.
3786 * math/w_lgamma_r.c: Likewise.
3787 * math/w_lgammaf.c: Likewise.
3788 * math/w_lgammaf_r.c: Likewise.
3789 * math/w_lgammal.c: Likewise.
3790 * math/w_lgammal_r.c: Likewise.
3791 * math/w_log.c: Likewise.
3792 * math/w_log10.c: Likewise.
3793 * math/w_log10f.c: Likewise.
3794 * math/w_log10l.c: Likewise.
3795 * math/w_log2.c: Likewise.
3796 * math/w_log2f.c: Likewise.
3797 * math/w_log2l.c: Likewise.
3798 * math/w_logf.c: Likewise.
3799 * math/w_logl.c: Likewise.
3800 * math/w_pow.c: Likewise.
3801 * math/w_powf.c: Likewise.
3802 * math/w_powl.c: Likewise.
3803 * math/w_remainder.c: Likewise.
3804 * math/w_remainderf.c: Likewise.
3805 * math/w_remainderl.c: Likewise.
3806 * math/w_scalb.c: Likewise.
3807 * math/w_scalbf.c: Likewise.
3808 * math/w_scalbl.c: Likewise.
3809 * math/w_sinh.c: Likewise.
3810 * math/w_sinhf.c: Likewise.
3811 * math/w_sinhl.c: Likewise.
3812 * math/w_sqrt.c: Likewise.
3813 * math/w_sqrtf.c: Likewise.
3814 * math/w_sqrtl.c: Likewise.
3815 * math/w_tgamma.c: Likewise.
3816 * math/w_tgammaf.c: Likewise.
3817 * math/w_tgammal.c: Likewise.
3819 * po/ja.po: Update from translation team.
3821 2011-09-29 Andreas Jaeger <aj@suse.de>
3824 * sunrpc/netname.c (netname2host): Fix logic.
3828 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
3830 * math/w_remainder.c (__remainder): Likewise.
3831 * math/w_remainderf.c (__remainderf): Likewise.
3832 * math/libm-test.inc (remainder_test): Add test cases.
3834 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3836 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
3839 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3841 * string/test-memcmp.c: Avoid unncessary #defines.
3842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3844 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3846 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
3847 Use new sse2 version for core i3 - i7 as it's faster
3849 (bit_Prefer_PMINUB_for_stringop): New.
3850 * sysdeps/x86_64/rawmemchr.S: Update.
3851 Replace with faster SSE2 version.
3852 * sysdeps/x86_64/memrchr.S: New file.
3853 * sysdeps/x86_64/memchr.S: Update.
3854 Replace with faster SSE2 version.
3856 2011-09-12 Marek Polacek <mpolacek@redhat.com>
3858 * elf/dl-load.c (lose): Add cast to avoid warning.
3860 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3862 * po/ca.po: Update from translation team.
3864 * inet/getnetgrent_r.c: Hook up nscd.
3865 * nscd/Makefile (routines): Add nscd_netgroup.
3866 (nscd-modules): Add netgroupcache.
3867 (CFLAGS-netgroupcache.c): Define.
3868 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
3869 (cache_search): Add const to second parameter.
3870 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
3872 (dbs): Add netgrdb entry.
3873 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
3874 (verify_persistent_db): Handle netgrdb.
3875 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
3876 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
3878 (netgroup_response_header): Define.
3879 (innetgroup_response_header): Define.
3880 (datahead): Add netgroup_response_header and innetgroup_response_header
3882 * nscd/nscd.conf: Add entries for netgroup cache.
3883 * nscd/nscd.h (dbtype): Add netgrdb.
3884 (_PATH_NSCD_NETGROUP_DB): Define.
3885 (netgroup_iov_disabled): Declare.
3886 (xmalloc, xcalloc, xrealloc): Move declarations here.
3887 (cache_search): Adjust prototype.
3888 Add netgroup-related prototypes.
3889 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
3890 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
3891 (__nscd_innetgr): Declare.
3892 * nscd/selinux.c (perms): Use access_vector_t as element type and
3893 add netgroup-related initializers.
3894 * nscd/netgroupcache.c: New file.
3895 * nscd/nscd_netgroup.c: New file.
3896 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
3897 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
3898 For four parameters use innetgr.
3899 * nss/nss_files/files-init.c: Add definition and callback for netgr.
3900 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
3901 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
3902 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
3904 * nscd/connections.c (register_traced_file): Don't register file
3905 for disabled databases.
3907 2011-10-06 Ulrich Drepper <drepper@gmail.com>
3909 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
3911 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
3912 from tree and freeing node.
3914 2011-09-25 Jiri Olsa <jolsa@redhat.com>
3916 * nss/nsswitch.c (__nss_database_lookup): Handle
3917 nss_parse_service_list out of memory case.
3919 2011-09-15 Jiri Olsa <jolsa@redhat.com>
3921 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
3924 2011-10-04 Andreas Schwab <schwab@redhat.com>
3926 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
3927 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
3929 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
3930 elf_machine_rela, elf_machine_lazy_rel.
3931 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
3932 (ELF_DYNAMIC_DO_REL): Likewise.
3933 (ELF_DYNAMIC_DO_RELA): Likewise.
3934 (ELF_DYNAMIC_RELOCATE): Likewise.
3935 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
3936 to ELF_DYNAMIC_DO_REL.
3937 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
3938 (dl_main): In trace mode always set __RTLD_NOIFUNC.
3939 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
3941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
3942 skip_ifunc, don't call ifunc function if non-zero.
3943 (elf_machine_rela): Likewise.
3944 (elf_machine_lazy_rel): Likewise.
3945 (elf_machine_lazy_rela): Likewise.
3946 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
3947 (elf_machine_lazy_rel): Likewise.
3948 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3950 (elf_machine_lazy_rel): Likewise.
3951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3953 (elf_machine_lazy_rel): Likewise.
3954 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
3955 (elf_machine_lazy_rel): Likewise.
3956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
3957 (elf_machine_lazy_rel): Likewise.
3958 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3959 (elf_machine_lazy_rel): Likewise.
3960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3961 (elf_machine_lazy_rel): Likewise.
3962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3963 (elf_machine_lazy_rel): Likewise.
3964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3965 (elf_machine_lazy_rel): Likewise.
3967 2011-09-28 Ulrich Drepper <drepper@gmail.com>
3969 * nss/nss_files/files-init.c (_nss_files_init): Use static
3970 initialization for all the *_traced_file variables.
3972 2011-09-28 Andreas Schwab <schwab@redhat.com>
3974 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3976 2011-09-27 Roland McGrath <roland@hack.frob.com>
3979 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
3981 2011-09-27 Andreas Schwab <schwab@redhat.com>
3983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3984 Reread the line before reparsing it.
3986 2011-09-26 Andreas Schwab <schwab@redhat.com>
3988 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
3990 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
3991 Maxim Kuvyrkov <maxim@codesourcery.com>
3992 Joseph Myers <joseph@codesourcery.com>
3994 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
3995 if needed for __stack_chk_guard.
3997 2011-09-19 Roland McGrath <roland@hack.frob.com>
3999 * sysdeps/posix/spawni.c (script_execute): Always define it.
4000 It will be optimized away if unused.
4001 (maybe_script_execute): New function.
4002 (__spawni): Call it.
4004 * Makerules: Don't include tls.make.
4005 (config-tls): Always set to thread.
4006 * tls.make.c: File removed.
4008 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4010 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4011 * config.make.in (CPPFLAGS-config): New substituted variable.
4013 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4015 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4018 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4019 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4021 2011-09-15 Roland McGrath <roland@hack.frob.com>
4023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4024 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4026 (CALL_FAIL): Likewise.
4027 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4028 (CALL_FAIL): Macro removed.
4029 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4031 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4033 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4034 for __FINITE_MATH_ONLY__ == 1.
4036 2011-09-15 Andreas Schwab <schwab@redhat.com>
4038 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4039 __ieee754_sqrt instead of sqrt.
4040 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4041 __ieee754_sqrtf instead of sqrtf.
4042 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4043 __floorf instead of floorf.
4044 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4045 __floorf, __truncf instead of floorf, truncf.
4047 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4049 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4051 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4052 __extern_always_inline.
4053 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4056 2011-09-14 Andreas Schwab <schwab@redhat.com>
4058 * elf/rtld.c (dl_main): Also relocate in dependency order when
4059 doing symbol dependency testing.
4061 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4064 Always define `refsym'.
4066 2011-09-13 Andreas Schwab <schwab@redhat.com>
4068 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4069 (__FD_ELT): Renamed from __FDELT.
4070 * misc/bits/select2.h (__FD_ELT): Likewise.
4071 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4072 __FD_MASK instead of __FDELT, __FDMASK.
4073 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4075 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4078 * elf/Makefile (gen-ldd): Fix pattern.
4080 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4081 (init_tls): Likewise.
4083 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4087 2011-09-12 Andreas Schwab <schwab@redhat.com>
4089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4090 `struct cmsghdr *' instead of `void *'.
4091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4094 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4096 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4098 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4101 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4103 * configure.in: Remove --with-tls option.
4104 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4105 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4106 out in case it is missing.
4107 * sysdeps/ia64/elf/configure.in: Likewise.
4108 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4109 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4110 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4111 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4112 * sysdeps/sh/elf/configure.in: Likewise.
4113 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4114 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4115 * sysdeps/x86_64/elf/configure.in: Likewise.
4116 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4117 * sysdeps/mach/hurd/tls.h: Likewise.
4120 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4123 * configure.in: Fix use of AC_INIT.
4125 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4127 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4129 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4131 * malloc/hooks.c: Likewise.
4134 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4135 variables statically.
4136 (narenas): Initialize.
4137 (list_lock): Initialize.
4138 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4139 initializtion of main_arena and list_lock. Small cleanups.
4140 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4141 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4142 Add initializers to main_arena and mp_.
4143 (malloc_state): Remove pagesize member. Change all users to use
4146 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4147 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4148 is always initialized.
4150 * malloc/malloc.c: Removed unused configurations and dead code.
4151 * malloc/arena.c: Likewise.
4152 * malloc/hooks.c: Likewise.
4153 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4155 * include/tls.h: Removed. USE___THREAD must always be defined.
4156 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4157 * elf/dl-libc.c: Likewise.
4158 * elf/dl-tsd.c: Likewise.
4159 * include/errno.h: Likewise.
4160 * include/netdb.h: Likewise.
4161 * include/resolv.h: Likewise.
4162 * inet/herrno-loc.c: Likewise.
4163 * inet/herrno.c: Likewise.
4164 * malloc/arena.c: Likewise.
4165 * malloc/hooks.c: Likewise.
4166 * malloc/malloc.c: Likewise.
4167 * resolv/res-state.c: Likewise.
4168 * resolv/res_libc.c: Likewise.
4169 * sysdeps/i386/dl-machine.h: Likewise.
4170 * sysdeps/ia64/dl-machine.h: Likewise.
4171 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4172 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4173 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4174 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4175 * sysdeps/sh/dl-machine.h: Likewise.
4176 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4177 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4178 * sysdeps/unix/i386/sysdep.S: Likewise.
4179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4180 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4185 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4190 * sysdeps/x86_64/dl-machine.h: Likewise.
4191 * tls.make.c: Likewise.
4193 * configure.in: Remove --with-__thread option. Make tests for
4194 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4195 tls_model attribute fail if no support is available. Remove
4197 * Makeconfig: Adjust for dropped configure option. All features are
4199 * Makerules: Likewise.
4200 * Versions.def: Likewise.
4201 * argp/argp-fmtstream.c: Likewise.
4202 * argp/argp-fmtstream.h: Likewise.
4203 * argp/argp-help.c: Likewise.
4204 * assert/assert.c: Likewise.
4205 * config.h.in: Likewise.
4206 * config.make.in: Likewise.
4207 * configure: Likewise.
4208 * configure.in: Likewise.
4209 * csu/Versions: Likewise.
4210 * csu/init.c: Likewise.
4211 * elf/tst-audit2.c: Likewise.
4212 * elf/tst-tls10.c: Likewise.
4213 * elf/tst-tls10.h: Likewise.
4214 * elf/tst-tls11.c: Likewise.
4215 * elf/tst-tls12.c: Likewise.
4216 * elf/tst-tls14.c: Likewise.
4217 * elf/tst-tlsmod11.c: Likewise.
4218 * elf/tst-tlsmod12.c: Likewise.
4219 * elf/tst-tlsmod13.c: Likewise.
4220 * elf/tst-tlsmod13a.c: Likewise.
4221 * elf/tst-tlsmod14a.c: Likewise.
4222 * elf/tst-tlsmod15b.c: Likewise.
4223 * elf/tst-tlsmod16a.c: Likewise.
4224 * elf/tst-tlsmod16b.c: Likewise.
4225 * elf/tst-tlsmod7.c: Likewise.
4226 * elf/tst-tlsmod8.c: Likewise.
4227 * elf/tst-tlsmod9.c: Likewise.
4228 * gmon/gmon.c: Likewise.
4229 * grp/fgetgrent_r.c: Likewise.
4230 * grp/putgrent.c: Likewise.
4231 * hurd/fopenport.c: Likewise.
4232 * include/libc-symbols.h: Likewise.
4233 * include/tls.h: Likewise.
4234 * intl/gettextP.h: Likewise.
4235 * intl/loadinfo.h: Likewise.
4236 * locale/global-locale.c: Likewise.
4237 * locale/localeinfo.h: Likewise.
4238 * mach/devstream.c: Likewise.
4239 * malloc/arena.c: Likewise.
4240 * malloc/set-freeres.c: Likewise.
4241 * misc/err.c: Likewise.
4242 * misc/getttyent.c: Likewise.
4243 * misc/mntent_r.c: Likewise.
4244 * posix/getopt.c: Likewise.
4245 * posix/wordexp.c: Likewise.
4246 * pwd/fgetpwent_r.c: Likewise.
4247 * resolv/Versions: Likewise.
4248 * resolv/res_hconf.c: Likewise.
4249 * shadow/fgetspent_r.c: Likewise.
4250 * shadow/putspent.c: Likewise.
4251 * stdio-common/printf_fphex.c: Likewise.
4252 * stdio-common/tmpfile.c: Likewise.
4253 * stdlib/abort.c: Likewise.
4254 * stdlib/fmtmsg.c: Likewise.
4255 * sunrpc/auth_unix.c: Likewise.
4256 * sunrpc/clnt_perr.c: Likewise.
4257 * sunrpc/clnt_tcp.c: Likewise.
4258 * sunrpc/clnt_udp.c: Likewise.
4259 * sunrpc/clnt_unix.c: Likewise.
4260 * sunrpc/openchild.c: Likewise.
4261 * sunrpc/svc_simple.c: Likewise.
4262 * sunrpc/svc_tcp.c: Likewise.
4263 * sunrpc/svc_udp.c: Likewise.
4264 * sunrpc/svc_unix.c: Likewise.
4265 * sunrpc/xdr.c: Likewise.
4266 * sunrpc/xdr_array.c: Likewise.
4267 * sunrpc/xdr_rec.c: Likewise.
4268 * sunrpc/xdr_ref.c: Likewise.
4269 * sunrpc/xdr_stdio.c: Likewise.
4271 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4273 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4275 2011-07-03 Andreas Jaeger <aj@suse.de>
4277 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4278 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4279 regenerate with gen-libm-tests.pl.
4281 2010-05-12 Petr Baudis <pasky@suse.cz>
4284 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4285 around j0() zero points by switching to j1().
4286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4291 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4293 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4298 Patch in part by Pavel Roskin <proski@gnu.org>.
4301 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4303 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4304 Free memory block if necessary.
4307 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4308 be NULL. Don't lock in this case.
4310 2011-09-09 Roland McGrath <roland@hack.frob.com>
4312 * elf/elf.h (ELFOSABI_GNU): New macro.
4313 (ELFOSABI_LINUX): Define to that.
4315 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4317 * string/strncat.c (strncat): Undef the symbol in case it has been
4318 defined in bits/string.h.
4320 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4322 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4324 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
4327 2011-08-17 Andreas Jaeger <aj@suse.de>
4329 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4331 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4332 Ian Lance Taylor <iant@google.com>
4334 * math/libm-test.inc (lround_test): New testcase.
4335 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4337 2011-09-08 Ulrich Drepper <drepper@gmail.com>
4339 * Makefile: Remove support for automatic cvs check-ins.
4340 * Makerules: Likewise.
4341 * config.make.in: Likewise.
4342 * configure.in: Likewise.
4343 * intl/Makefile: Likewise.
4344 * locale/Makefile: Likewise.
4345 * po/Makefile: Likewise.
4346 * posix/Makefile: Likewise.
4347 * sysdeps/gnu/Makefile: Likewise.
4348 * sysdeps/mach/hurd/Makefile: Likewise.
4349 * sysdeps/sparc/sparc32/Makefile: Likewise.
4352 * posix/Makefile (bug-regex32-ENV): Define.
4353 Patch by John Stanley <jpsinthemix@verizon.net>.
4355 * misc/Makefile (headers): Add bits/select2.h.
4356 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4357 * misc/bits/select2.h: New file.
4358 * include/bits/select2.h: New file.
4359 * debug/Makefile (routines): Add fdelt_chk.
4360 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4361 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4363 * debug/fdelt_chk.c: New file.
4365 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4366 * wcsmbs/test-wmemcmp.c: Likewise.
4367 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4368 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4370 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4372 * string/Makefile (strop-tests): Add memcmp.
4373 * string/test-wmemcmp.c: New file.
4374 * string/test-memcmp.c: Add wmemcmp support.
4376 2011-09-08 Roland McGrath <roland@hack.frob.com>
4379 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4382 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4383 garbage value in a __mach_port_mod_refs call in the cases of the
4384 task-self and thread-self ports.
4386 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4388 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4390 2011-09-08 Andreas Schwab <schwab@redhat.com>
4392 * elf/dl-load.c (lose): Check for non-null L.
4394 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4396 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4398 * elf/dl-libc.c (dlerror_run): Pass back error code from
4402 * elf/dl-load.c (lose): Free l_origin if it is valid.
4404 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4406 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4409 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4410 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4411 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4413 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4415 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4416 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4417 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4419 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4420 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4421 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4422 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4423 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4424 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4426 2011-08-15 Alan Modra <amodra@gmail.com>
4429 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4430 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4431 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4432 ppc_mcount to static-only-routines.
4433 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4435 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4436 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4438 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4441 for finite and infinity parameters.
4443 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4446 and add nop instructions for throughput optimization.
4447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4449 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4452 aligned copy for power7 with vector-scalar instructions.
4453 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4455 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4460 2011-09-07 Andreas Schwab <schwab@redhat.com>
4463 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4466 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4468 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4469 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4470 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4474 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4477 Forgot to demangle the pointer.
4479 * sysdeps/i386/sysdep.h: Define atom_text_section.
4480 * sysdeps/x86_64/sysdep.h: Likewise.
4481 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4482 section with atom_text_section.
4483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4489 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4490 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4491 already be defined. Change to take two parameters and don't assign
4492 result to variable. Adjust all users.
4493 Define INTERNAL_GETTIME if not already defined.
4494 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4497 HAVE_CLOCK_GETTIME_VSYSCALL.
4498 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4501 gettimeofday vsyscall, just use time.
4503 2011-09-06 Andreas Schwab <schwab@redhat.com>
4505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4508 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4510 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4514 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4516 syscall if possible.
4518 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4520 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4521 e_ident. Don't pass to find_mapsXX.
4522 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4524 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4527 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4528 * sysdeps/x86_64/multiarch/strchr.S: Update.
4529 Check bit_slow_BSF bit.
4530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4531 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4534 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4537 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4540 (__spawni): Change last parameter to be flag. Test
4541 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4542 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4543 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4544 * posix/spawni.c: Likewise.
4545 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4546 * posix/spawnp.c: Likewise. Change normal version to use
4547 SPAWN_XFLAGS_USE_PATH.
4548 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4549 SPAWN_XFLAGS_TRY_SHELL.
4552 * posix/glob.h: Remove gcc 1.x support.
4555 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4557 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4560 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4562 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4563 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4564 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4565 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4566 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4567 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4569 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4571 * sysdeps/x86_64/wcscmp.S: New file.
4573 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4574 wcscmp-c wcscmp-sse2
4575 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4576 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4578 * wcsmbs/wcscmp.c: Allow renaming.
4580 2011-09-05 David S. Miller <davem@davemloft.net>
4582 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4583 stack slot, rather than the struct return pointer slot.
4584 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4585 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4587 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4589 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4591 * po/ja.po: Update from translation team.
4594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4595 kernel in 64-bit binaries.
4597 2011-09-01 David S. Miller <davem@davemloft.net>
4599 * elf/elf.h (HWCAP_SPARC_*): Move to..
4600 * sysdeps/sparc/sysdep.h: this new file and add new values.
4601 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4602 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4603 _DL_HWCAP_COUNT to 24.
4604 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4606 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4607 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4608 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4610 instead of magic constants.
4611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4613 2011-08-31 David S. Miller <davem@davemloft.net>
4615 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4617 Reimplement to do errno handling inline.
4618 (SYSCALL_ERROR_HANDLER): New macro.
4619 (__SYSCALL_STRING): Do not do errno handling in asm.
4620 (__CLONE_SYSCALL_STRING): Delete.
4621 (__INTERNAL_SYSCALL_STRING): Delete.
4622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4623 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4624 (PSEUDO): Reimplement to do errno handling inline.
4625 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4626 (SYSCALL_ERROR_HANDLER): New macro.
4627 (__SYSCALL_STRING): Do not do errno handling in asm.
4628 (__CLONE_SYSCALL_STRING): Delete.
4629 (__INTERNAL_SYSCALL_STRING): Delete.
4630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4631 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4633 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4634 (inline_syscall*): Add 'err' argument.
4635 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4636 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4637 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4638 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4640 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4643 2011-08-30 Andreas Schwab <schwab@redhat.com>
4645 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4647 2011-08-29 Jiri Olsa <jolsa@redhat.com>
4649 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4652 2011-08-24 David S. Miller <davem@davemloft.net>
4654 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4656 2011-08-24 Andreas Schwab <schwab@redhat.com>
4658 * elf/Makefile: Add rules to build and run unload8 test.
4659 * elf/unload8.c: New file.
4660 * elf/unload8mod1.c: New file.
4661 * elf/unload8mod1x.c: New file.
4662 * elf/unload8mod2.c: New file.
4663 * elf/unload8mod3.c: New file.
4665 * elf/dl-close.c (_dl_close_worker): Reset private search list if
4668 2011-08-23 David S. Miller <davem@davemloft.net>
4670 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4671 subtract stack bias.
4672 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4673 %sp not %fp in calculations.
4674 (_JMPBUF_UNWINDS_ADJ): Likewise.
4676 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4677 (aio_suspend): Call it to force an exception region around the
4678 AIO_MISC_WAIT() invocation.
4680 2011-08-23 Andreas Schwab <schwab@redhat.com>
4682 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4685 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
4687 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4689 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4691 (Elf64_FuncDesc): Remove.
4693 2011-08-22 David S. Miller <davem@davemloft.net>
4695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4696 sigaltstack check, add missing cfi directives.
4697 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
4698 missing cfi directives, and sigaltstack handling.
4700 2011-08-16 Andreas Schwab <schwab@redhat.com>
4703 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4704 object is seen twice.
4705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4707 * elf/Makefile (distribute): Add tst-initorder2.c.
4708 (tests): Add tst-initorder2.
4709 (modules-names): Add tst-initorder2a tst-initorder2b
4710 tst-initorder2c tst-initorder2d. Add rules to build them.
4711 ($(objpfx)tst-initorder2.out): New rule.
4712 * elf/tst-initorder2.c: New file.
4713 * elf/tst-initorder2.exp: New file.
4715 2011-08-22 Andreas Schwab <schwab@redhat.com>
4717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4719 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4720 dependencies back to end of function.
4722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4725 2011-08-21 Ulrich Drepper <drepper@gmail.com>
4727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4728 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4730 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4731 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4732 of __vdso_gettimeofday.
4733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4734 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4736 (_libc_vdso_platform_setup): Remove initialization of
4737 __vdso_gettimeofday and __vdso_time.
4739 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4741 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4743 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4746 * elf/dl-open.c (add_to_global): Report additions to the global scope
4747 for LD_DEBUG=scopes.
4748 (dl_open_worker): Also print scope of newly loaded dependencies.
4749 (_dl_show_scope): Indicate if there is no scope.
4752 * stdio-common/Makefile (tests): Add bug24.
4753 * stdio-common/bug24.c: New file.
4755 2011-08-19 Andreas Jaeger <aj@suse.de>
4758 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4759 non-existant file when using close-on-exec mode.
4761 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4764 the very first instruction.
4766 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4767 the CFI state in the end.
4768 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4769 inclusion of dl-trampoline.h.
4770 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4772 2011-08-19 Andreas Schwab <schwab@redhat.com>
4774 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4775 expectations for long double.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4778 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4780 2011-08-14 David S. Miller <davem@davemloft.net>
4782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4783 artificual limit depends upon the system page size.
4785 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4787 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4788 * resolv/Makefile: Define CFLAGS-libresolv.
4790 2011-08-17 Andreas Schwab <schwab@redhat.com>
4792 * nss/makedb.c (compute_tables): Make variables used in nested
4795 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4797 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
4798 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
4799 if buffer was too small.
4801 * elf/pldd.c (main): Attach to all threads in the process.
4802 Rewrite /proc handling to use *at functions.
4804 2011-08-16 Ulrich Drepper <drepper@gmail.com>
4806 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
4807 specifies first scope to show.
4808 (dl_open_worker): Update callers. Move printing scope of new
4809 object to before the relocation.
4810 * elf/rtld.c (dl_main): Update _dl_show_scope call.
4811 * sysdeps/generic/ldsodefs.h: Update declaration.
4813 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
4814 string for the scope number.
4816 2011-08-14 Ulrich Drepper <drepper@gmail.com>
4818 * nscd/servicescache.c (cache_addserv): Make sure written is always
4821 2011-08-14 Roland McGrath <roland@hack.frob.com>
4823 * sysdeps/i386/i486/bits/atomic.h
4824 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
4825 statement expression, so as to suppress "set but not used" warning.
4826 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
4828 * string/strncat.c (STRNCAT): Use prototype definition.
4830 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
4831 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
4833 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
4834 (localedef-modules): Add localedef.
4835 (locale-modules): Add locale.
4837 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
4838 * elf/rtld.c (dl_main): Invert order of assignment in last change,
4841 2011-08-14 David S. Miller <davem@davemloft.net>
4843 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
4844 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
4846 2011-08-13 Ulrich Drepper <drepper@gmail.com>
4848 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
4849 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
4850 * elf/rtld.c (dl_main): Set l_name of vDSO.
4851 Call _dl_show_scope when DL_DEBUG_SCOPES.
4852 (process_dl_debug): Recognize scopes flag and also set it for all.
4853 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
4854 Declare _dl_show_scope.
4856 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
4857 (do_dlopen): Pass caller_dlopen to dl_open.
4858 (__libc_dlopen_mode): Initialize caller_dlopen.
4860 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
4861 of libc. Make tolower call locale-independent. Optimize a bit by
4862 using isdigit instead of isalnum.
4863 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
4865 2011-08-12 Ulrich Drepper <drepper@gmail.com>
4867 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
4868 was a dependency or dynamically loaded.
4870 2011-08-11 Ulrich Drepper <drepper@gmail.com>
4872 * intl/l10nflist.c: Allow architecture-specific pop function.
4873 * sysdeps/x86_64/l10nflist.c: New file.
4875 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
4878 2011-08-10 Andreas Schwab <schwab@redhat.com>
4880 * include/dirent.h: Add libc_hidden_proto for scandirat and
4881 scandirat64. Don't declare __scandirat64.
4882 * dirent/scandirat.c: Add libc_hidden_def.
4883 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
4884 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
4886 2011-08-10 David S. Miller <davem@davemloft.net>
4888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
4890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4894 2011-08-09 Ulrich Drepper <drepper@gmail.com>
4896 * Versions.def [libc]: Add GLIBC_2.15.
4897 * dirent/Makefile (routines): Add scandirat and scandirat64.
4898 * dirent/Versions [libc]: Export scandirat and scandirat64 for
4900 * dirent/dirent.h: Declare scandirat and scandirat64.
4901 * dirent/scandirat.c: New file.
4902 * dirent/scandirat64.c: New file.
4903 * sysdeps/wordsize-64/scandirat.c: New file.
4904 * sysdeps/wordsize-64/scandirat64.c: New file.
4905 * dirent/opendir.c: Define opendirat.
4906 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
4908 * dirent/scandir64.c: Adjust for scandir.c change.
4909 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
4910 __scandirat64, and __scandir_cancel_handler.
4911 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
4912 additional parameter and use openat instead of open (outside of ld.so).
4913 Add new __opendir as wrapper around __opendirat.
4914 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
4915 here without requiring old scandirat implementation.
4917 2011-08-08 Ulrich Drepper <drepper@gmail.com>
4919 * dirent/scandir.c (cancel_handler): Renamed to
4920 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
4921 defined. Adjust users.
4922 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
4923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
4925 2011-08-04 Ulrich Drepper <drepper@gmail.com>
4927 * string/test-string.h (IMPL): Use __STRING to expand name and then
4930 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
4933 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4935 * string/Makefile: Update.
4936 (strop-tests): Append strncat.
4937 * string/test-wcscmp.c: New file.
4938 New comprehensive test for wcscmp.
4939 * string/test-strcmp.c: Update.
4942 2011-07-22 Andreas Schwab <schwab@redhat.com>
4944 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
4947 2011-07-26 Andreas Schwab <schwab@redhat.com>
4949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4950 encoding to ACE if AI_IDN.
4952 2011-08-01 Jakub Jelinek <jakub@redhat.com>
4954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
4955 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
4957 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
4960 Fix overflow bug in strncat.
4961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4963 * string/test-strncat.c: Update.
4964 Add new tests for checking overflow bugs.
4966 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4969 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
4970 * sysdeps/i386/i686/multiarch/strcat.S: New file.
4971 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
4972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
4973 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
4974 * sysdeps/i386/i686/multiarch/strncat.S: New file.
4975 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
4976 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
4978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
4979 (USE_AS_STRCAT): Define.
4980 Add strcat and strncat support.
4981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4983 2011-07-25 Andreas Schwab <schwab@redhat.com>
4985 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
4986 __n bigger than INT_MAX+1.
4987 (__strncmp_g): Likewise.
4989 2011-07-23 Ulrich Drepper <drepper@gmail.com>
4991 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
4992 * libio/stido.h: Likewise.
4994 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
4996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
4999 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5006 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5011 (_dl_x86_64_save_sse): Likewise.
5013 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5017 (_dl_x86_64_save_sse): Likewise.
5019 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5021 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5023 2011-07-21 Andreas Schwab <schwab@redhat.com>
5025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5027 (_dl_x86_64_save_sse): Use correct AVX check.
5029 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5032 bug in strncpy/strncat.
5033 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5035 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5037 * string/tester.c (test_strcat): Add tests for different alignments
5038 of source and destination.
5039 (test_strncat): Likewise.
5041 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5044 * posix/glob.c (glob): Check passed in values before using them in
5045 expressions to avoid some overflows.
5046 (glob_in_dir): Likewise.
5049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5050 check for AVX enablement so that we don't crash with old kernels and
5052 * elf/tst-audit4.c: Add same checks here.
5053 * elf/tst-audit6.c: Likewise.
5055 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5057 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5059 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5061 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5063 * po/cs.po: Update from translation team.
5064 * po/bg.po: Likewise.
5066 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5068 * misc/sys/cdefs.h: Add support for const attribute.
5069 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5070 to gnu_dev_{major,minor,makedev} functions.
5072 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5074 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5076 2011-07-20 Andreas Schwab <schwab@redhat.com>
5078 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5081 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5084 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5085 register in order to avoid conflicts with the soft frame pointer
5086 being held in r11 when necessary.
5087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5088 (INTERNAL_VSYSCALL_NCS): Likewise.
5090 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5092 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5093 * elf/dl-fini.c (_dl_fini): Adjust caller.
5094 * elf/dl-close.c (_dl_close_worker): Likewise.
5095 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5097 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5099 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5100 "aux_cache->nlibs < 0".
5102 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5103 in the reload-count case.
5105 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5108 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5109 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5111 * sysdeps/x86_64/multiarch/strcat.S: New file.
5112 * sysdeps/x86_64/multiarch/strncat.S: New file.
5113 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5115 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5116 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5118 (USE_AS_STRCAT): Define.
5119 Add strcat and strncat support.
5120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5122 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5123 * string/strncat.c: Update.
5124 (USE_AS_STRNCAT): Define.
5125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5126 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5128 * sysdeps/x86_64/multiarch/init-arch.h
5129 (bit_Prefer_PMINUB_for_stringop): New.
5130 (index_Prefer_PMINUB_for_stringop): Likewise.
5131 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5132 bit_Prefer_PMINUB_for_stringop.
5134 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5136 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5138 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5139 of casting of buffer.
5140 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5141 buffer32 and buffer64.
5142 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5143 writes instead of casting of buffer.
5144 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5146 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5149 2011-07-19 Andreas Schwab <schwab@redhat.com>
5151 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5153 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5155 * nscd/nscd.c (termination_handler): Don't do anything for a database
5156 if it has not yet been initialized.
5158 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5160 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5162 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5164 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5166 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5168 * po/nl.po: Update from translation team.
5169 * po/sv.po: Likewise.
5171 2011-07-16 Roland McGrath <roland@hack.frob.com>
5173 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5174 now disallowed by GCC.
5176 * configure.in (use-default-link): Default to yes if a test -shared
5177 link meets our qualifications.
5178 * configure: Regenerated.
5180 * config.make.in (output-format): New variable.
5181 * configure.in: Check for ld --print-output-format support.
5182 * configure: Regenerated.
5183 * Makerules ($(common-objpfx)format.lds)
5184 [$(output-format) != unknown]: Just use $(output-format),
5185 instead of the linker-script munging.
5187 2011-07-14 Roland McGrath <roland@hack.frob.com>
5189 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5190 of $(common-objpfx)shlib.lds.
5191 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5193 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5194 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5196 * configure.in (-z relro check): Adjust test code to add a large
5197 writable data section after it.
5198 * configure: Regenerated.
5200 2011-07-11 Roland McGrath <roland@hack.frob.com>
5202 * configure.in (-z relro check): Fix test code to make the variable
5204 * configure: Regenerated.
5206 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5208 * nscd/nscd.h (struct traced_file): Define.
5209 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5210 elements. Add traced_files.
5211 (inotify_fd): Declare.
5212 (register_traced_file): Declare.
5213 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5214 (inotify_fd): Export.
5215 (resolv_conf_descr): Remove.
5216 (nscd_init): Move inotify descriptor creation to main.
5217 Don't register files for notification here.
5218 (register_traced_file): New function.
5219 (invalidate_cache): Don't use reset_res to determine whether to call
5220 res_init, go through the list of registered files.
5221 (main_loop_poll): The inotify descriptors are now stored in the
5222 structures for the traced files.
5223 (main_loop_epoll): Likewise
5224 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5225 to __nss_disable_nscd.
5226 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5227 for a database anymore. Check the records for all the registered
5229 * nss/Makefile (libnss_files-routines): Add files-init.
5230 (libnss_db-routines): Add db-init.
5231 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5232 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5233 * nss/nss_db/db-init.c: New file.
5234 * nss/nss_files/files-init.c: New file.
5235 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5236 __nss_lookup_function.
5237 (__nss_lookup_function): Call nss_load_library.
5238 (nss_load_all_libraries): New function.
5239 (__nss_disable_nscd): Take parameter with callback function for files
5240 to register. Set is_nscd. Load all the DSOs for the NSS modules
5241 used for the cached services.
5242 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5243 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5244 options for features to all the files in nscd.
5246 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5248 2011-07-10 Roland McGrath <roland@hack.frob.com>
5250 * csu/elf-init.c (__libc_csu_init): Comment typo.
5252 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5254 * po/pl.po: Update from translation team.
5255 * po/ja.po: Likewise.
5256 * po/ru.po: Likewise.
5257 * po/ko.po: Likewise.
5258 * po/fr.po: Likewise.
5260 2011-07-09 Roland McGrath <roland@hack.frob.com>
5262 * configure.in (.ctors/.dtors header and trailer check):
5263 Use an empirical test on a built program.
5264 * configure: Regenerated.
5266 * configure.in (-z relro check): Use an empirical test on a built DSO.
5267 Detect, but do not require, on ia64.
5268 * configure: Regenerated.
5270 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5271 Update tests that use readelf to use $READELF instead.
5272 * configure: Regenerated.
5274 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5276 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5277 if the result is not used.
5279 2011-07-05 Andreas Jaeger <aj@suse.de>
5282 * stdlib/tst-strtod.c: Add testcase.
5284 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5286 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5287 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5288 The latter has a higher limit. Take additional parameter to pass to
5290 (__pathconf): Pass file to __statfs_link_max.
5291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5293 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5297 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5301 (__statfs_filesize_max): Likewise.
5302 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5304 2011-07-05 Andreas Jaeger <aj@suse.de>
5306 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5308 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5310 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5312 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5315 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5317 * Makefile (strop-tests): Add strncat.
5318 * string/test-strncat.c: New file.
5320 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5322 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5324 2011-06-21 Andreas Jaeger <aj@suse.de>
5326 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5327 Copy rule from iconvdata/Makefile.
5329 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5332 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5333 but no long options are defined, just return 'W'.
5335 2011-06-22 Marek Polacek <mpolacek@redhat.com>
5338 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5340 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5342 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5344 (innetgr): Likewise.
5346 2011-07-05 Roland McGrath <roland@hack.frob.com>
5348 * config.make.in (install_root): Default to $(DESTDIR).
5350 2011-07-05 Ulrich Drepper <drepper@gmail.com>
5352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5354 2011-07-02 Roland McGrath <roland@hack.frob.com>
5356 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5358 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5359 containing directory rather than embedding absolute directory names.
5361 * scripts/check-local-headers.sh: Rewritten using awk.
5362 Match by word, not by line. Print error messages for matches.
5363 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5365 * Makerules [shlib-lds-flags empty]:
5366 ($(common-objpfx)libc_pic.opts): New target.
5367 ($(common-objpfx)libc_pic.os.clean): New target.
5368 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5370 * config.make.in (OBJCOPY): New variable.
5371 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5372 * configure: Regenerated.
5374 * config.make.in (use-default-link): New variable.
5375 * configure.in (use_default_link): Grok --with-default-link to set it.
5376 * configure: Regenerated.
5377 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5378 (shlib-lds, shlib-lds-flags): Define to empty.
5380 * Makerules (shlib-lds): New variable.
5381 (shlib-lds-flags): New variable.
5382 (build-shlib, build-moduile, build-module-asneeded): Use it.
5383 ($(common-objpfx)libc.so): Use $(shlib-lds).
5384 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5385 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5387 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5388 DT_FLAGS/DT_FLAGS_1 with zero flags.
5390 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5391 linker script munging.
5393 2011-07-02 Ulrich Drepper <drepper@gmail.com>
5395 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5397 * crypt/sha512.c (sha512_process_block): Perform total addition using
5398 128-bit if possible.
5399 (__sha512_finish_ctx): Likewise.
5400 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5402 * crypt/sha256.c (SWAP64): Define.
5403 (sha256_process_block): Perform total addition using 64-bit if
5405 (__sha256_finish_ctx): Likewise.
5407 2011-07-01 Ulrich Drepper <drepper@gmail.com>
5409 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5411 * nscd/hstcache.c (cache_addhst): Likewise.
5412 * nscd/grpcache.c (cache_addgr): Likewise.
5413 * nscd/aicache.c (addhstaiX): Likewise
5414 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5416 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
5418 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5420 * nscd/hstcache.c (cache_addhst): Likewise.
5421 * nscd/grpcache.c (cache_addgr): Likewise.
5422 * nscd/aicache.c (addhstaiX): Likewise
5424 2011-07-01 Andreas Schwab <schwab@redhat.com>
5426 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5427 domain only when needed.
5429 2011-06-30 Andreas Schwab <schwab@redhat.com>
5431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5434 2011-06-29 Ulrich Drepper <drepper@gmail.com>
5436 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5437 are re-adding the entry.
5438 * nscd/servicescache.c (cache_addserv): Likewise.
5440 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5442 * sysdeps/generic/dl-irel.h: fix protection against multiple
5444 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5446 2011-06-28 Ulrich Drepper <drepper@gmail.com>
5449 * malloc/memusage.sh: Fix quoting in message.
5450 * debug/xtrace.sh: Likewise.
5452 * configure.in: Remove support for --experimental-malloc option, make
5454 * config.make.in: Likewise.
5455 * malloc/Makefile: Likewise.
5457 2011-06-27 Andreas Schwab <schwab@redhat.com>
5459 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5460 two-byte characters.
5462 2011-06-27 Roland McGrath <roland@hack.frob.com>
5464 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5465 AC_CACHE_CHECK invocation.
5466 * configure: Regenerated.
5468 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5470 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5473 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5474 bit from old_res_options.
5476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5478 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5479 value type for setfct.
5481 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5484 __gettimeofday instead of gettimeofday.
5486 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5488 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5490 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5497 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5500 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5501 strcpy-sse2-unaligned strncpy-sse2-unaligned
5502 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5503 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5504 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5505 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5506 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5509 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5510 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5511 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5512 (STRCPY): Support SSE2 and SSSE3 versions.
5514 2011-06-24 Ulrich Drepper <drepper@gmail.com>
5517 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5518 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5519 kernels which artificially limit size of requests.
5521 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5524 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5525 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5526 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5527 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5528 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5529 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5530 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5533 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5534 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5535 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5536 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5537 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5539 Enable unaligned load optimization for Intel Core i3, i5 and i7
5541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5543 (index_Fast_Unaligned_Load): Define.
5544 (HAS_FAST_UNALIGNED_LOAD): Define.
5546 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5548 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5550 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5553 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5554 until it is clear that the information is realy needed.
5555 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5557 2011-06-22 Andreas Schwab <schwab@redhat.com>
5559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5561 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5564 /sys/devices/system/cpu/online if it is usable.
5566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5567 reading the information from the /proc filesystem to once a second.
5569 2011-06-21 Andreas Jaeger <aj@suse.de>
5571 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5572 NULL after inclusion of kernel headers.
5574 2011-06-21 Ulrich Drepper <drepper@gmail.com>
5576 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5577 calls to internal_setent.
5580 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5581 addresses using gethostbyname4_r ignore IPv4 addresses.
5583 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5584 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5586 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5588 2011-06-20 David S. Miller <davem@davemloft.net>
5590 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5592 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5594 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5596 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5597 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5598 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5599 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5600 * sysdeps/x86_64/dl-irel.h: Likewise.
5602 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5603 * elf/dl-sym.c: Likewise.
5605 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5607 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5608 need to dereference resplen2.
5610 2011-06-14 Andreas Schwab <schwab@redhat.com>
5612 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5614 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5616 * Makeconfig: Define vardbdir and inst_vardbdir.
5617 * nss/Makefile: Add rules to install db-Makefile.
5619 * nss/nss_db/db-XXX.c: Cleanup.
5621 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5622 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5624 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5625 * nss/makedb.c: Implement -g option to specify that value strings
5626 are generated and should not be added to table iterated over for
5628 * nss/nss_db/db-initgroups.c: New file.
5630 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5633 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5634 (internal_getgrouplist): Adjust to name change.
5635 Update use_initgroups_entry if this is not the first call.
5636 * nss/databases.def: Add initgroups entry.
5638 * nss/makedb.c (compute_tables): Check result of multiple hash table
5639 sizes to minimize maximum chain length.
5641 2011-06-14 Ulrich Drepper <drepper@gmail.com>
5643 * Versions.def: Add entry for libnss_db.
5644 * shlib-versions: Likewise.
5645 * nss/Makefile: Add rules to build libnss_db.
5646 * nss/Versions: Add libnss_db information. Organize libnss_files
5648 * nss/db-Makefile: Add gshadow support. Change rules for the new
5649 makedb progra. Some minor improvements to generate smaller files.
5650 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5652 * nss/makedb.c: ...here.
5653 Improve database format to be smaller and require less memory at
5655 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
5657 * nss/nss_db/db-netgrp.c: Likewise.
5658 * nss/nss_db/db-open.c: Likewise.
5659 * nss/nss_files/flies-XXX.x: Adjust comments.
5660 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5661 * nss/nss_files/files-grp.c: Likewise.
5662 * nss/nss_files/files-hosts.c: Likewise.
5663 * nss/nss_files/files-network.c: Likewise.
5664 * nss/nss_files/files-proto.c: Likewise.
5665 * nss/nss_files/files-pwd.c: Likewise.
5666 * nss/nss_files/files-rpc.c: Likewise.
5667 * nss/nss_files/files-service.c: Likewise.
5668 * nss/nss_files/files-sgrp.c: Likewise.
5669 * nss/nss_files/files-spwd.c: Likewise.
5670 * nss/nss_db/db-alias.c: Removed.
5671 * nss/nss_db/dummy-db.h: Removed.
5673 2011-06-02 Ulrich Drepper <drepper@gmail.com>
5675 * nss/makedb.c: Rewritten to not use database library.
5676 * nss/Makefile: Update to build new makedb program.
5678 2011-06-14 Andreas Jaeger <aj@suse.de>
5680 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5683 2011-06-10 Andreas Schwab <schwab@redhat.com>
5685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5688 2011-06-10 Roland McGrath <roland@hack.frob.com>
5690 * Makerules (shlib.lds): Fail if the linker script comes out empty.
5691 * elf/Makefile ($(objpfx)ld.so): Likewise.
5693 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5694 Don't list ld.so twice in dependencies.
5696 * posix/bug-regex31.c: Include <stdlib.h>.
5698 * nscd/hstcache.c (cache_addhst): Remove unused variable.
5700 * nis/nss_compat/compat-spwd.c
5701 (getspent_next_nss_netgr): Remove unused variable.
5702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5704 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5705 nonmembers" output to use the right array.
5707 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5709 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5711 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5712 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5713 * catgets/gencat.c (read_input_file): Likewise.
5714 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5717 variable definition inside #if's controlling its use.
5719 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5721 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5723 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5725 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5728 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5730 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5731 * configure: Regenerated.
5733 * Makerules: Revert last change.
5734 * elf/Makefile: Likewise.
5736 2011-06-09 Roland McGrath <roland@hack.frob.com>
5738 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5739 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5740 (reloc-link): Likewise.
5742 2011-06-09 Ulrich Drepper <drepper@gmail.com>
5744 * elf/Makefile: Add rules to build pldd.
5745 * elf/pldd.c: New file.
5746 * elf/pldd-xx.c: New file.
5748 2011-06-07 Ulrich Drepper <drepper@gmail.com>
5750 * version.h: Update for 2.15 development version.
5752 2011-06-07 David S. Miller <davem@davemloft.net>
5754 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5757 elf_machine_lazy_rel): Likewise.
5758 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5760 elf_machine_lazy_rel): Likewise.
5761 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5762 dl_hwcap via passed in argument.
5763 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5766 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5768 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
5770 2011-06-06 Roland McGrath <roland@hack.frob.com>
5773 * manual/fdl-1.1.texi: New file, verbatim from:
5774 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5775 * manual/lgpl-2.1.texi: New file, verbatim from:
5776 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5777 * manual/Makefile (licenses): New variable, list those new file names.
5779 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5781 * manual/fdl.texi: File removed.
5782 * manual/lesser.texi: File removed.
5783 * manual/libc.texinfo (Copying, Documentation License):
5784 Use new @include file names, put @appendix directive before @include.
5786 2011-06-04 Jakub Jelinek <jakub@redhat.com>
5789 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5790 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5791 (mq_open): Add __NTH.
5793 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
5795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5796 Assume Intel Core i3/i5/i7 processor if AVX is available.
5798 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5803 2011-05-31 Andreas Schwab <schwab@redhat.com>
5805 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
5806 memory. Use alloca_account. Fix memory leak when retrying.
5808 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5810 * version.h (RELEASE): Bump for 2.14 release.
5811 * include/features.h (__GLIBC_MINOR__): Bump to 14.
5813 * config.make.in (RANLIB): Remove entry.
5815 2011-05-30 Ulrich Drepper <drepper@gmail.com>
5817 * po/Makefile (po-sed-cmd): Add ksh to extensions.
5818 (libc.pot): Work around missing support for .ksh extension in xgettext.
5821 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
5822 if both request failed.
5823 (send_dg): In case of server errors clear resplen or *resplen2.
5826 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
5827 when there are multiple maps.
5828 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
5829 (_dl_fini): Remove test here.
5831 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
5833 2011-05-29 Ulrich Drepper <drepper@gmail.com>
5836 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
5837 bit from old_res_options.
5838 (gaih_inet): Likewise.
5841 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
5844 * resolv/res_init.c (res_setoptions): Make the code more compact.
5847 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
5851 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
5853 * malloc/malloc.h: Mark malloc hook variables as deprecated.
5856 * malloc/malloc.h: Declare malloc hook variables as volatile.
5858 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
5862 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
5863 raise in the comment.
5864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5866 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5868 2011-05-28 Ulrich Drepper <drepper@gmail.com>
5871 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
5872 grow the buffers more if it already has to be sufficient.
5873 (build_wcs_upper_buffer): Likewise.
5874 * posix/regexec.c (check_matching): Likewise.
5875 (clean_state_log_if_needed): Likewise.
5876 (extend_buffers): Don't enlarge buffers beyond size of the input
5878 Patches mostly by Emil Wojak <emil@wojak.eu>.
5879 * posix/bug-regex32.c: New file.
5880 * posix/Makefile (tests): Add bug-regex32.
5882 * locale/findlocale.c (_nl_find_locale): Return right away if
5883 _nl_explode_name failed.
5884 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5886 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
5888 * debug/xtrace.sh: Unify messages.
5889 * malloc/memusage.sh: Likewise.
5892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
5893 time symbol from vDSO. Substitute with vsyscall if not available.
5894 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
5897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
5898 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
5899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
5900 Add sendmmsg and internal_sendmmsg.
5901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
5902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
5903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
5905 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
5906 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
5907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
5909 2011-05-27 Ulrich Drepper <drepper@gmail.com>
5912 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
5913 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
5915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
5919 * iconvdata/Makefile (tests): Add bug-iconv9.
5920 * iconvdata/bug-iconv9.c: New file.
5922 2011-05-27 Andreas Schwab <schwab@redhat.com>
5925 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
5927 2011-05-25 Jakub Jelinek <jakub@redhat.com>
5929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5930 (struct user_regs_struct): Change intcs field back to cs.
5932 2011-05-25 Ulrich Drepper <drepper@gmail.com>
5934 * po/ja.po: Update from translation team.
5936 2011-05-23 Ulrich Drepper <drepper@gmail.com>
5939 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
5940 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
5942 2011-05-20 Andreas Schwab <schwab@redhat.com>
5944 * stdlib/longlong.h: Update from GCC.
5946 2011-05-23 Andreas Schwab <schwab@redhat.com>
5948 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
5950 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
5952 (__sysconf): Pass it down.
5954 2011-05-22 Ulrich Drepper <drepper@gmail.com>
5957 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
5959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5960 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
5961 add in in __libc_use_alloca calls. Adjust callers.
5962 (glob): Use malloc in some situations.
5964 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
5965 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
5968 2011-05-21 Ulrich Drepper <drepper@gmail.com>
5970 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
5971 and CLOCK_BOOTTIME_ALARM.
5974 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
5977 * string/_strerror.c (__strerror_r): Print negative errors as signed
5981 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
5982 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
5983 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
5985 * configure.in: Fix typo in redirection and correct removal of test
5989 * locale/setlocale.c (new_composite_name): Fix test to check for
5990 identical name of all categories.
5993 * libio/filedoalloc.c (local_isatty): New function.
5994 (_IO_file_doallocate): Use local_isatty.
5995 * stdio-common/perror.c (perror): In case a new stream is used
5996 forward the stream error.
5997 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6000 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6005 * include/alloca.h (extend_alloca_account): Define.
6008 * posix/regex.h: Fix comments with documentation of user-accessible
6009 fields after compilation and describe correct free'ing of pattern
6010 after re_compile_pattern.
6011 Patch by Reuben Thomas <rrt@sc3d.org>.
6013 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6015 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6016 and -mno-altivec to prevent the compiler from using Altivec and/or
6017 VSX instructions when the corresponding registers are not available.
6019 2011-05-19 Andreas Schwab <schwab@redhat.com>
6021 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6023 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6025 * libio/freopen.c (freopen): Use __dup2, not dup2.
6026 * libio/freopen64.c (freopen64): Likewise.
6028 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6031 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6032 * math/Makefile (tests): Add test-powl.
6033 (CFLAGS-test-powl.c): Define.
6034 * math/test-powl.c: New file.
6036 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6038 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6040 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6043 * iconvdata/gb18030.c: Update to GB18020-2005.
6045 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6047 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6048 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6049 Patch by Aharon Robbins <arnold@skeeve.com>.
6052 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6056 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6060 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6061 point to strings before performing equality test for error_one_per_line
6065 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6068 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6069 (struct user_fpregs_struct): Avoid __uint*_t types.
6072 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6073 symbol info. Use it instead of calling _dl_addr locally.
6074 (lock_and_info): New function.
6075 (tr_freehook): Call lock_and_info and pass symbol info as additional
6076 parameter to tr_where.
6077 (tr_mallochook): Likewise.
6078 (tr_reallochook): Likewise.
6079 (tr_memalignhook): Likewise.
6081 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6082 used and couldn't be at all thread-safe.
6084 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6086 * libio/freopen.c (freopen): Don't close old file descriptor
6087 before the new one is opened. Instead dup the new file descriptor
6088 to the old one after the new stream is created.
6089 * libio/freopen64.c (freopen64): Likewise.
6090 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6091 * libio/fileops.c (_IO_new_file_close_it): Handle new
6092 _IO_FLAGS2_NOCLOSE flag.
6093 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6094 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6095 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6096 _IO_FLAGS2_NOCLOSE flag.
6097 * include/unistd.h: Add hidden_proto for dup3.
6099 * io/dup3.c: Define hidden symbol.
6100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6103 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6104 when an incomplete long option is used.
6105 * posix/tst-getopt_long1.c: New file.
6106 * posix/Makefile (tests): Add tst-getopt_long1.
6109 * scripts/config.guess: Update from autoconf-2.68.
6110 * scripts/config.sub: Likewise.
6113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6115 (has_cpuclock): ...this. New function.
6116 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6117 macro here based on has_cpuclock code.
6120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6121 First byte (not low byte) is now always NUL.
6122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6125 Use non-cancelable interfaces.
6128 * locale/iso-639.def: Add entry for Sorani.
6131 * include/stdlib.h: Move include protection to the right place.
6132 Define abort_msg_s. Declare __abort_msg with it.
6133 * stdlib/abort.c (__abort_msg): Adjust type.
6134 * assert/assert.c (__assert_fail_base): New function. Majority
6135 of code from __assert_fail. Allocate memory for __abort_msg with
6137 (__assert_fail): Now call __assert_fail_base.
6138 * assert/assert-perr.c: Remove bulk of implementation. Use
6140 * include/assert.hL Declare __assert_fail_base.
6141 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6143 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6145 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6149 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6150 until all modules are registered in the DTV.
6151 * elf/Makefile: Add rules to build and run tst-tls19.
6152 * elf/tst-tls19.c: New file.
6153 * elf/tst-tls19mod1.c: New file.
6154 * elf/tst-tls19mod2.c: New file.
6155 * elf/tst-tls19mod3.c: New file.
6156 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6159 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6163 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6164 two-byte sequence errors.
6165 * iconvdata/Makefile (tests): Add bug-iconv8.
6166 * iconvdata/bug-iconv8.c: New file.
6169 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6172 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6175 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6176 (dummy_getcfa): New function.
6177 (init): Get _Unwind_GetCFA address, use dummy if not found.
6178 (backtrace_helper): In recursion check, also check whether CFA changes.
6179 (__backtrace): Completely initialize arg.
6181 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6182 storing incomplete byte sequence in state object. Avoid testing for
6183 guaranteed too small input if we know there is enough data available.
6185 2011-05-11 Andreas Schwab <schwab@redhat.com>
6187 * Makeconfig (+link-pie): Indent.
6188 * Rules (binaries-pie): Define if $(have-fpie) and
6190 (binaries-shared): Also filter out $(binaries-pie).
6191 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6192 * nscd/Makefile (others-pie): Add nscd.
6193 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6194 ($(objpfx)nscd): Remove command override.
6195 * login/Makefile (others-pie): Add pt_chown.
6196 ($(objpfx)pt_chown): Remove command override.
6197 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6198 remove command overrides.
6200 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6202 * libio/tst_putwc.c: Fix error messages.
6205 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6206 currently writing and seek to current position when not.
6207 * libio/Makefile (tests): Add bug-fclose1.
6208 * libio/bug-fclose1.c: New file.
6210 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6213 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6214 don't set DF_1_NODELETE here.
6215 (do_lookup_x): When entering new entry test for copy relocation
6216 and if necessary set DF_1_NODELETE flag.
6217 * elf/tst-unique4.cc: New file.
6218 * elf/tst-unique4.h: New file.
6219 * elf/tst-unique4lib.cc: New file.
6220 * elf/Makefile: Add rules to build and run tst-unique4.
6221 Patch by Piotr Bury <pbury@goahead.com>.
6223 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6226 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6229 * misc/mntent_r.c (addmntent): Flush the stream after the output
6232 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6233 (is_trusted_path_normalize): Skip initial colon. Append slash
6234 to empty buffer. Duplicate is_trusted_path code but allow
6235 constructed patch to be prefix.
6236 (is_dst): Allow $ORIGIN followed by /.
6237 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6238 Correct testing of result of is_trusted_path_normalize
6239 (decompose_rpath): Fix warning.
6241 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6244 * grp/initgroups.c (internal_getgrouplist): When we found the service
6245 list through the initgroups entry in nsswitch.conf do not always
6246 continue on a successful lookup. Don't always use the
6247 __nss_group_database value if it is set.
6248 * nss/nsswitch.conf (initgroups): Change action for successful db
6249 lookup to continue for compatibility.
6251 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6254 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6256 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6258 * iconvdata/tst-tables.sh: Likewise.
6259 * iconvdata/cp770.c: New file.
6260 * iconvdata/cp771.c: New file.
6261 * iconvdata/cp772.c: New file.
6262 * iconvdata/cp773.c: New file.
6263 * iconvdata/cp774.c: New file.
6264 * iconvdata/testdata/CP770: New file.
6265 * iconvdata/testdata/CP770..UTF8: New file.
6266 * iconvdata/testdata/CP771: New file.
6267 * iconvdata/testdata/CP771..UTF8: New file.
6268 * iconvdata/testdata/CP772: New file.
6269 * iconvdata/testdata/CP772..UTF8: New file.
6270 * iconvdata/testdata/CP773: New file.
6271 * iconvdata/testdata/CP773..UTF8: New file.
6272 * iconvdata/testdata/CP774: New file.
6273 * iconvdata/testdata/CP774..UTF8: New file.
6275 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6277 * iconvdata/gen-8bit-gap.sh: Likewise.
6278 * iconvdata/gen-8bit.sh: Likewise.
6280 * locale/iso-639.def: Add ary entry.
6283 * locale/C-translit.h.in: Add U20A1 transliteration.
6286 * locale/iso-639.def: Add wae entry.
6287 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6290 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6294 * locale/C-translit.h.in: Add entry for U20B9.
6295 Patch by pravin.d.s@gmail.com.
6297 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6300 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6301 ENAMETOOLONG use generic getcwd.
6302 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6303 in rtld. Use *stat64.
6304 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6305 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6306 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6307 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6308 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6309 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6310 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6312 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6313 * dirent/rewinddir.c: Add libc_hidden_def.
6314 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6315 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6317 * include/dirent.h (__alloc_dir): Add flags parameter.
6318 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6319 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6321 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6322 from fdopendir if O_CLOEXEC is already set.
6324 2011-03-15 Alan Modra <amodra@gmail.com>
6326 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6327 l_tls_firstbyte_offset non-zero. Save padding offset in
6328 l_tls_firstbyte_offset for later use.
6329 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6330 freeing static tls block.
6332 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6334 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6335 where #ifdef was intended. The intent is to prevent ARG_MAX from
6336 being defined by the kernel headers.
6338 2011-05-07 Ulrich Drepper <drepper@gmail.com>
6341 * resolv/resolv.h: Define RES_NOTLDQUERY.
6342 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6343 no-tld-query and set RES_NOTLDQUERY.
6344 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6345 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6346 modern BIND to search name as TLD unless forbidden.
6348 2011-05-07 Petr Baudis <pasky@suse.cz>
6349 Ulrich Drepper <drepper@gmail.com>
6352 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6353 (is_trusted_path): ...to here.
6354 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6355 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6356 using is_trusted_path_normalize() in setuid scripts.
6358 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6361 __BEGIN/__END_DECLS.
6363 2011-05-06 Ulrich Drepper <drepper@gmail.com>
6365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6366 NSS_STATUS_NOTFOUND if no record was found.
6368 2011-05-05 Andreas Schwab <schwab@redhat.com>
6370 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6371 (headers-not-in-tirpc): Remove rpc/netdb.h
6372 * resolv/netdb.h: Revert last change.
6374 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6376 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6377 circular dependency between libgcc.a and libc.a.
6379 2011-05-05 Andreas Schwab <schwab@redhat.com>
6381 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6382 * nis/Makefile: Don't install rpcsvc/*.
6383 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6384 instead of <rpc/types.h>.
6385 (MAXHOSTNAMELEN): Define.
6387 2011-05-03 Andreas Schwab <schwab@redhat.com>
6389 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6391 2011-04-28 Maciej Babinski <mbabinski@google.com>
6394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6395 gethostbyname4_r when IPv6 results are possible.
6397 2011-05-02 Ulrich Drepper <drepper@gmail.com>
6400 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6401 _PC_PIPE_BUF handling.
6403 2011-04-30 Bruno Haible <bruno@clisp.org>
6406 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6407 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6409 * inet/getnameinfo.c (getnameinfo): Likewise.
6411 2011-04-29 Ulrich Drepper <drepper@gmail.com>
6413 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6414 to groups setting in database lookup.
6415 * nss/nsswitch.conf: Add initgroups entry.
6417 2011-04-22 Ulrich Drepper <drepper@gmail.com>
6420 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6422 Patch by Eric Blake <eblake@redhat.com>.
6424 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6426 * sunrpc/Makefile (need-export-routines): Add svc_run.
6427 (routines): Remove svc_run.
6428 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6429 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6430 * sunrpc/svc_run.c (svc_run): Likewise.
6431 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6433 2011-04-21 Ulrich Drepper <drepper@gmail.com>
6435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6436 problem in reallocation in last patch.
6438 2011-04-20 Ulrich Drepper <drepper@gmail.com>
6440 * sunrpc/Makefile: Move inclusion of Rules.
6442 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6444 * nss/nss_files/files-initgroups.c: New file.
6445 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6446 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6447 _nss_files_initgroups_dyn.
6449 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6451 * elf/elf.h (R_ARM_IRELATIVE): Define.
6453 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6455 * po/ru.po: Update from translation team.
6457 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6459 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6462 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6466 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6471 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6479 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6482 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6484 * stdlib/bug-getcontext.c: New file.
6485 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6487 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6489 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6490 instructions into .machine "z9-109".
6491 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6492 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6494 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6496 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6497 between environment variables and auxiliary vector.
6499 2011-04-16 Ulrich Drepper <drepper@gmail.com>
6501 * Makefile: Add rules to build linkobj/libc.so.
6502 * include/libc-symbols.h: Define libc_hidden_nolink.
6503 * include/rpc/auth.h: Mark functions which are to be hidden.
6504 * include/rpc/auth_des.h: Likewise.
6505 * include/rpc/auth_unix.h: Likewise.
6506 * include/rpc/clnt.h: Likewise.
6507 * include/rpc/des_crypt.h: Likewise.
6508 * include/rpc/key_prot.h: Likewise.
6509 * include/rpc/pmap_clnt.h: Likewise.
6510 * include/rpc/pmap_prot.h: Likewise.
6511 * include/rpc/pmap_rmt.h: Likewise.
6512 * include/rpc/rpc_msg.h: Likewise.
6513 * include/rpc/svc.h: Likewise.
6514 * include/rpc/svc_auth.h: Likewise.
6515 * include/rpc/xdr.h: Likewise.
6516 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6517 * nss/Makefile: Likewise.
6518 * sunrpc/Makefile: Don't install headers. Build library with normal
6519 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6520 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6521 for the compat linking library. Remove use of INTDEF/INTUSE.
6522 * sunrpc/auth_none.c: Likewise.
6523 * sunrpc/auth_unix.c: Likewise.
6524 * sunrpc/authdes_prot.c: Likewise.
6525 * sunrpc/authuxprot.c: Likewise.
6526 * sunrpc/clnt_gen.c: Likewise.
6527 * sunrpc/clnt_perr.c: Likewise.
6528 * sunrpc/clnt_raw.c: Likewise.
6529 * sunrpc/clnt_simp.c: Likewise.
6530 * sunrpc/clnt_tcp.c: Likewise.
6531 * sunrpc/clnt_udp.c: Likewise.
6532 * sunrpc/clnt_unix.c: Likewise.
6533 * sunrpc/des_crypt.c: Likewise.
6534 * sunrpc/des_soft.c: Likewise.
6535 * sunrpc/get_myaddr.c: Likewise.
6536 * sunrpc/key_call.c: Likewise.
6537 * sunrpc/key_prot.c: Likewise.
6538 * sunrpc/netname.c: Likewise.
6539 * sunrpc/pm_getmaps.c: Likewise.
6540 * sunrpc/pm_getport.c: Likewise.
6541 * sunrpc/pmap_clnt.c: Likewise.
6542 * sunrpc/pmap_prot.c: Likewise.
6543 * sunrpc/pmap_prot2.c: Likewise.
6544 * sunrpc/pmap_rmt.c: Likewise.
6545 * sunrpc/publickey.c: Likewise.
6546 * sunrpc/rpc_cmsg.c: Likewise.
6547 * sunrpc/rpc_common.c: Likewise.
6548 * sunrpc/rpc_dtable.c: Likewise.
6549 * sunrpc/rpc_prot.c: Likewise.
6550 * sunrpc/rpc_thread.c: Likewise.
6551 * sunrpc/rtime.c: Likewise.
6552 * sunrpc/svc.c: Likewise.
6553 * sunrpc/svc_auth.c: Likewise.
6554 * sunrpc/svc_authux.c: Likewise.
6555 * sunrpc/svc_raw.c: Likewise.
6556 * sunrpc/svc_run.c: Likewise.
6557 * sunrpc/svc_simple.c: Likewise.
6558 * sunrpc/svc_tcp.c: Likewise.
6559 * sunrpc/svc_udp.c: Likewise.
6560 * sunrpc/svc_unix.c: Likewise.
6561 * sunrpc/svcauth_des.c: Likewise.
6562 * sunrpc/xcrypt.c: Likewise.
6563 * sunrpc/xdr.c: Likewise.
6564 * sunrpc/xdr_array.c: Likewise.
6565 * sunrpc/xdr_float.c: Likewise.
6566 * sunrpc/xdr_intXX_t.c: Likewise.
6567 * sunrpc/xdr_mem.c: Likewise.
6568 * sunrpc/xdr_rec.c: Likewise.
6569 * sunrpc/xdr_ref.c: Likewise.
6570 * sunrpc/xdr_sizeof.c: Likewise.
6571 * sunrpc/xdr_stdio.c: Likewise.
6573 2011-04-10 Ulrich Drepper <drepper@gmail.com>
6576 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6577 * sysdeps/ia64/dl-tls.h: Likewise.
6578 * sysdeps/powerpc/dl-tls.h: Likewise.
6579 * sysdeps/s390/dl-tls.h: Likewise.
6580 * sysdeps/sh/dl-tls.h: Likewise.
6581 * sysdeps/sparc/dl-tls.h: Likewise.
6582 * sysdeps/x86_64/dl-tls.h: Likewise.
6583 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6585 2011-03-14 Andreas Schwab <schwab@redhat.com>
6587 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6588 rpath element also skip the following colon.
6589 (expand_dynamic_string_token): Add is_path parameter and pass
6590 down to DL_DST_REQUIRED and _dl_dst_substitute.
6591 (decompose_rpath): Call expand_dynamic_string_token with
6592 non-zero is_path. Ignore empty rpaths.
6593 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6596 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6601 2011-04-09 Ulrich Drepper <drepper@gmail.com>
6604 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6605 Patch by Filipe David Manana <fdmanana@apache.org>.
6607 2011-04-07 Andreas Schwab <schwab@redhat.com>
6609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6610 Maintain aligned stack.
6611 (CHECK_RSP): Remove unused macro.
6613 2011-04-03 Ulrich Drepper <drepper@gmail.com>
6615 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6618 2011-04-02 Ulrich Drepper <drepper@gmail.com>
6620 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6622 * include/features.h: Mention __USE_XOPEN2K8 in comment.
6624 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6627 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6628 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6629 * sysdeps/x86_64/memmove.c: New file.
6630 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6631 (memcpy): Renamed to ...
6632 (__new_memcpy): This.
6633 (memcpy): Provide GLIBC_2_14 memcpy.
6634 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6635 (memcpy): Provide GLIBC_2_2_5 memcpy.
6637 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6640 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6642 2011-03-30 Andreas Schwab <schwab@redhat.com>
6644 * misc/syncfs.c: New file.
6645 * misc/Makefile (routines): Add syncfs.
6646 * posix/unistd.h: Declare syncfs.
6647 * sysdeps/unix/syscalls.list: Add syncfs.
6649 2011-04-01 Andreas Schwab <schwab@redhat.com>
6651 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6654 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6658 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6661 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6671 * io/Makefile: Compile fallocate.c, fallocate64.c, and
6672 sync_file_range.c with -fexceptions.
6673 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6674 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6675 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6676 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6677 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6678 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
6680 sync_file_range as cancellation point
6681 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
6682 now a wrapper around __call_sync_file_range with cancellation handling.
6683 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6684 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
6685 function name to __call_sync_file_range.
6686 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6687 Add call_sync_file_range.
6689 2011-04-01 Andreas Schwab <schwab@redhat.com>
6691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6694 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6696 * iconv/iconv.h: Fix typo in comment.
6697 * io/fcntl.h: Likewise.
6698 * libio/stdio.h: Likewise.
6699 * posix/spawn.h: Likewise.
6700 * posix/unistd.h: Likewise.
6701 * stdlib/stdlib.h: Likewise.
6702 * time/time.h: Likewise.
6703 * wcsmbs/wchar.h: Likewise.
6705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6706 open_by_handle): Add.
6707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6708 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
6709 Augment a few comments.
6710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6715 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6718 * io/fcntl.h (AT_EMPTY_PATH): Define.
6720 2011-03-30 Ulrich Drepper <drepper@gmail.com>
6722 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6723 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6724 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6726 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
6727 * Versions.def: Add GLIBC_2.14.
6728 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6731 2011-03-22 Ulrich Drepper <drepper@gmail.com>
6733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6737 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6740 * string/test-strncmp.c (do_page_test): New function.
6742 (test_main): Call check2.
6743 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6745 2011-03-20 Ulrich Drepper <drepper@gmail.com>
6748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6749 Handle cache information in CPU leaf 4.
6750 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6752 2011-03-18 Ulrich Drepper <drepper@gmail.com>
6755 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6756 character representation.
6757 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6759 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6762 END(__isnan) to END(__isnanf) to match function entry point/label
6763 EALIGN(__isnanf,...).
6765 2011-03-10 Jakub Jelinek <jakub@redhat.com>
6767 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6769 2011-03-10 Ulrich Drepper <drepper@gmail.com>
6772 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6773 copy from the symbol referenced in the relocation to initialize the
6775 Patch by Piotr Bury <pbury@goahead.com>.
6776 * elf/Makefile: Add rules to build and tst-unique3.
6777 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6778 * elf/tst-unique3.cc: New file.
6779 * elf/tst-unique3.h: New file.
6780 * elf/tst-unique3lib.cc: New file.
6781 * elf/tst-unique3lib2.cc: New file.
6783 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6785 2011-03-10 Mike Frysinger <vapier@gentoo.org>
6787 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6788 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
6791 2011-03-06 Ulrich Drepper <drepper@gmail.com>
6793 * elf/dl-load.c (_dl_map_object): If we are looking for the first
6794 to-be-loaded object along a path to loader is ld.so.
6796 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6797 Ulrich Drepper <drepper@gmail.com>
6799 * sysdeps/x86_64/memset.S: After aligning destination, code
6800 branches to different locations depending on the value of
6801 misalignment, when multiarch is enabled. Fix this.
6803 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6805 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
6806 Set _x86_64_preferred_memory_instruction for AMD processsors.
6807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6808 Set bit_Prefer_SSE_for_memop for AMD processors.
6810 2011-03-04 Ulrich Drepper <drepper@gmail.com>
6812 * libio/fmemopen.c (fmemopen): Optimize a bit.
6814 2011-03-03 Andreas Schwab <schwab@redhat.com>
6816 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
6818 2011-03-03 Roland McGrath <roland@redhat.com>
6820 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
6822 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
6824 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
6825 __bzero_ultra1 instead of __memset_ultra1.
6827 2011-02-23 Andreas Schwab <schwab@redhat.com>
6828 Ulrich Drepper <drepper@gmail.com>
6831 * include/link.h (struct link_map): Add l_orig_initfini.
6832 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
6833 returning unsuccessfully.
6834 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
6835 close of a file loaded at startup, restore the original l_initfini
6837 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
6838 list, store the pointer.
6839 * elf/Makefile ($(objpfx)noload-mem): New rule.
6840 (noload-ENV): Define.
6841 (tests): Add $(objpfx)noload-mem.
6842 * elf/noload.c: Include <memcheck.h>.
6843 (main): Call mtrace. Close all opened handles.
6845 2011-02-17 Andreas Schwab <schwab@redhat.com>
6848 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
6849 dependencies are missing.
6851 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6853 Fix __if_freereq crash: Unlike the generic version which uses free,
6855 * sysdeps/mach/hurd/ifreq.h: New file.
6857 2011-01-27 Petr Baudis <pasky@suse.cz>
6858 Ulrich Drepper <drepper@gmail.com>
6861 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
6863 * stdio-common/bug23.c: New file.
6864 * stdio-common/Makefile (tests): Add bug23.
6866 2010-09-28 Andreas Schwab <schwab@redhat.com>
6867 Ulrich Drepper <drepper@gmail.com>
6870 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
6871 before performing relro protection. At old place add assertion
6872 to make sure nothing changed.
6874 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
6875 Glauber de Oliveira Costa <glommer@gmail.com>
6877 * elf/elf.h: Add new ARM TLS relocs.
6879 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
6881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6882 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
6884 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
6886 * sysdeps/wordsize-64/tst-writev.c: New file.
6888 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
6890 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
6891 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
6892 insns in _dl_start to prevent a TOC reference before relocs are
6895 2011-02-15 Ulrich Drepper <drepper@gmail.com>
6898 * Makeconfig: Remove RANLIB definition.
6899 * Makerules: Don't use RANLIB.
6900 * aclocal.m4: Remove ranlib test.
6901 * configure.in: No need to check for ranlib.
6902 * elf/rtld-Rules: Don't use RANLIB.
6904 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6906 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
6908 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
6909 inclusion protection macro.
6911 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
6912 SIGRTMIN and SIGRTMAX and print information in that case only when
6913 SIGRTMIN is defined.
6915 2011-02-11 Jakub Jelinek <jakub@redhat.com>
6917 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
6918 arginfo fn returning -1.
6920 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
6921 and thousands string is zero terminated.
6923 2011-02-03 Andreas Schwab <schwab@redhat.com>
6925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
6926 sysdeps/unix/sysv/linux/bits/socket.h.
6928 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6930 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
6931 (__CPU_COUNT): Remove old macros.
6932 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
6933 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
6934 (__CPU_ALLOC, __CPU_FREE): Add macros.
6935 (__sched_cpualloc, __sched_cpufree): Add declarations.
6937 2011-02-05 Ulrich Drepper <drepper@gmail.com>
6939 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
6940 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
6941 * nscd/aicache.c (addhstaiX): Return timeout of added value.
6942 (readdhstai): Return value of addhstaiX call.
6943 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
6944 (addgrbyX): Return value returned by cache_addgr.
6945 (readdgrbyname): Return value returned by addgrbyX.
6946 (readdgrbygid): Likewise.
6947 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
6948 (addpwbyX): Return value returned by cache_addpw.
6949 (readdpwbyname): Return value returned by addhstbyX.
6950 (readdpwbyuid): Likewise.
6951 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
6952 (addservbyX): Return value returned by cache_addserv.
6953 (readdservbyname): Return value returned by addservbyX:
6954 (readdservbyport): Likewise.
6955 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
6956 (addhstbyX): Return value returned by cache_addhst.
6957 (readdhstbyname): Return value returned by addhstbyX.
6958 (readdhstbyaddr): Likewise.
6959 (readdhstbynamev6): Likewise.
6960 (readdhstbyaddrv6): Likewise.
6961 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
6962 (readdinitgroups): Return value returned by addinitgroupsX.
6963 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
6964 (prune_cache): Keep track of timeout value of re-added entries.
6965 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
6966 * nscd/nscd.h: Adjust prototypes of readd* functions.
6968 2011-02-04 Roland McGrath <roland@redhat.com>
6970 * nis/nis_server.c (nis_servstate): Use the right name for 0.
6971 (nis_stats): Likewise.
6972 * nis/nis_modify.c (nis_modify): Likewise.
6973 * nis/nis_remove.c (nis_remove): Likewise.
6974 * nis/nis_add.c (nis_add): Likewise.
6976 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
6978 * posix/fnmatch_loop.c: Add some consts.
6980 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
6982 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
6985 * config.make.in (config-cflags-novzeroupper): Define.
6986 * configure.in: Substitute libc_cv_cc_novzeroupper.
6987 * elf/Makefile (AVX-CFLAGS): Define.
6988 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
6989 (CFLAGS-tst-auditmod4a.c): Likewise.
6990 (CFLAGS-tst-auditmod4b.c): Likewise.
6991 (CFLAGS-tst-auditmod6b.c): Likewise.
6992 (CFLAGS-tst-auditmod6c.c): Likewise.
6993 (CFLAGS-tst-auditmod7b.c): Likewise.
6994 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
6996 2011-02-02 Ulrich Drepper <drepper@gmail.com>
6998 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
6999 function to the callback.
7000 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7002 2011-02-02 Andreas Schwab <schwab@redhat.com>
7004 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7007 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7010 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7012 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7014 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7017 * elf/Makefile: Add rules to build and run new test.
7018 * elf/tst-initorder.c: New file.
7019 * elf/tst-initorder.exp: New file.
7020 * elf/tst-initordera1.c: New file.
7021 * elf/tst-initordera2.c: New file.
7022 * elf/tst-initordera3.c: New file.
7023 * elf/tst-initordera4.c: New file.
7024 * elf/tst-initorderb1.c: New file.
7025 * elf/tst-initorderb2.c: New file.
7026 * elf/tst-order-a1.c: New file.
7027 * elf/tst-order-a2.c: New file.
7028 * elf/tst-order-a3.c: New file.
7029 * elf/tst-order-a4.c: New file.
7030 * elf/tst-order-b1.c: New file.
7031 * elf/tst-order-b2.c: New file.
7032 * elf/tst-order-main.c: New file.
7033 New test case by George Gensure <werkt0@gmail.com>.
7035 2010-10-01 Andreas Schwab <schwab@redhat.com>
7037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7038 decoding ACE if AI_CANONIDN.
7040 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7042 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7044 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7046 * version.h (RELEASE): Bump for 2.13 release.
7047 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7049 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7053 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7060 * posix/getconf.c: Update copyright year.
7061 * catgets/gencat.c: Likewise.
7062 * csu/version.c: Likewise.
7063 * debug/catchsegv.sh: Likewise.
7064 * debug/xtrace.sh: Likewise.
7065 * elf/ldconfig.c: Likewise.
7066 * elf/ldd.bash.in: Likewise.
7067 * elf/sprof.c (print_version): Likewise.
7068 * iconv/iconv_prog.c: Likewise.
7069 * iconv/iconvconfig.c: Likewise.
7070 * locale/programs/locale.c: Likewise.
7071 * locale/programs/localedef.c: Likewise.
7072 * malloc/memusage.sh: Likewise.
7073 * malloc/mtrace.pl: Likewise.
7074 * nscd/nscd.c (print_version): Likewise.
7075 * nss/getent.c: Likewise.
7077 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7078 PF_CAIF, and PF_ALG.
7079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7081 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7083 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7084 (modules-names): Use them.
7085 (ifunc-test-modules, ifunc-pie-tests): Define.
7086 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7087 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7088 (test-extras): Likewise.
7089 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7090 $(compile-command.c).
7091 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7092 (all-built-dso): Define.
7093 (check-textrel.out, check-execstack.out): Depend on it.
7095 * configure.in: Don't override --enable-multi-arch.
7097 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7100 * nscd/hstcache.c (tryagain): Define.
7101 (cache_addhst): Return tryagain not notfound for temporary errors.
7102 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7105 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7108 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7109 to make the syscall.
7110 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7113 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7114 and fall back to matching as normal character if the string ends before
7115 the matching ']' is found. This is what POSIX requires.
7116 * posix/testfnm.c: Adjust test result.
7117 * posix/globtest.sh: Adjust test result. Add new test.
7118 * posix/tst-fnmatch.input: Likewise.
7119 * posix/tst-fnmatch2.c: Add new test.
7121 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7123 * elf/Makefile (check-execstack): Revert last change. Depend on
7125 (check-execstack.h): New target.
7126 (generated): Add check-execstack.h.
7127 * elf/check-execstack.c: Include "check-execstack.h".
7128 (main): Revert last change.
7129 (handle_file): Return zero if GNU_STACK is absent and
7130 DEFAULT_STACK_PERMS doesn't include PF_X.
7132 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7134 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7135 in child fails because the descriptor is already closed.
7136 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7137 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7138 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7141 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7145 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7146 temporary buffer used to handle multi lookups locally.
7147 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7149 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7151 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7154 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7156 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7159 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7162 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7163 characters. When rounding increased number of integer digits recompute
7165 * stdio-common/tst-grouping.c: New file.
7166 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7168 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7170 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7171 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7173 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7175 * bits/select.h: Likewise.
7177 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7179 * po/ja.po: Update from translation team.
7181 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7184 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7185 implementation just like for lxstat, fxstatat, et al.
7187 2010-12-27 Jim Meyering <meyering@redhat.com>
7190 * posix/regexec.c (build_trtable): Return failure indication upon
7191 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7193 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7196 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7197 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7202 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7205 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7206 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7208 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7210 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7211 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7212 script has SORT_BY_INIT_PRIORITY.
7213 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7214 NO_CTORS_DTORS_SECTIONS is defined.
7215 * elf/soinit.c: Likewise.
7216 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7217 NO_CTORS_DTORS_SECTIONS is defined.
7218 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7219 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7220 * sysdeps/sh/init-first.c: Likewise.
7221 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7223 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7225 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7226 always use the slow path.
7228 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7230 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7231 similar rule which adds the sysdep directories to the header search in
7232 order to pick up the correct platform stackinfo.h.
7233 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7234 perform test if it is, otherwise return successfully without testing.
7235 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7236 DEFAULT_STACK_PERMS define in stackinfo.h.
7237 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7238 defined in stackinfo.h.
7239 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7240 DEFAULT_STACK_PERMS defined in stackinfo.h.
7241 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7242 * sysdeps/ia64/stackinfo.h: Likewise.
7243 * sysdeps/s390/stackinfo.h: Likewise.
7244 * sysdeps/sh/stackinfo.h: Likewise.
7245 * sysdeps/sparc/stackinfo.h: Likewise.
7246 * sysdeps/x86_64/stackinfo.h: Likewise.
7247 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7248 PF_X for powerpc64. Retain PF_X for powerpc32.
7250 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7252 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7255 GETDENTS_64BIT_ALIGNED.
7257 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7259 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7261 2010-12-10 Andreas Schwab <schwab@redhat.com>
7263 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7266 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7267 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7269 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7270 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7272 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7275 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7278 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7280 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7282 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7284 * po/it.po: Update from translation team.
7286 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7291 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7293 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7295 2010-11-24 Andreas Schwab <schwab@redhat.com>
7297 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7299 (gaih_getanswer_slice): Likewise.
7301 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7305 2010-05-31 Petr Baudis <pasky@suse.cz>
7308 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7309 silently even in the chroot mode.
7311 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7313 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7314 last patch a bit. Pretty printing
7316 2010-05-31 Petr Baudis <pasky@suse.cz>
7319 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7320 initialization of skip_initgroups_dyn.
7322 2010-11-19 Ulrich Drepper <drepper@gmail.com>
7324 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7327 2010-11-16 Ulrich Drepper <drepper@gmail.com>
7329 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7331 2010-11-11 Andreas Schwab <schwab@redhat.com>
7333 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7334 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7335 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7336 ($(objpfx)tst-fnmatch-mem): New rule.
7337 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7338 * posix/tst-fnmatch.c (main): Call mtrace.
7340 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7343 Support Intel processor model 6 and model 0x2c.
7345 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
7347 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7350 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7353 * string/test-strncasecmp.c (check_result): New function.
7354 (do_one_test): Use it.
7355 (check1): New function.
7356 (test_main): Use it.
7357 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7358 Support strcasecmp and strncasecmp.
7360 2010-11-08 Ulrich Drepper <drepper@gmail.com>
7363 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7366 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7368 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7372 * sysdeps/x86_64/multiarch/bzero.S: New file.
7373 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7374 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7375 * sysdeps/x86_64/multiarch/memset.S: New file.
7376 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7378 Set bit_Prefer_SSE_for_memop for Intel processors.
7379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7381 (index_Prefer_SSE_for_memop): Define.
7382 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7384 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
7386 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7389 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7392 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7393 (__x86_64_raw_data_cache_size_half): Likewise.
7394 (__x86_64_raw_shared_cache_size): Likewise.
7395 (__x86_64_raw_shared_cache_size_half): Likewise.
7397 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7398 (__x86_64_raw_data_cache_size_half): Likewise.
7399 (__x86_64_raw_shared_cache_size): Likewise.
7400 (__x86_64_raw_shared_cache_size_half): Likewise.
7401 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7402 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7403 and __x86_64_raw_shared_cache_size_half. Round
7404 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7405 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7406 to multiple of 256 bytes.
7408 2010-11-03 Ulrich Drepper <drepper@gmail.com>
7411 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7412 of inacessible symlinks. Verify result of symlink before returning it.
7413 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7414 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7416 2010-10-28 Erich Ritz <erichritz@gmail.com>
7418 * math/math.h (isinf): Fix typo in comment.
7420 2010-11-01 Ulrich Drepper <drepper@gmail.com>
7422 * po/da.po: Update from translation team.
7424 2010-10-26 Ulrich Drepper <drepper@gmail.com>
7426 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7427 is added to the list.
7429 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7430 Ulrich Drepper <drepper@gmail.com>
7432 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7433 the global list here. Move code to...
7434 (_dl_add_to_namespace_list): ...here. New function.
7435 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7436 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7437 * elf/dl-load.c (lose): Don't remove the element from the list.
7438 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7439 (_dl_map_object): Likewise.
7441 2010-10-25 Ulrich Drepper <drepper@gmail.com>
7444 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7445 into all bytes of SSE register.
7446 Patch by Richard Li <richardpku@gmail.com>.
7448 2010-10-24 Ulrich Drepper <drepper@gmail.com>
7451 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7454 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7456 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7457 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7464 2010-10-22 Andreas Schwab <schwab@redhat.com>
7466 * include/dlfcn.h (__RTLD_SECURE): Define.
7467 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7468 mode & __RTLD_SECURE instead.
7469 (open_path): Rename preloaded parameter to secure.
7470 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7471 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7472 * elf/dl-deps.c (openaux): Likewise.
7473 * elf/rtld.c (struct map_args): Remove is_preloaded.
7474 (map_doit): Don't use it.
7475 (dl_main): Likewise.
7476 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7477 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7479 2010-09-09 Andreas Schwab <schwab@redhat.com>
7481 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7482 (sysd-rules-targets): Remove duplicates.
7483 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7484 rtld-%.$o dependency.
7486 2010-10-18 Andreas Schwab <schwab@redhat.com>
7488 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7489 _dl_map_object do it.
7491 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7493 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7494 fast fma builtins, define the macros in the C99 standard.
7495 (FP_FAST_FMAF): Likewise.
7496 (FP_FAST_FMAL): Likewise.
7497 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7499 * bits/mathdef.h: Update copyright year.
7500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7502 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7504 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7505 builtins, define the macros in the C99 standard.
7506 (FP_FAST_FMAF): Likewise.
7507 (FP_FAST_FMAL): Likewise.
7508 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7510 (FP_FAST_FMAF): Likewise.
7512 2010-10-15 Jakub Jelinek <jakub@redhat.com>
7515 * math/libm-test.inc (fma_test): Some new testcases.
7516 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7518 y and infinite z. Do multiplication by C already in long double.
7519 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7521 y and infinite z. Do bitwise or of inexact bit into u.d.
7522 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7523 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7524 * sysdeps/i386/fpu/s_fma.S: Removed.
7525 * sysdeps/i386/fpu/s_fmal.S: Removed.
7527 2010-10-16 Jakub Jelinek <jakub@redhat.com>
7530 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7531 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7532 computation is not scheduled after fetestexcept. Fix value
7533 of minimum denormal long double.
7535 2010-10-14 Jakub Jelinek <jakub@redhat.com>
7538 * math/libm-test.inc (fma_test): Add some more tests.
7539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7542 2010-10-15 Andreas Schwab <schwab@redhat.com>
7544 * scripts/data/localplt-s390-linux-gnu.data: New file.
7545 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7547 2010-10-13 Jakub Jelinek <jakub@redhat.com>
7550 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7551 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7553 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7555 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7557 if one of x and y is very large and the other is subnormal.
7558 * sysdeps/s390/fpu/s_fmaf.c: New file.
7559 * sysdeps/s390/fpu/s_fma.c: New file.
7560 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7561 * sysdeps/powerpc/fpu/s_fma.S: New file.
7562 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7563 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7564 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7566 2010-10-12 Jakub Jelinek <jakub@redhat.com>
7569 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7571 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7572 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7573 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7574 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7575 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7576 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7579 2010-10-12 Ulrich Drepper <drepper@redhat.com>
7582 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7583 * posix/bug-regex31.input: Add test case.
7585 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7587 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7588 * posix/bug-regex31.input: New file.
7591 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7592 (parse_sub_exp): Fix last change, use postorder.
7594 * posix/bug-regex31.c: New file.
7595 * posix/Makefile: Add rules to build and run bug-regex31.
7597 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7600 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7603 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7604 to have entries in sys_siglist.
7607 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7610 2010-10-07 Jakub Jelinek <jakub@redhat.com>
7613 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7614 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7615 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7616 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7618 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7619 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7620 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7621 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7622 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7623 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7624 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7625 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7626 * math/ftestexcept.c (fetestexcept): Likewise.
7627 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7628 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7629 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7630 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7631 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7632 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7633 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7635 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7638 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7641 2010-10-06 Ulrich Drepper <drepper@gmail.com>
7643 * string/bug-strstr1.c: New file.
7644 * string/Makefile: Add rules to build and run bug-strstr1.
7646 2010-10-05 Eric Blake <eblake@redhat.com>
7649 * string/str-two-way.h (two_way_long_needle): Always clear memory
7650 when skipping input due to the shift table.
7652 2010-10-03 Ulrich Drepper <drepper@gmail.com>
7655 * malloc/mcheck.c: Handle large requests.
7658 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7659 for strncmp and strncasecmp.
7660 * string/stratcliff.c: Add tests for strcmp and strncmp.
7661 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7663 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7665 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7668 2010-09-30 Andreas Jaeger <aj@suse.de>
7670 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7671 (CGROUP_SUPER_MAGIC): Define.
7672 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7673 Handle btrfs and cgroup file systems.
7674 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7677 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
7679 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7680 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7682 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7685 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7686 trying to locate the ELF header.
7688 2010-09-27 Andreas Schwab <schwab@redhat.com>
7691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7692 Mask out sign-bit copies when constructing f_fsid.
7694 2010-09-24 Petr Baudis <pasky@suse.cz>
7696 * debug/stack_chk_fail_local.c: Add missing licence exception.
7697 * debug/warning-nop.c: Likewise.
7699 2010-09-15 Joseph Myers <joseph@codesourcery.com>
7701 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
7702 implementing getdents64 using getdents syscall, set d_type if
7703 __ASSUME_GETDENTS32_D_TYPE.
7705 2010-09-16 Andreas Schwab <schwab@redhat.com>
7707 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7708 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7710 2010-09-21 Ulrich Drepper <drepper@redhat.com>
7713 * posix/unistd.h: Undo change of feature selection for ftruncate from
7716 2010-09-20 Ulrich Drepper <drepper@redhat.com>
7718 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
7721 2010-09-20 Andreas Schwab <schwab@redhat.com>
7723 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7725 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7727 2010-09-14 Andreas Schwab <schwab@redhat.com>
7729 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7730 variables after CHECK_SP call.
7731 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7733 2010-09-13 Andreas Schwab <schwab@redhat.com>
7734 Ulrich Drepper <drepper@redhat.com>
7736 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7737 re-relocationg ld.so.
7738 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7739 _dl_init_paths call.
7740 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7743 2010-09-14 Ulrich Drepper <drepper@redhat.com>
7745 * resolv/res_init.c (__res_vinit): Count the default server we added.
7747 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7748 Ulrich Drepper <drepper@redhat.com>
7751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7752 (____longjmp_chk): Use %ebx for saving value across system call.
7755 2010-09-06 Andreas Schwab <schwab@redhat.com>
7757 * manual/Makefile: Don't mix pattern rules with normal rules.
7759 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7761 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7763 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7764 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7765 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7766 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7770 2010-09-04 Ulrich Drepper <drepper@redhat.com>
7773 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7774 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7776 2010-09-02 Ulrich Drepper <drepper@redhat.com>
7778 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7779 * sysdeps/x86_64/addmul_1.S: Likewise.
7780 * sysdeps/x86_64/lshift.S: Likewise.
7781 * sysdeps/x86_64/mul_1.S: Likewise.
7782 * sysdeps/x86_64/rshift.S: Likewise.
7783 * sysdeps/x86_64/sub_n.S: Likewise.
7784 * sysdeps/x86_64/submul_1.S: Likewise.
7786 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7788 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7789 Define __sched_param instead of SCHED_* and sched_param when
7790 <bits/sched.h> is included with __need_schedparam defined.
7791 * bits/sched.h [__need_schedparam]
7792 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
7793 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7794 (__defined_schedparam): Define to 1.
7795 (__sched_param): New structure, identical to sched_param.
7796 (__need_schedparam): Undefine.
7798 2010-08-31 Mike Frysinger <vapier@gentoo.org>
7800 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
7801 (epoll_create1): Declare.
7803 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
7805 2010-08-31 Andreas Schwab <schwab@redhat.com>
7808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
7809 shifting retval into place.
7811 2010-09-01 Ulrich Drepper <drepper@redhat.com>
7813 * nis/rpcsvc/nis.h: Update copyright notice.
7814 * nis/rpcsvc/nis.x: Likewise.
7815 * nis/rpcsvc/nis_callback.h: Likewise.
7816 * nis/rpcsvc/nis_callback.x: Likewise.
7817 * nis/rpcsvc/nis_object.x: Likewise.
7818 * nis/rpcsvc/nis_tags.h: Likewise.
7819 * nis/rpcsvc/yp.h: Likewise.
7820 * nis/rpcsvc/yp.x: Likewise.
7821 * nis/rpcsvc/ypupd.h: Likewise.
7822 * nis/yp_xdr.c: Likewise.
7823 * nis/ypupdate_xdr.c: Likewise.
7825 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
7826 mainly the body of pmap_getport. Add parameters to specify timeouts.
7827 (pmap_getport): Use __libc_rpc_getport.
7828 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
7829 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
7830 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
7832 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
7837 2010-08-27 Roland McGrath <roland@redhat.com>
7839 * sysdeps/i386/i686/multiarch/Makefile
7840 (CFLAGS-varshift.c): New variable.
7842 2010-08-27 Ulrich Drepper <drepper@redhat.com>
7844 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
7845 * sysdeps/i386/i686/multiarch/varshift.c: New file.
7847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
7849 * sysdeps/x86_64/strlen.S: Minimal code improvement.
7851 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
7853 * sysdeps/x86_64/strlen.S: Unroll the loop.
7854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7855 strlen-sse2 strlen-sse2-bsf.
7856 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
7857 __strlen_no_bsf if bit_Slow_BSF is set.
7858 (__strlen_sse42): Removed.
7859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
7860 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
7862 2010-08-25 Roland McGrath <roland@redhat.com>
7864 * sysdeps/x86_64/multiarch/varshift.S: File removed.
7865 * sysdeps/x86_64/multiarch/varshift.c: New file.
7866 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
7867 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
7868 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
7869 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7871 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
7873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7874 strlen-sse2 strlen-sse2-bsf.
7875 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
7876 __strlen_sse2_bsf if bit_Slow_BSF is unset.
7877 (__strlen_sse2): Removed.
7878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
7879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
7880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7881 bit_Slow_BSF for Atom.
7882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
7883 (index_Slow_BSF): Define.
7884 (HAS_SLOW_BSF): Define.
7886 2010-08-25 Ulrich Drepper <drepper@redhat.com>
7889 * resolv/res_init.c (__res_vinit): When no server address at all
7890 is given default to loopback.
7892 2010-08-24 Roland McGrath <roland@redhat.com>
7894 * configure.in: Remove config-name.h generation.
7895 * configure: Regenerated.
7896 * config-name.in: File removed.
7897 * scripts/config-uname.sh: New file.
7898 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
7899 ($(objdir)config-name.h): New target.
7901 * sunrpc/rpc_parse.h: Avoid nested comment.
7903 2010-08-24 Richard Henderson <rth@redhat.com>
7904 Ulrich Drepper <drepper@redhat.com>
7905 H.J. Lu <hongjiu.lu@intel.com>
7907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
7908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
7909 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
7910 Replace _mm_srli_si128 with __m128i_shift_right. Replace
7911 _mm_alignr_epi8 with _mm_loadu_si128.
7912 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
7913 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
7914 (__m128i_shift_right): Removed.
7915 * sysdeps/i386/i686/multiarch/varshift.h: New file.
7916 * sysdeps/i386/i686/multiarch/varshift.S: New file.
7917 * sysdeps/x86_64/multiarch/varshift.h: New file.
7918 * sysdeps/x86_64/multiarch/varshift.S: New file.
7920 2010-08-21 Mike Frysinger <vapier@gentoo.org>
7922 * configure.in: Move assembler checks to before sysdep dir checking.
7924 2010-08-20 Petr Baudis <pasky@suse.cz>
7926 * LICENSES: Sync the sunrpc license.
7928 2010-08-19 Ulrich Drepper <drepper@redhat.com>
7930 * sunrpc/auth_des.c: Update copyright notice once again.
7931 * sunrpc/auth_none.c: Likewise.
7932 * sunrpc/auth_unix.c: Likewise.
7933 * sunrpc/authdes_prot.c: Likewise.
7934 * sunrpc/authuxprot.c: Likewise.
7935 * sunrpc/bindrsvprt.c: Likewise.
7936 * sunrpc/clnt_gen.c: Likewise.
7937 * sunrpc/clnt_perr.c: Likewise.
7938 * sunrpc/clnt_raw.c: Likewise.
7939 * sunrpc/clnt_simp.c: Likewise.
7940 * sunrpc/clnt_tcp.c: Likewise.
7941 * sunrpc/clnt_udp.c: Likewise.
7942 * sunrpc/clnt_unix.c: Likewise.
7943 * sunrpc/des_crypt.c: Likewise.
7944 * sunrpc/des_soft.c: Likewise.
7945 * sunrpc/get_myaddr.c: Likewise.
7946 * sunrpc/getrpcport.c: Likewise.
7947 * sunrpc/key_call.c: Likewise.
7948 * sunrpc/key_prot.c: Likewise.
7949 * sunrpc/openchild.c: Likewise.
7950 * sunrpc/pm_getmaps.c: Likewise.
7951 * sunrpc/pm_getport.c: Likewise.
7952 * sunrpc/pmap_clnt.c: Likewise.
7953 * sunrpc/pmap_prot.c: Likewise.
7954 * sunrpc/pmap_prot2.c: Likewise.
7955 * sunrpc/pmap_rmt.c: Likewise.
7956 * sunrpc/rpc/auth.h: Likewise.
7957 * sunrpc/rpc/auth_unix.h: Likewise.
7958 * sunrpc/rpc/clnt.h: Likewise.
7959 * sunrpc/rpc/des_crypt.h: Likewise.
7960 * sunrpc/rpc/key_prot.h: Likewise.
7961 * sunrpc/rpc/netdb.h: Likewise.
7962 * sunrpc/rpc/pmap_clnt.h: Likewise.
7963 * sunrpc/rpc/pmap_prot.h: Likewise.
7964 * sunrpc/rpc/pmap_rmt.h: Likewise.
7965 * sunrpc/rpc/rpc.h: Likewise.
7966 * sunrpc/rpc/rpc_des.h: Likewise.
7967 * sunrpc/rpc/rpc_msg.h: Likewise.
7968 * sunrpc/rpc/svc.h: Likewise.
7969 * sunrpc/rpc/svc_auth.h: Likewise.
7970 * sunrpc/rpc/types.h: Likewise.
7971 * sunrpc/rpc/xdr.h: Likewise.
7972 * sunrpc/rpc_clntout.c: Likewise.
7973 * sunrpc/rpc_cmsg.c: Likewise.
7974 * sunrpc/rpc_common.c: Likewise.
7975 * sunrpc/rpc_cout.c: Likewise.
7976 * sunrpc/rpc_dtable.c: Likewise.
7977 * sunrpc/rpc_hout.c: Likewise.
7978 * sunrpc/rpc_main.c: Likewise.
7979 * sunrpc/rpc_parse.c: Likewise.
7980 * sunrpc/rpc_parse.h: Likewise.
7981 * sunrpc/rpc_prot.c: Likewise.
7982 * sunrpc/rpc_sample.c: Likewise.
7983 * sunrpc/rpc_scan.c: Likewise.
7984 * sunrpc/rpc_scan.h: Likewise.
7985 * sunrpc/rpc_svcout.c: Likewise.
7986 * sunrpc/rpc_tblout.c: Likewise.
7987 * sunrpc/rpc_util.c: Likewise.
7988 * sunrpc/rpc_util.h: Likewise.
7989 * sunrpc/rpcinfo.c: Likewise.
7990 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
7991 * sunrpc/rpcsvc/key_prot.x: Likewise.
7992 * sunrpc/rpcsvc/klm_prot.x: Likewise.
7993 * sunrpc/rpcsvc/mount.x: Likewise.
7994 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
7995 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
7996 * sunrpc/rpcsvc/rex.x: Likewise.
7997 * sunrpc/rpcsvc/rstat.x: Likewise.
7998 * sunrpc/rpcsvc/rusers.x: Likewise.
7999 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8000 * sunrpc/rpcsvc/spray.x: Likewise.
8001 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8002 * sunrpc/rtime.c: Likewise.
8003 * sunrpc/svc.c: Likewise.
8004 * sunrpc/svc_auth.c: Likewise.
8005 * sunrpc/svc_authux.c: Likewise.
8006 * sunrpc/svc_raw.c: Likewise.
8007 * sunrpc/svc_run.c: Likewise.
8008 * sunrpc/svc_simple.c: Likewise.
8009 * sunrpc/svc_tcp.c: Likewise.
8010 * sunrpc/svc_udp.c: Likewise.
8011 * sunrpc/svc_unix.c: Likewise.
8012 * sunrpc/svcauth_des.c: Likewise.
8013 * sunrpc/xcrypt.c: Likewise.
8014 * sunrpc/xdr.c: Likewise.
8015 * sunrpc/xdr_array.c: Likewise.
8016 * sunrpc/xdr_float.c: Likewise.
8017 * sunrpc/xdr_mem.c: Likewise.
8018 * sunrpc/xdr_rec.c: Likewise.
8019 * sunrpc/xdr_ref.c: Likewise.
8020 * sunrpc/xdr_sizeof.c: Likewise.
8021 * sunrpc/xdr_stdio.c: Likewise.
8023 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8026 2010-08-19 Andreas Schwab <schwab@redhat.com>
8028 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8030 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8032 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8034 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8035 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8036 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8037 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8038 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8039 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8041 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8042 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8043 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8044 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8047 2010-07-26 Anton Blanchard <anton@samba.org>
8049 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8050 * malloc/arena.c (heap_trim): Likewise.
8052 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8054 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8057 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8059 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8061 * sysdeps/i386/elf/Makefile: New file.
8063 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8065 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8070 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8072 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8074 * sysdeps/multiarch/strcmp.S: Likewise.
8076 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8078 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8079 strncase_l-nonascii.
8080 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8081 Add strncase_l-ssse3.
8082 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8083 * sysdeps/x86_64/strcmp.S: Likewise.
8084 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8085 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8086 * sysdeps/x86_64/strncase.S: New file.
8087 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8088 * sysdeps/x86_64/strncase_l.S: New file.
8089 * string/Makefile (strop-tests): Add strncasecmp.
8090 * string/test-strncasecmp.c: New file.
8092 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8095 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8096 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8098 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8100 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8102 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8104 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8105 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8106 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8108 2010-05-01 Alan Modra <amodra@gmail.com>
8110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8111 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8112 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8113 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8114 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8115 tidying. Don't tail-call __sigjmp_save for static lib.
8116 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8118 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8119 (CALL_MCOUNT): Add eh info, and nop after bl.
8120 (TAIL_CALL_SYSCALL_ERROR): New macro.
8121 (PSEUDO_RET): Use it.
8122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8123 Correct save location of integer regs and cr.
8124 (_dl_profile_resolve): Correct cr save location. Delete nops
8125 after bl when SHARED. Reduce cfi size a little by better
8126 placement of cfi directives.
8127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8128 make a stack frame. Instead use parm save area as a temp.
8129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8130 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8132 Don't make a stack frame for parent, use parm save area.
8133 Increase child stack frame to 112 bytes. Don't save unused reg,
8134 and adjust reg usage. Set up cfi on error recovery and
8135 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8137 (__makecontext): Add dummy nop after jump to exit.
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8139 Use correct parm save area and cr save, reduce stack frame.
8140 Correct cfi for possible PSEUDO_RET frame setup.
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8142 Branch to local label emitted by PSEUDO_RET rather than
8145 2010-08-12 Andreas Schwab <schwab@redhat.com>
8148 * locale/programs/locale.c (print_assignment): New function.
8149 (show_locale_vars): Use it.
8151 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8153 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8155 (struct statfs64): Likewise.
8156 (_STATFS_F_FLAGS): Define.
8157 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8158 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8159 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8160 (ST_VALID): Define locally.
8161 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8162 __statvfs_getflags, use the provided value.
8163 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8164 __ASSUME_STATFS_F_FLAGS.
8166 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8168 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8170 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8171 fanotify_mask for GLIBC_2.13.
8172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8173 fanotify_init and fanotify_mark.
8174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8175 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8177 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8179 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8180 prlimit64 for GLIBC_2.13.
8181 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8187 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8188 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8191 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8194 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8195 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8197 * nss/Makefile: Add rules to build and run tst-nss-test1.
8198 * shlib-versions: Add entry for libnss_test1.
8199 * nss/nss_test1.c: New file.
8200 * nss/tst-nss-test1.c: New file.
8202 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8203 (__nss_configure_lookup): Set appropriate entry in
8204 __nss_configure_lookup to true.
8205 * nss/nsswitch.h: Define enum with indeces of databases in
8206 databases and __nss_database_custom arrays. Declare
8207 __nss_database_custom.
8208 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8209 to avoid using nscd when custom rules are installed.
8210 * nss/getXXbyYY_r.c: Likewise.
8211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8213 * nss/nss_files/files-parse.c: Whitespace fixes.
8215 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8218 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8219 * posix/fnmatch_loop.c: Likewise.
8221 2010-07-17 Andi Kleen <ak@linux.intel.com>
8223 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8224 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8225 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8226 * Versions.def [GLIBC_2.13]: Add.
8228 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8231 Also fail if tpwd after pwuid call is NULL.
8233 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8235 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8236 when converting to ms.
8238 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8240 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8241 EOPNOTSUPP errors with ENOTTY.
8242 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8243 EOPNOTSUPP errors with ENOTTY.
8245 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8247 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8248 Add strcasecmp_l-ssse3.
8249 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8251 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8253 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8255 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8257 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8259 * string/Makefile (strop-tests): Add strcasecmp.
8260 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8261 strcasecmp_l-nonascii.
8262 (gen-as-const-headers): Add locale-defines.sym.
8263 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8264 * sysdeps/x86_64/strcasecmp.S: New file.
8265 * sysdeps/x86_64/strcasecmp_l.S: New file.
8266 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8267 * sysdeps/x86_64/locale-defines.sym: New file.
8268 * string/test-strcasecmp.c: New file.
8270 * string/test-strcasestr.c: Test both ends of the range of characters.
8271 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8273 2010-07-29 Roland McGrath <roland@redhat.com>
8276 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8278 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8280 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8283 2010-07-27 Andreas Schwab <schwab@redhat.com>
8285 * manual/memory.texi (Malloc Tunable Parameters): Document
8288 2010-07-26 Roland McGrath <roland@redhat.com>
8291 * configure.in (-fgnu89-inline check): Set and substitute
8292 gnu89_inline, not libc_cv_gnu89_inline.
8293 * configure: Regenerated.
8294 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8296 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8298 * string/test-strnlen.c: New file.
8299 * string/Makefile (strop-tests): Add strnlen.
8300 * string/tester.c (test_strnlen): Add a few more test cases.
8301 * string/tst-strlen.c: Better error reporting.
8303 * sysdeps/x86_64/strnlen.S: New file.
8305 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8308 lower-latency instructions.
8310 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8312 * string/test-strcasestr.c: New file.
8313 * string/test-strstr.c: New file.
8314 * string/Makefile (strop-tests): Add strstr and strcasestr.
8315 * string/str-two-way.h: Don't undefine MAX.
8316 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8318 2010-07-21 Andreas Schwab <schwab@redhat.com>
8320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8321 strcasestr-nonascii.
8322 (CFLAGS-strcasestr-nonascii.c): Define.
8323 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8325 Remove unused attribute.
8327 2010-07-20 Roland McGrath <roland@redhat.com>
8329 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8330 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8331 ld.so.cache was broken. With it, there is no way to disable dsocaps
8332 like LD_HWCAP_MASK can disable hwcaps.
8334 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8336 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8338 2010-07-16 Ulrich Drepper <drepper@redhat.com>
8340 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8342 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8343 __strcasestr_sse42_nonascii.
8344 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8345 strcasestr-nonascii.c.
8346 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8348 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
8350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8351 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8353 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8355 2010-07-09 Ulrich Drepper <drepper@redhat.com>
8357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8360 2010-07-06 Andreas Schwab <schwab@redhat.com>
8363 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8366 2010-07-06 Ulrich Drepper <drepper@redhat.com>
8368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8369 _PC_PIPE_BUF using F_GETPIPE_SZ.
8371 2010-07-05 Roland McGrath <roland@redhat.com>
8373 * manual/arith.texi (Rounding Functions): Fix rint description
8374 implicit in round description.
8376 2010-07-02 Ulrich Drepper <drepper@redhat.com>
8378 * elf/Makefile: Fix linking for a few tests to make recent linker
8381 2010-06-30 Andreas Schwab <schwab@redhat.com>
8383 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8384 $(common-objpfx)libc_nonshared.a.
8386 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
8388 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8389 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8390 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8391 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8392 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8393 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8394 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8395 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8410 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8411 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8412 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8413 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8414 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8415 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8416 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8417 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8418 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8419 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8420 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8421 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8437 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8439 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8440 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8441 * string/memmove.c (memmove): Renamed to ...
8442 (MEMMOVE): ...this. Default to memmove.
8443 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8444 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8447 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8448 mempcpy-ssse3-back memmove-ssse3-back.
8449 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8452 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8453 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8454 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8455 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8456 * sysdeps/x86_64/multiarch/memmove.c: New file.
8457 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8458 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8459 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8460 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8461 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8464 (index_Fast_Copy_Backward): Define.
8465 (HAS_ARCH_FEATURE): Define.
8466 (HAS_FAST_REP_STRING): Define.
8467 (HAS_FAST_COPY_BACKWARD): Define.
8469 2010-06-21 Andreas Schwab <schwab@redhat.com>
8471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8472 Restore proper fallback handling.
8474 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8477 * posix/group_member.c (__group_member): Correct checking loop.
8479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8480 OOM in getpwuid_r correctly. Return error number when the caller
8481 should return, otherwise -1.
8482 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8483 call returning > 0 value.
8484 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8486 2010-06-07 Andreas Schwab <schwab@redhat.com>
8488 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8489 libc_nonshared.a from targets in modules-names.
8491 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8493 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8496 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
8498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8503 2010-06-02 Andreas Schwab <schwab@redhat.com>
8505 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8507 2010-06-14 Ulrich Drepper <drepper@redhat.com>
8509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8518 2010-06-14 Roland McGrath <roland@redhat.com>
8520 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8522 2010-06-07 Jakub Jelinek <jakub@redhat.com>
8524 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8525 __REDIRECT followed by __THROW.
8526 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8527 * posix/getopt.h (getopt): Likewise.
8529 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8531 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8532 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8533 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8535 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8536 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8538 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
8540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8542 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8546 Properly check family and model.
8548 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8550 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8552 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
8554 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8556 2010-05-21 Ulrich Drepper <drepper@redhat.com>
8558 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8561 2010-05-19 Andreas Schwab <schwab@redhat.com>
8563 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8566 2010-05-21 Andreas Schwab <schwab@redhat.com>
8568 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8569 and internal_recvmmsg.
8570 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8571 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8573 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8575 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8579 2010-05-20 Andreas Schwab <schwab@redhat.com>
8581 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8583 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
8585 POWER7 optimizations.
8586 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8587 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8589 2010-05-19 Ulrich Drepper <drepper@redhat.com>
8591 * version.h: Update for 2.13 development version.
8593 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
8595 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8596 exceptions. Return 0.
8598 2010-05-07 Roland McGrath <roland@redhat.com>
8600 * elf/ldconfig.c (main): Add a const.
8602 2010-05-06 Ulrich Drepper <drepper@redhat.com>
8604 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8605 (args_options): Add no-idn option.
8606 (ahosts_keys_int): Add idn_flags to ai_flags.
8607 (parse_option): Handle 'i' option to clear idn_flags.
8609 * malloc/malloc.c (_int_free): Possible race in the most recently
8610 added check. Only act on the data if no current modification
8613 See ChangeLog.17 for earlier changes.