1 2012-03-01 Chris Demetriou <cgd@google.com>
3 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4 have predictable order.
6 2012-03-01 David S. Miller <davem@davemloft.net>
8 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
11 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
13 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
16 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
21 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
32 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49 * sysdeps/sparc/elf/configure: Regenerated.
51 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53 * configure.in (AS, LD): Require binutils 2.20 or later.
54 * configure: Regenerated.
55 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56 as required minimum version.
57 * INSTALL: Regenerated.
61 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62 before squaring exponent.
63 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64 bottom long double and 27 bits of top long double before squaring
66 * math/libm-test.inc (erfc_test): Add more tests.
67 * sysdeps/i386/fpu/libm-test-ulps: Update.
68 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71 2012-03-01 Kai Tietz <ktietz@redhat.com>
73 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
75 containing bit-fields.
76 * soft-fp/extended.h (_FP_UNION_E): Likewise.
77 * soft-fp/single.h (_FP_UNION_S): Likewise.
78 * soft-fp/double.h (_FP_UNION_D): Likewise.
80 2012-02-29 Joseph Myers <joseph@codesourcery.com>
83 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84 not include ../strcmp.S.
85 [USE_AS_STRNCASECMP_L]: Likewise.
86 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
88 * sysdeps/i386/i686/multiarch/strncase_l-c.c
89 (__strncasecmp_l_ia32): Define as alias to
90 __strncasecmp_l_nonascii.
93 * math/libm-test.inc (expm1_test): Add test for bug 5794.
94 * sysdeps/i386/fpu/libm-test-ulps: Update.
95 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
97 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
98 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
100 2012-02-29 Jeff Law <law@redhat.com>
102 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
105 2012-02-29 Marek Polacek <polacek@redhat.com>
108 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
109 * elf/Makefile: Add rules to run tst-unused-dep.out.
111 2012-02-28 David S. Miller <davem@davemloft.net>
113 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
114 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
115 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
116 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
117 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
118 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
120 2012-02-29 Joseph Myers <joseph@codesourcery.com>
122 * math/libm-test.inc (llround_test): Move one test from
123 lround_test. Use TEST_f_L in moved test.
124 (lround_test): Move misplaced test to llround_test. Add testcase
127 2012-02-28 Ulrich Drepper <drepper@gmail.com>
129 * sysdeps/x86_64/fpu/e_expf.S: New file.
130 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
132 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
135 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
136 of remain_len that may cause incomplete multi-byte character and
138 * posix/bug-regex33.c: New file.
139 * posix/Makefile (tests): Add bug-regex33.
141 2012-02-28 Joseph Myers <joseph@codesourcery.com>
143 * manual/macros.texi: New file.
144 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
145 * manual/libc.texinfo: Include macros.texi.
146 * manual/creatute.texi: Likewise.
147 * manual/install.texi: Likewise.
148 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
149 @glibcadj{} in references to the GNU C Library.
150 * manual/charset.texi: Likewise.
151 * manual/conf.texi: Likewise.
152 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
153 when not using those macros.
154 * manual/creature.texi: Likewise.
155 * manual/crypt.texi: Likewise.
156 * manual/errno.texi: Likewise.
157 * manual/filesys.texi: Likewise.
158 * manual/header.texi: Likewise.
159 * manual/install.texi: Likewise.
160 * manual/intro.texi: Likewise.
161 * manual/io.texi: Likewise.
162 * manual/job.texi: Likewise.
163 * manual/lang.texi: Likewise.
164 * manual/libc.texiinfo: Likewise.
165 * manual/llio.texi: Likewise.
166 * manual/locale.texi: Likewise.
167 * manual/maint.texi: Likewise.
168 * manual/math.texi: Likewise.
169 * manual/memory.texi: Likewise.
170 * manual/message.texi: Likewise.
171 * manual/nss.texi: Likewise.
172 * manual/pattern.texi: Likewise.
173 * manual/process.texi: Likewise.
174 * manual/resource.texi: Likewise.
175 * manual/search.texi: Likewise.
176 * manual/setjmp.texi: Likewise.
177 * manual/signal.texi: Likewise.
178 * manual/socket.texi: Likewise.
179 * manual/startup.texi: Likewise.
180 * manual/stdio.texi: Likewise.
181 * manual/string.texi: Likewise.
182 * manual/sysinfo.texi: Likewise.
183 * manual/syslog.texi: Likewise.
184 * manual/terminal.texi: Likewise.
185 * manual/time.texi: Likewise.
186 * manual/users.texi: Likewise.
187 * INSTALL: Regenerated.
188 * NOTES: Regenerated.
189 * sysdeps/gnu/errlist.c: Regenerated.
191 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
193 * include/dirent.h: Include <dirstream.h> before
196 2012-02-28 David S. Miller <davem@davemloft.net>
198 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
199 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
200 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
201 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
203 2012-02-27 David S. Miller <davem@davemloft.net>
205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
207 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
208 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
211 frame pointer instead of stack pointer relative arg slot.
212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
213 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
214 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
216 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
219 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
221 2012-02-27 David S. Miller <davem@davemloft.net>
223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
227 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
228 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
229 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
230 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
232 2012-02-27 Joseph Myers <joseph@codesourcery.com>
234 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
235 later. Allow versions 5-9.
236 * configure: Regenerated.
237 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
238 required minimum version and 4.6 as recommended version. Do not
239 mention bugs in GCC 2.7 and 2.8.
240 * INSTALL: Regenerated.
242 2012-02-27 David S. Miller <davem@davemloft.net>
244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
248 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
249 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
250 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
251 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
254 manipulate bits before adding and subtracting TWO112[sx].
255 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
257 2012-02-27 Roland McGrath <roland@hack.frob.com>
260 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
261 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
262 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
263 being in POSIX, because they are in 1003.1-2008.
265 * rt/tst-aio.c: Include <fcntl.h>.
266 * rt/tst-aio7.c: Likewise.
267 * rt/tst-aio64.c: Likewise.
269 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
271 2012-02-27 Joseph Myers <joseph@codesourcery.com>
273 * manual/install.texi (--with-headers): Describe headers as
274 interface headers, not private headers.
275 (Specific advice for GNU/Linux systems): Describe use of headers
276 from "make headers_install", not private headers from older
278 * INSTALL: Regenerated.
279 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
281 * sysdeps/unix/sysv/linux/configure: Regenerated.
283 * manual/llio.texi (fclean): Remove documentation.
285 * manual/Makefile (libc-texi-generated): New variable. Include
287 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
288 $(libc-texi-generated), not duplicated list of files.
289 (version.texi, stamp-version): New rules.
290 (realclean): Remove $(libc-texi-generated), not individual files
291 from that list. Do not remove dir-add.texinfo.
292 * manual/libc.texinfo: Comment out uses of edition numbers and
293 references to printed manual. Remove last-updated dates.
294 (EDITION): Comment out.
296 (VERSION, UPDATED): Remove.
297 (version.texi): Include.
299 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
301 * sysdeps/posix/spawni.c: Include <signal.h>.
302 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
303 * sysdeps/pthread/aio_fsync.c: Likewise.
305 2012-02-26 Ulrich Drepper <drepper@gmail.com>
307 * conform/Makefile (tests): Run only when not cross-compiling and
308 when fast-check is not defined.
310 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
311 * conform/data/limits.h-data: Fixes for POSIX2008.
312 * conform/run-conformtest.sh: Run all tests.
313 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
315 * include/bits/dlfcn.h: Likewise.
316 * include/langinfo.h: Likewise.
317 * include/monetary.h: Likewise.
318 * include/sys/poll.h: Likewise.
320 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
322 * posix/spawn.h: Define __need_sigset_t.
323 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
324 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
325 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
326 to get sigevent_t only.
327 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
329 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
330 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
331 process_vm_writev only for __USE_GNU.
332 * termios/termios.h: Declare tcgetsid also for POSIX2008.
334 * conform/Makefile: For now ignore errors from run-conformtest.
335 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
336 POSIX to avoid namespace pollution. Don't prepend headers.
337 * conform/data/aio.h-data: Fixes for POSIX testing.
338 * conform/data/fcntl.h-data: Likewise.
339 * conform/data/glob.h-data: Likewise.
340 * conform/data/grp.h-data: Likewise.
341 * conform/data/pthread.h-data: Likewise.
342 * conform/data/pwd.h-data: Likewise.
343 * conform/data/signal.h-data: Likewise.
344 * conform/data/spawn.h-data: Likewise.
345 * conform/data/stdio.h-data: Likewise.
346 * conform/data/stdlib.h-data: Likewise.
347 * conform/data/stropts.h-data: Likewise.
348 * conform/data/sys/mman.h-data: Likewise.
349 * conform/data/sys/stat.h-data: Likewise.
350 * conform/data/sys/types.h-data: Likewise.
351 * conform/data/sys/wait.h-data: Likewise.
352 * conform/data/time.h-data: Likewise.
353 * conform/data/unistd.h-data: Likewise.
354 * conform/data/utime.h-data: Likewise.
356 * io/sys/stat.h: fchmod was always in POSIX.
357 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
358 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
359 * rt/aio.h: Define __need_timespec before including <time.h>.
360 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
361 struct. Add forward declaration of pthread_attr_t and use it in
363 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
364 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
365 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
366 always remove CLK_TCK definition.
368 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
370 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
372 2012-02-25 Ulrich Drepper <drepper@gmail.com>
374 * conform/run-conformtest.sh: New file.
375 * conform/Makefile: Run run-conformtest for tests.
376 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
379 * conform/data/uchar.h-data: New file.
380 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
381 * conform/data/arpa/inet.h-data: Likewise.
382 * conform/data/assert.h-data: Likewise.
383 * conform/data/complex.h-data: Likewise.
384 * conform/data/cpio.h-data: Likewise.
385 * conform/data/ctype.h-data: Likewise.
386 * conform/data/dirent.h-data: Likewise.
387 * conform/data/dlfcn.h-data: Likewise.
388 * conform/data/errno.h-data: Likewise.
389 * conform/data/fcntl.h-data: Likewise.
390 * conform/data/float.h-data: Likewise.
391 * conform/data/fmtmsg.h-data: Likewise.
392 * conform/data/fnmatch.h-data: Likewise.
393 * conform/data/ftw.h-data: Likewise.
394 * conform/data/glob.h-data: Likewise.
395 * conform/data/grp.h-data: Likewise.
396 * conform/data/iconv.h-data: Likewise.
397 * conform/data/inttypes.h-data: Likewise.
398 * conform/data/langinfo.h-data: Likewise.
399 * conform/data/libgen.h-data: Likewise.
400 * conform/data/limits.h-data: Likewise.
401 * conform/data/locale.h-data: Likewise.
402 * conform/data/math.h-data: Likewise.
403 * conform/data/monetary.h-data: Likewise.
404 * conform/data/mqueue.h-data: Likewise.
405 * conform/data/ndbm.h-data: Likewise.
406 * conform/data/net/if.h-data: Likewise.
407 * conform/data/netdb.h-data: Likewise.
408 * conform/data/netinet/in.h-data: Likewise.
409 * conform/data/nl_types.h-data: Likewise.
410 * conform/data/poll.h-data: Likewise.
411 * conform/data/pthread.h-data: Likewise.
412 * conform/data/pwd.h-data: Likewise.
413 * conform/data/regex.h-data: Likewise.
414 * conform/data/sched.h-data: Likewise.
415 * conform/data/search.h-data: Likewise.
416 * conform/data/semaphore.h-data: Likewise.
417 * conform/data/setjmp.h-data: Likewise.
418 * conform/data/signal.h-data: Likewise.
419 * conform/data/spawn.h-data: Likewise.
420 * conform/data/stdarg.h-data: Likewise.
421 * conform/data/stdio.h-data: Likewise.
422 * conform/data/stdlib.h-data: Likewise.
423 * conform/data/string.h-data: Likewise.
424 * conform/data/strings.h-data: Likewise.
425 * conform/data/stropts.h-data: Likewise.
426 * conform/data/sys/ipc.h-data: Likewise.
427 * conform/data/sys/mman.h-data: Likewise.
428 * conform/data/sys/msg.h-data: Likewise.
429 * conform/data/sys/resource.h-data: Likewise.
430 * conform/data/sys/select.h-data: Likewise.
431 * conform/data/sys/sem.h-data: Likewise.
432 * conform/data/sys/shm.h-data: Likewise.
433 * conform/data/sys/socket.h-data: Likewise.
434 * conform/data/sys/stat.h-data: Likewise.
435 * conform/data/sys/statvfs.h-data: Likewise.
436 * conform/data/sys/time.h-data: Likewise.
437 * conform/data/sys/timeb.h-data: Likewise.
438 * conform/data/sys/times.h-data: Likewise.
439 * conform/data/sys/types.h-data: Likewise.
440 * conform/data/sys/uio.h-data: Likewise.
441 * conform/data/sys/un.h-data: Likewise.
442 * conform/data/sys/utsname.h-data: Likewise.
443 * conform/data/sys/wait.h-data: Likewise.
444 * conform/data/syslog.h-data: Likewise.
445 * conform/data/tar.h-data: Likewise.
446 * conform/data/termios.h-data: Likewise.
447 * conform/data/utime.h-data: Likewise.
448 * conform/data/utmpx.h-data: Likewise.
449 * conform/data/varargs.h-data: Likewise.
450 * conform/data/wchar.h-data: Likewise.
451 * conform/data/wctype.h-data: Likewise.
452 * conform/data/wordexp.h-data: Likewise.
454 * include/stropts.h: New file.
455 * include/uchar.h: New file.
456 * include/aio.h: Changes to allow conformtest.pl to use the headers.
457 * include/assert.h: Likewise.
458 * include/ctype.h: Likewise.
459 * include/dirent.h: Likewise.
460 * include/dlfcn.h: Likewise.
461 * include/fcntl.h: Likewise.
462 * include/fnmatch.h: Likewise.
463 * include/glob.h: Likewise.
464 * include/grp.h: Likewise.
465 * include/libio.h: Likewise.
466 * include/locale.h: Likewise.
467 * include/math.h: Likewise.
468 * include/net/if.h: Likewise.
469 * include/netdb.h: Likewise.
470 * include/netinet/in.h: Likewise.
471 * include/pthread.h: Likewise.
472 * include/pwd.h: Likewise.
473 * include/regex.h: Likewise.
474 * include/sched.h: Likewise.
475 * include/search.h: Likewise.
476 * include/setjmp.h: Likewise.
477 * include/signal.h: Likewise.
478 * include/stdio.h: Likewise.
479 * include/stdlib.h: Likewise.
480 * include/string.h: Likewise.
481 * include/sys/cdefs.h: Likewise.
482 * include/sys/mman.h: Likewise.
483 * include/sys/msg.h: Likewise.
484 * include/sys/resource.h: Likewise.
485 * include/sys/select.h: Likewise.
486 * include/sys/socket.h: Likewise.
487 * include/sys/stat.h: Likewise.
488 * include/sys/statvfs.h: Likewise.
489 * include/sys/time.h: Likewise.
490 * include/sys/times.h: Likewise.
491 * include/sys/uio.h: Likewise.
492 * include/sys/utsname.h: Likewise.
493 * include/sys/wait.h: Likewise.
494 * include/termios.h: Likewise.
495 * include/time.h: Likewise.
496 * include/ulimit.h: Likewise.
497 * include/unistd.h: Likewise.
498 * include/utime.h: Likewise.
499 * include/wchar.h: Likewise.
500 * include/wctype.h: Likewise.
501 * include/wordexp.h: Likewise.
503 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
505 * time/time.h: TIME_UTC must be a macro.
506 Make timespec_get available for ISO C11 only as well.
508 2012-02-24 Ulrich Drepper <drepper@gmail.com>
510 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
511 Reported by Peng Haitao <penght@cn.fujitsu.com>.
513 2012-02-24 Joseph Myers <joseph@codesourcery.com>
515 * configure.in: Use -o not -a in test for unsupported multi-arch.
517 2012-02-24 Joseph Myers <joseph@codesourcery.com>
519 * manual/texinfo.tex: Update to version 2012-01-19.16.
521 2012-02-24 Joseph Myers <joseph@codesourcery.com>
523 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
525 2012-02-24 Roland McGrath <roland@hack.frob.com>
528 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
529 * manual/fdl-1.3.texi: New file.
530 * manual/fdl-1.1.texi: File removed.
533 * manual/libc.texinfo (FDL_VERSION): New @set.
534 Use it for mention of FDL in cover text.
535 (Documentation License): Use it in @include file name.
537 2012-02-22 Joseph Myers <joseph@codesourcery.com>
538 Roland McGrath <roland@hack.frob.com>
541 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
542 not LONG_LONG_MAX and LONG_LONG_MIN.
543 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
544 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
546 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
548 2012-02-22 Joseph Myers <joseph@codesourcery.com>
552 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
553 manipulate bits before adding and subtracting TWO23[sx].
554 * math/libm-test.inc (nearbyint_test): Add more tests.
556 2012-02-22 Joseph Myers <joseph@codesourcery.com>
559 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
560 bits before adding and subtracting TWO23[sx].
561 * math/libm-test.inc (rint_test): Add more tests.
562 (rint_test_tonearest): Likewise.
563 (rint_test_towardzero): Likewise.
564 (rint_test_downward): Likewise.
565 (rint_test_upward: Likewise.
567 2012-02-22 Joseph Myers <joseph@codesourcery.com>
570 * include/stdc-predef.h: New file. Extracted from features.h.
571 * include/features.h: Include stdc-predef.h.
572 * Makefile (headers): Add stdc-predef.h.
573 * CONFORMANCE (Compiler limitations): Update.
575 2012-02-22 Joseph Myers <joseph@codesourcery.com>
577 * manual/libc.texinfo (VERSION, UPDATED): Revert.
579 2012-02-21 David S. Miller <davem@davemloft.net>
581 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
582 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
584 2012-02-20 David S. Miller <davem@davemloft.net>
586 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
587 using a normal save/restore sequence, rather than allocating a
588 dummy stack frame just to store a frame pointer and restore.
589 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
591 2012-02-21 Joseph Myers <joseph@codesourcery.com>
593 * manual/install.texi: Fix stray word in line-wrapped comment.
595 2012-02-20 David S. Miller <davem@davemloft.net>
597 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
598 both binutils and gcc support GOTDATA.
600 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
601 "rd %pc" in the PIC register setup sequences.
603 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
604 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
605 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
606 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
607 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
608 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
609 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
610 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
612 (SYSCALL_ERROR_HANDLER): Likewise.
613 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
614 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
616 (SYSCALL_ERROR_HANDLER): Likewise.
618 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
619 (HAVE_GCC_GOTDATA): New.
620 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
621 relocation support in both binutils and gcc.
622 * sysdeps/sparc/elf/configure: Regenerate.
624 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
625 * sysdeps/sparc/sparc32/elf/configure: Delete.
626 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
627 * sysdeps/sparc/sparc64/elf/configure: Delete.
628 * sysdeps/sparc/elf/configure.in: New file.
629 * sysdeps/sparc/elf/configure: Generate.
631 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
632 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
633 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
634 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
635 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
637 2012-02-21 Joseph Myers <joseph@codesourcery.com>
639 * manual/install.texi: Do not mention specific glibc version
641 * manual/libc.texinfo (VERSION, UPDATED): Update.
642 (@copying): Use @copyright{} and range of years.
644 2012-02-21 Joseph Myers <joseph@codesourcery.com>
647 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
648 [crti.S not in sysdirs] (generated): Do not append.
649 [crti.S not in sysdirs] (omit-deps): Likewise.
650 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
651 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
652 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
653 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
654 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
656 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
657 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
658 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
659 * csu/defs.awk: Remove file.
660 * sysdeps/generic/initfini.c: Likewise.
661 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
663 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
666 2012-02-20 Joseph Myers <joseph@codesourcery.com>
668 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
669 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
670 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
671 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
672 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
673 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
675 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
676 (__EPOLL_PACKED): Define to empty if not defined by
678 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
682 2012-02-20 Joseph Myers <joseph@codesourcery.com>
684 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
685 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
686 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
687 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
689 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
693 2012-02-20 Joseph Myers <joseph@codesourcery.com>
695 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
697 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
698 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
699 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
702 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
704 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
705 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
707 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
709 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
710 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
712 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
714 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
717 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
719 * math/w_acos.c: Use non-signaling floating-point comparisons.
720 * math/w_acosf.c: Likewise.
721 * math/w_acosh.c: Likewise.
722 * math/w_acoshf.c: Likewise.
723 * math/w_acoshl.c: Likewise.
724 * math/w_acosl.c: Likewise.
725 * math/w_asin.c: Likewise.
726 * math/w_asinf.c: Likewise.
727 * math/w_asinl.c: Likewise.
728 * math/w_atanh.c: Likewise.
729 * math/w_atanhf.c: Likewise.
730 * math/w_atanhl.c: Likewise.
731 * math/w_exp2.c: Likewise.
732 * math/w_exp2f.c: Likewise.
733 * math/w_exp2l.c: Likewise.
734 * math/w_j0.c: Likewise.
735 * math/w_j0f.c: Likewise.
736 * math/w_j0l.c: Likewise.
737 * math/w_j1.c: Likewise.
738 * math/w_j1f.c: Likewise.
739 * math/w_j1l.c: Likewise.
740 * math/w_jn.c: Likewise.
741 * math/w_jnf.c: Likewise.
742 * math/w_log.c: Likewise.
743 * math/w_log10.c: Likewise.
744 * math/w_log10f.c: Likewise.
745 * math/w_log10l.c: Likewise.
746 * math/w_log2.c: Likewise.
747 * math/w_log2f.c: Likewise.
748 * math/w_log2l.c: Likewise.
749 * math/w_logf.c: Likewise.
750 * math/w_logl.c: Likewise.
751 * math/w_sqrt.c: Likewise.
752 * math/w_sqrtf.c: Likewise.
753 * math/w_sqrtl.c: Likewise.
754 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
755 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
756 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
757 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
758 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
760 2012-02-19 Joseph Myers <joseph@codesourcery.com>
763 * manual/string.texi (strnlen): Use correct parameter name in
764 equivalent expression.
766 2012-02-19 Joseph Myers <joseph@codesourcery.com>
769 * manual/users.texi (seteuid): Consistently use neweuid for
772 2012-02-19 Joseph Myers <joseph@codesourcery.com>
775 * manual/nss.texi (Services in the NSS configuration): Correct
776 list of services in example configuration file.
778 2012-02-19 Nick Bowler <nbowler@draconx.ca>
781 * manual/arith.texi: Remove statements about negative zero
782 behaving identically to zero.
784 2012-02-18 Joseph Myers <joseph@codesourcery.com>
787 * manual/install.texi: Do not document upgrading from libc5.
789 2012-02-18 Joseph Myers <joseph@codesourcery.com>
792 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
794 2012-02-18 David S. Miller <davem@davemloft.net>
796 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
797 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
799 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
803 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
804 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
805 * sysdeps/sparc/crtn.S: Likewise.
807 2012-02-17 Ulrich Drepper <drepper@gmail.com>
809 * aout/Makefile: Remove.
811 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
814 * manual/examples/argp-ex1.c (main): Format definition in GNU
816 * manual/examples/argp-ex2.c (main): Likewise.
817 * manual/examples/argp-ex3.c (main): Likewise.
818 * manual/examples/argp-ex4.c (main): Likewise.
819 * manual/examples/longopt.c (main): Use new-style prototype
821 * manual/examples/strncat.c (main): Specify return type and use
822 (void) for arguments.
823 * manual/examples/subopt.c (main): Use char **argv argument.
825 2012-02-17 Joseph Myers <joseph@codesourcery.com>
828 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
831 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
834 * manual/string.texi (strchr): Change when strchrnul is
837 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
840 * manual/locale.texi (setlocale): Document LOCPATH.
842 2012-02-17 Joseph Myers <joseph@codesourcery.com>
845 * manual/process.texi (execle): Move @dots{} before last argument.
847 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
850 * manual/charset.texi (Generic Charset Conversion): Fix typo
851 (LC_TYPE -> LC_CTYPE).
853 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
856 * manual/arith.texi (scalbn): Use @var{} on parameter names.
860 (scalblnf): Likewise.
861 (scalblnl): Likewise.
862 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
866 * manual/filesys.texi (telldir): Use braces around return type.
867 * manual/llio.texi (mmap): Add space after comma.
869 * manual/math.texi (jn): Use @var{} on parameter names.
875 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
877 * manual/resource.texi (ulimit): Use @dots{} instead of literal
879 (sched_get_priority_min): Remove semicolon on @deftypefun line.
880 (sched_get_priority_max): Likewise.
881 * manual/signal.texi (sigvec): Add space after comma.
882 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
884 (if_indextoname): Likewise.
885 (if_freenameindex): Likewise.
886 (sendto): Use ',' instead of '.' in prototype.
887 * manual/startup.texi (syscall): Use @dots{} instead of literal
889 * manual/stdio.texi (__fpending): Separate initial words of
890 paragraph from @deftypefun line.
891 * manual/syslog.texi (syslog): Use @dots{} instead of literal
893 (vsyslog): Use @var{} on parameter names.
894 * manual/terminal.texi (stty): Use @var{} on parameter names.
895 * manual/users.texi (getutmp): Use @var{} on parameter names.
896 (getutmpx): Likewise.
898 2012-02-17 Joseph Myers <joseph@codesourcery.com>
901 * manual/stdio.texi (fopen): Fix typos in description of
904 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
907 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
908 get clock_id definition.
910 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
913 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
914 (madvise): Cast every argument to void on its own.
916 2012-02-17 Joseph Myers <joseph@codesourcery.com>
919 * manual/startup.texi (Exit Status): Fix typo.
921 2012-02-17 Joseph Myers <joseph@codesourcery.com>
924 * manual/examples/argp-ex1.c: Include <stdlib.h>.
925 * manual/examples/argp-ex2.c: Likewise.
926 * manual/examples/argp-ex3.c: Likewise.
928 2012-02-16 Richard Henderson <rth@redhat.com>
930 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
931 * sysdeps/s390/s390-32/initfini.c: Remove.
932 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
933 * sysdeps/s390/s390-64/initfini.c: Remove.
935 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
937 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
938 compiler output for sysdeps/generic/initfini.c.
939 * sysdeps/sh/elf/initfini.c: Remove file.
941 2012-02-16 David S. Miller <davem@davemloft.net>
944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
946 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
947 * sysdeps/sparc/crti.S: New file.
948 * sysdeps/sparc/crtn.S: New file.
949 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
950 * sysdeps/sparc/sparc64/Makefile: Likewise.
952 2012-02-15 Mike Frysinger <vapier@gentoo.org>
955 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
957 2012-02-15 Roland McGrath <roland@hack.frob.com>
960 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
962 * mach/devstream.c (cookie_io_functions_t): Macro removed.
963 (write, read, close): Likewise.
964 Patch by Aurelien Jarno <aurelien@aurel32.net>.
966 2012-02-15 Joseph Myers <joseph@codesourcery.com>
968 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
969 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
970 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
971 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
973 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
977 2012-02-14 Marek Polacek <polacek@redhat.com>
979 * sysdeps/x86_64/crti.S: New file.
980 * sysdeps/x86_64/crtn.S: New file.
981 * sysdeps/x86_64/elf/initfini.c: Remove file.
983 2012-02-13 Joseph Myers <joseph@codesourcery.com>
985 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
986 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
987 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
988 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
990 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
994 2012-02-13 Joseph Myers <joseph@codesourcery.com>
996 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
997 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
998 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
999 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
1001 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
1002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1005 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
1007 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
1008 __feraiseexcept instead of feraiseexcept.
1010 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
1011 nanosleep invocations.
1012 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
1013 strings, and add error checking for a nanosleep invocations.
1015 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
1017 Replace FSF snail mail address with URLs, as per GNU coding standards.
1018 Most of the snail mail addresses were wrong anyway, and omitting
1019 them makes the source code easier to maintain. Almost all of the
1020 changes are to license notices and to locale LC_IDENTIFICATION
1021 addresses, except for this one:
1022 * manual/libc.texinfo: In "Published by", give the FSF's URL,
1023 not its snail mail address.
1025 2012-02-09 Richard Henderson <rth@twiddle.net>
1027 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
1028 of kernel-features.h.
1030 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
1032 2012-02-08 Marek Polacek <polacek@redhat.com>
1034 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
1035 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
1036 * sysdeps/gnu/_G_config.h: Likewise.
1037 * sysdeps/generic/_G_config.h: Likewise.
1039 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
1041 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
1043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1045 * sysdeps/powerpc/powerpc32/crti.S: New file.
1046 * sysdeps/powerpc/powerpc32/crtn.S: New file.
1047 * sysdeps/powerpc/powerpc64/crti.S: New file.
1048 * sysdeps/powerpc/powerpc64/crtn.S: New file.
1050 * Makeconfig (have-initfini): Don't set.
1051 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
1052 * configure.in (nopic_initfini): Don't substitute.
1053 * config.h.in (HAVE_INITFINI): Don't #undef.
1054 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
1055 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
1057 2012-02-08 Joseph Myers <joseph@codesourcery.com>
1059 Support crti.S and crtn.S provided directly by architectures.
1060 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
1061 [crti.S in sysdirs] (omit-deps): Likewise.
1062 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
1063 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
1064 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
1065 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
1066 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
1067 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
1068 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
1069 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1070 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1071 compiler output for sysdeps/generic/initfini.c.
1072 * sysdeps/i386/elf/Makefile: Remove file.
1073 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1075 2012-02-07 Marek Polacek <polacek@redhat.com>
1077 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1078 * sysdeps/gnu/_G_config.h: Likewise.
1079 * sysdeps/mach/hurd/_G_config.h: Likewise.
1081 2012-02-07 Marek Polacek <polacek@redhat.com>
1083 * math/Makefile (tests): Add tst-CMPLX2.
1084 * math/tst-CMPLX2.c: New file.
1086 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1088 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1090 * math/libm-test.inc (jn_test): Add missing L suffix.
1092 2012-02-06 Marek Polacek <polacek@redhat.com>
1094 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1095 * sysdeps/i386/fpu/e_powf.S: Likewise.
1096 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1097 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1098 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1099 * sysdeps/i386/fpu/e_pow.S: Likewise.
1100 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1101 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1102 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1103 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1104 * sysdeps/i386/fpu/e_log2.S: Likewise.
1105 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1106 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1107 * sysdeps/i386/fpu/e_powl.S: Likewise.
1108 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1109 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1110 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1111 * sysdeps/i386/fpu/e_logl.S: Likewise.
1112 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1113 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1114 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1115 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1116 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1117 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1118 * sysdeps/i386/fpu/e_log.S: Likewise.
1119 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1120 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1121 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1122 * sysdeps/i386/fpu/e_logf.S: Likewise.
1123 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1124 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1125 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1126 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1127 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1128 * sysdeps/i386/fpu/e_log10.S: Likewise.
1129 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1130 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1131 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1132 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1133 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1134 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1135 * sysdeps/i386/asm-syntax.h: Likewise.
1136 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1138 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1139 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1140 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1141 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1142 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1143 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1144 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1145 * sysdeps/powerpc/sysdep.h: Likewise.
1146 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1147 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1149 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1152 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1154 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1156 * sysdeps/i386/sysdep.h: Include <features.h>.
1157 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1160 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1162 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1164 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1167 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1169 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1170 (SETUP_PIC_REG): Use GET_PC_THUNK.
1171 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1174 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1176 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1177 for non-PIC compilation.
1178 (SETUP_PIC_REG): Add .p2align directive.
1179 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1180 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1181 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1182 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1183 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1184 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1185 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1186 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1187 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1188 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1189 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1190 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1191 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1192 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1193 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1194 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1195 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1196 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1197 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1198 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1199 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1200 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1201 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1202 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1203 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1205 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1207 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1208 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1209 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1210 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1211 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1212 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1213 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1214 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1215 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1216 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1217 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1218 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1219 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1221 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1223 * math/tst-CMPLX.c: Include <stdio.h>.
1225 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1227 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1229 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1230 * sysdeps/sparc/bits/mathdef.h: Likewise.
1232 2012-01-31 Marek Polacek <polacek@redhat.com>
1234 * libio/libio.h: Don't define _PARAMS.
1235 * locale/programs/config.h: Don't define PARAMS.
1236 * stdlib/strtol_l.c: Likewise.
1237 (__strtol_l): Remove PARAMS from the prototype.
1239 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1241 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1242 names. Just use the correct names. Remove unnecessary wrapper
1244 * malloc/arena.c: Likewise.
1245 * malloc/hooks.c: Likewise.
1247 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1248 ARENA_TEST says not to. Simplify test for creation of a new arena.
1249 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1251 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1253 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1255 (update_get_addr): New function.
1256 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1257 GET_ADDR_MODULE parameter.
1259 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1261 * crypt/cert.c: Remove __STDC__ conditionals.
1262 * crypt/crypt-entry.c: Likewise.
1263 * crypt/crypt_util.c: Likewise.
1264 * libio/filedoalloc.c: Likewise.
1265 * libio/fileops.c: Likewise.
1266 * libio/genops.c: Likewise.
1267 * libio/iofclose.c: Likewise.
1268 * libio/iofdopen.c: Likewise.
1269 * libio/iofopen.c: Likewise.
1270 * libio/iofopen64.c: Likewise.
1271 * libio/iogetdelim.c: Likewise.
1272 * libio/iopopen.c: Likewise.
1273 * libio/obprintf.c: Likewise.
1274 * libio/oldfileops.c: Likewise.
1275 * libio/oldiofclose.c: Likewise.
1276 * libio/oldiofdopen.c: Likewise.
1277 * libio/oldiofopen.c: Likewise.
1278 * libio/oldiopopen.c: Likewise.
1279 * libio/wfiledoalloc.c: Likewise.
1280 * libio/wgenops.c: Likewise.
1281 * locale/programs/xmalloc.c: Likewise.
1282 * misc/syslog.c: Likewise.
1283 * stdio-common/xbug.c: Likewise.
1284 * string/memchr.c: Likewise.
1285 * string/memcmp.c: Likewise.
1286 * string/memrchr.c: Likewise.
1287 * string/rawmemchr.c: Likewise.
1288 * sysdeps/posix/getcwd.c: Likewise.
1289 * time/strftime_l.c: Likewise.
1291 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1293 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1294 * config.make.in (config-cflags-sse2avx): Define.
1295 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1298 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1300 * scripts/config.guess: Update from upstream config git repository.
1301 * scripts/config.sub: Likewise.
1303 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1305 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1307 (R_TILEPRO_*, R_TILEGX_*): New macros.
1309 * scripts/firstversions.awk: Fix bug in version range handling.
1311 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1313 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1315 * include/sys/epoll.h: New file.
1316 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1319 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1321 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1322 Avoid unnecessary __WORDSIZE == 64 test.
1323 (fmaxf): Use VEX format if possible.
1328 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1329 * math/math_private.h: Remove libc_fegetround* and
1331 * sysdeps/i386/configure.in: Check for -msse2avx.
1332 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1333 also if SSE2AVX is defined.
1334 Remove libc_fegetround* and libc_fesetround*.
1335 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1336 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1342 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1345 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1347 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1351 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1353 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1356 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1358 * Makeconfig (libm): Define.
1359 * elf/Makefile: Add rules to build and run tst-relsort1.
1360 * elf/tst-relsort1.c: New file.
1361 * elf/tst-relsort1mod1.c: New file.
1362 * elf/tst-relsort1mod2.c: New file.
1364 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1366 * math/s_ldexp.c: Remove __STDC__ conditionals.
1367 * math/s_ldexpf.c: Likewise.
1368 * math/s_ldexpl.c: Likewise.
1369 * math/s_nextafter.c: Likewise.
1370 * math/s_nexttowardf.c: Likewise.
1371 * math/s_significand.c: Likewise.
1372 * math/s_significandf.c: Likewise.
1373 * math/s_significandl.c: Likewise.
1374 * math/w_jnl.c: Likewise.
1375 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1376 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1377 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1378 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1379 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1381 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1382 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1383 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1384 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1385 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1386 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1387 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1388 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1389 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1390 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1391 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1392 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1394 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1395 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1396 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1397 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1398 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1399 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1400 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1401 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1402 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1403 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1404 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1405 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1406 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1407 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1408 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1409 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1410 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1411 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1412 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1413 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1414 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1415 * sysdeps/ieee754/k_standard.c: Likewise.
1416 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1417 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1420 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1421 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1422 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1424 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1425 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1426 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1427 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1428 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1429 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1430 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1431 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1432 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1433 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1434 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1435 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1436 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1437 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1438 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1439 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1440 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1441 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1443 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1445 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1446 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1447 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1448 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1449 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1451 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1452 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1453 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1454 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1455 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1456 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1458 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1459 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1460 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1461 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1462 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1463 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1464 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1465 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1466 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1467 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1468 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1469 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1472 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1473 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1474 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1475 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1476 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1477 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1478 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1481 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1482 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1483 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1484 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1485 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1486 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1487 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1488 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1489 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1490 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1491 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1492 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1493 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1494 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1495 * sysdeps/ieee754/s_matherr.c: Likewise.
1496 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1497 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1499 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1501 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1503 * crypt/md5.h: Remove __STDC__ conditionals.
1504 * libio/libioP.h: Likewise.
1505 * locale/programs/config.h: Likewise.
1506 * sysdeps/generic/sysdep.h: Likewise.
1507 * sysdeps/i386/asm-syntax.h: Likewise.
1508 * sysdeps/s390/asm-syntax.h: Likewise.
1509 * sysdeps/unix/sysdep.h: Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1513 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1515 * libio/libio.h: Remove __STDC__ conditionals.
1516 * malloc/obstack.h: Likewise.
1517 * math/complex.h: Likewise.
1518 * math/math.h: Likewise.
1519 * sysdeps/generic/_G_config.h: Likewise.
1520 * sysdeps/gnu/_G_config.h: Likewise.
1521 * sysdeps/mach/hurd/_G_config.h: Likewise.
1522 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1523 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1524 * sysdeps/sparc/bits/mathdef.h: Likewise.
1526 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1529 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1530 Clean up HAS_* macros.
1531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1532 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1534 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1536 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1537 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1538 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1539 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1540 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1542 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1544 * elf/tst-unique3.cc (gets): Remove declaration.
1545 * elf/tst-unique3lib.cc (gets): Likewise.
1546 * elf/tst-unique3lib2.cc (gets): Likewise.
1547 * elf/tst-unique4.cc (gets): Likewise.
1549 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1551 * include/stdio.h: Add C++ protection. Add gets declarations and
1553 * debug/tst-chk1.c: Don't declare gets here.
1554 * stdio-common/tst-gets.c: Likewise.
1556 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1558 * posix/glob: Remove directory.
1560 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1562 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1564 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1566 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1567 of the non-standard EPFNOSUPPORT.
1569 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1571 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1572 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1573 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1575 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1577 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1579 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1581 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1583 * nscd/grpcache.c (cache_addgr): Likewise.
1584 * nscd/hstcache.c (cache_addhst): Likewise.
1585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1586 * nscd/pwdcache.c (cache_addpw): Likewise.
1587 * nscd/servicescache.c (cache_addserv): Likewise.
1589 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1591 * malloc/malloc.c: Various cleanups.
1592 * malloc/hooks.c: Likewise.
1594 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1595 * stdlib/bug-fmtmsg1.c: New file.
1597 * stdlib/fmtmsg.c (init): Add missing unlock.
1598 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1600 2012-01-12 Marek Polacek <polacek@redhat.com>
1602 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1605 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1607 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1608 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1609 macro to ensure uniqueness of label name.
1610 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1611 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1613 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1615 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1617 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1618 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1619 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1622 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1624 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1626 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1627 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1628 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1630 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1632 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
1633 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1634 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
1637 * math/bits/math-finite.h: Add ldexp support.
1639 2012-01-10 Marek Polacek <polacek@redhat.com>
1641 * locale/programs/localedef.h (show_archive_content): Add noreturn
1644 2012-01-09 Ulrich Drepper <drepper@gmail.com>
1646 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1648 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1650 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1652 * io/Makefile (headers): Add bits/poll2.h.
1654 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1657 typo #include statement.
1659 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1661 * include/sys/cdefs.h: Define __attribute_alloc_size.
1662 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1663 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1664 * elf/pldd.c: Likewise.
1665 * iconv/iconv_charmap.c: Likewise.
1666 * iconv/iconvconfig.c: Likewise.
1667 * iconv/strtab.c: Likewise.
1668 * locale/programs/locale.c: Likewise.
1669 * locale/programs/localedef.h: Likewise.
1670 * locale/programs/simple-hash.c: Likewise.
1671 * nscd/nscd.h: Likewise.
1672 * nss/makedb.c: Likewise.
1673 * sysdeps/generic/ldconfig.h: Likewise.
1674 * locale/programs/localedef.c: Remove xmalloc prototype.
1675 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1677 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1679 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1682 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1684 * math/Makefile (tests): Add tst-CMPLX.
1685 * math/tst-CMPLX.c: New file.
1687 * math/complex.h (CMPLXL): Fix typo.
1689 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1690 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1692 * debug/tst-chk1.c: Add poll and ppoll tests.
1693 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1694 * include/sys/poll.h: Add hidden proto for ppoll.
1695 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1696 * sysdeps/mach/hurd/ppoll.c: Likewise.
1697 * io/ppoll.c: Likewise.
1698 * debug/poll_chk.c: New file.
1699 * debug/ppoll_chk.c: New file.
1700 * include/bits/poll2.h: New file.
1701 * io/bits/poll2.h: New file.
1704 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1706 * configure.in: static is always set to yes. Remove.
1707 * config.make.in: Don't set build-static.
1708 * Makeconfig: Remove use of build-static.
1709 * dlfcn/Makefile: Likewise.
1710 * elf/Makefile: Likewise.
1711 * math/Makefile: Likewise.
1712 * misc/Makefile: Likewise.
1713 * nptl/Makefile: Likewise.
1714 * sysdeps/mach/hurd/Makefile: Likewise.
1716 * configure.in: PWD_P is not used anymore.
1717 * config.make.in: Remove PWD_P entry.
1719 * configure.in: Remove last remnants of RANLIB.
1720 No need to check for signed size_t anymore.
1721 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1723 Remove __builtin_expect test because we require at least gcc 3.4.
1724 * aclocal.m4: Likewise.
1726 * wcsmbs/mbrtoc16.c: Implement using towc function.
1727 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1728 * wcsmbs/wcsmbsload.c: Likewise.
1729 * iconv/gconv_simple.c: Likewise.
1730 * iconv/gconv_int.h: Likewise.
1731 * iconv/gconv_builtin.h: Likewise.
1732 * iconv/iconv_prog.c: Remove CHAR16 handling.
1734 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1736 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1738 * configure.in: Remove --with-elf and --enable-bounded options.
1739 Dont set base_machine for ia64. More non-ELF conditions removed.
1740 Remove testing and setting of leading underscore information.
1741 * config.make.in (build-bounded): Set to no.
1742 * config.h.in: Remove NO_UNDERSCORES entry.
1743 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1745 * csu/start.c: Remove !NO_UNDERSCORE code.
1746 * locale/localeinfo.h: Likewise.
1747 * sysdeps/generic/machine-gmon.h: Likewise.
1748 * sysdeps/generic/sysdep.h: Likewise.
1749 * sysdeps/i386/sysdep.h: Likewise.
1750 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1751 * sysdeps/mach/sysdep.h: Likewise.
1752 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1753 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1754 * sysdeps/sh/sysdep.h: Likewise.
1755 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1756 * sysdeps/unix/i386/sysdep.S: Likewise.
1757 * sysdeps/unix/sparc/start.c: Likewise.
1758 * sysdeps/unix/sparc/sysdep.S: Likewise.
1759 * sysdeps/unix/sparc/sysdep.h: Likewise.
1760 * sysdeps/unix/start.c: Likewise.
1761 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1762 * sysdeps/x86_64/sysdep.h: Likewise.
1764 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1767 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1769 * argp/argp-fmtstream.h: Use const instead __const.
1770 * argp/argp.h: Likewise.
1771 * assert/assert.h: Likewise.
1772 * bits/fenv.h: Likewise.
1773 * bits/sched.h: Likewise.
1774 * bits/sigset.h: Likewise.
1775 * bits/sigthread.h: Likewise.
1776 * catgets/nl_types.h: Likewise.
1777 * conform/data/pthread.h-data: Likewise.
1778 * crypt/crypt-private.h: Likewise.
1779 * crypt/crypt.h: Likewise.
1780 * crypt/crypt_util.c: Likewise.
1781 * ctype/ctype.h: Likewise.
1782 * debug/execinfo.h: Likewise.
1783 * debug/mbsnrtowcs_chk.c: Likewise.
1784 * debug/mbsrtowcs_chk.c: Likewise.
1785 * debug/wcsnrtombs_chk.c: Likewise.
1786 * debug/wcsrtombs_chk.c: Likewise.
1787 * debug/wcstombs_chk.c: Likewise.
1788 * dirent/dirent.h: Likewise.
1789 * dlfcn/dlfcn.h: Likewise.
1790 * elf/neededtest4.c: Likewise.
1791 * grp/grp.h: Likewise.
1792 * gshadow/gshadow.h: Likewise.
1793 * iconv/gconv.h: Likewise.
1794 * iconv/gconv_int.h: Likewise.
1795 * iconv/gconv_simple.c: Likewise.
1796 * iconv/iconv.h: Likewise.
1797 * iconv/loop.c: Likewise.
1798 * iconv/skeleton.c: Likewise.
1799 * include/aio.h: Likewise.
1800 * include/aliases.h: Likewise.
1801 * include/argz.h: Likewise.
1802 * include/arpa/inet.h: Likewise.
1803 * include/assert.h: Likewise.
1804 * include/dirent.h: Likewise.
1805 * include/dlfcn.h: Likewise.
1806 * include/execinfo.h: Likewise.
1807 * include/fcntl.h: Likewise.
1808 * include/fenv.h: Likewise.
1809 * include/glob.h: Likewise.
1810 * include/grp.h: Likewise.
1811 * include/libintl.h: Likewise.
1812 * include/mntent.h: Likewise.
1813 * include/netdb.h: Likewise.
1814 * include/pwd.h: Likewise.
1815 * include/rpc/netdb.h: Likewise.
1816 * include/sched.h: Likewise.
1817 * include/search.h: Likewise.
1818 * include/shadow.h: Likewise.
1819 * include/signal.h: Likewise.
1820 * include/stdio.h: Likewise.
1821 * include/stdlib.h: Likewise.
1822 * include/string.h: Likewise.
1823 * include/sys/socket.h: Likewise.
1824 * include/sys/stat.h: Likewise.
1825 * include/sys/statfs.h: Likewise.
1826 * include/sys/statvfs.h: Likewise.
1827 * include/sys/syslog.h: Likewise.
1828 * include/sys/time.h: Likewise.
1829 * include/sys/uio.h: Likewise.
1830 * include/time.h: Likewise.
1831 * include/unistd.h: Likewise.
1832 * include/utmp.h: Likewise.
1833 * include/wchar.h: Likewise.
1834 * include/wctype.h: Likewise.
1835 * inet/aliases.h: Likewise.
1836 * inet/arpa/inet.h: Likewise.
1837 * inet/netinet/ether.h: Likewise.
1838 * inet/netinet/in.h: Likewise.
1839 * intl/libintl.h: Likewise.
1840 * io/bits/fcntl2.h: Likewise.
1841 * io/fcntl.h: Likewise.
1842 * io/ftw.h: Likewise.
1843 * io/sys/poll.h: Likewise.
1844 * io/sys/stat.h: Likewise.
1845 * io/sys/statfs.h: Likewise.
1846 * io/sys/statvfs.h: Likewise.
1847 * io/utime.h: Likewise.
1848 * libio/bits/stdio.h: Likewise.
1849 * libio/bits/stdio2.h: Likewise.
1850 * libio/libio.h: Likewise.
1851 * libio/libioP.h: Likewise.
1852 * libio/stdio.h: Likewise.
1853 * locale/lc-ctype.c: Likewise.
1854 * locale/locale.h: Likewise.
1855 * login/utmp.h: Likewise.
1856 * malloc/arena.c: Likewise.
1857 * malloc/malloc.c: Likewise.
1858 * malloc/malloc.h: Likewise.
1859 * malloc/mcheck.c: Likewise.
1860 * malloc/mtrace.c: Likewise.
1861 * math/bits/mathcalls.h: Likewise.
1862 * math/fenv.h: Likewise.
1863 * math/math_private.h: Likewise.
1864 * misc/bits/error.h: Likewise.
1865 * misc/bits/syslog.h: Likewise.
1866 * misc/err.h: Likewise.
1867 * misc/error.h: Likewise.
1868 * misc/fstab.h: Likewise.
1869 * misc/mntent.h: Likewise.
1870 * misc/regexp.h: Likewise.
1871 * misc/search.h: Likewise.
1872 * misc/sgtty.h: Likewise.
1873 * misc/sys/mman.h: Likewise.
1874 * misc/sys/syslog.h: Likewise.
1875 * misc/sys/uio.h: Likewise.
1876 * misc/sys/xattr.h: Likewise.
1877 * misc/ttyent.h: Likewise.
1878 * nis/rpcsvc/ypclnt.h: Likewise.
1879 * nss/nss.h: Likewise.
1880 * posix/bits/unistd.h: Likewise.
1881 * posix/fnmatch.h: Likewise.
1882 * posix/glob.h: Likewise.
1883 * posix/sched.h: Likewise.
1884 * posix/spawn.h: Likewise.
1885 * posix/sys/wait.h: Likewise.
1886 * posix/unistd.h: Likewise.
1887 * posix/wordexp.h: Likewise.
1888 * pwd/pwd.h: Likewise.
1889 * resolv/netdb.h: Likewise.
1890 * resource/sys/resource.h: Likewise.
1891 * rt/aio.h: Likewise.
1892 * rt/bits/mqueue2.h: Likewise.
1893 * rt/mqueue.h: Likewise.
1894 * shadow/shadow.h: Likewise.
1895 * signal/signal.h: Likewise.
1896 * socket/send.c: Likewise.
1897 * socket/sendto.c: Likewise.
1898 * socket/sys/socket.h: Likewise.
1899 * stdio-common/printf.h: Likewise.
1900 * stdlib/bits/stdlib.h: Likewise.
1901 * stdlib/fmtmsg.h: Likewise.
1902 * stdlib/monetary.h: Likewise.
1903 * stdlib/stdlib.h: Likewise.
1904 * stdlib/ucontext.h: Likewise.
1905 * streams/stropts.h: Likewise.
1906 * string/argz.h: Likewise.
1907 * string/bits/string2.h: Likewise.
1908 * string/string.h: Likewise.
1909 * string/strings.h: Likewise.
1910 * sunrpc/rpc/auth.h: Likewise.
1911 * sunrpc/rpc/auth_des.h: Likewise.
1912 * sunrpc/rpc/clnt.h: Likewise.
1913 * sunrpc/rpc/netdb.h: Likewise.
1914 * sunrpc/rpc/pmap_clnt.h: Likewise.
1915 * sunrpc/rpc/xdr.h: Likewise.
1916 * sysdeps/generic/inttypes.h: Likewise.
1917 * sysdeps/generic/net/if.h: Likewise.
1918 * sysdeps/generic/sys/swap.h: Likewise.
1919 * sysdeps/gnu/net/if.h: Likewise.
1920 * sysdeps/gnu/utmpx.h: Likewise.
1921 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1922 * sysdeps/i386/i486/bits/string.h: Likewise.
1923 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1924 * sysdeps/s390/bits/string.h: Likewise.
1925 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1926 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1927 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1928 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1929 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1930 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1931 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1932 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1933 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1934 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1935 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1936 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1937 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1938 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1939 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1940 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1941 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1943 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1944 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1945 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1946 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1947 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1948 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1949 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1950 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1951 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1953 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1954 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1955 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1956 * sysvipc/sys/ipc.h: Likewise.
1957 * sysvipc/sys/msg.h: Likewise.
1958 * sysvipc/sys/sem.h: Likewise.
1959 * sysvipc/sys/shm.h: Likewise.
1960 * termios/termios.h: Likewise.
1961 * time/sys/time.h: Likewise.
1962 * time/time.h: Likewise.
1963 * wcsmbs/bits/wchar2.h: Likewise.
1964 * wcsmbs/uchar.h: Likewise.
1965 * wcsmbs/wchar.h: Likewise.
1966 * wctype/wctype.h: Likewise.
1969 * Makeconfig: Remove all but ELF support including AIX support.
1970 * Makerules: Likewise.
1971 * config.h.in: Likewise.
1972 * config.make.in: Likewise.
1973 * configure: Likewise.
1974 * configure.in: Likewise.
1975 * csu/Makefile: Likewise.
1976 * csu/version.c: Likewise.
1977 * debug/Makefile: Likewise.
1978 * dlfcn/Makefile: Likewise.
1979 * elf/Makefile: Likewise.
1980 * extra-lib.mk: Likewise.
1981 * iconv/Makefile: Likewise.
1982 * include/libc-symbols.h: Likewise.
1983 * include/shlib-compat.h: Likewise.
1984 * resolv/Makefile: Likewise.
1985 * resolv/res_libc.c: Likewise.
1986 * rt/Makefile: Likewise.
1987 * sysdeps/i386/asm-syntax.h: Likewise.
1988 * sysdeps/i386/sysdep.h: Likewise.
1989 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1990 * sysdeps/mach/sysdep.h: Likewise.
1991 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1992 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1993 * sysdeps/s390/asm-syntax.h: Likewise.
1994 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1996 * sysdeps/sh/sysdep.h: Likewise.
1997 * sysdeps/unix/sparc/sysdep.h: Likewise.
1998 * sysdeps/wordsize-32/divdi3.c: Likewise.
1999 * sysdeps/x86_64/sysdep.h: Likewise.
2001 * argp/Versions: Remove _argp_unlock_xxx.
2004 * abilist/ld.abilist: Update. Adjust for removal of tls option.
2005 * abilist/libBrokenLocale.abilist: Likewise.
2006 * abilist/libanl.abilist: Likewise.
2007 * abilist/libc.abilist: Likewise.
2008 * abilist/libcrypt.abilist: Likewise.
2009 * abilist/libdl.abilist: Likewise.
2010 * abilist/libm.abilist: Likewise.
2011 * abilist/libnsl.abilist: Likewise.
2012 * abilist/libpthread.abilist: Likewise.
2013 * abilist/libresolv.abilist: Likewise.
2014 * abilist/librt.abilist: Likewise.
2015 * abilist/libthread_db.abilist: Likewise.
2016 * abilist/libutil.abilist: Likewise.
2017 * abilist/libnss_db.abilist: New file.
2019 * scripts/abilist.awk: Add support for indirect functions.
2021 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
2023 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
2025 * shlib-versions: Remove entries for ports architectures.
2027 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
2029 * elf/stackguard-macros.h: Remove support for IA-64.
2030 * elf/tst-auditmod1.c: Likewise.
2031 * sysdeps/generic/ldsodefs.h: Likewise.
2033 * sysdeps/unix/sysv/linux/configure.in: Ports should define
2034 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
2038 * configure.in: Remove --enable-omitfp support.
2040 * config.make.in: Likewise.
2041 * Makeconfig: Likewise.
2042 * manual/install.texi: Likewise.
2044 In case anyone cares, the IA-64 architecture could move to ports.
2045 * sysdeps/ia64/*: Removed.
2046 * sysdeps/unix/sysv/linux/ia64/*: Removed.
2047 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
2050 * configure.in: Remove entries for unsupported architectures.
2053 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
2054 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
2056 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
2057 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
2058 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
2059 fall back to using wcrtomb.
2060 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
2061 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
2063 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
2064 * wcsmbs/tst-c16c32-1.c: New file.
2066 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
2069 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2071 * elf/tst-unique3.cc: Add explicit declaration of gets.
2072 * elf/tst-unique3lib.cc: Likewise.
2073 * elf/tst-unique3lib2.cc: Likewise.
2074 * elf/tst-unique4.cc: Likewise.
2076 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2078 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2081 * assert/assert.h (static_assert): Don't define for C++.
2082 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2083 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2085 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2087 * iconv/loop.c (single loop): Fix assertion in storing of
2090 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2092 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2094 * posix/getconf.c: Update copyright year.
2095 * nss/getent.c: Likewise.
2096 * nss/makedb.c: Likewise.
2097 * iconv/iconvconfig.c: Likewise.
2098 * iconv/iconv_prog.c: Likewise.
2099 * elf/ldconfig.c: Likewise.
2100 * elf/pldd.c: Likewise.
2101 * elf/sotruss.ksh: Likewise.
2102 * catgets/gencat.c: Likewise.
2103 * csu/version.c: Likewise.
2104 * elf/ldd.bash.in: Likewise.
2105 * elf/sprof.c (print_version): Likewise.
2106 * locale/programs/locale.c: Likewise.
2107 * locale/programs/localedef.c: Likewise.
2108 * login/programs/pt_chown.c: Likewise.
2109 * nscd/nscd.c (print_version): Likewise.
2110 * debug/xtrace.sh: Likewise.
2111 * malloc/memusage.sh: Likewise.
2112 * malloc/mtrace.pl: Likewise.
2113 * debug/catchsegv.sh: Likewise.
2115 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2117 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2120 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2123 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2124 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2126 * iconv/gconv_int.h: Likewise.
2127 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2128 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2129 from libc for GLIBC_2.16.
2130 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2131 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2132 * wcsmbs/uchar.h: Really define mbstate_t.
2133 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2134 * wcsmbs/c16rtomb.c: New file.
2135 * wcsmbs/mbrtoc16.c: New file.
2136 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2138 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2139 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2141 * wcsmbs/wchar.h: Add missing __restrict.
2143 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2146 * time/Makefile (routines): Add timespec_get.
2147 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2148 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2149 timespec for ISO C11.
2150 * time/timespec_get.c: New file.
2151 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2152 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2155 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2156 * stdlib/stdlib.h: Declare aligned_alloc.
2157 * Versions.def: Add GLIBC_2.16 for libc.
2158 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2161 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2164 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2168 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2171 * assert/assert.h (static_assert): Define.
2173 * version.h: Update for 2.16 development version.
2176 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2179 * version.h (RELEASE): Bump for 2.15 release.
2180 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2182 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2183 Patch by Marek Polacek <mpolacek@redhat.com>.
2185 * bits/byteswap.h: Protect long long constants with __extension__.
2186 * sysdeps/i386/bits/byteswap.h: Likewise.
2187 * sysdeps/ia64/bits/byteswap.h: Likewise.
2188 * sysdeps/s390/bits/byteswap.h: Likewise.
2189 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2191 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2194 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2196 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2198 2011-12-23 Marek Polacek <polacek@redhat.com>
2200 * elf/dl-addr.c (determine_info): Add inline keyword.
2201 * elf/tst-auditmod4b.c (check_avx): Likewise.
2202 * elf/tst-auditmod6b.c (check_avx): Likewise.
2203 * elf/tst-auditmod6c.c (check_avx): Likewise.
2204 * elf/tst-auditmod7b.c (check_avx): Likewise.
2206 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2208 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2211 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2214 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2215 processing for last bytes.
2217 2011-08-06 Bruno Haible <bruno@clisp.org>
2220 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2221 U+0385, not to U+1FEE.
2224 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2225 entry for U+00A5 U+0301.
2227 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2230 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2231 buffer for the output is too small.
2233 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2237 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2238 SSE flags if possible.
2240 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2243 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2244 processing for last bytes.
2246 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2248 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2249 (syscall-list-default-options, syscall-list-default-condition)
2250 (syscall-list-includes): Define.
2251 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2252 list of ABIs and options and #if conditions for each ABI. Do not
2253 handle common syscalls between ABIs specially.
2254 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2256 (syscall-list-variants, syscall-list-32bit-options)
2257 (syscall-list-32bit-condition, syscall-list-64bit-options)
2258 (syscall-list-64bit-condition): Define.
2259 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2260 (syscall-list-variants, syscall-list-32bit-options)
2261 (syscall-list-32bit-condition, syscall-list-64bit-options)
2262 (syscall-list-64bit-condition): Define.
2263 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2265 (syscall-list-variants, syscall-list-32bit-options)
2266 (syscall-list-32bit-condition, syscall-list-64bit-options)
2267 (syscall-list-64bit-condition): Define.
2268 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2270 (syscall-list-variants, syscall-list-32bit-options)
2271 (syscall-list-32bit-condition, syscall-list-64bit-options)
2272 (syscall-list-64bit-condition): Define.
2274 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2276 * locale/iso-639.def: Add brx entry.
2279 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2280 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2282 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2283 __feraiseexcept_renamed.
2285 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2288 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2289 EPOLLET with unsigned values.
2290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2291 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2293 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2294 to large cancellation.
2295 * math/s_cacoshf.c: Likewise.
2296 * math/s_cacoshl.c: Likewise.
2298 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2302 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2303 * math/s_cacoshf.c: Likewise.
2304 * math/s_cacoshl.c: Likewise.
2306 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2309 * iconv/gconv.h: Define __GCONV_SWAP.
2310 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2311 * iconvdata/utf-16.c: Likewise.
2312 * iconvdata/utf-32.c: Likewise.
2314 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2317 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2318 numerator after shifting it by one limb.
2320 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2322 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2323 under [__USE_EXTERN_INLINES].
2325 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2328 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2330 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2333 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2335 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2336 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2337 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2338 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2339 for strncasecmp/strncasecmp_l compilation.
2340 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2341 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2343 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2346 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2349 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2352 * time/tzfile.c (__tzfile_read): Check values from file header.
2354 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2356 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2357 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2358 * powerpc/powerpc32/dl-start.S: Likewise.
2359 * powerpc/powerpc32/elf/start.S: Likewise.
2360 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2361 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2362 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2363 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2364 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2365 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2366 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2367 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2368 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2369 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2370 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2371 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2372 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2373 * powerpc/powerpc32/memset.S: Likewise.
2374 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2375 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2376 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2377 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2378 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2379 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2380 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2381 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2382 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2383 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2384 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2385 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2386 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2388 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2390 * math/libm-test.inc: Added more nearbyint tests.
2391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2392 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2394 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2396 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2398 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2401 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2403 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2404 Add wcscpy-ssse3 wcscpy-c.
2405 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2406 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2407 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2408 * sysdeps/x86_64/wcschr.S: New file.
2409 * sysdeps/x86_64/wcsrchr.S: New file.
2410 * string/test-strcmp.c: Remove checking of wcscmp function for
2412 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2413 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2414 wcsrchr-sse2 wcsrchr-c.
2415 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2416 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2417 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2418 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2419 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2420 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2421 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2422 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2423 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2424 * wcsmbc/wcschr.c (WCSCHR): New macro.
2426 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2428 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2429 * wcsmbs/test-wcsrchr.c: New file.
2430 * string/test-strrchr.c: Add wcsrchr support.
2432 * wcsmbs/test-wcscpy.c: New file.
2433 * string/test-strcpy.c: Add wcscpy support.
2436 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2438 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2441 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2444 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2446 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2448 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2449 Minor optimizations.
2451 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2452 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2453 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2455 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2457 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2458 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2459 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2460 for gcc to avoid warnings.
2461 * inet/Makefile (tests): Add tst-checks.
2462 * inet/tst-checks.c: New file.
2464 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2467 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2470 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2471 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2473 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2475 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2477 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2480 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2482 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2484 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2485 conditional on GCC version.
2486 (__arch_compare_and_exchange_val_8_acq)
2487 (__arch_compare_and_exchange_val_16_acq)
2488 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2489 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2490 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2492 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2494 * sysdeps/sh/backtrace.c: New file.
2496 2011-12-02 Andreas Schwab <schwab@redhat.com>
2498 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2501 2011-12-01 Andreas Schwab <schwab@redhat.com>
2503 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2504 falling back to utime.
2506 2011-11-30 Andreas Schwab <schwab@redhat.com>
2508 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2509 expectations for float.
2511 2011-11-29 Andreas Schwab <schwab@redhat.com>
2513 * locale/weight.h (findidx): Add parameter len.
2514 * locale/weightwc.h (findidx): Likewise.
2515 * posix/fnmatch_loop.c (FCT): Adjust caller.
2516 * posix/regcomp.c (build_equiv_class): Likewise.
2517 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2518 * posix/regexec.c (check_node_accept_bytes): Likewise.
2519 * string/strcoll_l.c (STRCOLL): Likewise.
2520 * string/strxfrm_l.c (STRXFRM): Likewise.
2522 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2524 * Makefile.in: Remove CVSOPT handling.
2525 * configure.in: Remove use of AC_REVISION.
2526 * iconvdata/Makefile (distribute): No need to filter out CVS.
2527 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2530 2011-11-16 Andreas Schwab <schwab@redhat.com>
2532 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2533 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2534 [USE_AS_STRNCASECMP_L]: Likewise.
2535 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2536 NO_TLS_DIRECT_SEG_REFS.
2537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2538 Fix argument offsets for non-PIC.
2539 [USE_AS_STRNCASECMP_L]: Likewise.
2540 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2541 NO_TLS_DIRECT_SEG_REFS.
2543 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2545 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2547 * locale/loadlocale.c (_nl_load_locale): Likewise.
2549 2011-11-15 Andreas Schwab <schwab@redhat.com>
2551 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2552 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2553 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2554 (SYSCALL_GETTIME): Set errno on error.
2556 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2557 count references to noai6ai_cached.
2559 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2561 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2563 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2564 FD_CLOEXEC for /proc/self/maps.
2566 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2567 FD_CLOEXEC for /proc/meminfo.
2569 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2572 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2573 FD_CLOEXEC for given file.
2575 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2577 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2578 FD_CLOEXEC for /etc/hosts.
2579 (_gethtent): Likewise.
2581 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2583 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2584 cancellation and set FD_CLOEXEC for /etc/netgroup.
2586 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2587 reading /etc/publickey.
2589 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2590 allow cancellation when reading /etc/group.
2592 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2594 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2596 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2597 when using data file.
2599 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2601 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2602 (write_nis_obj): Use "c" and "e" in fopen.
2604 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2606 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2608 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2610 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2612 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2615 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2617 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2619 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2621 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2622 file parsing and set FD_CLOEXEC.
2624 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2626 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2628 2011-11-14 Andreas Schwab <schwab@redhat.com>
2630 * malloc/arena.c (arena_get2): Don't call reused_arena when
2631 _int_new_arena failed.
2633 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2635 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2636 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2638 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2639 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2640 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2641 to compile strcasecmp and strncasecmp.
2642 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2643 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2647 2011-11-13 Ulrich Drepper <drepper@gmail.com>
2649 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2650 locale-defines.sym to gen-as-const-headers.
2651 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2652 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2653 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2654 to compile strcasecmp and strncasecmp.
2655 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2656 strcasecmp_l and strncasecmp_l.
2657 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2658 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2659 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2660 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2661 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2662 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2663 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2664 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2665 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2666 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2667 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2669 2011-11-12 Ulrich Drepper <drepper@gmail.com>
2671 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2672 result of SYSDEP_GETTIME_CPU to retval.
2673 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2674 parameter list to macro. Remove trailing semicolon. Adjust users.
2676 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2679 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2681 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2683 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2684 from unused variable.
2686 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2688 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2691 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2694 * sunrpc/rpc_prot.c (rejected): Fix case value.
2696 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2697 unsigned long long int to avoid warnings in shift.
2699 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2701 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2704 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2705 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2706 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2708 * nis/nis_table.c (nis_list): Use variable of correct type for
2709 result of __follow_path call.
2711 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2713 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2714 of math functions ceil, trunc, floor, round, and sqrt, when
2715 avaliable on the platform.
2716 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2718 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2719 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2720 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2722 2011-10-30 Marek Polacek <mpolacek@redhat.com>
2724 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2725 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2727 2011-11-11 Roland McGrath <roland@hack.frob.com>
2729 * include/unistd.h: Fix __readlink return type.
2730 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2732 2011-11-11 Ulrich Drepper <drepper@gmail.com>
2734 * stdlib/ucontext.h: Undo last change for makecontext.
2736 2011-11-11 Andreas Schwab <schwab@redhat.com>
2738 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2740 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2741 * setjmp/setjmp.h: Mark functions as non-leaf.
2742 * setjmp/bits/setjmp2.h: Likewise.
2743 * stdlib/ucontext.h: Likewise.
2745 2011-11-10 Andreas Schwab <schwab@redhat.com>
2747 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2748 (reused_arena): Don't check arena limit.
2749 (arena_get2): Atomically check arena limit.
2751 2011-11-08 Ulrich Drepper <drepper@gmail.com>
2753 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2754 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2756 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2759 2011-11-07 Andreas Schwab <schwab@redhat.com>
2761 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2762 handler when locking.
2764 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2765 Fix size of allocated buffer.
2767 2011-11-04 Andreas Schwab <schwab@redhat.com>
2770 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2771 declarations for long double functions.
2772 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2774 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2776 2011-11-03 Andreas Schwab <schwab@redhat.com>
2778 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2781 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2784 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2786 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2788 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2790 * include/alloca.h (stackinfo_alloca_round): Define.
2791 (extend_alloca): Use it.
2792 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2793 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2796 * scripts/check-local-headers.sh: Ignore libaudit.h.
2798 * nscd/Makefile (extra-objs): Make recursively expanded.
2800 2011-11-01 Ulrich Drepper <drepper@gmail.com>
2802 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2805 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2806 * posix/tst-rfc3484-2.c: Likewise.
2807 * posix/tst-rfc3484-3.c: Likewise.
2809 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2811 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2813 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2814 process_vm_writev from libc using GLIBC_2.15 version.
2816 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2818 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2820 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2823 2011-10-31 Ulrich Drepper <drepper@gmail.com>
2826 * nss/getent.c (initgroups_keys): Show error message in case no group
2829 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2830 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2831 __bump_nl_timestamp.
2832 * nscd/connections (nscd_init): When host database is served open
2833 netlink socket and request notification about configuration changes.
2834 (main_loop_poll): Track netlink file descriptor and bump timestamp
2835 in case data becomes available.
2836 (main_loop_epoll): Likewise.
2837 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2838 (database_pers_head): Add extra_data fileds.
2839 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2840 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2841 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2844 in6ai data, call __free_in6ai.
2845 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2847 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2848 interface information. Reuse previous data if netlink timestamp
2850 (__bump_nl_timestamp): New function.
2851 (__free_in6ai): New function.
2853 2011-10-30 Ulrich Drepper <drepper@gmail.com>
2855 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2856 close_not_cancel_no_status here.
2857 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2859 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2862 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2865 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
2866 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2867 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2869 2011-07-03 Andreas Jaeger <aj@suse.de>
2872 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2873 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2874 * math/libm-test.inc (sin_test): Add test case.
2876 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2879 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2880 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2882 * elf/chroot_canon.c (chroot_canon): Cleanups.
2884 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2887 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2888 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2890 * string/test-strchr.c: Make usable for strchrnul testing.
2891 * string/test-strchrnul.c: New file.
2892 * string/Makefile (strop-tests): Add strchrnul.
2894 * po/it.po: Update from translation team.
2895 * po/es.po: Likewise.
2897 2011-10-28 Ulrich Drepper <drepper@gmail.com>
2899 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2900 the three constants needed as parameters. Drop the others.
2901 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2902 __m128i_strloadu_tolower.
2903 Create and initialize variable zero and use it in all the places
2904 where _mm_setzero_si128 was used.
2906 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2907 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2908 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2909 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2911 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2912 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2913 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2914 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2915 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2916 __mpranred, __mptan.
2917 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2918 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2919 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2920 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2921 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2922 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2923 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2924 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2925 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2927 2011-10-28 Andreas Schwab <schwab@redhat.com>
2929 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2931 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2934 wide char related routines to wcsmbs subdir.
2936 2011-10-27 Andreas Schwab <schwab@redhat.com>
2939 * misc/sys/cdefs.h (__THROWNL): Define.
2940 * posix/unistd.h: Use __THREADNL instead of __THREAD
2941 for memory synchronization functions.
2943 2011-10-26 Roland McGrath <roland@hack.frob.com>
2946 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2948 * manual/stdio.texi (Obstack Streams): Node removed.
2950 2011-10-26 Andreas Schwab <schwab@redhat.com>
2952 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2953 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2954 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2956 * math/math_private.h (math_force_eval): Allow non-addressable
2958 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2960 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2962 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2965 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2966 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2967 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2968 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2970 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2971 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2972 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2974 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2975 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2976 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2977 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2978 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2979 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2980 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2981 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2982 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2983 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2984 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2985 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2987 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2988 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2989 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2990 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2991 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2992 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2994 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2995 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
2997 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2998 place. Use VEX encoding when compiling for AVX.
3000 2011-10-25 Andreas Schwab <schwab@redhat.com>
3002 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
3003 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3005 * string/test-strchr.c (do_test): Don't generate NUL bytes.
3007 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3009 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
3010 useless if() expression.
3011 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3012 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3013 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3014 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3015 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3016 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3017 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3018 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3019 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3020 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3021 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3022 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3023 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3024 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3025 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3026 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3027 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3028 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3029 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3031 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
3033 2011-10-25 Andreas Schwab <schwab@redhat.com>
3035 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
3037 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3039 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3041 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
3042 .text section. Avoid duplicate constants.
3043 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3045 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3047 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3051 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3052 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
3053 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3054 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3055 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3056 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3057 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3058 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3059 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3060 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3061 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3063 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3064 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3065 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3066 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
3067 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
3068 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
3069 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3070 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3071 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3072 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3073 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3074 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3075 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3076 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3077 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3078 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3079 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3080 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3081 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3082 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3083 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3084 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3085 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3086 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3087 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3089 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3091 * sysdeps/x86_64/dla.h: Move to ...
3092 * sysdeps/x86_64/fpu/dla.h: ...here.
3093 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3094 situations. Use __builtin_fma only for gcc 4.6 and up.
3096 * config.make.in: Add have-mfma4 entry.
3097 * configure.in: Substitute libc_cv_cc_fma4.
3098 * math/Makefile (dbl-only-routines): Add sincostab.
3099 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3100 Use __sincostab not sincos.
3101 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3103 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3104 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3108 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3109 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3110 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3111 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3113 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3114 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3116 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3117 define aliases when function name is a macro.
3118 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3119 sysdeps/ieee754/dbl-64/sincos.tbl.
3120 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3121 fma4-enabled routines.
3122 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3123 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3124 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3125 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3126 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3127 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3128 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3129 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3131 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3132 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3133 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3134 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3135 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3136 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3137 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3138 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3139 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3140 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3141 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3142 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3143 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3145 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3146 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3147 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3148 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3149 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3150 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3151 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3153 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3156 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3158 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3159 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3160 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3164 2011-10-24 Andreas Schwab <schwab@redhat.com>
3166 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3168 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3170 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3172 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3174 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3176 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3177 Remove unused variable magic_bits.
3178 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3180 * string/strnlen.c: Define and use STRNLEN macro.
3181 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3182 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3184 * wcsmbs/wcslen.c: Define and use WCSLEN.
3185 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3186 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3187 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3188 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3189 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3190 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3191 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3193 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3196 strnlen-sse2-no-bsf.
3197 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3199 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3200 Add strnlen support.
3201 (USE_AS_STRNLEN): New macro.
3202 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3203 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3204 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3205 * sysdeps/x86_64/wcslen.S: New file.
3207 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3209 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3210 XMM-moves are used for copying on small sizes.
3212 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3214 * wcsmbs/Makefile (strop-tests): Add wcschr.
3215 * wcsmbs/test-wcschr.c: New file.
3216 * string/test-strchr.c: Update.
3220 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3222 * wcsmbs/Makefile (strop-tests): Add wcslen.
3223 * wcsmbs/test-wcslen.c: New file.
3224 * string/test-strlen.c: Update.
3228 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3230 * po/it.po: Update from translation team.
3232 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3234 * sysdeps/x86_64/wcscmp.S: Update.
3235 Fix wrong comparison semantics.
3236 wcscmp shall use signed comparison not unsigned.
3237 Don't use substraction to avoid overflow bug.
3238 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3239 * wcsmbc/wcscmp.c: Likewise.
3240 * string/test-strcmp.c: Likewise.
3241 Add new tests to check cases with negative values.
3243 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3245 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3246 * sysdeps/x86_64/dla.h: ...here. New file.
3247 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3248 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3252 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3253 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3254 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3255 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3257 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3260 __ynl_finite aliases.
3262 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3266 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3268 [DLA_FMA] (EMULV): Use DLA_FMA.
3269 [DLA_FMA] (MUL12): Use EMULV.
3270 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3271 that are not needed.
3272 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3273 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3274 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3275 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3276 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3277 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3278 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3280 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3282 * math/s_nan.c: Undef __nan.
3283 * math/s_nanf.c: Undef __nanf.
3284 * math/s_nanl.c: Undef __nanl.
3285 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3288 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3290 * math/s_catan.c: Add branch predictions.
3291 * math/s_catanf.c: Likewise.
3292 * math/s_catanh.c: Likewise.
3293 * math/s_catanhf.c: Likewise.
3294 * math/s_catanhl.c: Likewise.
3295 * math/s_catanl.c: Likewise.
3296 * math/s_cexp.c: Likewise.
3297 * math/s_cexpf.c: Likewise.
3298 * math/s_cexpl.c: Likewise.
3299 * math/s_clog.c: Likewise.
3300 * math/s_clog10.c: Likewise.
3301 * math/s_clog10f.c: Likewise.
3302 * math/s_clog10l.c: Likewise.
3303 * math/s_clogf.c: Likewise.
3304 * math/s_clogl.c: Likewise.
3305 * math/s_csqrt.c: Likewise.
3306 * math/s_csqrtf.c: Likewise.
3307 * math/s_csqrtl.c: Likewise.
3308 * math/s_ctanf.c: Likewise.
3309 * math/s_ctanh.c: Likewise.
3310 * math/s_ctanhf.c: Likewise.
3311 * math/s_ctanhl.c: Likewise.
3312 * math/s_ctanl.c: Likewise.
3314 * math/math_private.h: Define __nan, __nanf, __nanl.
3315 * math/s_cacosh.c: Include <math_private.h>.
3316 * math/s_cacoshl.c: Likewise.
3317 * math/s_casinh.c: Likewise.
3318 * math/s_casinhf.c: Likewise.
3319 * math/s_casinhl.c: Likewise.
3320 * math/s_ccos.c: Rely entire on ccosh.
3321 * math/s_ccosf.c: Rely entire on ccoshf.
3322 * math/s_ccosl.c: Rely entirely on ccoshl.
3323 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3324 Remove tests for FE_INVALID.
3325 * math/s_ccoshf.c: Likewise.
3326 * math/s_ccoshl.c: Likewise.
3327 * math/s_csin.c: Likewise.
3328 * math/s_csinf.c: Likewise.
3329 * math/s_csinh.c Likewise.
3330 * math/s_csinhf.c: Likewise.
3331 * math/s_csinhl.c: Likewise.
3332 * math/s_csinl.c: Likewise.
3333 * math/s_ctan.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3335 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3336 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3338 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3341 compilation problems.
3343 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3346 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3348 * sysdeps/i386/configure.in: Test for -mfma4 option.
3349 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3350 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3351 COMMON_CPUID_INDEX_80000001.
3352 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3353 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3354 use it if FMA3 is not supported.
3355 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3357 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3358 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3360 2011-10-20 Andreas Schwab <schwab@redhat.com>
3363 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3364 it would create a cycle with a link time dependency.
3366 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3368 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3370 * string/Makefile (strop-tests): Add rawmemchr.
3371 * string/test-rawmemchr.c: New file.
3373 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3374 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3375 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3376 when compiling str{,n}casecmp and when AVX is available. Hook up
3377 new optimized code in initializers.
3379 2011-10-19 Andreas Schwab <schwab@redhat.com>
3381 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3382 __feraiseexcept instead of feraiseexcept.
3384 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3386 * math/math_private.h: Define defaults for libc_fetestexcept and
3388 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3389 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3390 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3391 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3392 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3393 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3394 libc_fetestexcept and libc_feupdateenv.
3396 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3397 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3398 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3399 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3400 libc_feholdexcept_setround.
3402 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3403 Add s_nearbyint-c and s_nearbyintf-c.
3404 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3406 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3407 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3408 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3409 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3411 * math/math_private.h: Define defaults for libc_fegetround,
3412 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3413 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3414 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3415 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3416 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3419 Remove comments and hacks for old compiler versions.
3420 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3421 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3424 2011-10-18 Andreas Schwab <schwab@redhat.com>
3426 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3427 (__feraiseexcept_renamed): Add __NTH.
3428 (feraiseexcept): Add __NTH. Rename local variables to fix
3429 namespace violations.
3431 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3433 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3435 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3437 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3438 recently added interfaces.
3439 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3441 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3442 about macro parameter expansion.
3444 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3445 __NO_MATH_INLINES is defined. Cleanups.
3447 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3448 and __floorf is target has SSE4.1.
3449 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3450 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3451 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3452 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3454 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3458 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3460 2011-10-17 Andreas Schwab <schwab@redhat.com>
3462 * misc/sys/cdefs.h: Fix last change.
3464 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3467 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3469 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3471 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3472 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3473 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3474 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3475 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3476 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3477 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3478 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3479 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3480 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3481 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3482 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3483 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3484 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3485 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3486 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3487 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3488 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3489 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3490 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3491 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3492 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3494 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3495 ceil, ceilf, floor, floorf.
3497 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3498 Perform IRELATIVE relocations last.
3500 * elf/do-rel.h: Add another parameter nrelative, replacing the
3501 local variable with the same name. Change name of the function
3502 to end in Rel or Rela (uppercase).
3503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3504 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3505 elf_dynamic_do_##reloc function.
3507 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3509 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3510 is sufficient, at least on modern CPUs.
3512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3514 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3515 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3517 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3519 * math/bits/math-finite.h: Add entries for exp.
3520 * math/e_expl.c: Add __*_finite alias.
3521 * sysdeps/i386/fpu/e_exp.S: Likewise.
3522 * sysdeps/i386/fpu/e_expf.S: Likewise.
3523 * sysdeps/i386/fpu/e_expl.c: Likewise.
3524 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3525 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3526 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3527 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3528 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3529 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3530 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3532 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3533 is sufficient, at least on modern CPUs.
3535 * ctype/ctype-info.c (__ctype_init): Define.
3536 * include/ctype.h (__ctype_init): Declare.
3537 (__ctype_b_loc): The variable is always initialized.
3538 (__ctype_toupper_loc): Likewise.
3539 (__ctype_tolower_loc): Likewise.
3540 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3541 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3543 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3545 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3547 * configure.in: Also look in $cxxmachine/include for C++ system
3550 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3552 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3553 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3554 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3555 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3556 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3557 (USE_AS_WMEMCMP): New macro.
3559 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3560 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3561 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3562 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3564 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3565 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3566 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3567 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3568 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3569 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3570 (USE_AS_WMEMCMP): New macro.
3571 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3572 * sysdeps/string/test-memcmp.c: Update.
3575 * wcsmbs/wmemcmp.c: Update.
3576 (WMEMCMP): New macro.
3579 2011-10-12 Andreas Jaeger <aj@suse.de>
3582 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3584 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3586 * libio/iofwide.c (do_length): Avoid warning.
3588 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3590 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3592 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3594 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3595 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3596 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3597 * sysdeps/i386/i686/fpu/e_log.S: New file.
3598 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3599 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3601 * ctype/ctype.h: Add support for inlined isXXX functions when
3604 2011-10-14 Andreas Schwab <schwab@redhat.com>
3606 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3608 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3610 2011-10-13 Roland McGrath <roland@hack.frob.com>
3613 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3615 2011-10-13 Andreas Schwab <schwab@redhat.com>
3617 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3618 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3621 * sysdeps/x86_64/memrchr.S: Check for zero size.
3623 * string/stratcliff.c: Add memrchr tests.
3625 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3628 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3629 rawmemchr-sse2 rawmemchr-sse2-bsf.
3630 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3631 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3632 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3633 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3634 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3635 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3636 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3637 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3638 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3639 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3640 * string/memrchr.c (MEMRCHR): New macro.
3642 2011-10-12 Ulrich Drepper <drepper@gmail.com>
3644 Add integration with gcc's -ffinite-math-only and optimize wrapper
3646 * Versions.def: Define GLIBC_2.15 version for libm.
3647 * math/Makefile (headers): Add bits/math-finite.h.
3648 * math/bits/math-finite.h: New file.
3649 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3650 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3651 * math/e_acoshl.c: Add __*_finite alias.
3652 * math/e_acosl.c: Likewise.
3653 * math/e_asinl.c: Likewise.
3654 * math/e_atan2l.c: Likewise.
3655 * math/e_atanhl.c: Likewise.
3656 * math/e_coshl.c: Likewise.
3657 * math/e_exp10.c: Likewise.
3658 * math/e_exp10f.c: Likewise.
3659 * math/e_exp10l.c: Likewise.
3660 * math/e_exp2l.c: Likewise.
3661 * math/e_fmodl.c: Likewise.
3662 * math/e_gammal_r.c: Likewise.
3663 * math/e_hypotl.c: Likewise.
3664 * math/e_j0l.c: Likewise.
3665 * math/e_j1l.c: Likewise.
3666 * math/e_jnl.c: Likewise.
3667 * math/e_lgammal_r.c: Likewise.
3668 * math/e_log10l.c: Likewise.
3669 * math/e_log2l.c: Likewise.
3670 * math/e_logl.c: Likewise.
3671 * math/e_powl.c: Likewise.
3672 * math/e_sinhl.c: Likewise.
3673 * math/e_sqrtl.c: Likewise.
3674 * math/e_scalb.c: Completely rewritten and optimized.
3675 * math/e_scalbf.c: Likewise.
3676 * math/e_scalbl.c: Likewise.
3677 * math/w_acos.c: Likewise.
3678 * math/w_acosf.c: Likewise.
3679 * math/w_acosl.c: Likewise.
3680 * math/w_acosh.c: Likewise.
3681 * math/w_acoshf.c: Likewise.
3682 * math/w_acoshl.c: Likewise.
3683 * math/w_asin.c: Likewise.
3684 * math/w_asinf.c: Likewise.
3685 * math/w_asinl.c: Likewise.
3686 * math/w_atan2.c: Likewise.
3687 * math/w_atan2f.c: Likewise.
3688 * math/w_atan2l.c: Likewise.
3689 * math/w_atanh.c: Likewise.
3690 * math/w_atanhf.c: Likewise.
3691 * math/w_atanhl.c: Likewise.
3692 * math/w_exp10.c: Likewise.
3693 * math/w_exp10f.c: Likewise.
3694 * math/w_exp10l.c: Likewise.
3695 * math/w_fmod.c: Likewise.
3696 * math/w_fmodf.c: Likewise.
3697 * math/w_fmodl.c: Likewise.
3698 * math/w_j0.c: Likewise.
3699 * math/w_j0f.c: Likewise.
3700 * math/w_j0l.c: Likewise.
3701 * math/w_j1.c: Likewise.
3702 * math/w_j1f.c: Likewise.
3703 * math/w_j1l.c: Likewise.
3704 * math/w_jn.c: Likewise.
3705 * math/w_jnf.c: Likewise.
3706 * math/w_log.c: Likewise.
3707 * math/w_logf.c: Likewise.
3708 * math/w_logl.c: Likewise.
3709 * math/w_log10.c: Likewise.
3710 * math/w_log10f.c: Likewise.
3711 * math/w_log10l.c: Likewise.
3712 * math/w_log2.c: Likewise.
3713 * math/w_log2f.c: Likewise.
3714 * math/w_log2l.c: Likewise.
3715 * math/w_pow.c: Likewise.
3716 * math/w_powf.c: Likewise.
3717 * math/w_powl.c: Likewise.
3718 * math/w_remainder.c: Likewise.
3719 * math/w_remainderf.c: Likewise.
3720 * math/w_remainderl.c: Likewise.
3721 * math/w_scalb.c: Likewise.
3722 * math/w_scalbf.c: Likewise.
3723 * math/w_scalbl.c: Likewise.
3724 * math/w_sqrt.c: Likewise.
3725 * math/w_sqrtf.c: Likewise.
3726 * math/w_sqrtl.c: Likewise.
3727 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3728 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3730 * math/math_private.h: Declare __kernel_standard_f.
3731 * math/w_cosh.c: Remove cruft and optimize a bit.
3732 * math/w_coshf.c: Likewise.
3733 * math/w_coshl.c: Likewise.
3734 * math/w_exp2.c: Likewise.
3735 * math/w_exp2f.c: Likewise.
3736 * math/w_exp2l.c: Likewise.
3737 * math/w_hypot.c: Likewise.
3738 * math/w_hypotf.c: Likewise.
3739 * math/w_hypotl.c: Likewise.
3740 * math/w_lgamma.c: Likewise.
3741 * math/w_lgamma_r.c: Likewise.
3742 * math/w_lgammaf.c: Likewise.
3743 * math/w_lgammaf_r.c: Likewise.
3744 * math/w_lgammal.c: Likewise.
3745 * math/w_lgammal_r.c: Likewise.
3746 * math/w_sinh.c: Likewise.
3747 * math/w_sinhf.c: Likewise.
3748 * math/w_sinhl.c: Likewise.
3749 * math/w_tgamma.c: Likewise.
3750 * math/w_tgammaf.c: Likewise.
3751 * math/w_tgammal.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3753 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3754 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3755 Minor optimizations. Pretty printing. Remove cruft.
3756 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3757 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3758 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3759 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3760 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3761 * sysdeps/i386/fpu/e_asin.S: Likewise.
3762 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3763 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3764 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3765 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3766 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3767 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3768 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3769 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3770 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3771 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3772 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3773 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3774 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3775 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3776 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3777 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3778 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3779 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3780 * sysdeps/i386/fpu/e_log.S: Likewise.
3781 * sysdeps/i386/fpu/e_log10.S: Likewise.
3782 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3783 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3784 * sysdeps/i386/fpu/e_log2.S: Likewise.
3785 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3786 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3787 * sysdeps/i386/fpu/e_logf.S: Likewise.
3788 * sysdeps/i386/fpu/e_logl.S: Likewise.
3789 * sysdeps/i386/fpu/e_pow.S: Likewise.
3790 * sysdeps/i386/fpu/e_powf.S: Likewise.
3791 * sysdeps/i386/fpu/e_powl.S: Likewise.
3792 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3793 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3794 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3795 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3796 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3797 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3798 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3799 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3800 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3801 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3804 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3805 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3806 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3807 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3808 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3812 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3814 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3815 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3817 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3818 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3819 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3820 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3822 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3825 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3826 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3827 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3828 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3829 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3830 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3831 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3832 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3833 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3834 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3835 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3836 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3837 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3838 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3839 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3840 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3841 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3842 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3866 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3868 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3873 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3881 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3886 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3892 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3893 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3894 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3895 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3896 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3897 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3898 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3899 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3900 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3901 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3902 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3903 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3904 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3905 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3906 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3907 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3908 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3909 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3910 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3911 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3912 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3913 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3914 (__isnanf): Likewise.
3915 (__isinf_ns): Likewise.
3916 (__isinf_nsf): Likewise.
3917 (__finite): Likewise.
3918 (__finitef): Likewise.
3919 (__ieee754_sqrt): Define as macro.
3920 (__ieee754_sqrtf): Define as macro.
3921 (__ieee754_sqrtl): Define as macro.
3922 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3924 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3925 __FINITE_MATH_ONLY__ consistent.
3926 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3928 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3930 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3933 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3935 2011-10-09 Ulrich Drepper <drepper@gmail.com>
3937 * po/ja.po: Update from translation team.
3939 2011-10-08 Roland McGrath <roland@hack.frob.com>
3941 * locale/programs/locarchive.c (prepare_address_space): New function.
3942 (create_archive, enlarge_archive, open_archive): Use it.
3944 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3945 inside [SHARED], where it is used.
3947 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3949 * nss/getent.c (netgroup_keys): Remove unused variable.
3950 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3952 2011-10-08 Ulrich Drepper <drepper@gmail.com>
3954 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3955 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3957 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3958 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3959 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3960 * math/Makefile (libm-calls): Add s_isinf_ns.
3961 * math/divtc3.c: Use __isinf_nsl instead of isinf.
3962 * math/multc3.c: Likewise.
3963 * math/s_casin.c: Likewise.
3964 * math/s_casinf.c: Likewise.
3965 * math/s_casinl.c: Likewise.
3966 * math/s_ccos.c: Likewise.
3967 * math/s_ccosf.c: Likewise.
3968 * math/s_ccosl.c: Likewise.
3969 * math/s_ctan.c: Likewise.
3970 * math/s_ctanf.c: Likewise.
3971 * math/s_ctanh.c: Likewise.
3972 * math/s_ctanhf.c: Likewise.
3973 * math/s_ctanhl.c: Likewise.
3974 * math/s_ctanl.c: Likewise.
3975 * math/w_fmod.c: Likewise.
3976 * math/w_fmodf.c: Likewise.
3977 * math/w_fmodl.c: Likewise.
3978 * math/w_remainder.c: Likewise.
3979 * math/w_remainderf.c: Likewise.
3980 * math/w_remainderl.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3982 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3983 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3984 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3985 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3986 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3987 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3988 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3990 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3992 * stdio-common/printf_fphex.c: Likewise.
3993 * stdio-common/printf_size.c: Likewise.
3995 * math/e_exp10.c: Include math_private.h using <...> not "...".
3996 * math/e_exp10f.c: Likewise.
3997 * math/e_exp10l.c: Likewise.
3998 * math/e_exp2l.c: Likewise.
3999 * math/e_j0l.c: Likewise.
4000 * math/e_j1l.c: Likewise.
4001 * math/e_jnl.c: Likewise.
4002 * math/e_lgammal_r.c: Likewise.
4003 * math/e_rem_pio2l.c: Likewise.
4004 * math/e_scalb.c: Likewise.
4005 * math/e_scalbf.c: Likewise.
4006 * math/e_scalbl.c: Likewise.
4007 * math/k_cosl.c: Likewise.
4008 * math/k_sinl.c: Likewise.
4009 * math/k_tanl.c: Likewise.
4010 * math/s_cacoshf.c: Likewise.
4011 * math/s_catan.c: Likewise.
4012 * math/s_catanf.c: Likewise.
4013 * math/s_catanh.c: Likewise.
4014 * math/s_catanhf.c: Likewise.
4015 * math/s_catanhl.c: Likewise.
4016 * math/s_catanl.c: Likewise.
4017 * math/s_ccosh.c: Likewise.
4018 * math/s_ccoshf.c: Likewise.
4019 * math/s_ccoshl.c: Likewise.
4020 * math/s_cexp.c: Likewise.
4021 * math/s_cexpf.c: Likewise.
4022 * math/s_cexpl.c: Likewise.
4023 * math/s_clog.c: Likewise.
4024 * math/s_clog10.c: Likewise.
4025 * math/s_clog10f.c: Likewise.
4026 * math/s_clog10l.c: Likewise.
4027 * math/s_clogf.c: Likewise.
4028 * math/s_clogl.c: Likewise.
4029 * math/s_csin.c: Likewise.
4030 * math/s_csinf.c: Likewise.
4031 * math/s_csinh.c: Likewise.
4032 * math/s_csinhf.c: Likewise.
4033 * math/s_csinhl.c: Likewise.
4034 * math/s_csinl.c: Likewise.
4035 * math/s_csqrt.c: Likewise.
4036 * math/s_csqrtf.c: Likewise.
4037 * math/s_csqrtl.c: Likewise.
4038 * math/s_ctan.c: Likewise.
4039 * math/s_ctanf.c: Likewise.
4040 * math/s_ctanh.c: Likewise.
4041 * math/s_ctanhf.c: Likewise.
4042 * math/s_ctanhl.c: Likewise.
4043 * math/s_ctanl.c: Likewise.
4044 * math/s_ldexp.c: Likewise.
4045 * math/s_ldexpf.c: Likewise.
4046 * math/s_ldexpl.c: Likewise.
4047 * math/s_significand.c: Likewise.
4048 * math/s_significandf.c: Likewise.
4049 * math/s_significandl.c: Likewise.
4050 * math/w_acos.c: Likewise.
4051 * math/w_acosf.c: Likewise.
4052 * math/w_acosh.c: Likewise.
4053 * math/w_acoshf.c: Likewise.
4054 * math/w_acoshl.c: Likewise.
4055 * math/w_acosl.c: Likewise.
4056 * math/w_asin.c: Likewise.
4057 * math/w_asinf.c: Likewise.
4058 * math/w_asinl.c: Likewise.
4059 * math/w_atan2.c: Likewise.
4060 * math/w_atan2f.c: Likewise.
4061 * math/w_atan2l.c: Likewise.
4062 * math/w_atanh.c: Likewise.
4063 * math/w_atanhf.c: Likewise.
4064 * math/w_atanhl.c: Likewise.
4065 * math/w_cosh.c: Likewise.
4066 * math/w_coshf.c: Likewise.
4067 * math/w_coshl.c: Likewise.
4068 * math/w_dremf.c: Likewise.
4069 * math/w_exp10.c: Likewise.
4070 * math/w_exp10f.c: Likewise.
4071 * math/w_exp10l.c: Likewise.
4072 * math/w_exp2.c: Likewise.
4073 * math/w_exp2f.c: Likewise.
4074 * math/w_fmod.c: Likewise.
4075 * math/w_fmodf.c: Likewise.
4076 * math/w_fmodl.c: Likewise.
4077 * math/w_hypot.c: Likewise.
4078 * math/w_hypotf.c: Likewise.
4079 * math/w_hypotl.c: Likewise.
4080 * math/w_j0.c: Likewise.
4081 * math/w_j0f.c: Likewise.
4082 * math/w_j0l.c: Likewise.
4083 * math/w_j1.c: Likewise.
4084 * math/w_j1f.c: Likewise.
4085 * math/w_j1l.c: Likewise.
4086 * math/w_jn.c: Likewise.
4087 * math/w_jnf.c: Likewise.
4088 * math/w_jnl.c: Likewise.
4089 * math/w_lgamma.c: Likewise.
4090 * math/w_lgamma_r.c: Likewise.
4091 * math/w_lgammaf.c: Likewise.
4092 * math/w_lgammaf_r.c: Likewise.
4093 * math/w_lgammal.c: Likewise.
4094 * math/w_lgammal_r.c: Likewise.
4095 * math/w_log.c: Likewise.
4096 * math/w_log10.c: Likewise.
4097 * math/w_log10f.c: Likewise.
4098 * math/w_log10l.c: Likewise.
4099 * math/w_log2.c: Likewise.
4100 * math/w_log2f.c: Likewise.
4101 * math/w_log2l.c: Likewise.
4102 * math/w_logf.c: Likewise.
4103 * math/w_logl.c: Likewise.
4104 * math/w_pow.c: Likewise.
4105 * math/w_powf.c: Likewise.
4106 * math/w_powl.c: Likewise.
4107 * math/w_remainder.c: Likewise.
4108 * math/w_remainderf.c: Likewise.
4109 * math/w_remainderl.c: Likewise.
4110 * math/w_scalb.c: Likewise.
4111 * math/w_scalbf.c: Likewise.
4112 * math/w_scalbl.c: Likewise.
4113 * math/w_sinh.c: Likewise.
4114 * math/w_sinhf.c: Likewise.
4115 * math/w_sinhl.c: Likewise.
4116 * math/w_sqrt.c: Likewise.
4117 * math/w_sqrtf.c: Likewise.
4118 * math/w_sqrtl.c: Likewise.
4119 * math/w_tgamma.c: Likewise.
4120 * math/w_tgammaf.c: Likewise.
4121 * math/w_tgammal.c: Likewise.
4123 * po/ja.po: Update from translation team.
4125 2011-09-29 Andreas Jaeger <aj@suse.de>
4128 * sunrpc/netname.c (netname2host): Fix logic.
4132 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4134 * math/w_remainder.c (__remainder): Likewise.
4135 * math/w_remainderf.c (__remainderf): Likewise.
4136 * math/libm-test.inc (remainder_test): Add test cases.
4138 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4140 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4143 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4145 * string/test-memcmp.c: Avoid unncessary #defines.
4146 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4148 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4150 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4151 Use new sse2 version for core i3 - i7 as it's faster
4153 (bit_Prefer_PMINUB_for_stringop): New.
4154 * sysdeps/x86_64/rawmemchr.S: Update.
4155 Replace with faster SSE2 version.
4156 * sysdeps/x86_64/memrchr.S: New file.
4157 * sysdeps/x86_64/memchr.S: Update.
4158 Replace with faster SSE2 version.
4160 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4162 * elf/dl-load.c (lose): Add cast to avoid warning.
4164 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4166 * po/ca.po: Update from translation team.
4168 * inet/getnetgrent_r.c: Hook up nscd.
4169 * nscd/Makefile (routines): Add nscd_netgroup.
4170 (nscd-modules): Add netgroupcache.
4171 (CFLAGS-netgroupcache.c): Define.
4172 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4173 (cache_search): Add const to second parameter.
4174 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4176 (dbs): Add netgrdb entry.
4177 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4178 (verify_persistent_db): Handle netgrdb.
4179 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4180 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4182 (netgroup_response_header): Define.
4183 (innetgroup_response_header): Define.
4184 (datahead): Add netgroup_response_header and innetgroup_response_header
4186 * nscd/nscd.conf: Add entries for netgroup cache.
4187 * nscd/nscd.h (dbtype): Add netgrdb.
4188 (_PATH_NSCD_NETGROUP_DB): Define.
4189 (netgroup_iov_disabled): Declare.
4190 (xmalloc, xcalloc, xrealloc): Move declarations here.
4191 (cache_search): Adjust prototype.
4192 Add netgroup-related prototypes.
4193 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4194 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4195 (__nscd_innetgr): Declare.
4196 * nscd/selinux.c (perms): Use access_vector_t as element type and
4197 add netgroup-related initializers.
4198 * nscd/netgroupcache.c: New file.
4199 * nscd/nscd_netgroup.c: New file.
4200 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4201 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4202 For four parameters use innetgr.
4203 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4204 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4205 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4206 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4208 * nscd/connections.c (register_traced_file): Don't register file
4209 for disabled databases.
4211 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4213 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4215 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4216 from tree and freeing node.
4218 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4220 * nss/nsswitch.c (__nss_database_lookup): Handle
4221 nss_parse_service_list out of memory case.
4223 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4225 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4228 2011-10-04 Andreas Schwab <schwab@redhat.com>
4230 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4231 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4233 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4234 elf_machine_rela, elf_machine_lazy_rel.
4235 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4236 (ELF_DYNAMIC_DO_REL): Likewise.
4237 (ELF_DYNAMIC_DO_RELA): Likewise.
4238 (ELF_DYNAMIC_RELOCATE): Likewise.
4239 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4240 to ELF_DYNAMIC_DO_REL.
4241 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4242 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4243 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4245 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4246 skip_ifunc, don't call ifunc function if non-zero.
4247 (elf_machine_rela): Likewise.
4248 (elf_machine_lazy_rel): Likewise.
4249 (elf_machine_lazy_rela): Likewise.
4250 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4251 (elf_machine_lazy_rel): Likewise.
4252 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4254 (elf_machine_lazy_rel): Likewise.
4255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4257 (elf_machine_lazy_rel): Likewise.
4258 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4259 (elf_machine_lazy_rel): Likewise.
4260 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4261 (elf_machine_lazy_rel): Likewise.
4262 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4263 (elf_machine_lazy_rel): Likewise.
4264 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4265 (elf_machine_lazy_rel): Likewise.
4266 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4267 (elf_machine_lazy_rel): Likewise.
4268 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4269 (elf_machine_lazy_rel): Likewise.
4271 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4273 * nss/nss_files/files-init.c (_nss_files_init): Use static
4274 initialization for all the *_traced_file variables.
4276 2011-09-28 Andreas Schwab <schwab@redhat.com>
4278 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4280 2011-09-27 Roland McGrath <roland@hack.frob.com>
4283 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4285 2011-09-27 Andreas Schwab <schwab@redhat.com>
4287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4288 Reread the line before reparsing it.
4290 2011-09-26 Andreas Schwab <schwab@redhat.com>
4292 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4294 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4295 Maxim Kuvyrkov <maxim@codesourcery.com>
4296 Joseph Myers <joseph@codesourcery.com>
4298 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4299 if needed for __stack_chk_guard.
4301 2011-09-19 Roland McGrath <roland@hack.frob.com>
4303 * sysdeps/posix/spawni.c (script_execute): Always define it.
4304 It will be optimized away if unused.
4305 (maybe_script_execute): New function.
4306 (__spawni): Call it.
4308 * Makerules: Don't include tls.make.
4309 (config-tls): Always set to thread.
4310 * tls.make.c: File removed.
4312 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4314 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4315 * config.make.in (CPPFLAGS-config): New substituted variable.
4317 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4319 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4322 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4323 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4325 2011-09-15 Roland McGrath <roland@hack.frob.com>
4327 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4328 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4330 (CALL_FAIL): Likewise.
4331 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4332 (CALL_FAIL): Macro removed.
4333 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4335 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4337 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4338 for __FINITE_MATH_ONLY__ == 1.
4340 2011-09-15 Andreas Schwab <schwab@redhat.com>
4342 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4343 __ieee754_sqrt instead of sqrt.
4344 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4345 __ieee754_sqrtf instead of sqrtf.
4346 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4347 __floorf instead of floorf.
4348 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4349 __floorf, __truncf instead of floorf, truncf.
4351 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4353 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4355 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4356 __extern_always_inline.
4357 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4360 2011-09-14 Andreas Schwab <schwab@redhat.com>
4362 * elf/rtld.c (dl_main): Also relocate in dependency order when
4363 doing symbol dependency testing.
4365 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4368 Always define `refsym'.
4370 2011-09-13 Andreas Schwab <schwab@redhat.com>
4372 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4373 (__FD_ELT): Renamed from __FDELT.
4374 * misc/bits/select2.h (__FD_ELT): Likewise.
4375 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4376 __FD_MASK instead of __FDELT, __FDMASK.
4377 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4379 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4382 * elf/Makefile (gen-ldd): Fix pattern.
4384 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4385 (init_tls): Likewise.
4387 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4389 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4391 2011-09-12 Andreas Schwab <schwab@redhat.com>
4393 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4394 `struct cmsghdr *' instead of `void *'.
4395 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4398 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4400 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4402 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4405 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4407 * configure.in: Remove --with-tls option.
4408 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4409 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4410 out in case it is missing.
4411 * sysdeps/ia64/elf/configure.in: Likewise.
4412 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4413 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4414 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4415 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4416 * sysdeps/sh/elf/configure.in: Likewise.
4417 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4418 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4419 * sysdeps/x86_64/elf/configure.in: Likewise.
4420 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4421 * sysdeps/mach/hurd/tls.h: Likewise.
4424 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4427 * configure.in: Fix use of AC_INIT.
4429 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4431 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4433 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4435 * malloc/hooks.c: Likewise.
4438 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4439 variables statically.
4440 (narenas): Initialize.
4441 (list_lock): Initialize.
4442 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4443 initializtion of main_arena and list_lock. Small cleanups.
4444 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4445 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4446 Add initializers to main_arena and mp_.
4447 (malloc_state): Remove pagesize member. Change all users to use
4450 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4451 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4452 is always initialized.
4454 * malloc/malloc.c: Removed unused configurations and dead code.
4455 * malloc/arena.c: Likewise.
4456 * malloc/hooks.c: Likewise.
4457 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4459 * include/tls.h: Removed. USE___THREAD must always be defined.
4460 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4461 * elf/dl-libc.c: Likewise.
4462 * elf/dl-tsd.c: Likewise.
4463 * include/errno.h: Likewise.
4464 * include/netdb.h: Likewise.
4465 * include/resolv.h: Likewise.
4466 * inet/herrno-loc.c: Likewise.
4467 * inet/herrno.c: Likewise.
4468 * malloc/arena.c: Likewise.
4469 * malloc/hooks.c: Likewise.
4470 * malloc/malloc.c: Likewise.
4471 * resolv/res-state.c: Likewise.
4472 * resolv/res_libc.c: Likewise.
4473 * sysdeps/i386/dl-machine.h: Likewise.
4474 * sysdeps/ia64/dl-machine.h: Likewise.
4475 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4476 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4477 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4478 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4479 * sysdeps/sh/dl-machine.h: Likewise.
4480 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4481 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4482 * sysdeps/unix/i386/sysdep.S: Likewise.
4483 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4484 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4485 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4486 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4487 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4488 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4489 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4490 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4493 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4494 * sysdeps/x86_64/dl-machine.h: Likewise.
4495 * tls.make.c: Likewise.
4497 * configure.in: Remove --with-__thread option. Make tests for
4498 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4499 tls_model attribute fail if no support is available. Remove
4501 * Makeconfig: Adjust for dropped configure option. All features are
4503 * Makerules: Likewise.
4504 * Versions.def: Likewise.
4505 * argp/argp-fmtstream.c: Likewise.
4506 * argp/argp-fmtstream.h: Likewise.
4507 * argp/argp-help.c: Likewise.
4508 * assert/assert.c: Likewise.
4509 * config.h.in: Likewise.
4510 * config.make.in: Likewise.
4511 * configure: Likewise.
4512 * configure.in: Likewise.
4513 * csu/Versions: Likewise.
4514 * csu/init.c: Likewise.
4515 * elf/tst-audit2.c: Likewise.
4516 * elf/tst-tls10.c: Likewise.
4517 * elf/tst-tls10.h: Likewise.
4518 * elf/tst-tls11.c: Likewise.
4519 * elf/tst-tls12.c: Likewise.
4520 * elf/tst-tls14.c: Likewise.
4521 * elf/tst-tlsmod11.c: Likewise.
4522 * elf/tst-tlsmod12.c: Likewise.
4523 * elf/tst-tlsmod13.c: Likewise.
4524 * elf/tst-tlsmod13a.c: Likewise.
4525 * elf/tst-tlsmod14a.c: Likewise.
4526 * elf/tst-tlsmod15b.c: Likewise.
4527 * elf/tst-tlsmod16a.c: Likewise.
4528 * elf/tst-tlsmod16b.c: Likewise.
4529 * elf/tst-tlsmod7.c: Likewise.
4530 * elf/tst-tlsmod8.c: Likewise.
4531 * elf/tst-tlsmod9.c: Likewise.
4532 * gmon/gmon.c: Likewise.
4533 * grp/fgetgrent_r.c: Likewise.
4534 * grp/putgrent.c: Likewise.
4535 * hurd/fopenport.c: Likewise.
4536 * include/libc-symbols.h: Likewise.
4537 * include/tls.h: Likewise.
4538 * intl/gettextP.h: Likewise.
4539 * intl/loadinfo.h: Likewise.
4540 * locale/global-locale.c: Likewise.
4541 * locale/localeinfo.h: Likewise.
4542 * mach/devstream.c: Likewise.
4543 * malloc/arena.c: Likewise.
4544 * malloc/set-freeres.c: Likewise.
4545 * misc/err.c: Likewise.
4546 * misc/getttyent.c: Likewise.
4547 * misc/mntent_r.c: Likewise.
4548 * posix/getopt.c: Likewise.
4549 * posix/wordexp.c: Likewise.
4550 * pwd/fgetpwent_r.c: Likewise.
4551 * resolv/Versions: Likewise.
4552 * resolv/res_hconf.c: Likewise.
4553 * shadow/fgetspent_r.c: Likewise.
4554 * shadow/putspent.c: Likewise.
4555 * stdio-common/printf_fphex.c: Likewise.
4556 * stdio-common/tmpfile.c: Likewise.
4557 * stdlib/abort.c: Likewise.
4558 * stdlib/fmtmsg.c: Likewise.
4559 * sunrpc/auth_unix.c: Likewise.
4560 * sunrpc/clnt_perr.c: Likewise.
4561 * sunrpc/clnt_tcp.c: Likewise.
4562 * sunrpc/clnt_udp.c: Likewise.
4563 * sunrpc/clnt_unix.c: Likewise.
4564 * sunrpc/openchild.c: Likewise.
4565 * sunrpc/svc_simple.c: Likewise.
4566 * sunrpc/svc_tcp.c: Likewise.
4567 * sunrpc/svc_udp.c: Likewise.
4568 * sunrpc/svc_unix.c: Likewise.
4569 * sunrpc/xdr.c: Likewise.
4570 * sunrpc/xdr_array.c: Likewise.
4571 * sunrpc/xdr_rec.c: Likewise.
4572 * sunrpc/xdr_ref.c: Likewise.
4573 * sunrpc/xdr_stdio.c: Likewise.
4575 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4577 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4579 2011-07-03 Andreas Jaeger <aj@suse.de>
4581 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4582 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4583 regenerate with gen-libm-tests.pl.
4585 2010-05-12 Petr Baudis <pasky@suse.cz>
4588 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4589 around j0() zero points by switching to j1().
4590 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4591 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4593 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4595 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4597 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4599 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4602 Patch in part by Pavel Roskin <proski@gnu.org>.
4605 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4607 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4608 Free memory block if necessary.
4611 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4612 be NULL. Don't lock in this case.
4614 2011-09-09 Roland McGrath <roland@hack.frob.com>
4616 * elf/elf.h (ELFOSABI_GNU): New macro.
4617 (ELFOSABI_LINUX): Define to that.
4619 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4621 * string/strncat.c (strncat): Undef the symbol in case it has been
4622 defined in bits/string.h.
4624 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4626 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4628 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
4631 2011-08-17 Andreas Jaeger <aj@suse.de>
4633 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4635 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4636 Ian Lance Taylor <iant@google.com>
4638 * math/libm-test.inc (lround_test): New testcase.
4639 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4641 2011-09-08 Ulrich Drepper <drepper@gmail.com>
4643 * Makefile: Remove support for automatic cvs check-ins.
4644 * Makerules: Likewise.
4645 * config.make.in: Likewise.
4646 * configure.in: Likewise.
4647 * intl/Makefile: Likewise.
4648 * locale/Makefile: Likewise.
4649 * po/Makefile: Likewise.
4650 * posix/Makefile: Likewise.
4651 * sysdeps/gnu/Makefile: Likewise.
4652 * sysdeps/mach/hurd/Makefile: Likewise.
4653 * sysdeps/sparc/sparc32/Makefile: Likewise.
4656 * posix/Makefile (bug-regex32-ENV): Define.
4657 Patch by John Stanley <jpsinthemix@verizon.net>.
4659 * misc/Makefile (headers): Add bits/select2.h.
4660 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4661 * misc/bits/select2.h: New file.
4662 * include/bits/select2.h: New file.
4663 * debug/Makefile (routines): Add fdelt_chk.
4664 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4665 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4667 * debug/fdelt_chk.c: New file.
4669 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4670 * wcsmbs/test-wmemcmp.c: Likewise.
4671 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4672 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4674 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4676 * string/Makefile (strop-tests): Add memcmp.
4677 * string/test-wmemcmp.c: New file.
4678 * string/test-memcmp.c: Add wmemcmp support.
4680 2011-09-08 Roland McGrath <roland@hack.frob.com>
4683 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4686 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4687 garbage value in a __mach_port_mod_refs call in the cases of the
4688 task-self and thread-self ports.
4690 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4692 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4694 2011-09-08 Andreas Schwab <schwab@redhat.com>
4696 * elf/dl-load.c (lose): Check for non-null L.
4698 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4700 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4702 * elf/dl-libc.c (dlerror_run): Pass back error code from
4706 * elf/dl-load.c (lose): Free l_origin if it is valid.
4708 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4710 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4711 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4713 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4714 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4715 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4717 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4719 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4720 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4721 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4722 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4723 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4724 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4725 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4726 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4727 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4728 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4730 2011-08-15 Alan Modra <amodra@gmail.com>
4733 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4734 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4735 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4736 ppc_mcount to static-only-routines.
4737 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4739 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4740 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4742 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4744 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4745 for finite and infinity parameters.
4747 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4749 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4750 and add nop instructions for throughput optimization.
4751 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4753 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4755 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4756 aligned copy for power7 with vector-scalar instructions.
4757 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4759 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4764 2011-09-07 Andreas Schwab <schwab@redhat.com>
4767 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4770 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4772 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4773 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4774 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4775 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4778 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4780 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4781 Forgot to demangle the pointer.
4783 * sysdeps/i386/sysdep.h: Define atom_text_section.
4784 * sysdeps/x86_64/sysdep.h: Likewise.
4785 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4786 section with atom_text_section.
4787 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4788 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4789 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4791 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4793 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4794 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4795 already be defined. Change to take two parameters and don't assign
4796 result to variable. Adjust all users.
4797 Define INTERNAL_GETTIME if not already defined.
4798 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4801 HAVE_CLOCK_GETTIME_VSYSCALL.
4802 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4804 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4805 gettimeofday vsyscall, just use time.
4807 2011-09-06 Andreas Schwab <schwab@redhat.com>
4809 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4812 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4814 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4816 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4818 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4819 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4820 syscall if possible.
4822 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4824 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4825 e_ident. Don't pass to find_mapsXX.
4826 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4828 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4831 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4832 * sysdeps/x86_64/multiarch/strchr.S: Update.
4833 Check bit_slow_BSF bit.
4834 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4835 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4836 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4838 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4841 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4844 (__spawni): Change last parameter to be flag. Test
4845 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4846 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4847 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4848 * posix/spawni.c: Likewise.
4849 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4850 * posix/spawnp.c: Likewise. Change normal version to use
4851 SPAWN_XFLAGS_USE_PATH.
4852 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4853 SPAWN_XFLAGS_TRY_SHELL.
4856 * posix/glob.h: Remove gcc 1.x support.
4859 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4861 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4864 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4866 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4867 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4868 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4869 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4870 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4871 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4873 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4875 * sysdeps/x86_64/wcscmp.S: New file.
4877 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4878 wcscmp-c wcscmp-sse2
4879 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4880 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4881 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4882 * wcsmbs/wcscmp.c: Allow renaming.
4884 2011-09-05 David S. Miller <davem@davemloft.net>
4886 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4887 stack slot, rather than the struct return pointer slot.
4888 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4889 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4891 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4893 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4895 * po/ja.po: Update from translation team.
4898 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4899 kernel in 64-bit binaries.
4901 2011-09-01 David S. Miller <davem@davemloft.net>
4903 * elf/elf.h (HWCAP_SPARC_*): Move to..
4904 * sysdeps/sparc/sysdep.h: this new file and add new values.
4905 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4906 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4907 _DL_HWCAP_COUNT to 24.
4908 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4910 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4911 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4912 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4914 instead of magic constants.
4915 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4917 2011-08-31 David S. Miller <davem@davemloft.net>
4919 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4920 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4921 Reimplement to do errno handling inline.
4922 (SYSCALL_ERROR_HANDLER): New macro.
4923 (__SYSCALL_STRING): Do not do errno handling in asm.
4924 (__CLONE_SYSCALL_STRING): Delete.
4925 (__INTERNAL_SYSCALL_STRING): Delete.
4926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4927 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4928 (PSEUDO): Reimplement to do errno handling inline.
4929 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4930 (SYSCALL_ERROR_HANDLER): New macro.
4931 (__SYSCALL_STRING): Do not do errno handling in asm.
4932 (__CLONE_SYSCALL_STRING): Delete.
4933 (__INTERNAL_SYSCALL_STRING): Delete.
4934 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4935 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4937 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4938 (inline_syscall*): Add 'err' argument.
4939 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4940 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4941 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4942 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4944 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4945 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4947 2011-08-30 Andreas Schwab <schwab@redhat.com>
4949 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4951 2011-08-29 Jiri Olsa <jolsa@redhat.com>
4953 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4956 2011-08-24 David S. Miller <davem@davemloft.net>
4958 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4960 2011-08-24 Andreas Schwab <schwab@redhat.com>
4962 * elf/Makefile: Add rules to build and run unload8 test.
4963 * elf/unload8.c: New file.
4964 * elf/unload8mod1.c: New file.
4965 * elf/unload8mod1x.c: New file.
4966 * elf/unload8mod2.c: New file.
4967 * elf/unload8mod3.c: New file.
4969 * elf/dl-close.c (_dl_close_worker): Reset private search list if
4972 2011-08-23 David S. Miller <davem@davemloft.net>
4974 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4975 subtract stack bias.
4976 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4977 %sp not %fp in calculations.
4978 (_JMPBUF_UNWINDS_ADJ): Likewise.
4980 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4981 (aio_suspend): Call it to force an exception region around the
4982 AIO_MISC_WAIT() invocation.
4984 2011-08-23 Andreas Schwab <schwab@redhat.com>
4986 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4989 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
4991 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4993 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4995 (Elf64_FuncDesc): Remove.
4997 2011-08-22 David S. Miller <davem@davemloft.net>
4999 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
5000 sigaltstack check, add missing cfi directives.
5001 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
5002 missing cfi directives, and sigaltstack handling.
5004 2011-08-16 Andreas Schwab <schwab@redhat.com>
5007 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
5008 object is seen twice.
5009 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5011 * elf/Makefile (distribute): Add tst-initorder2.c.
5012 (tests): Add tst-initorder2.
5013 (modules-names): Add tst-initorder2a tst-initorder2b
5014 tst-initorder2c tst-initorder2d. Add rules to build them.
5015 ($(objpfx)tst-initorder2.out): New rule.
5016 * elf/tst-initorder2.c: New file.
5017 * elf/tst-initorder2.exp: New file.
5019 2011-08-22 Andreas Schwab <schwab@redhat.com>
5021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
5023 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
5024 dependencies back to end of function.
5026 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5029 2011-08-21 Ulrich Drepper <drepper@gmail.com>
5031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
5032 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
5033 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
5034 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
5035 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
5036 of __vdso_gettimeofday.
5037 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
5038 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
5040 (_libc_vdso_platform_setup): Remove initialization of
5041 __vdso_gettimeofday and __vdso_time.
5043 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5045 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
5047 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
5050 * elf/dl-open.c (add_to_global): Report additions to the global scope
5051 for LD_DEBUG=scopes.
5052 (dl_open_worker): Also print scope of newly loaded dependencies.
5053 (_dl_show_scope): Indicate if there is no scope.
5056 * stdio-common/Makefile (tests): Add bug24.
5057 * stdio-common/bug24.c: New file.
5059 2011-08-19 Andreas Jaeger <aj@suse.de>
5062 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
5063 non-existant file when using close-on-exec mode.
5065 2011-08-20 Ulrich Drepper <drepper@gmail.com>
5067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
5068 the very first instruction.
5070 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5071 the CFI state in the end.
5072 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5073 inclusion of dl-trampoline.h.
5074 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5076 2011-08-19 Andreas Schwab <schwab@redhat.com>
5078 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5079 expectations for long double.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5082 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5084 2011-08-14 David S. Miller <davem@davemloft.net>
5086 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5087 artificual limit depends upon the system page size.
5089 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5091 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5092 * resolv/Makefile: Define CFLAGS-libresolv.
5094 2011-08-17 Andreas Schwab <schwab@redhat.com>
5096 * nss/makedb.c (compute_tables): Make variables used in nested
5099 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5101 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5102 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5103 if buffer was too small.
5105 * elf/pldd.c (main): Attach to all threads in the process.
5106 Rewrite /proc handling to use *at functions.
5108 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5110 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5111 specifies first scope to show.
5112 (dl_open_worker): Update callers. Move printing scope of new
5113 object to before the relocation.
5114 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5115 * sysdeps/generic/ldsodefs.h: Update declaration.
5117 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5118 string for the scope number.
5120 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5122 * nscd/servicescache.c (cache_addserv): Make sure written is always
5125 2011-08-14 Roland McGrath <roland@hack.frob.com>
5127 * sysdeps/i386/i486/bits/atomic.h
5128 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5129 statement expression, so as to suppress "set but not used" warning.
5130 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5132 * string/strncat.c (STRNCAT): Use prototype definition.
5134 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5135 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5137 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5138 (localedef-modules): Add localedef.
5139 (locale-modules): Add locale.
5141 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5142 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5145 2011-08-14 David S. Miller <davem@davemloft.net>
5147 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5148 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5150 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5152 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5153 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5154 * elf/rtld.c (dl_main): Set l_name of vDSO.
5155 Call _dl_show_scope when DL_DEBUG_SCOPES.
5156 (process_dl_debug): Recognize scopes flag and also set it for all.
5157 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5158 Declare _dl_show_scope.
5160 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5161 (do_dlopen): Pass caller_dlopen to dl_open.
5162 (__libc_dlopen_mode): Initialize caller_dlopen.
5164 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5165 of libc. Make tolower call locale-independent. Optimize a bit by
5166 using isdigit instead of isalnum.
5167 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5169 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5171 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5172 was a dependency or dynamically loaded.
5174 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5176 * intl/l10nflist.c: Allow architecture-specific pop function.
5177 * sysdeps/x86_64/l10nflist.c: New file.
5179 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5182 2011-08-10 Andreas Schwab <schwab@redhat.com>
5184 * include/dirent.h: Add libc_hidden_proto for scandirat and
5185 scandirat64. Don't declare __scandirat64.
5186 * dirent/scandirat.c: Add libc_hidden_def.
5187 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5188 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5190 2011-08-10 David S. Miller <davem@davemloft.net>
5192 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5194 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5195 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5196 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5198 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5200 * Versions.def [libc]: Add GLIBC_2.15.
5201 * dirent/Makefile (routines): Add scandirat and scandirat64.
5202 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5204 * dirent/dirent.h: Declare scandirat and scandirat64.
5205 * dirent/scandirat.c: New file.
5206 * dirent/scandirat64.c: New file.
5207 * sysdeps/wordsize-64/scandirat.c: New file.
5208 * sysdeps/wordsize-64/scandirat64.c: New file.
5209 * dirent/opendir.c: Define opendirat.
5210 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5212 * dirent/scandir64.c: Adjust for scandir.c change.
5213 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5214 __scandirat64, and __scandir_cancel_handler.
5215 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5216 additional parameter and use openat instead of open (outside of ld.so).
5217 Add new __opendir as wrapper around __opendirat.
5218 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5219 here without requiring old scandirat implementation.
5221 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5223 * dirent/scandir.c (cancel_handler): Renamed to
5224 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5225 defined. Adjust users.
5226 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5227 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5229 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5231 * string/test-string.h (IMPL): Use __STRING to expand name and then
5234 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5237 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5239 * string/Makefile: Update.
5240 (strop-tests): Append strncat.
5241 * string/test-wcscmp.c: New file.
5242 New comprehensive test for wcscmp.
5243 * string/test-strcmp.c: Update.
5246 2011-07-22 Andreas Schwab <schwab@redhat.com>
5248 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5251 2011-07-26 Andreas Schwab <schwab@redhat.com>
5253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5254 encoding to ACE if AI_IDN.
5256 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5258 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5259 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5261 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5263 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5264 Fix overflow bug in strncat.
5265 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5267 * string/test-strncat.c: Update.
5268 Add new tests for checking overflow bugs.
5270 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5272 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5273 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5274 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5275 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5276 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5277 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5278 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5279 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5280 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5282 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5283 (USE_AS_STRCAT): Define.
5284 Add strcat and strncat support.
5285 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5287 2011-07-25 Andreas Schwab <schwab@redhat.com>
5289 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5290 __n bigger than INT_MAX+1.
5291 (__strncmp_g): Likewise.
5293 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5295 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5296 * libio/stido.h: Likewise.
5298 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5300 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5303 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5305 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5306 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5310 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5313 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5315 (_dl_x86_64_save_sse): Likewise.
5317 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5321 (_dl_x86_64_save_sse): Likewise.
5323 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5325 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5327 2011-07-21 Andreas Schwab <schwab@redhat.com>
5329 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5331 (_dl_x86_64_save_sse): Use correct AVX check.
5333 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5335 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5336 bug in strncpy/strncat.
5337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5339 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5341 * string/tester.c (test_strcat): Add tests for different alignments
5342 of source and destination.
5343 (test_strncat): Likewise.
5345 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5348 * posix/glob.c (glob): Check passed in values before using them in
5349 expressions to avoid some overflows.
5350 (glob_in_dir): Likewise.
5353 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5354 check for AVX enablement so that we don't crash with old kernels and
5356 * elf/tst-audit4.c: Add same checks here.
5357 * elf/tst-audit6.c: Likewise.
5359 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5361 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5363 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5365 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5367 * po/cs.po: Update from translation team.
5368 * po/bg.po: Likewise.
5370 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5372 * misc/sys/cdefs.h: Add support for const attribute.
5373 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5374 to gnu_dev_{major,minor,makedev} functions.
5376 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5378 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5380 2011-07-20 Andreas Schwab <schwab@redhat.com>
5382 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5385 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5387 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5388 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5389 register in order to avoid conflicts with the soft frame pointer
5390 being held in r11 when necessary.
5391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5392 (INTERNAL_VSYSCALL_NCS): Likewise.
5394 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5396 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5397 * elf/dl-fini.c (_dl_fini): Adjust caller.
5398 * elf/dl-close.c (_dl_close_worker): Likewise.
5399 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5401 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5403 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5404 "aux_cache->nlibs < 0".
5406 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5407 in the reload-count case.
5409 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5411 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5412 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5413 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5414 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5415 * sysdeps/x86_64/multiarch/strcat.S: New file.
5416 * sysdeps/x86_64/multiarch/strncat.S: New file.
5417 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5418 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5419 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5420 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5421 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5422 (USE_AS_STRCAT): Define.
5423 Add strcat and strncat support.
5424 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5425 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5426 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5427 * string/strncat.c: Update.
5428 (USE_AS_STRNCAT): Define.
5429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5430 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5432 * sysdeps/x86_64/multiarch/init-arch.h
5433 (bit_Prefer_PMINUB_for_stringop): New.
5434 (index_Prefer_PMINUB_for_stringop): Likewise.
5435 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5436 bit_Prefer_PMINUB_for_stringop.
5438 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5440 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5442 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5443 of casting of buffer.
5444 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5445 buffer32 and buffer64.
5446 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5447 writes instead of casting of buffer.
5448 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5450 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5453 2011-07-19 Andreas Schwab <schwab@redhat.com>
5455 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5457 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5459 * nscd/nscd.c (termination_handler): Don't do anything for a database
5460 if it has not yet been initialized.
5462 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5464 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5466 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5468 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5470 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5472 * po/nl.po: Update from translation team.
5473 * po/sv.po: Likewise.
5475 2011-07-16 Roland McGrath <roland@hack.frob.com>
5477 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5478 now disallowed by GCC.
5480 * configure.in (use-default-link): Default to yes if a test -shared
5481 link meets our qualifications.
5482 * configure: Regenerated.
5484 * config.make.in (output-format): New variable.
5485 * configure.in: Check for ld --print-output-format support.
5486 * configure: Regenerated.
5487 * Makerules ($(common-objpfx)format.lds)
5488 [$(output-format) != unknown]: Just use $(output-format),
5489 instead of the linker-script munging.
5491 2011-07-14 Roland McGrath <roland@hack.frob.com>
5493 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5494 of $(common-objpfx)shlib.lds.
5495 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5497 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5498 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5500 * configure.in (-z relro check): Adjust test code to add a large
5501 writable data section after it.
5502 * configure: Regenerated.
5504 2011-07-11 Roland McGrath <roland@hack.frob.com>
5506 * configure.in (-z relro check): Fix test code to make the variable
5508 * configure: Regenerated.
5510 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5512 * nscd/nscd.h (struct traced_file): Define.
5513 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5514 elements. Add traced_files.
5515 (inotify_fd): Declare.
5516 (register_traced_file): Declare.
5517 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5518 (inotify_fd): Export.
5519 (resolv_conf_descr): Remove.
5520 (nscd_init): Move inotify descriptor creation to main.
5521 Don't register files for notification here.
5522 (register_traced_file): New function.
5523 (invalidate_cache): Don't use reset_res to determine whether to call
5524 res_init, go through the list of registered files.
5525 (main_loop_poll): The inotify descriptors are now stored in the
5526 structures for the traced files.
5527 (main_loop_epoll): Likewise
5528 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5529 to __nss_disable_nscd.
5530 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5531 for a database anymore. Check the records for all the registered
5533 * nss/Makefile (libnss_files-routines): Add files-init.
5534 (libnss_db-routines): Add db-init.
5535 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5536 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5537 * nss/nss_db/db-init.c: New file.
5538 * nss/nss_files/files-init.c: New file.
5539 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5540 __nss_lookup_function.
5541 (__nss_lookup_function): Call nss_load_library.
5542 (nss_load_all_libraries): New function.
5543 (__nss_disable_nscd): Take parameter with callback function for files
5544 to register. Set is_nscd. Load all the DSOs for the NSS modules
5545 used for the cached services.
5546 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5547 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5548 options for features to all the files in nscd.
5550 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5552 2011-07-10 Roland McGrath <roland@hack.frob.com>
5554 * csu/elf-init.c (__libc_csu_init): Comment typo.
5556 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5558 * po/pl.po: Update from translation team.
5559 * po/ja.po: Likewise.
5560 * po/ru.po: Likewise.
5561 * po/ko.po: Likewise.
5562 * po/fr.po: Likewise.
5564 2011-07-09 Roland McGrath <roland@hack.frob.com>
5566 * configure.in (.ctors/.dtors header and trailer check):
5567 Use an empirical test on a built program.
5568 * configure: Regenerated.
5570 * configure.in (-z relro check): Use an empirical test on a built DSO.
5571 Detect, but do not require, on ia64.
5572 * configure: Regenerated.
5574 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5575 Update tests that use readelf to use $READELF instead.
5576 * configure: Regenerated.
5578 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5580 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5581 if the result is not used.
5583 2011-07-05 Andreas Jaeger <aj@suse.de>
5586 * stdlib/tst-strtod.c: Add testcase.
5588 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5590 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5591 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5592 The latter has a higher limit. Take additional parameter to pass to
5594 (__pathconf): Pass file to __statfs_link_max.
5595 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5597 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5601 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5602 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5604 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5605 (__statfs_filesize_max): Likewise.
5606 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5608 2011-07-05 Andreas Jaeger <aj@suse.de>
5610 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5612 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5614 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5616 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5619 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5621 * Makefile (strop-tests): Add strncat.
5622 * string/test-strncat.c: New file.
5624 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5626 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5628 2011-06-21 Andreas Jaeger <aj@suse.de>
5630 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5631 Copy rule from iconvdata/Makefile.
5633 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5636 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5637 but no long options are defined, just return 'W'.
5639 2011-06-22 Marek Polacek <mpolacek@redhat.com>
5642 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5644 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5646 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5648 (innetgr): Likewise.
5650 2011-07-05 Roland McGrath <roland@hack.frob.com>
5652 * config.make.in (install_root): Default to $(DESTDIR).
5654 2011-07-05 Ulrich Drepper <drepper@gmail.com>
5656 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5658 2011-07-02 Roland McGrath <roland@hack.frob.com>
5660 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5662 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5663 containing directory rather than embedding absolute directory names.
5665 * scripts/check-local-headers.sh: Rewritten using awk.
5666 Match by word, not by line. Print error messages for matches.
5667 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5669 * Makerules [shlib-lds-flags empty]:
5670 ($(common-objpfx)libc_pic.opts): New target.
5671 ($(common-objpfx)libc_pic.os.clean): New target.
5672 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5674 * config.make.in (OBJCOPY): New variable.
5675 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5676 * configure: Regenerated.
5678 * config.make.in (use-default-link): New variable.
5679 * configure.in (use_default_link): Grok --with-default-link to set it.
5680 * configure: Regenerated.
5681 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5682 (shlib-lds, shlib-lds-flags): Define to empty.
5684 * Makerules (shlib-lds): New variable.
5685 (shlib-lds-flags): New variable.
5686 (build-shlib, build-moduile, build-module-asneeded): Use it.
5687 ($(common-objpfx)libc.so): Use $(shlib-lds).
5688 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5689 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5691 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5692 DT_FLAGS/DT_FLAGS_1 with zero flags.
5694 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5695 linker script munging.
5697 2011-07-02 Ulrich Drepper <drepper@gmail.com>
5699 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5701 * crypt/sha512.c (sha512_process_block): Perform total addition using
5702 128-bit if possible.
5703 (__sha512_finish_ctx): Likewise.
5704 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5706 * crypt/sha256.c (SWAP64): Define.
5707 (sha256_process_block): Perform total addition using 64-bit if
5709 (__sha256_finish_ctx): Likewise.
5711 2011-07-01 Ulrich Drepper <drepper@gmail.com>
5713 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5714 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5715 * nscd/hstcache.c (cache_addhst): Likewise.
5716 * nscd/grpcache.c (cache_addgr): Likewise.
5717 * nscd/aicache.c (addhstaiX): Likewise
5718 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5720 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
5722 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5723 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5724 * nscd/hstcache.c (cache_addhst): Likewise.
5725 * nscd/grpcache.c (cache_addgr): Likewise.
5726 * nscd/aicache.c (addhstaiX): Likewise
5728 2011-07-01 Andreas Schwab <schwab@redhat.com>
5730 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5731 domain only when needed.
5733 2011-06-30 Andreas Schwab <schwab@redhat.com>
5735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5738 2011-06-29 Ulrich Drepper <drepper@gmail.com>
5740 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5741 are re-adding the entry.
5742 * nscd/servicescache.c (cache_addserv): Likewise.
5744 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5746 * sysdeps/generic/dl-irel.h: fix protection against multiple
5748 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5750 2011-06-28 Ulrich Drepper <drepper@gmail.com>
5753 * malloc/memusage.sh: Fix quoting in message.
5754 * debug/xtrace.sh: Likewise.
5756 * configure.in: Remove support for --experimental-malloc option, make
5758 * config.make.in: Likewise.
5759 * malloc/Makefile: Likewise.
5761 2011-06-27 Andreas Schwab <schwab@redhat.com>
5763 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5764 two-byte characters.
5766 2011-06-27 Roland McGrath <roland@hack.frob.com>
5768 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5769 AC_CACHE_CHECK invocation.
5770 * configure: Regenerated.
5772 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5774 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5777 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5778 bit from old_res_options.
5780 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5782 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5783 value type for setfct.
5785 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5787 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5788 __gettimeofday instead of gettimeofday.
5790 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5792 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5794 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5796 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5798 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5801 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5804 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5805 strcpy-sse2-unaligned strncpy-sse2-unaligned
5806 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5807 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5808 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5809 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5810 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5813 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5814 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5815 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5816 (STRCPY): Support SSE2 and SSSE3 versions.
5818 2011-06-24 Ulrich Drepper <drepper@gmail.com>
5821 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5822 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5823 kernels which artificially limit size of requests.
5825 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5827 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5828 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5829 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5830 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5831 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5832 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5833 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5834 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5835 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5836 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5837 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5838 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5839 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5840 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5841 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5843 Enable unaligned load optimization for Intel Core i3, i5 and i7
5845 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5847 (index_Fast_Unaligned_Load): Define.
5848 (HAS_FAST_UNALIGNED_LOAD): Define.
5850 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5852 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5854 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5857 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5858 until it is clear that the information is realy needed.
5859 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5861 2011-06-22 Andreas Schwab <schwab@redhat.com>
5863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5865 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5867 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5868 /sys/devices/system/cpu/online if it is usable.
5870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5871 reading the information from the /proc filesystem to once a second.
5873 2011-06-21 Andreas Jaeger <aj@suse.de>
5875 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5876 NULL after inclusion of kernel headers.
5878 2011-06-21 Ulrich Drepper <drepper@gmail.com>
5880 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5881 calls to internal_setent.
5884 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5885 addresses using gethostbyname4_r ignore IPv4 addresses.
5887 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5888 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5890 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5892 2011-06-20 David S. Miller <davem@davemloft.net>
5894 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5896 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5898 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5900 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5901 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5902 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5903 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5904 * sysdeps/x86_64/dl-irel.h: Likewise.
5906 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5907 * elf/dl-sym.c: Likewise.
5909 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5911 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5912 need to dereference resplen2.
5914 2011-06-14 Andreas Schwab <schwab@redhat.com>
5916 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5918 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5920 * Makeconfig: Define vardbdir and inst_vardbdir.
5921 * nss/Makefile: Add rules to install db-Makefile.
5923 * nss/nss_db/db-XXX.c: Cleanup.
5925 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5926 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5928 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5929 * nss/makedb.c: Implement -g option to specify that value strings
5930 are generated and should not be added to table iterated over for
5932 * nss/nss_db/db-initgroups.c: New file.
5934 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5937 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5938 (internal_getgrouplist): Adjust to name change.
5939 Update use_initgroups_entry if this is not the first call.
5940 * nss/databases.def: Add initgroups entry.
5942 * nss/makedb.c (compute_tables): Check result of multiple hash table
5943 sizes to minimize maximum chain length.
5945 2011-06-14 Ulrich Drepper <drepper@gmail.com>
5947 * Versions.def: Add entry for libnss_db.
5948 * shlib-versions: Likewise.
5949 * nss/Makefile: Add rules to build libnss_db.
5950 * nss/Versions: Add libnss_db information. Organize libnss_files
5952 * nss/db-Makefile: Add gshadow support. Change rules for the new
5953 makedb progra. Some minor improvements to generate smaller files.
5954 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5956 * nss/makedb.c: ...here.
5957 Improve database format to be smaller and require less memory at
5959 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
5961 * nss/nss_db/db-netgrp.c: Likewise.
5962 * nss/nss_db/db-open.c: Likewise.
5963 * nss/nss_files/flies-XXX.x: Adjust comments.
5964 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5965 * nss/nss_files/files-grp.c: Likewise.
5966 * nss/nss_files/files-hosts.c: Likewise.
5967 * nss/nss_files/files-network.c: Likewise.
5968 * nss/nss_files/files-proto.c: Likewise.
5969 * nss/nss_files/files-pwd.c: Likewise.
5970 * nss/nss_files/files-rpc.c: Likewise.
5971 * nss/nss_files/files-service.c: Likewise.
5972 * nss/nss_files/files-sgrp.c: Likewise.
5973 * nss/nss_files/files-spwd.c: Likewise.
5974 * nss/nss_db/db-alias.c: Removed.
5975 * nss/nss_db/dummy-db.h: Removed.
5977 2011-06-02 Ulrich Drepper <drepper@gmail.com>
5979 * nss/makedb.c: Rewritten to not use database library.
5980 * nss/Makefile: Update to build new makedb program.
5982 2011-06-14 Andreas Jaeger <aj@suse.de>
5984 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5987 2011-06-10 Andreas Schwab <schwab@redhat.com>
5989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5992 2011-06-10 Roland McGrath <roland@hack.frob.com>
5994 * Makerules (shlib.lds): Fail if the linker script comes out empty.
5995 * elf/Makefile ($(objpfx)ld.so): Likewise.
5997 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5998 Don't list ld.so twice in dependencies.
6000 * posix/bug-regex31.c: Include <stdlib.h>.
6002 * nscd/hstcache.c (cache_addhst): Remove unused variable.
6004 * nis/nss_compat/compat-spwd.c
6005 (getspent_next_nss_netgr): Remove unused variable.
6006 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
6008 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
6009 nonmembers" output to use the right array.
6011 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
6013 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
6015 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
6016 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
6017 * catgets/gencat.c (read_input_file): Likewise.
6018 * locale/programs/locarchive.c (enlarge_archive): Likewise.
6020 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
6021 variable definition inside #if's controlling its use.
6023 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
6025 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
6027 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
6029 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
6032 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
6034 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
6035 * configure: Regenerated.
6037 * Makerules: Revert last change.
6038 * elf/Makefile: Likewise.
6040 2011-06-09 Roland McGrath <roland@hack.frob.com>
6042 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
6043 * elf/Makefile ($(objpfx)librtld.os): Likewise.
6044 (reloc-link): Likewise.
6046 2011-06-09 Ulrich Drepper <drepper@gmail.com>
6048 * elf/Makefile: Add rules to build pldd.
6049 * elf/pldd.c: New file.
6050 * elf/pldd-xx.c: New file.
6052 2011-06-07 Ulrich Drepper <drepper@gmail.com>
6054 * version.h: Update for 2.15 development version.
6056 2011-06-07 David S. Miller <davem@davemloft.net>
6058 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
6060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
6061 elf_machine_lazy_rel): Likewise.
6062 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
6064 elf_machine_lazy_rel): Likewise.
6065 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
6066 dl_hwcap via passed in argument.
6067 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6070 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6072 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6074 2011-06-06 Roland McGrath <roland@hack.frob.com>
6077 * manual/fdl-1.1.texi: New file, verbatim from:
6078 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6079 * manual/lgpl-2.1.texi: New file, verbatim from:
6080 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6081 * manual/Makefile (licenses): New variable, list those new file names.
6083 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6085 * manual/fdl.texi: File removed.
6086 * manual/lesser.texi: File removed.
6087 * manual/libc.texinfo (Copying, Documentation License):
6088 Use new @include file names, put @appendix directive before @include.
6090 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6093 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6094 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6095 (mq_open): Add __NTH.
6097 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6100 Assume Intel Core i3/i5/i7 processor if AVX is available.
6102 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6104 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6107 2011-05-31 Andreas Schwab <schwab@redhat.com>
6109 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6110 memory. Use alloca_account. Fix memory leak when retrying.
6112 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6114 * version.h (RELEASE): Bump for 2.14 release.
6115 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6117 * config.make.in (RANLIB): Remove entry.
6119 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6121 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6122 (libc.pot): Work around missing support for .ksh extension in xgettext.
6125 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6126 if both request failed.
6127 (send_dg): In case of server errors clear resplen or *resplen2.
6130 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6131 when there are multiple maps.
6132 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6133 (_dl_fini): Remove test here.
6135 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6137 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6140 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6141 bit from old_res_options.
6142 (gaih_inet): Likewise.
6145 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6148 * resolv/res_init.c (res_setoptions): Make the code more compact.
6151 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6155 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6157 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6160 * malloc/malloc.h: Declare malloc hook variables as volatile.
6162 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6166 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6167 raise in the comment.
6168 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6169 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6170 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6172 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6175 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6176 grow the buffers more if it already has to be sufficient.
6177 (build_wcs_upper_buffer): Likewise.
6178 * posix/regexec.c (check_matching): Likewise.
6179 (clean_state_log_if_needed): Likewise.
6180 (extend_buffers): Don't enlarge buffers beyond size of the input
6182 Patches mostly by Emil Wojak <emil@wojak.eu>.
6183 * posix/bug-regex32.c: New file.
6184 * posix/Makefile (tests): Add bug-regex32.
6186 * locale/findlocale.c (_nl_find_locale): Return right away if
6187 _nl_explode_name failed.
6188 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6190 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6192 * debug/xtrace.sh: Unify messages.
6193 * malloc/memusage.sh: Likewise.
6196 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6197 time symbol from vDSO. Substitute with vsyscall if not available.
6198 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6201 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6202 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6203 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6204 Add sendmmsg and internal_sendmmsg.
6205 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6206 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6207 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6209 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6210 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6211 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6213 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6216 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6217 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6219 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6223 * iconvdata/Makefile (tests): Add bug-iconv9.
6224 * iconvdata/bug-iconv9.c: New file.
6226 2011-05-27 Andreas Schwab <schwab@redhat.com>
6229 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6231 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6233 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6234 (struct user_regs_struct): Change intcs field back to cs.
6236 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6238 * po/ja.po: Update from translation team.
6240 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6243 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6244 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6246 2011-05-20 Andreas Schwab <schwab@redhat.com>
6248 * stdlib/longlong.h: Update from GCC.
6250 2011-05-23 Andreas Schwab <schwab@redhat.com>
6252 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6254 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6256 (__sysconf): Pass it down.
6258 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6261 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6263 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6264 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6265 add in in __libc_use_alloca calls. Adjust callers.
6266 (glob): Use malloc in some situations.
6268 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6269 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6272 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6274 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6275 and CLOCK_BOOTTIME_ALARM.
6278 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6281 * string/_strerror.c (__strerror_r): Print negative errors as signed
6285 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6286 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6287 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6289 * configure.in: Fix typo in redirection and correct removal of test
6293 * locale/setlocale.c (new_composite_name): Fix test to check for
6294 identical name of all categories.
6297 * libio/filedoalloc.c (local_isatty): New function.
6298 (_IO_file_doallocate): Use local_isatty.
6299 * stdio-common/perror.c (perror): In case a new stream is used
6300 forward the stream error.
6301 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6304 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6309 * include/alloca.h (extend_alloca_account): Define.
6312 * posix/regex.h: Fix comments with documentation of user-accessible
6313 fields after compilation and describe correct free'ing of pattern
6314 after re_compile_pattern.
6315 Patch by Reuben Thomas <rrt@sc3d.org>.
6317 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6319 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6320 and -mno-altivec to prevent the compiler from using Altivec and/or
6321 VSX instructions when the corresponding registers are not available.
6323 2011-05-19 Andreas Schwab <schwab@redhat.com>
6325 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6327 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6329 * libio/freopen.c (freopen): Use __dup2, not dup2.
6330 * libio/freopen64.c (freopen64): Likewise.
6332 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6335 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6336 * math/Makefile (tests): Add test-powl.
6337 (CFLAGS-test-powl.c): Define.
6338 * math/test-powl.c: New file.
6340 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6342 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6344 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6347 * iconvdata/gb18030.c: Update to GB18020-2005.
6349 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6351 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6352 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6353 Patch by Aharon Robbins <arnold@skeeve.com>.
6356 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6360 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6364 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6365 point to strings before performing equality test for error_one_per_line
6369 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6373 (struct user_fpregs_struct): Avoid __uint*_t types.
6376 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6377 symbol info. Use it instead of calling _dl_addr locally.
6378 (lock_and_info): New function.
6379 (tr_freehook): Call lock_and_info and pass symbol info as additional
6380 parameter to tr_where.
6381 (tr_mallochook): Likewise.
6382 (tr_reallochook): Likewise.
6383 (tr_memalignhook): Likewise.
6385 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6386 used and couldn't be at all thread-safe.
6388 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6390 * libio/freopen.c (freopen): Don't close old file descriptor
6391 before the new one is opened. Instead dup the new file descriptor
6392 to the old one after the new stream is created.
6393 * libio/freopen64.c (freopen64): Likewise.
6394 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6395 * libio/fileops.c (_IO_new_file_close_it): Handle new
6396 _IO_FLAGS2_NOCLOSE flag.
6397 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6398 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6399 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6400 _IO_FLAGS2_NOCLOSE flag.
6401 * include/unistd.h: Add hidden_proto for dup3.
6403 * io/dup3.c: Define hidden symbol.
6404 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6407 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6408 when an incomplete long option is used.
6409 * posix/tst-getopt_long1.c: New file.
6410 * posix/Makefile (tests): Add tst-getopt_long1.
6413 * scripts/config.guess: Update from autoconf-2.68.
6414 * scripts/config.sub: Likewise.
6417 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6419 (has_cpuclock): ...this. New function.
6420 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6421 macro here based on has_cpuclock code.
6424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6425 First byte (not low byte) is now always NUL.
6426 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6428 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6429 Use non-cancelable interfaces.
6432 * locale/iso-639.def: Add entry for Sorani.
6435 * include/stdlib.h: Move include protection to the right place.
6436 Define abort_msg_s. Declare __abort_msg with it.
6437 * stdlib/abort.c (__abort_msg): Adjust type.
6438 * assert/assert.c (__assert_fail_base): New function. Majority
6439 of code from __assert_fail. Allocate memory for __abort_msg with
6441 (__assert_fail): Now call __assert_fail_base.
6442 * assert/assert-perr.c: Remove bulk of implementation. Use
6444 * include/assert.hL Declare __assert_fail_base.
6445 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6447 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6449 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6453 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6454 until all modules are registered in the DTV.
6455 * elf/Makefile: Add rules to build and run tst-tls19.
6456 * elf/tst-tls19.c: New file.
6457 * elf/tst-tls19mod1.c: New file.
6458 * elf/tst-tls19mod2.c: New file.
6459 * elf/tst-tls19mod3.c: New file.
6460 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6463 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6467 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6468 two-byte sequence errors.
6469 * iconvdata/Makefile (tests): Add bug-iconv8.
6470 * iconvdata/bug-iconv8.c: New file.
6473 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6476 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6479 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6480 (dummy_getcfa): New function.
6481 (init): Get _Unwind_GetCFA address, use dummy if not found.
6482 (backtrace_helper): In recursion check, also check whether CFA changes.
6483 (__backtrace): Completely initialize arg.
6485 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6486 storing incomplete byte sequence in state object. Avoid testing for
6487 guaranteed too small input if we know there is enough data available.
6489 2011-05-11 Andreas Schwab <schwab@redhat.com>
6491 * Makeconfig (+link-pie): Indent.
6492 * Rules (binaries-pie): Define if $(have-fpie) and
6494 (binaries-shared): Also filter out $(binaries-pie).
6495 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6496 * nscd/Makefile (others-pie): Add nscd.
6497 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6498 ($(objpfx)nscd): Remove command override.
6499 * login/Makefile (others-pie): Add pt_chown.
6500 ($(objpfx)pt_chown): Remove command override.
6501 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6502 remove command overrides.
6504 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6506 * libio/tst_putwc.c: Fix error messages.
6509 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6510 currently writing and seek to current position when not.
6511 * libio/Makefile (tests): Add bug-fclose1.
6512 * libio/bug-fclose1.c: New file.
6514 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6517 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6518 don't set DF_1_NODELETE here.
6519 (do_lookup_x): When entering new entry test for copy relocation
6520 and if necessary set DF_1_NODELETE flag.
6521 * elf/tst-unique4.cc: New file.
6522 * elf/tst-unique4.h: New file.
6523 * elf/tst-unique4lib.cc: New file.
6524 * elf/Makefile: Add rules to build and run tst-unique4.
6525 Patch by Piotr Bury <pbury@goahead.com>.
6527 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6530 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6533 * misc/mntent_r.c (addmntent): Flush the stream after the output
6536 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6537 (is_trusted_path_normalize): Skip initial colon. Append slash
6538 to empty buffer. Duplicate is_trusted_path code but allow
6539 constructed patch to be prefix.
6540 (is_dst): Allow $ORIGIN followed by /.
6541 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6542 Correct testing of result of is_trusted_path_normalize
6543 (decompose_rpath): Fix warning.
6545 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6548 * grp/initgroups.c (internal_getgrouplist): When we found the service
6549 list through the initgroups entry in nsswitch.conf do not always
6550 continue on a successful lookup. Don't always use the
6551 __nss_group_database value if it is set.
6552 * nss/nsswitch.conf (initgroups): Change action for successful db
6553 lookup to continue for compatibility.
6555 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6558 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6560 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6562 * iconvdata/tst-tables.sh: Likewise.
6563 * iconvdata/cp770.c: New file.
6564 * iconvdata/cp771.c: New file.
6565 * iconvdata/cp772.c: New file.
6566 * iconvdata/cp773.c: New file.
6567 * iconvdata/cp774.c: New file.
6568 * iconvdata/testdata/CP770: New file.
6569 * iconvdata/testdata/CP770..UTF8: New file.
6570 * iconvdata/testdata/CP771: New file.
6571 * iconvdata/testdata/CP771..UTF8: New file.
6572 * iconvdata/testdata/CP772: New file.
6573 * iconvdata/testdata/CP772..UTF8: New file.
6574 * iconvdata/testdata/CP773: New file.
6575 * iconvdata/testdata/CP773..UTF8: New file.
6576 * iconvdata/testdata/CP774: New file.
6577 * iconvdata/testdata/CP774..UTF8: New file.
6579 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6581 * iconvdata/gen-8bit-gap.sh: Likewise.
6582 * iconvdata/gen-8bit.sh: Likewise.
6584 * locale/iso-639.def: Add ary entry.
6587 * locale/C-translit.h.in: Add U20A1 transliteration.
6590 * locale/iso-639.def: Add wae entry.
6591 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6594 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6598 * locale/C-translit.h.in: Add entry for U20B9.
6599 Patch by pravin.d.s@gmail.com.
6601 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6604 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6605 ENAMETOOLONG use generic getcwd.
6606 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6607 in rtld. Use *stat64.
6608 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6609 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6610 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6611 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6612 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6613 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6614 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6616 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6617 * dirent/rewinddir.c: Add libc_hidden_def.
6618 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6619 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6621 * include/dirent.h (__alloc_dir): Add flags parameter.
6622 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6623 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6625 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6626 from fdopendir if O_CLOEXEC is already set.
6628 2011-03-15 Alan Modra <amodra@gmail.com>
6630 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6631 l_tls_firstbyte_offset non-zero. Save padding offset in
6632 l_tls_firstbyte_offset for later use.
6633 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6634 freeing static tls block.
6636 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6638 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6639 where #ifdef was intended. The intent is to prevent ARG_MAX from
6640 being defined by the kernel headers.
6642 2011-05-07 Ulrich Drepper <drepper@gmail.com>
6645 * resolv/resolv.h: Define RES_NOTLDQUERY.
6646 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6647 no-tld-query and set RES_NOTLDQUERY.
6648 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6649 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6650 modern BIND to search name as TLD unless forbidden.
6652 2011-05-07 Petr Baudis <pasky@suse.cz>
6653 Ulrich Drepper <drepper@gmail.com>
6656 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6657 (is_trusted_path): ...to here.
6658 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6659 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6660 using is_trusted_path_normalize() in setuid scripts.
6662 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6664 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6665 __BEGIN/__END_DECLS.
6667 2011-05-06 Ulrich Drepper <drepper@gmail.com>
6669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6670 NSS_STATUS_NOTFOUND if no record was found.
6672 2011-05-05 Andreas Schwab <schwab@redhat.com>
6674 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6675 (headers-not-in-tirpc): Remove rpc/netdb.h
6676 * resolv/netdb.h: Revert last change.
6678 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6680 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6681 circular dependency between libgcc.a and libc.a.
6683 2011-05-05 Andreas Schwab <schwab@redhat.com>
6685 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6686 * nis/Makefile: Don't install rpcsvc/*.
6687 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6688 instead of <rpc/types.h>.
6689 (MAXHOSTNAMELEN): Define.
6691 2011-05-03 Andreas Schwab <schwab@redhat.com>
6693 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6695 2011-04-28 Maciej Babinski <mbabinski@google.com>
6698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6699 gethostbyname4_r when IPv6 results are possible.
6701 2011-05-02 Ulrich Drepper <drepper@gmail.com>
6704 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6705 _PC_PIPE_BUF handling.
6707 2011-04-30 Bruno Haible <bruno@clisp.org>
6710 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6711 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6713 * inet/getnameinfo.c (getnameinfo): Likewise.
6715 2011-04-29 Ulrich Drepper <drepper@gmail.com>
6717 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6718 to groups setting in database lookup.
6719 * nss/nsswitch.conf: Add initgroups entry.
6721 2011-04-22 Ulrich Drepper <drepper@gmail.com>
6724 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6726 Patch by Eric Blake <eblake@redhat.com>.
6728 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6730 * sunrpc/Makefile (need-export-routines): Add svc_run.
6731 (routines): Remove svc_run.
6732 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6733 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6734 * sunrpc/svc_run.c (svc_run): Likewise.
6735 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6737 2011-04-21 Ulrich Drepper <drepper@gmail.com>
6739 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6740 problem in reallocation in last patch.
6742 2011-04-20 Ulrich Drepper <drepper@gmail.com>
6744 * sunrpc/Makefile: Move inclusion of Rules.
6746 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6748 * nss/nss_files/files-initgroups.c: New file.
6749 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6750 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6751 _nss_files_initgroups_dyn.
6753 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6755 * elf/elf.h (R_ARM_IRELATIVE): Define.
6757 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6759 * po/ru.po: Update from translation team.
6761 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6763 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6766 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6769 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6770 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6771 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6773 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6775 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6777 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6779 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6780 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6781 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6783 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6786 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6788 * stdlib/bug-getcontext.c: New file.
6789 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6791 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6793 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6794 instructions into .machine "z9-109".
6795 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6796 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6798 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6800 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6801 between environment variables and auxiliary vector.
6803 2011-04-16 Ulrich Drepper <drepper@gmail.com>
6805 * Makefile: Add rules to build linkobj/libc.so.
6806 * include/libc-symbols.h: Define libc_hidden_nolink.
6807 * include/rpc/auth.h: Mark functions which are to be hidden.
6808 * include/rpc/auth_des.h: Likewise.
6809 * include/rpc/auth_unix.h: Likewise.
6810 * include/rpc/clnt.h: Likewise.
6811 * include/rpc/des_crypt.h: Likewise.
6812 * include/rpc/key_prot.h: Likewise.
6813 * include/rpc/pmap_clnt.h: Likewise.
6814 * include/rpc/pmap_prot.h: Likewise.
6815 * include/rpc/pmap_rmt.h: Likewise.
6816 * include/rpc/rpc_msg.h: Likewise.
6817 * include/rpc/svc.h: Likewise.
6818 * include/rpc/svc_auth.h: Likewise.
6819 * include/rpc/xdr.h: Likewise.
6820 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6821 * nss/Makefile: Likewise.
6822 * sunrpc/Makefile: Don't install headers. Build library with normal
6823 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6824 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6825 for the compat linking library. Remove use of INTDEF/INTUSE.
6826 * sunrpc/auth_none.c: Likewise.
6827 * sunrpc/auth_unix.c: Likewise.
6828 * sunrpc/authdes_prot.c: Likewise.
6829 * sunrpc/authuxprot.c: Likewise.
6830 * sunrpc/clnt_gen.c: Likewise.
6831 * sunrpc/clnt_perr.c: Likewise.
6832 * sunrpc/clnt_raw.c: Likewise.
6833 * sunrpc/clnt_simp.c: Likewise.
6834 * sunrpc/clnt_tcp.c: Likewise.
6835 * sunrpc/clnt_udp.c: Likewise.
6836 * sunrpc/clnt_unix.c: Likewise.
6837 * sunrpc/des_crypt.c: Likewise.
6838 * sunrpc/des_soft.c: Likewise.
6839 * sunrpc/get_myaddr.c: Likewise.
6840 * sunrpc/key_call.c: Likewise.
6841 * sunrpc/key_prot.c: Likewise.
6842 * sunrpc/netname.c: Likewise.
6843 * sunrpc/pm_getmaps.c: Likewise.
6844 * sunrpc/pm_getport.c: Likewise.
6845 * sunrpc/pmap_clnt.c: Likewise.
6846 * sunrpc/pmap_prot.c: Likewise.
6847 * sunrpc/pmap_prot2.c: Likewise.
6848 * sunrpc/pmap_rmt.c: Likewise.
6849 * sunrpc/publickey.c: Likewise.
6850 * sunrpc/rpc_cmsg.c: Likewise.
6851 * sunrpc/rpc_common.c: Likewise.
6852 * sunrpc/rpc_dtable.c: Likewise.
6853 * sunrpc/rpc_prot.c: Likewise.
6854 * sunrpc/rpc_thread.c: Likewise.
6855 * sunrpc/rtime.c: Likewise.
6856 * sunrpc/svc.c: Likewise.
6857 * sunrpc/svc_auth.c: Likewise.
6858 * sunrpc/svc_authux.c: Likewise.
6859 * sunrpc/svc_raw.c: Likewise.
6860 * sunrpc/svc_run.c: Likewise.
6861 * sunrpc/svc_simple.c: Likewise.
6862 * sunrpc/svc_tcp.c: Likewise.
6863 * sunrpc/svc_udp.c: Likewise.
6864 * sunrpc/svc_unix.c: Likewise.
6865 * sunrpc/svcauth_des.c: Likewise.
6866 * sunrpc/xcrypt.c: Likewise.
6867 * sunrpc/xdr.c: Likewise.
6868 * sunrpc/xdr_array.c: Likewise.
6869 * sunrpc/xdr_float.c: Likewise.
6870 * sunrpc/xdr_intXX_t.c: Likewise.
6871 * sunrpc/xdr_mem.c: Likewise.
6872 * sunrpc/xdr_rec.c: Likewise.
6873 * sunrpc/xdr_ref.c: Likewise.
6874 * sunrpc/xdr_sizeof.c: Likewise.
6875 * sunrpc/xdr_stdio.c: Likewise.
6877 2011-04-10 Ulrich Drepper <drepper@gmail.com>
6880 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6881 * sysdeps/ia64/dl-tls.h: Likewise.
6882 * sysdeps/powerpc/dl-tls.h: Likewise.
6883 * sysdeps/s390/dl-tls.h: Likewise.
6884 * sysdeps/sh/dl-tls.h: Likewise.
6885 * sysdeps/sparc/dl-tls.h: Likewise.
6886 * sysdeps/x86_64/dl-tls.h: Likewise.
6887 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6889 2011-03-14 Andreas Schwab <schwab@redhat.com>
6891 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6892 rpath element also skip the following colon.
6893 (expand_dynamic_string_token): Add is_path parameter and pass
6894 down to DL_DST_REQUIRED and _dl_dst_substitute.
6895 (decompose_rpath): Call expand_dynamic_string_token with
6896 non-zero is_path. Ignore empty rpaths.
6897 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6900 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6905 2011-04-09 Ulrich Drepper <drepper@gmail.com>
6908 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6909 Patch by Filipe David Manana <fdmanana@apache.org>.
6911 2011-04-07 Andreas Schwab <schwab@redhat.com>
6913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6914 Maintain aligned stack.
6915 (CHECK_RSP): Remove unused macro.
6917 2011-04-03 Ulrich Drepper <drepper@gmail.com>
6919 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6920 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6922 2011-04-02 Ulrich Drepper <drepper@gmail.com>
6924 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6926 * include/features.h: Mention __USE_XOPEN2K8 in comment.
6928 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6931 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6932 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6933 * sysdeps/x86_64/memmove.c: New file.
6934 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6935 (memcpy): Renamed to ...
6936 (__new_memcpy): This.
6937 (memcpy): Provide GLIBC_2_14 memcpy.
6938 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6939 (memcpy): Provide GLIBC_2_2_5 memcpy.
6941 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6944 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6946 2011-03-30 Andreas Schwab <schwab@redhat.com>
6948 * misc/syncfs.c: New file.
6949 * misc/Makefile (routines): Add syncfs.
6950 * posix/unistd.h: Declare syncfs.
6951 * sysdeps/unix/syscalls.list: Add syncfs.
6953 2011-04-01 Andreas Schwab <schwab@redhat.com>
6955 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6957 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6958 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6959 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6960 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6962 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6965 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6967 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6968 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6969 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6971 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6973 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6975 * io/Makefile: Compile fallocate.c, fallocate64.c, and
6976 sync_file_range.c with -fexceptions.
6977 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6978 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6979 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6980 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6981 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6982 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6983 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
6984 sync_file_range as cancellation point
6985 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
6986 now a wrapper around __call_sync_file_range with cancellation handling.
6987 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6988 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
6989 function name to __call_sync_file_range.
6990 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6991 Add call_sync_file_range.
6993 2011-04-01 Andreas Schwab <schwab@redhat.com>
6995 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6998 2011-04-01 Ulrich Drepper <drepper@gmail.com>
7000 * iconv/iconv.h: Fix typo in comment.
7001 * io/fcntl.h: Likewise.
7002 * libio/stdio.h: Likewise.
7003 * posix/spawn.h: Likewise.
7004 * posix/unistd.h: Likewise.
7005 * stdlib/stdlib.h: Likewise.
7006 * time/time.h: Likewise.
7007 * wcsmbs/wchar.h: Likewise.
7009 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
7010 open_by_handle): Add.
7011 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
7012 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
7013 Augment a few comments.
7014 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
7015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7016 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7017 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7019 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
7022 * io/fcntl.h (AT_EMPTY_PATH): Define.
7024 2011-03-30 Ulrich Drepper <drepper@gmail.com>
7026 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
7027 * sysdeps/unix/sysv/linux/bits/time.h: New file.
7028 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
7030 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
7031 * Versions.def: Add GLIBC_2.14.
7032 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
7035 2011-03-22 Ulrich Drepper <drepper@gmail.com>
7037 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
7039 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7041 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
7044 * string/test-strncmp.c (do_page_test): New function.
7046 (test_main): Call check2.
7047 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
7049 2011-03-20 Ulrich Drepper <drepper@gmail.com>
7052 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
7053 Handle cache information in CPU leaf 4.
7054 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
7056 2011-03-18 Ulrich Drepper <drepper@gmail.com>
7059 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
7060 character representation.
7061 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
7063 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
7065 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
7066 END(__isnan) to END(__isnanf) to match function entry point/label
7067 EALIGN(__isnanf,...).
7069 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7071 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7073 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7076 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7077 copy from the symbol referenced in the relocation to initialize the
7079 Patch by Piotr Bury <pbury@goahead.com>.
7080 * elf/Makefile: Add rules to build and tst-unique3.
7081 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7082 * elf/tst-unique3.cc: New file.
7083 * elf/tst-unique3.h: New file.
7084 * elf/tst-unique3lib.cc: New file.
7085 * elf/tst-unique3lib2.cc: New file.
7087 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7089 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7091 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7092 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7095 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7097 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7098 to-be-loaded object along a path to loader is ld.so.
7100 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7101 Ulrich Drepper <drepper@gmail.com>
7103 * sysdeps/x86_64/memset.S: After aligning destination, code
7104 branches to different locations depending on the value of
7105 misalignment, when multiarch is enabled. Fix this.
7107 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7109 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7110 Set _x86_64_preferred_memory_instruction for AMD processsors.
7111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7112 Set bit_Prefer_SSE_for_memop for AMD processors.
7114 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7116 * libio/fmemopen.c (fmemopen): Optimize a bit.
7118 2011-03-03 Andreas Schwab <schwab@redhat.com>
7120 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7122 2011-03-03 Roland McGrath <roland@redhat.com>
7124 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7126 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7128 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7129 __bzero_ultra1 instead of __memset_ultra1.
7131 2011-02-23 Andreas Schwab <schwab@redhat.com>
7132 Ulrich Drepper <drepper@gmail.com>
7135 * include/link.h (struct link_map): Add l_orig_initfini.
7136 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7137 returning unsuccessfully.
7138 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7139 close of a file loaded at startup, restore the original l_initfini
7141 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7142 list, store the pointer.
7143 * elf/Makefile ($(objpfx)noload-mem): New rule.
7144 (noload-ENV): Define.
7145 (tests): Add $(objpfx)noload-mem.
7146 * elf/noload.c: Include <memcheck.h>.
7147 (main): Call mtrace. Close all opened handles.
7149 2011-02-17 Andreas Schwab <schwab@redhat.com>
7152 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7153 dependencies are missing.
7155 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7157 Fix __if_freereq crash: Unlike the generic version which uses free,
7159 * sysdeps/mach/hurd/ifreq.h: New file.
7161 2011-01-27 Petr Baudis <pasky@suse.cz>
7162 Ulrich Drepper <drepper@gmail.com>
7165 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7167 * stdio-common/bug23.c: New file.
7168 * stdio-common/Makefile (tests): Add bug23.
7170 2010-09-28 Andreas Schwab <schwab@redhat.com>
7171 Ulrich Drepper <drepper@gmail.com>
7174 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7175 before performing relro protection. At old place add assertion
7176 to make sure nothing changed.
7178 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7179 Glauber de Oliveira Costa <glommer@gmail.com>
7181 * elf/elf.h: Add new ARM TLS relocs.
7183 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7186 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7188 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7190 * sysdeps/wordsize-64/tst-writev.c: New file.
7192 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7194 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7195 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7196 insns in _dl_start to prevent a TOC reference before relocs are
7199 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7202 * Makeconfig: Remove RANLIB definition.
7203 * Makerules: Don't use RANLIB.
7204 * aclocal.m4: Remove ranlib test.
7205 * configure.in: No need to check for ranlib.
7206 * elf/rtld-Rules: Don't use RANLIB.
7208 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7210 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7212 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7213 inclusion protection macro.
7215 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7216 SIGRTMIN and SIGRTMAX and print information in that case only when
7217 SIGRTMIN is defined.
7219 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7221 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7222 arginfo fn returning -1.
7224 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7225 and thousands string is zero terminated.
7227 2011-02-03 Andreas Schwab <schwab@redhat.com>
7229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7230 sysdeps/unix/sysv/linux/bits/socket.h.
7232 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7234 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7235 (__CPU_COUNT): Remove old macros.
7236 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7237 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7238 (__CPU_ALLOC, __CPU_FREE): Add macros.
7239 (__sched_cpualloc, __sched_cpufree): Add declarations.
7241 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7243 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7244 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7245 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7246 (readdhstai): Return value of addhstaiX call.
7247 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7248 (addgrbyX): Return value returned by cache_addgr.
7249 (readdgrbyname): Return value returned by addgrbyX.
7250 (readdgrbygid): Likewise.
7251 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7252 (addpwbyX): Return value returned by cache_addpw.
7253 (readdpwbyname): Return value returned by addhstbyX.
7254 (readdpwbyuid): Likewise.
7255 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7256 (addservbyX): Return value returned by cache_addserv.
7257 (readdservbyname): Return value returned by addservbyX:
7258 (readdservbyport): Likewise.
7259 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7260 (addhstbyX): Return value returned by cache_addhst.
7261 (readdhstbyname): Return value returned by addhstbyX.
7262 (readdhstbyaddr): Likewise.
7263 (readdhstbynamev6): Likewise.
7264 (readdhstbyaddrv6): Likewise.
7265 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7266 (readdinitgroups): Return value returned by addinitgroupsX.
7267 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7268 (prune_cache): Keep track of timeout value of re-added entries.
7269 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7270 * nscd/nscd.h: Adjust prototypes of readd* functions.
7272 2011-02-04 Roland McGrath <roland@redhat.com>
7274 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7275 (nis_stats): Likewise.
7276 * nis/nis_modify.c (nis_modify): Likewise.
7277 * nis/nis_remove.c (nis_remove): Likewise.
7278 * nis/nis_add.c (nis_add): Likewise.
7280 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7282 * posix/fnmatch_loop.c: Add some consts.
7284 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7286 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7289 * config.make.in (config-cflags-novzeroupper): Define.
7290 * configure.in: Substitute libc_cv_cc_novzeroupper.
7291 * elf/Makefile (AVX-CFLAGS): Define.
7292 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7293 (CFLAGS-tst-auditmod4a.c): Likewise.
7294 (CFLAGS-tst-auditmod4b.c): Likewise.
7295 (CFLAGS-tst-auditmod6b.c): Likewise.
7296 (CFLAGS-tst-auditmod6c.c): Likewise.
7297 (CFLAGS-tst-auditmod7b.c): Likewise.
7298 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7300 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7302 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7303 function to the callback.
7304 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7306 2011-02-02 Andreas Schwab <schwab@redhat.com>
7308 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7311 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7314 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7316 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7318 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7321 * elf/Makefile: Add rules to build and run new test.
7322 * elf/tst-initorder.c: New file.
7323 * elf/tst-initorder.exp: New file.
7324 * elf/tst-initordera1.c: New file.
7325 * elf/tst-initordera2.c: New file.
7326 * elf/tst-initordera3.c: New file.
7327 * elf/tst-initordera4.c: New file.
7328 * elf/tst-initorderb1.c: New file.
7329 * elf/tst-initorderb2.c: New file.
7330 * elf/tst-order-a1.c: New file.
7331 * elf/tst-order-a2.c: New file.
7332 * elf/tst-order-a3.c: New file.
7333 * elf/tst-order-a4.c: New file.
7334 * elf/tst-order-b1.c: New file.
7335 * elf/tst-order-b2.c: New file.
7336 * elf/tst-order-main.c: New file.
7337 New test case by George Gensure <werkt0@gmail.com>.
7339 2010-10-01 Andreas Schwab <schwab@redhat.com>
7341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7342 decoding ACE if AI_CANONIDN.
7344 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7346 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7348 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7350 * version.h (RELEASE): Bump for 2.13 release.
7351 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7353 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7355 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7357 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7358 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7359 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7360 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7361 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7362 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7364 * posix/getconf.c: Update copyright year.
7365 * catgets/gencat.c: Likewise.
7366 * csu/version.c: Likewise.
7367 * debug/catchsegv.sh: Likewise.
7368 * debug/xtrace.sh: Likewise.
7369 * elf/ldconfig.c: Likewise.
7370 * elf/ldd.bash.in: Likewise.
7371 * elf/sprof.c (print_version): Likewise.
7372 * iconv/iconv_prog.c: Likewise.
7373 * iconv/iconvconfig.c: Likewise.
7374 * locale/programs/locale.c: Likewise.
7375 * locale/programs/localedef.c: Likewise.
7376 * malloc/memusage.sh: Likewise.
7377 * malloc/mtrace.pl: Likewise.
7378 * nscd/nscd.c (print_version): Likewise.
7379 * nss/getent.c: Likewise.
7381 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7382 PF_CAIF, and PF_ALG.
7383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7385 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7387 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7388 (modules-names): Use them.
7389 (ifunc-test-modules, ifunc-pie-tests): Define.
7390 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7391 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7392 (test-extras): Likewise.
7393 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7394 $(compile-command.c).
7395 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7396 (all-built-dso): Define.
7397 (check-textrel.out, check-execstack.out): Depend on it.
7399 * configure.in: Don't override --enable-multi-arch.
7401 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7404 * nscd/hstcache.c (tryagain): Define.
7405 (cache_addhst): Return tryagain not notfound for temporary errors.
7406 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7409 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7412 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7413 to make the syscall.
7414 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7417 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7418 and fall back to matching as normal character if the string ends before
7419 the matching ']' is found. This is what POSIX requires.
7420 * posix/testfnm.c: Adjust test result.
7421 * posix/globtest.sh: Adjust test result. Add new test.
7422 * posix/tst-fnmatch.input: Likewise.
7423 * posix/tst-fnmatch2.c: Add new test.
7425 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7427 * elf/Makefile (check-execstack): Revert last change. Depend on
7429 (check-execstack.h): New target.
7430 (generated): Add check-execstack.h.
7431 * elf/check-execstack.c: Include "check-execstack.h".
7432 (main): Revert last change.
7433 (handle_file): Return zero if GNU_STACK is absent and
7434 DEFAULT_STACK_PERMS doesn't include PF_X.
7436 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7438 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7439 in child fails because the descriptor is already closed.
7440 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7441 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7442 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7445 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7449 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7450 temporary buffer used to handle multi lookups locally.
7451 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7453 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7455 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7458 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7460 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7463 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7466 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7467 characters. When rounding increased number of integer digits recompute
7469 * stdio-common/tst-grouping.c: New file.
7470 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7472 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7474 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7475 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7477 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7479 * bits/select.h: Likewise.
7481 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7483 * po/ja.po: Update from translation team.
7485 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7488 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7489 implementation just like for lxstat, fxstatat, et al.
7491 2010-12-27 Jim Meyering <meyering@redhat.com>
7494 * posix/regexec.c (build_trtable): Return failure indication upon
7495 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7497 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7500 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7501 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7502 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7503 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7506 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7509 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7510 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7512 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7514 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7515 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7516 script has SORT_BY_INIT_PRIORITY.
7517 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7518 NO_CTORS_DTORS_SECTIONS is defined.
7519 * elf/soinit.c: Likewise.
7520 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7521 NO_CTORS_DTORS_SECTIONS is defined.
7522 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7523 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7524 * sysdeps/sh/init-first.c: Likewise.
7525 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7527 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7529 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7530 always use the slow path.
7532 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7534 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7535 similar rule which adds the sysdep directories to the header search in
7536 order to pick up the correct platform stackinfo.h.
7537 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7538 perform test if it is, otherwise return successfully without testing.
7539 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7540 DEFAULT_STACK_PERMS define in stackinfo.h.
7541 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7542 defined in stackinfo.h.
7543 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7544 DEFAULT_STACK_PERMS defined in stackinfo.h.
7545 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7546 * sysdeps/ia64/stackinfo.h: Likewise.
7547 * sysdeps/s390/stackinfo.h: Likewise.
7548 * sysdeps/sh/stackinfo.h: Likewise.
7549 * sysdeps/sparc/stackinfo.h: Likewise.
7550 * sysdeps/x86_64/stackinfo.h: Likewise.
7551 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7552 PF_X for powerpc64. Retain PF_X for powerpc32.
7554 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7556 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7558 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7559 GETDENTS_64BIT_ALIGNED.
7561 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7563 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7565 2010-12-10 Andreas Schwab <schwab@redhat.com>
7567 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7570 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7571 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7573 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7574 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7576 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7579 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7582 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7584 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7586 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7588 * po/it.po: Update from translation team.
7590 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7595 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7597 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7599 2010-11-24 Andreas Schwab <schwab@redhat.com>
7601 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7603 (gaih_getanswer_slice): Likewise.
7605 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7609 2010-05-31 Petr Baudis <pasky@suse.cz>
7612 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7613 silently even in the chroot mode.
7615 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7617 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7618 last patch a bit. Pretty printing
7620 2010-05-31 Petr Baudis <pasky@suse.cz>
7623 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7624 initialization of skip_initgroups_dyn.
7626 2010-11-19 Ulrich Drepper <drepper@gmail.com>
7628 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7629 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7631 2010-11-16 Ulrich Drepper <drepper@gmail.com>
7633 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7635 2010-11-11 Andreas Schwab <schwab@redhat.com>
7637 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7638 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7639 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7640 ($(objpfx)tst-fnmatch-mem): New rule.
7641 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7642 * posix/tst-fnmatch.c (main): Call mtrace.
7644 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7647 Support Intel processor model 6 and model 0x2c.
7649 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
7651 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7654 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7657 * string/test-strncasecmp.c (check_result): New function.
7658 (do_one_test): Use it.
7659 (check1): New function.
7660 (test_main): Use it.
7661 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7662 Support strcasecmp and strncasecmp.
7664 2010-11-08 Ulrich Drepper <drepper@gmail.com>
7667 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7668 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7670 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7672 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7676 * sysdeps/x86_64/multiarch/bzero.S: New file.
7677 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7678 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7679 * sysdeps/x86_64/multiarch/memset.S: New file.
7680 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7682 Set bit_Prefer_SSE_for_memop for Intel processors.
7683 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7685 (index_Prefer_SSE_for_memop): Define.
7686 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7688 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
7690 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7691 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7693 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7696 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7697 (__x86_64_raw_data_cache_size_half): Likewise.
7698 (__x86_64_raw_shared_cache_size): Likewise.
7699 (__x86_64_raw_shared_cache_size_half): Likewise.
7701 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7702 (__x86_64_raw_data_cache_size_half): Likewise.
7703 (__x86_64_raw_shared_cache_size): Likewise.
7704 (__x86_64_raw_shared_cache_size_half): Likewise.
7705 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7706 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7707 and __x86_64_raw_shared_cache_size_half. Round
7708 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7709 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7710 to multiple of 256 bytes.
7712 2010-11-03 Ulrich Drepper <drepper@gmail.com>
7715 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7716 of inacessible symlinks. Verify result of symlink before returning it.
7717 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7718 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7720 2010-10-28 Erich Ritz <erichritz@gmail.com>
7722 * math/math.h (isinf): Fix typo in comment.
7724 2010-11-01 Ulrich Drepper <drepper@gmail.com>
7726 * po/da.po: Update from translation team.
7728 2010-10-26 Ulrich Drepper <drepper@gmail.com>
7730 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7731 is added to the list.
7733 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7734 Ulrich Drepper <drepper@gmail.com>
7736 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7737 the global list here. Move code to...
7738 (_dl_add_to_namespace_list): ...here. New function.
7739 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7740 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7741 * elf/dl-load.c (lose): Don't remove the element from the list.
7742 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7743 (_dl_map_object): Likewise.
7745 2010-10-25 Ulrich Drepper <drepper@gmail.com>
7748 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7749 into all bytes of SSE register.
7750 Patch by Richard Li <richardpku@gmail.com>.
7752 2010-10-24 Ulrich Drepper <drepper@gmail.com>
7755 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7758 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7760 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7761 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7762 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7763 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7768 2010-10-22 Andreas Schwab <schwab@redhat.com>
7770 * include/dlfcn.h (__RTLD_SECURE): Define.
7771 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7772 mode & __RTLD_SECURE instead.
7773 (open_path): Rename preloaded parameter to secure.
7774 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7775 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7776 * elf/dl-deps.c (openaux): Likewise.
7777 * elf/rtld.c (struct map_args): Remove is_preloaded.
7778 (map_doit): Don't use it.
7779 (dl_main): Likewise.
7780 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7781 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7783 2010-09-09 Andreas Schwab <schwab@redhat.com>
7785 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7786 (sysd-rules-targets): Remove duplicates.
7787 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7788 rtld-%.$o dependency.
7790 2010-10-18 Andreas Schwab <schwab@redhat.com>
7792 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7793 _dl_map_object do it.
7795 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7797 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7798 fast fma builtins, define the macros in the C99 standard.
7799 (FP_FAST_FMAF): Likewise.
7800 (FP_FAST_FMAL): Likewise.
7801 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7803 * bits/mathdef.h: Update copyright year.
7804 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7806 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7808 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7809 builtins, define the macros in the C99 standard.
7810 (FP_FAST_FMAF): Likewise.
7811 (FP_FAST_FMAL): Likewise.
7812 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7814 (FP_FAST_FMAF): Likewise.
7816 2010-10-15 Jakub Jelinek <jakub@redhat.com>
7819 * math/libm-test.inc (fma_test): Some new testcases.
7820 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7821 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7822 y and infinite z. Do multiplication by C already in long double.
7823 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7825 y and infinite z. Do bitwise or of inexact bit into u.d.
7826 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7827 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7828 * sysdeps/i386/fpu/s_fma.S: Removed.
7829 * sysdeps/i386/fpu/s_fmal.S: Removed.
7831 2010-10-16 Jakub Jelinek <jakub@redhat.com>
7834 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7836 computation is not scheduled after fetestexcept. Fix value
7837 of minimum denormal long double.
7839 2010-10-14 Jakub Jelinek <jakub@redhat.com>
7842 * math/libm-test.inc (fma_test): Add some more tests.
7843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7846 2010-10-15 Andreas Schwab <schwab@redhat.com>
7848 * scripts/data/localplt-s390-linux-gnu.data: New file.
7849 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7851 2010-10-13 Jakub Jelinek <jakub@redhat.com>
7854 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7855 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7857 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7859 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7861 if one of x and y is very large and the other is subnormal.
7862 * sysdeps/s390/fpu/s_fmaf.c: New file.
7863 * sysdeps/s390/fpu/s_fma.c: New file.
7864 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7865 * sysdeps/powerpc/fpu/s_fma.S: New file.
7866 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7867 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7868 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7870 2010-10-12 Jakub Jelinek <jakub@redhat.com>
7873 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7875 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7876 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7877 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7878 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7879 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7880 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7883 2010-10-12 Ulrich Drepper <drepper@redhat.com>
7886 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7887 * posix/bug-regex31.input: Add test case.
7889 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7891 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7892 * posix/bug-regex31.input: New file.
7895 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7896 (parse_sub_exp): Fix last change, use postorder.
7898 * posix/bug-regex31.c: New file.
7899 * posix/Makefile: Add rules to build and run bug-regex31.
7901 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7904 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7907 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7908 to have entries in sys_siglist.
7911 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7914 2010-10-07 Jakub Jelinek <jakub@redhat.com>
7917 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7918 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7919 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7920 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7921 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7922 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7923 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7924 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7925 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7926 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7927 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7928 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7929 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7930 * math/ftestexcept.c (fetestexcept): Likewise.
7931 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7932 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7933 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7934 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7935 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7936 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7937 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7939 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7942 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7945 2010-10-06 Ulrich Drepper <drepper@gmail.com>
7947 * string/bug-strstr1.c: New file.
7948 * string/Makefile: Add rules to build and run bug-strstr1.
7950 2010-10-05 Eric Blake <eblake@redhat.com>
7953 * string/str-two-way.h (two_way_long_needle): Always clear memory
7954 when skipping input due to the shift table.
7956 2010-10-03 Ulrich Drepper <drepper@gmail.com>
7959 * malloc/mcheck.c: Handle large requests.
7962 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7963 for strncmp and strncasecmp.
7964 * string/stratcliff.c: Add tests for strcmp and strncmp.
7965 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7967 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7969 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7972 2010-09-30 Andreas Jaeger <aj@suse.de>
7974 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7975 (CGROUP_SUPER_MAGIC): Define.
7976 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7977 Handle btrfs and cgroup file systems.
7978 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7981 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
7983 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7984 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7986 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7989 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7990 trying to locate the ELF header.
7992 2010-09-27 Andreas Schwab <schwab@redhat.com>
7995 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7996 Mask out sign-bit copies when constructing f_fsid.
7998 2010-09-24 Petr Baudis <pasky@suse.cz>
8000 * debug/stack_chk_fail_local.c: Add missing licence exception.
8001 * debug/warning-nop.c: Likewise.
8003 2010-09-15 Joseph Myers <joseph@codesourcery.com>
8005 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
8006 implementing getdents64 using getdents syscall, set d_type if
8007 __ASSUME_GETDENTS32_D_TYPE.
8009 2010-09-16 Andreas Schwab <schwab@redhat.com>
8011 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
8012 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
8014 2010-09-21 Ulrich Drepper <drepper@redhat.com>
8017 * posix/unistd.h: Undo change of feature selection for ftruncate from
8020 2010-09-20 Ulrich Drepper <drepper@redhat.com>
8022 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8025 2010-09-20 Andreas Schwab <schwab@redhat.com>
8027 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
8029 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8031 2010-09-14 Andreas Schwab <schwab@redhat.com>
8033 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
8034 variables after CHECK_SP call.
8035 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
8037 2010-09-13 Andreas Schwab <schwab@redhat.com>
8038 Ulrich Drepper <drepper@redhat.com>
8040 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
8041 re-relocationg ld.so.
8042 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
8043 _dl_init_paths call.
8044 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
8047 2010-09-14 Ulrich Drepper <drepper@redhat.com>
8049 * resolv/res_init.c (__res_vinit): Count the default server we added.
8051 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
8052 Ulrich Drepper <drepper@redhat.com>
8055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8056 (____longjmp_chk): Use %ebx for saving value across system call.
8059 2010-09-06 Andreas Schwab <schwab@redhat.com>
8061 * manual/Makefile: Don't mix pattern rules with normal rules.
8063 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
8065 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
8067 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
8068 * libio/iofopncook.c (_IO_cookie_init): Likewise.
8069 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8070 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8071 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8074 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8077 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8078 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8080 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8082 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8083 * sysdeps/x86_64/addmul_1.S: Likewise.
8084 * sysdeps/x86_64/lshift.S: Likewise.
8085 * sysdeps/x86_64/mul_1.S: Likewise.
8086 * sysdeps/x86_64/rshift.S: Likewise.
8087 * sysdeps/x86_64/sub_n.S: Likewise.
8088 * sysdeps/x86_64/submul_1.S: Likewise.
8090 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8092 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8093 Define __sched_param instead of SCHED_* and sched_param when
8094 <bits/sched.h> is included with __need_schedparam defined.
8095 * bits/sched.h [__need_schedparam]
8096 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8097 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8098 (__defined_schedparam): Define to 1.
8099 (__sched_param): New structure, identical to sched_param.
8100 (__need_schedparam): Undefine.
8102 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8104 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8105 (epoll_create1): Declare.
8107 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8109 2010-08-31 Andreas Schwab <schwab@redhat.com>
8112 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8113 shifting retval into place.
8115 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8117 * nis/rpcsvc/nis.h: Update copyright notice.
8118 * nis/rpcsvc/nis.x: Likewise.
8119 * nis/rpcsvc/nis_callback.h: Likewise.
8120 * nis/rpcsvc/nis_callback.x: Likewise.
8121 * nis/rpcsvc/nis_object.x: Likewise.
8122 * nis/rpcsvc/nis_tags.h: Likewise.
8123 * nis/rpcsvc/yp.h: Likewise.
8124 * nis/rpcsvc/yp.x: Likewise.
8125 * nis/rpcsvc/ypupd.h: Likewise.
8126 * nis/yp_xdr.c: Likewise.
8127 * nis/ypupdate_xdr.c: Likewise.
8129 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8130 mainly the body of pmap_getport. Add parameters to specify timeouts.
8131 (pmap_getport): Use __libc_rpc_getport.
8132 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8133 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8134 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8136 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8141 2010-08-27 Roland McGrath <roland@redhat.com>
8143 * sysdeps/i386/i686/multiarch/Makefile
8144 (CFLAGS-varshift.c): New variable.
8146 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8148 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8149 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8153 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8155 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8157 * sysdeps/x86_64/strlen.S: Unroll the loop.
8158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8159 strlen-sse2 strlen-sse2-bsf.
8160 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8161 __strlen_no_bsf if bit_Slow_BSF is set.
8162 (__strlen_sse42): Removed.
8163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8164 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8166 2010-08-25 Roland McGrath <roland@redhat.com>
8168 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8169 * sysdeps/x86_64/multiarch/varshift.c: New file.
8170 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8171 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8172 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8173 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8175 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8178 strlen-sse2 strlen-sse2-bsf.
8179 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8180 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8181 (__strlen_sse2): Removed.
8182 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8184 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8185 bit_Slow_BSF for Atom.
8186 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8187 (index_Slow_BSF): Define.
8188 (HAS_SLOW_BSF): Define.
8190 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8193 * resolv/res_init.c (__res_vinit): When no server address at all
8194 is given default to loopback.
8196 2010-08-24 Roland McGrath <roland@redhat.com>
8198 * configure.in: Remove config-name.h generation.
8199 * configure: Regenerated.
8200 * config-name.in: File removed.
8201 * scripts/config-uname.sh: New file.
8202 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8203 ($(objdir)config-name.h): New target.
8205 * sunrpc/rpc_parse.h: Avoid nested comment.
8207 2010-08-24 Richard Henderson <rth@redhat.com>
8208 Ulrich Drepper <drepper@redhat.com>
8209 H.J. Lu <hongjiu.lu@intel.com>
8211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8213 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8214 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8215 _mm_alignr_epi8 with _mm_loadu_si128.
8216 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8217 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8218 (__m128i_shift_right): Removed.
8219 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8220 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8221 * sysdeps/x86_64/multiarch/varshift.h: New file.
8222 * sysdeps/x86_64/multiarch/varshift.S: New file.
8224 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8226 * configure.in: Move assembler checks to before sysdep dir checking.
8228 2010-08-20 Petr Baudis <pasky@suse.cz>
8230 * LICENSES: Sync the sunrpc license.
8232 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8234 * sunrpc/auth_des.c: Update copyright notice once again.
8235 * sunrpc/auth_none.c: Likewise.
8236 * sunrpc/auth_unix.c: Likewise.
8237 * sunrpc/authdes_prot.c: Likewise.
8238 * sunrpc/authuxprot.c: Likewise.
8239 * sunrpc/bindrsvprt.c: Likewise.
8240 * sunrpc/clnt_gen.c: Likewise.
8241 * sunrpc/clnt_perr.c: Likewise.
8242 * sunrpc/clnt_raw.c: Likewise.
8243 * sunrpc/clnt_simp.c: Likewise.
8244 * sunrpc/clnt_tcp.c: Likewise.
8245 * sunrpc/clnt_udp.c: Likewise.
8246 * sunrpc/clnt_unix.c: Likewise.
8247 * sunrpc/des_crypt.c: Likewise.
8248 * sunrpc/des_soft.c: Likewise.
8249 * sunrpc/get_myaddr.c: Likewise.
8250 * sunrpc/getrpcport.c: Likewise.
8251 * sunrpc/key_call.c: Likewise.
8252 * sunrpc/key_prot.c: Likewise.
8253 * sunrpc/openchild.c: Likewise.
8254 * sunrpc/pm_getmaps.c: Likewise.
8255 * sunrpc/pm_getport.c: Likewise.
8256 * sunrpc/pmap_clnt.c: Likewise.
8257 * sunrpc/pmap_prot.c: Likewise.
8258 * sunrpc/pmap_prot2.c: Likewise.
8259 * sunrpc/pmap_rmt.c: Likewise.
8260 * sunrpc/rpc/auth.h: Likewise.
8261 * sunrpc/rpc/auth_unix.h: Likewise.
8262 * sunrpc/rpc/clnt.h: Likewise.
8263 * sunrpc/rpc/des_crypt.h: Likewise.
8264 * sunrpc/rpc/key_prot.h: Likewise.
8265 * sunrpc/rpc/netdb.h: Likewise.
8266 * sunrpc/rpc/pmap_clnt.h: Likewise.
8267 * sunrpc/rpc/pmap_prot.h: Likewise.
8268 * sunrpc/rpc/pmap_rmt.h: Likewise.
8269 * sunrpc/rpc/rpc.h: Likewise.
8270 * sunrpc/rpc/rpc_des.h: Likewise.
8271 * sunrpc/rpc/rpc_msg.h: Likewise.
8272 * sunrpc/rpc/svc.h: Likewise.
8273 * sunrpc/rpc/svc_auth.h: Likewise.
8274 * sunrpc/rpc/types.h: Likewise.
8275 * sunrpc/rpc/xdr.h: Likewise.
8276 * sunrpc/rpc_clntout.c: Likewise.
8277 * sunrpc/rpc_cmsg.c: Likewise.
8278 * sunrpc/rpc_common.c: Likewise.
8279 * sunrpc/rpc_cout.c: Likewise.
8280 * sunrpc/rpc_dtable.c: Likewise.
8281 * sunrpc/rpc_hout.c: Likewise.
8282 * sunrpc/rpc_main.c: Likewise.
8283 * sunrpc/rpc_parse.c: Likewise.
8284 * sunrpc/rpc_parse.h: Likewise.
8285 * sunrpc/rpc_prot.c: Likewise.
8286 * sunrpc/rpc_sample.c: Likewise.
8287 * sunrpc/rpc_scan.c: Likewise.
8288 * sunrpc/rpc_scan.h: Likewise.
8289 * sunrpc/rpc_svcout.c: Likewise.
8290 * sunrpc/rpc_tblout.c: Likewise.
8291 * sunrpc/rpc_util.c: Likewise.
8292 * sunrpc/rpc_util.h: Likewise.
8293 * sunrpc/rpcinfo.c: Likewise.
8294 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8295 * sunrpc/rpcsvc/key_prot.x: Likewise.
8296 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8297 * sunrpc/rpcsvc/mount.x: Likewise.
8298 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8299 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8300 * sunrpc/rpcsvc/rex.x: Likewise.
8301 * sunrpc/rpcsvc/rstat.x: Likewise.
8302 * sunrpc/rpcsvc/rusers.x: Likewise.
8303 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8304 * sunrpc/rpcsvc/spray.x: Likewise.
8305 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8306 * sunrpc/rtime.c: Likewise.
8307 * sunrpc/svc.c: Likewise.
8308 * sunrpc/svc_auth.c: Likewise.
8309 * sunrpc/svc_authux.c: Likewise.
8310 * sunrpc/svc_raw.c: Likewise.
8311 * sunrpc/svc_run.c: Likewise.
8312 * sunrpc/svc_simple.c: Likewise.
8313 * sunrpc/svc_tcp.c: Likewise.
8314 * sunrpc/svc_udp.c: Likewise.
8315 * sunrpc/svc_unix.c: Likewise.
8316 * sunrpc/svcauth_des.c: Likewise.
8317 * sunrpc/xcrypt.c: Likewise.
8318 * sunrpc/xdr.c: Likewise.
8319 * sunrpc/xdr_array.c: Likewise.
8320 * sunrpc/xdr_float.c: Likewise.
8321 * sunrpc/xdr_mem.c: Likewise.
8322 * sunrpc/xdr_rec.c: Likewise.
8323 * sunrpc/xdr_ref.c: Likewise.
8324 * sunrpc/xdr_sizeof.c: Likewise.
8325 * sunrpc/xdr_stdio.c: Likewise.
8327 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8330 2010-08-19 Andreas Schwab <schwab@redhat.com>
8332 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8334 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8336 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8337 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8338 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8339 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8340 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8341 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8342 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8343 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8344 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8345 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8346 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8347 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8348 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8349 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8351 2010-07-26 Anton Blanchard <anton@samba.org>
8353 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8354 * malloc/arena.c (heap_trim): Likewise.
8356 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8358 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8360 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8361 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8363 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8365 * sysdeps/i386/elf/Makefile: New file.
8367 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8369 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8371 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8372 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8374 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8376 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8378 * sysdeps/multiarch/strcmp.S: Likewise.
8380 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8382 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8383 strncase_l-nonascii.
8384 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8385 Add strncase_l-ssse3.
8386 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8387 * sysdeps/x86_64/strcmp.S: Likewise.
8388 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8389 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8390 * sysdeps/x86_64/strncase.S: New file.
8391 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8392 * sysdeps/x86_64/strncase_l.S: New file.
8393 * string/Makefile (strop-tests): Add strncasecmp.
8394 * string/test-strncasecmp.c: New file.
8396 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8399 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8400 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8402 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8404 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8406 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8408 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8409 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8410 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8412 2010-05-01 Alan Modra <amodra@gmail.com>
8414 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8415 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8416 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8417 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8418 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8419 tidying. Don't tail-call __sigjmp_save for static lib.
8420 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8422 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8423 (CALL_MCOUNT): Add eh info, and nop after bl.
8424 (TAIL_CALL_SYSCALL_ERROR): New macro.
8425 (PSEUDO_RET): Use it.
8426 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8427 Correct save location of integer regs and cr.
8428 (_dl_profile_resolve): Correct cr save location. Delete nops
8429 after bl when SHARED. Reduce cfi size a little by better
8430 placement of cfi directives.
8431 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8432 make a stack frame. Instead use parm save area as a temp.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8434 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8436 Don't make a stack frame for parent, use parm save area.
8437 Increase child stack frame to 112 bytes. Don't save unused reg,
8438 and adjust reg usage. Set up cfi on error recovery and
8439 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8441 (__makecontext): Add dummy nop after jump to exit.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8443 Use correct parm save area and cr save, reduce stack frame.
8444 Correct cfi for possible PSEUDO_RET frame setup.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8446 Branch to local label emitted by PSEUDO_RET rather than
8449 2010-08-12 Andreas Schwab <schwab@redhat.com>
8452 * locale/programs/locale.c (print_assignment): New function.
8453 (show_locale_vars): Use it.
8455 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8457 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8459 (struct statfs64): Likewise.
8460 (_STATFS_F_FLAGS): Define.
8461 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8462 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8463 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8464 (ST_VALID): Define locally.
8465 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8466 __statvfs_getflags, use the provided value.
8467 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8468 __ASSUME_STATFS_F_FLAGS.
8470 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8472 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8474 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8475 fanotify_mask for GLIBC_2.13.
8476 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8477 fanotify_init and fanotify_mark.
8478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8479 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8481 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8483 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8484 prlimit64 for GLIBC_2.13.
8485 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8487 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8490 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8491 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8492 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8493 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8495 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8498 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8499 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8501 * nss/Makefile: Add rules to build and run tst-nss-test1.
8502 * shlib-versions: Add entry for libnss_test1.
8503 * nss/nss_test1.c: New file.
8504 * nss/tst-nss-test1.c: New file.
8506 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8507 (__nss_configure_lookup): Set appropriate entry in
8508 __nss_configure_lookup to true.
8509 * nss/nsswitch.h: Define enum with indeces of databases in
8510 databases and __nss_database_custom arrays. Declare
8511 __nss_database_custom.
8512 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8513 to avoid using nscd when custom rules are installed.
8514 * nss/getXXbyYY_r.c: Likewise.
8515 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8517 * nss/nss_files/files-parse.c: Whitespace fixes.
8519 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8522 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8523 * posix/fnmatch_loop.c: Likewise.
8525 2010-07-17 Andi Kleen <ak@linux.intel.com>
8527 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8528 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8529 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8530 * Versions.def [GLIBC_2.13]: Add.
8532 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8534 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8535 Also fail if tpwd after pwuid call is NULL.
8537 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8539 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8540 when converting to ms.
8542 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8544 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8545 EOPNOTSUPP errors with ENOTTY.
8546 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8547 EOPNOTSUPP errors with ENOTTY.
8549 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8551 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8552 Add strcasecmp_l-ssse3.
8553 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8555 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8556 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8557 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8559 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8561 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8563 * string/Makefile (strop-tests): Add strcasecmp.
8564 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8565 strcasecmp_l-nonascii.
8566 (gen-as-const-headers): Add locale-defines.sym.
8567 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8568 * sysdeps/x86_64/strcasecmp.S: New file.
8569 * sysdeps/x86_64/strcasecmp_l.S: New file.
8570 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8571 * sysdeps/x86_64/locale-defines.sym: New file.
8572 * string/test-strcasecmp.c: New file.
8574 * string/test-strcasestr.c: Test both ends of the range of characters.
8575 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8577 2010-07-29 Roland McGrath <roland@redhat.com>
8580 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8582 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8584 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8587 2010-07-27 Andreas Schwab <schwab@redhat.com>
8589 * manual/memory.texi (Malloc Tunable Parameters): Document
8592 2010-07-26 Roland McGrath <roland@redhat.com>
8595 * configure.in (-fgnu89-inline check): Set and substitute
8596 gnu89_inline, not libc_cv_gnu89_inline.
8597 * configure: Regenerated.
8598 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8600 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8602 * string/test-strnlen.c: New file.
8603 * string/Makefile (strop-tests): Add strnlen.
8604 * string/tester.c (test_strnlen): Add a few more test cases.
8605 * string/tst-strlen.c: Better error reporting.
8607 * sysdeps/x86_64/strnlen.S: New file.
8609 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8611 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8612 lower-latency instructions.
8614 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8616 * string/test-strcasestr.c: New file.
8617 * string/test-strstr.c: New file.
8618 * string/Makefile (strop-tests): Add strstr and strcasestr.
8619 * string/str-two-way.h: Don't undefine MAX.
8620 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8622 2010-07-21 Andreas Schwab <schwab@redhat.com>
8624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8625 strcasestr-nonascii.
8626 (CFLAGS-strcasestr-nonascii.c): Define.
8627 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8628 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8629 Remove unused attribute.
8631 2010-07-20 Roland McGrath <roland@redhat.com>
8633 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8634 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8635 ld.so.cache was broken. With it, there is no way to disable dsocaps
8636 like LD_HWCAP_MASK can disable hwcaps.
8638 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8640 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8642 2010-07-16 Ulrich Drepper <drepper@redhat.com>
8644 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8646 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8647 __strcasestr_sse42_nonascii.
8648 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8649 strcasestr-nonascii.c.
8650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8652 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
8654 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8655 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8656 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8657 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8659 2010-07-09 Ulrich Drepper <drepper@redhat.com>
8661 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8664 2010-07-06 Andreas Schwab <schwab@redhat.com>
8667 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8670 2010-07-06 Ulrich Drepper <drepper@redhat.com>
8672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8673 _PC_PIPE_BUF using F_GETPIPE_SZ.
8675 2010-07-05 Roland McGrath <roland@redhat.com>
8677 * manual/arith.texi (Rounding Functions): Fix rint description
8678 implicit in round description.
8680 2010-07-02 Ulrich Drepper <drepper@redhat.com>
8682 * elf/Makefile: Fix linking for a few tests to make recent linker
8685 2010-06-30 Andreas Schwab <schwab@redhat.com>
8687 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8688 $(common-objpfx)libc_nonshared.a.
8690 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
8692 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8693 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8694 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8695 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8696 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8697 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8698 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8699 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8714 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8715 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8716 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8717 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8718 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8719 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8720 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8721 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8722 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8723 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8724 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8725 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8741 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8743 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8744 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8745 * string/memmove.c (memmove): Renamed to ...
8746 (MEMMOVE): ...this. Default to memmove.
8747 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8748 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8751 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8752 mempcpy-ssse3-back memmove-ssse3-back.
8753 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8754 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8755 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8756 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8757 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8758 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8759 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8760 * sysdeps/x86_64/multiarch/memmove.c: New file.
8761 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8762 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8763 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8764 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8765 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8766 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8768 (index_Fast_Copy_Backward): Define.
8769 (HAS_ARCH_FEATURE): Define.
8770 (HAS_FAST_REP_STRING): Define.
8771 (HAS_FAST_COPY_BACKWARD): Define.
8773 2010-06-21 Andreas Schwab <schwab@redhat.com>
8775 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8776 Restore proper fallback handling.
8778 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8781 * posix/group_member.c (__group_member): Correct checking loop.
8783 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8784 OOM in getpwuid_r correctly. Return error number when the caller
8785 should return, otherwise -1.
8786 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8787 call returning > 0 value.
8788 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8790 2010-06-07 Andreas Schwab <schwab@redhat.com>
8792 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8793 libc_nonshared.a from targets in modules-names.
8795 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8797 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8800 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
8802 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8803 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8804 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8805 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8807 2010-06-02 Andreas Schwab <schwab@redhat.com>
8809 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8811 2010-06-14 Ulrich Drepper <drepper@redhat.com>
8813 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8815 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8817 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8819 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8822 2010-06-14 Roland McGrath <roland@redhat.com>
8824 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8826 2010-06-07 Jakub Jelinek <jakub@redhat.com>
8828 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8829 __REDIRECT followed by __THROW.
8830 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8831 * posix/getopt.h (getopt): Likewise.
8833 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8835 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8836 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8837 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8839 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8840 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8842 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
8844 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8846 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8850 Properly check family and model.
8852 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8854 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8856 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
8858 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8860 2010-05-21 Ulrich Drepper <drepper@redhat.com>
8862 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8865 2010-05-19 Andreas Schwab <schwab@redhat.com>
8867 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8870 2010-05-21 Andreas Schwab <schwab@redhat.com>
8872 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8873 and internal_recvmmsg.
8874 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8875 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8876 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8877 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8879 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8880 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8881 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8883 2010-05-20 Andreas Schwab <schwab@redhat.com>
8885 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8887 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
8889 POWER7 optimizations.
8890 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8891 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8893 2010-05-19 Ulrich Drepper <drepper@redhat.com>
8895 * version.h: Update for 2.13 development version.
8897 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
8899 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8900 exceptions. Return 0.
8902 2010-05-07 Roland McGrath <roland@redhat.com>
8904 * elf/ldconfig.c (main): Add a const.
8906 2010-05-06 Ulrich Drepper <drepper@redhat.com>
8908 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8909 (args_options): Add no-idn option.
8910 (ahosts_keys_int): Add idn_flags to ai_flags.
8911 (parse_option): Handle 'i' option to clear idn_flags.
8913 * malloc/malloc.c (_int_free): Possible race in the most recently
8914 added check. Only act on the data if no current modification
8917 See ChangeLog.17 for earlier changes.