1 2012-03-01 Kai Tietz <ktietz@redhat.com>
3 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7 * soft-fp/single.h (_FP_UNION_S): Likewise.
8 * soft-fp/double.h (_FP_UNION_D): Likewise.
10 2012-02-29 Joseph Myers <joseph@codesourcery.com>
13 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14 not include ../strcmp.S.
15 [USE_AS_STRNCASECMP_L]: Likewise.
16 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19 (__strncasecmp_l_ia32): Define as alias to
20 __strncasecmp_l_nonascii.
23 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24 * sysdeps/i386/fpu/libm-test-ulps: Update.
25 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30 2012-02-29 Jeff Law <law@redhat.com>
32 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35 2012-02-29 Marek Polacek <polacek@redhat.com>
38 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39 * elf/Makefile: Add rules to run tst-unused-dep.out.
41 2012-02-28 David S. Miller <davem@davemloft.net>
43 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50 2012-02-29 Joseph Myers <joseph@codesourcery.com>
52 * math/libm-test.inc (llround_test): Move one test from
53 lround_test. Use TEST_f_L in moved test.
54 (lround_test): Move misplaced test to llround_test. Add testcase
57 2012-02-28 Ulrich Drepper <drepper@gmail.com>
59 * sysdeps/x86_64/fpu/e_expf.S: New file.
60 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
65 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66 of remain_len that may cause incomplete multi-byte character and
68 * posix/bug-regex33.c: New file.
69 * posix/Makefile (tests): Add bug-regex33.
71 2012-02-28 Joseph Myers <joseph@codesourcery.com>
73 * manual/macros.texi: New file.
74 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
75 * manual/libc.texinfo: Include macros.texi.
76 * manual/creatute.texi: Likewise.
77 * manual/install.texi: Likewise.
78 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79 @glibcadj{} in references to the GNU C Library.
80 * manual/charset.texi: Likewise.
81 * manual/conf.texi: Likewise.
82 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
83 when not using those macros.
84 * manual/creature.texi: Likewise.
85 * manual/crypt.texi: Likewise.
86 * manual/errno.texi: Likewise.
87 * manual/filesys.texi: Likewise.
88 * manual/header.texi: Likewise.
89 * manual/install.texi: Likewise.
90 * manual/intro.texi: Likewise.
91 * manual/io.texi: Likewise.
92 * manual/job.texi: Likewise.
93 * manual/lang.texi: Likewise.
94 * manual/libc.texiinfo: Likewise.
95 * manual/llio.texi: Likewise.
96 * manual/locale.texi: Likewise.
97 * manual/maint.texi: Likewise.
98 * manual/math.texi: Likewise.
99 * manual/memory.texi: Likewise.
100 * manual/message.texi: Likewise.
101 * manual/nss.texi: Likewise.
102 * manual/pattern.texi: Likewise.
103 * manual/process.texi: Likewise.
104 * manual/resource.texi: Likewise.
105 * manual/search.texi: Likewise.
106 * manual/setjmp.texi: Likewise.
107 * manual/signal.texi: Likewise.
108 * manual/socket.texi: Likewise.
109 * manual/startup.texi: Likewise.
110 * manual/stdio.texi: Likewise.
111 * manual/string.texi: Likewise.
112 * manual/sysinfo.texi: Likewise.
113 * manual/syslog.texi: Likewise.
114 * manual/terminal.texi: Likewise.
115 * manual/time.texi: Likewise.
116 * manual/users.texi: Likewise.
117 * INSTALL: Regenerated.
118 * NOTES: Regenerated.
119 * sysdeps/gnu/errlist.c: Regenerated.
121 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
123 * include/dirent.h: Include <dirstream.h> before
126 2012-02-28 David S. Miller <davem@davemloft.net>
128 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
129 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
130 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
131 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
133 2012-02-27 David S. Miller <davem@davemloft.net>
135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
137 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
138 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
141 frame pointer instead of stack pointer relative arg slot.
142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
143 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
144 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
146 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
149 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
151 2012-02-27 David S. Miller <davem@davemloft.net>
153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
157 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
158 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
159 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
160 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
162 2012-02-27 Joseph Myers <joseph@codesourcery.com>
164 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
165 later. Allow versions 5-9.
166 * configure: Regenerated.
167 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
168 required minimum version and 4.6 as recommended version. Do not
169 mention bugs in GCC 2.7 and 2.8.
170 * INSTALL: Regenerated.
172 2012-02-27 David S. Miller <davem@davemloft.net>
174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
180 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
181 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
184 manipulate bits before adding and subtracting TWO112[sx].
185 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
187 2012-02-27 Roland McGrath <roland@hack.frob.com>
190 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
191 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
192 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
193 being in POSIX, because they are in 1003.1-2008.
195 * rt/tst-aio.c: Include <fcntl.h>.
196 * rt/tst-aio7.c: Likewise.
197 * rt/tst-aio64.c: Likewise.
199 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
201 2012-02-27 Joseph Myers <joseph@codesourcery.com>
203 * manual/install.texi (--with-headers): Describe headers as
204 interface headers, not private headers.
205 (Specific advice for GNU/Linux systems): Describe use of headers
206 from "make headers_install", not private headers from older
208 * INSTALL: Regenerated.
209 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
211 * sysdeps/unix/sysv/linux/configure: Regenerated.
213 * manual/llio.texi (fclean): Remove documentation.
215 * manual/Makefile (libc-texi-generated): New variable. Include
217 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
218 $(libc-texi-generated), not duplicated list of files.
219 (version.texi, stamp-version): New rules.
220 (realclean): Remove $(libc-texi-generated), not individual files
221 from that list. Do not remove dir-add.texinfo.
222 * manual/libc.texinfo: Comment out uses of edition numbers and
223 references to printed manual. Remove last-updated dates.
224 (EDITION): Comment out.
226 (VERSION, UPDATED): Remove.
227 (version.texi): Include.
229 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
231 * sysdeps/posix/spawni.c: Include <signal.h>.
232 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
233 * sysdeps/pthread/aio_fsync.c: Likewise.
235 2012-02-26 Ulrich Drepper <drepper@gmail.com>
237 * conform/Makefile (tests): Run only when not cross-compiling and
238 when fast-check is not defined.
240 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
241 * conform/data/limits.h-data: Fixes for POSIX2008.
242 * conform/run-conformtest.sh: Run all tests.
243 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
245 * include/bits/dlfcn.h: Likewise.
246 * include/langinfo.h: Likewise.
247 * include/monetary.h: Likewise.
248 * include/sys/poll.h: Likewise.
250 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
252 * posix/spawn.h: Define __need_sigset_t.
253 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
254 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
255 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
256 to get sigevent_t only.
257 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
260 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
261 process_vm_writev only for __USE_GNU.
262 * termios/termios.h: Declare tcgetsid also for POSIX2008.
264 * conform/Makefile: For now ignore errors from run-conformtest.
265 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
266 POSIX to avoid namespace pollution. Don't prepend headers.
267 * conform/data/aio.h-data: Fixes for POSIX testing.
268 * conform/data/fcntl.h-data: Likewise.
269 * conform/data/glob.h-data: Likewise.
270 * conform/data/grp.h-data: Likewise.
271 * conform/data/pthread.h-data: Likewise.
272 * conform/data/pwd.h-data: Likewise.
273 * conform/data/signal.h-data: Likewise.
274 * conform/data/spawn.h-data: Likewise.
275 * conform/data/stdio.h-data: Likewise.
276 * conform/data/stdlib.h-data: Likewise.
277 * conform/data/stropts.h-data: Likewise.
278 * conform/data/sys/mman.h-data: Likewise.
279 * conform/data/sys/stat.h-data: Likewise.
280 * conform/data/sys/types.h-data: Likewise.
281 * conform/data/sys/wait.h-data: Likewise.
282 * conform/data/time.h-data: Likewise.
283 * conform/data/unistd.h-data: Likewise.
284 * conform/data/utime.h-data: Likewise.
286 * io/sys/stat.h: fchmod was always in POSIX.
287 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
288 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
289 * rt/aio.h: Define __need_timespec before including <time.h>.
290 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
291 struct. Add forward declaration of pthread_attr_t and use it in
293 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
294 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
295 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
296 always remove CLK_TCK definition.
298 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
300 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
302 2012-02-25 Ulrich Drepper <drepper@gmail.com>
304 * conform/run-conformtest.sh: New file.
305 * conform/Makefile: Run run-conformtest for tests.
306 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
309 * conform/data/uchar.h-data: New file.
310 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
311 * conform/data/arpa/inet.h-data: Likewise.
312 * conform/data/assert.h-data: Likewise.
313 * conform/data/complex.h-data: Likewise.
314 * conform/data/cpio.h-data: Likewise.
315 * conform/data/ctype.h-data: Likewise.
316 * conform/data/dirent.h-data: Likewise.
317 * conform/data/dlfcn.h-data: Likewise.
318 * conform/data/errno.h-data: Likewise.
319 * conform/data/fcntl.h-data: Likewise.
320 * conform/data/float.h-data: Likewise.
321 * conform/data/fmtmsg.h-data: Likewise.
322 * conform/data/fnmatch.h-data: Likewise.
323 * conform/data/ftw.h-data: Likewise.
324 * conform/data/glob.h-data: Likewise.
325 * conform/data/grp.h-data: Likewise.
326 * conform/data/iconv.h-data: Likewise.
327 * conform/data/inttypes.h-data: Likewise.
328 * conform/data/langinfo.h-data: Likewise.
329 * conform/data/libgen.h-data: Likewise.
330 * conform/data/limits.h-data: Likewise.
331 * conform/data/locale.h-data: Likewise.
332 * conform/data/math.h-data: Likewise.
333 * conform/data/monetary.h-data: Likewise.
334 * conform/data/mqueue.h-data: Likewise.
335 * conform/data/ndbm.h-data: Likewise.
336 * conform/data/net/if.h-data: Likewise.
337 * conform/data/netdb.h-data: Likewise.
338 * conform/data/netinet/in.h-data: Likewise.
339 * conform/data/nl_types.h-data: Likewise.
340 * conform/data/poll.h-data: Likewise.
341 * conform/data/pthread.h-data: Likewise.
342 * conform/data/pwd.h-data: Likewise.
343 * conform/data/regex.h-data: Likewise.
344 * conform/data/sched.h-data: Likewise.
345 * conform/data/search.h-data: Likewise.
346 * conform/data/semaphore.h-data: Likewise.
347 * conform/data/setjmp.h-data: Likewise.
348 * conform/data/signal.h-data: Likewise.
349 * conform/data/spawn.h-data: Likewise.
350 * conform/data/stdarg.h-data: Likewise.
351 * conform/data/stdio.h-data: Likewise.
352 * conform/data/stdlib.h-data: Likewise.
353 * conform/data/string.h-data: Likewise.
354 * conform/data/strings.h-data: Likewise.
355 * conform/data/stropts.h-data: Likewise.
356 * conform/data/sys/ipc.h-data: Likewise.
357 * conform/data/sys/mman.h-data: Likewise.
358 * conform/data/sys/msg.h-data: Likewise.
359 * conform/data/sys/resource.h-data: Likewise.
360 * conform/data/sys/select.h-data: Likewise.
361 * conform/data/sys/sem.h-data: Likewise.
362 * conform/data/sys/shm.h-data: Likewise.
363 * conform/data/sys/socket.h-data: Likewise.
364 * conform/data/sys/stat.h-data: Likewise.
365 * conform/data/sys/statvfs.h-data: Likewise.
366 * conform/data/sys/time.h-data: Likewise.
367 * conform/data/sys/timeb.h-data: Likewise.
368 * conform/data/sys/times.h-data: Likewise.
369 * conform/data/sys/types.h-data: Likewise.
370 * conform/data/sys/uio.h-data: Likewise.
371 * conform/data/sys/un.h-data: Likewise.
372 * conform/data/sys/utsname.h-data: Likewise.
373 * conform/data/sys/wait.h-data: Likewise.
374 * conform/data/syslog.h-data: Likewise.
375 * conform/data/tar.h-data: Likewise.
376 * conform/data/termios.h-data: Likewise.
377 * conform/data/utime.h-data: Likewise.
378 * conform/data/utmpx.h-data: Likewise.
379 * conform/data/varargs.h-data: Likewise.
380 * conform/data/wchar.h-data: Likewise.
381 * conform/data/wctype.h-data: Likewise.
382 * conform/data/wordexp.h-data: Likewise.
384 * include/stropts.h: New file.
385 * include/uchar.h: New file.
386 * include/aio.h: Changes to allow conformtest.pl to use the headers.
387 * include/assert.h: Likewise.
388 * include/ctype.h: Likewise.
389 * include/dirent.h: Likewise.
390 * include/dlfcn.h: Likewise.
391 * include/fcntl.h: Likewise.
392 * include/fnmatch.h: Likewise.
393 * include/glob.h: Likewise.
394 * include/grp.h: Likewise.
395 * include/libio.h: Likewise.
396 * include/locale.h: Likewise.
397 * include/math.h: Likewise.
398 * include/net/if.h: Likewise.
399 * include/netdb.h: Likewise.
400 * include/netinet/in.h: Likewise.
401 * include/pthread.h: Likewise.
402 * include/pwd.h: Likewise.
403 * include/regex.h: Likewise.
404 * include/sched.h: Likewise.
405 * include/search.h: Likewise.
406 * include/setjmp.h: Likewise.
407 * include/signal.h: Likewise.
408 * include/stdio.h: Likewise.
409 * include/stdlib.h: Likewise.
410 * include/string.h: Likewise.
411 * include/sys/cdefs.h: Likewise.
412 * include/sys/mman.h: Likewise.
413 * include/sys/msg.h: Likewise.
414 * include/sys/resource.h: Likewise.
415 * include/sys/select.h: Likewise.
416 * include/sys/socket.h: Likewise.
417 * include/sys/stat.h: Likewise.
418 * include/sys/statvfs.h: Likewise.
419 * include/sys/time.h: Likewise.
420 * include/sys/times.h: Likewise.
421 * include/sys/uio.h: Likewise.
422 * include/sys/utsname.h: Likewise.
423 * include/sys/wait.h: Likewise.
424 * include/termios.h: Likewise.
425 * include/time.h: Likewise.
426 * include/ulimit.h: Likewise.
427 * include/unistd.h: Likewise.
428 * include/utime.h: Likewise.
429 * include/wchar.h: Likewise.
430 * include/wctype.h: Likewise.
431 * include/wordexp.h: Likewise.
433 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
435 * time/time.h: TIME_UTC must be a macro.
436 Make timespec_get available for ISO C11 only as well.
438 2012-02-24 Ulrich Drepper <drepper@gmail.com>
440 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
441 Reported by Peng Haitao <penght@cn.fujitsu.com>.
443 2012-02-24 Joseph Myers <joseph@codesourcery.com>
445 * configure.in: Use -o not -a in test for unsupported multi-arch.
447 2012-02-24 Joseph Myers <joseph@codesourcery.com>
449 * manual/texinfo.tex: Update to version 2012-01-19.16.
451 2012-02-24 Joseph Myers <joseph@codesourcery.com>
453 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
455 2012-02-24 Roland McGrath <roland@hack.frob.com>
458 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
459 * manual/fdl-1.3.texi: New file.
460 * manual/fdl-1.1.texi: File removed.
463 * manual/libc.texinfo (FDL_VERSION): New @set.
464 Use it for mention of FDL in cover text.
465 (Documentation License): Use it in @include file name.
467 2012-02-22 Joseph Myers <joseph@codesourcery.com>
468 Roland McGrath <roland@hack.frob.com>
471 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
472 not LONG_LONG_MAX and LONG_LONG_MIN.
473 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
474 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
476 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
478 2012-02-22 Joseph Myers <joseph@codesourcery.com>
482 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
483 manipulate bits before adding and subtracting TWO23[sx].
484 * math/libm-test.inc (nearbyint_test): Add more tests.
486 2012-02-22 Joseph Myers <joseph@codesourcery.com>
489 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
490 bits before adding and subtracting TWO23[sx].
491 * math/libm-test.inc (rint_test): Add more tests.
492 (rint_test_tonearest): Likewise.
493 (rint_test_towardzero): Likewise.
494 (rint_test_downward): Likewise.
495 (rint_test_upward: Likewise.
497 2012-02-22 Joseph Myers <joseph@codesourcery.com>
500 * include/stdc-predef.h: New file. Extracted from features.h.
501 * include/features.h: Include stdc-predef.h.
502 * Makefile (headers): Add stdc-predef.h.
503 * CONFORMANCE (Compiler limitations): Update.
505 2012-02-22 Joseph Myers <joseph@codesourcery.com>
507 * manual/libc.texinfo (VERSION, UPDATED): Revert.
509 2012-02-21 David S. Miller <davem@davemloft.net>
511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
512 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
514 2012-02-20 David S. Miller <davem@davemloft.net>
516 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
517 using a normal save/restore sequence, rather than allocating a
518 dummy stack frame just to store a frame pointer and restore.
519 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
521 2012-02-21 Joseph Myers <joseph@codesourcery.com>
523 * manual/install.texi: Fix stray word in line-wrapped comment.
525 2012-02-20 David S. Miller <davem@davemloft.net>
527 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
528 both binutils and gcc support GOTDATA.
530 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
531 "rd %pc" in the PIC register setup sequences.
533 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
534 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
535 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
536 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
537 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
538 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
539 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
542 (SYSCALL_ERROR_HANDLER): Likewise.
543 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
544 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
545 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
546 (SYSCALL_ERROR_HANDLER): Likewise.
548 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
549 (HAVE_GCC_GOTDATA): New.
550 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
551 relocation support in both binutils and gcc.
552 * sysdeps/sparc/elf/configure: Regenerate.
554 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
555 * sysdeps/sparc/sparc32/elf/configure: Delete.
556 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
557 * sysdeps/sparc/sparc64/elf/configure: Delete.
558 * sysdeps/sparc/elf/configure.in: New file.
559 * sysdeps/sparc/elf/configure: Generate.
561 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
562 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
563 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
564 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
565 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
567 2012-02-21 Joseph Myers <joseph@codesourcery.com>
569 * manual/install.texi: Do not mention specific glibc version
571 * manual/libc.texinfo (VERSION, UPDATED): Update.
572 (@copying): Use @copyright{} and range of years.
574 2012-02-21 Joseph Myers <joseph@codesourcery.com>
577 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
578 [crti.S not in sysdirs] (generated): Do not append.
579 [crti.S not in sysdirs] (omit-deps): Likewise.
580 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
581 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
582 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
583 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
584 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
586 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
587 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
588 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
589 * csu/defs.awk: Remove file.
590 * sysdeps/generic/initfini.c: Likewise.
591 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
593 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
596 2012-02-20 Joseph Myers <joseph@codesourcery.com>
598 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
599 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
600 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
601 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
602 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
603 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
605 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
606 (__EPOLL_PACKED): Define to empty if not defined by
608 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
612 2012-02-20 Joseph Myers <joseph@codesourcery.com>
614 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
615 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
616 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
617 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
619 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
623 2012-02-20 Joseph Myers <joseph@codesourcery.com>
625 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
627 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
628 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
632 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
634 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
635 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
637 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
639 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
640 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
642 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
644 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
647 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
649 * math/w_acos.c: Use non-signaling floating-point comparisons.
650 * math/w_acosf.c: Likewise.
651 * math/w_acosh.c: Likewise.
652 * math/w_acoshf.c: Likewise.
653 * math/w_acoshl.c: Likewise.
654 * math/w_acosl.c: Likewise.
655 * math/w_asin.c: Likewise.
656 * math/w_asinf.c: Likewise.
657 * math/w_asinl.c: Likewise.
658 * math/w_atanh.c: Likewise.
659 * math/w_atanhf.c: Likewise.
660 * math/w_atanhl.c: Likewise.
661 * math/w_exp2.c: Likewise.
662 * math/w_exp2f.c: Likewise.
663 * math/w_exp2l.c: Likewise.
664 * math/w_j0.c: Likewise.
665 * math/w_j0f.c: Likewise.
666 * math/w_j0l.c: Likewise.
667 * math/w_j1.c: Likewise.
668 * math/w_j1f.c: Likewise.
669 * math/w_j1l.c: Likewise.
670 * math/w_jn.c: Likewise.
671 * math/w_jnf.c: Likewise.
672 * math/w_log.c: Likewise.
673 * math/w_log10.c: Likewise.
674 * math/w_log10f.c: Likewise.
675 * math/w_log10l.c: Likewise.
676 * math/w_log2.c: Likewise.
677 * math/w_log2f.c: Likewise.
678 * math/w_log2l.c: Likewise.
679 * math/w_logf.c: Likewise.
680 * math/w_logl.c: Likewise.
681 * math/w_sqrt.c: Likewise.
682 * math/w_sqrtf.c: Likewise.
683 * math/w_sqrtl.c: Likewise.
684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
685 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
686 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
687 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
688 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
690 2012-02-19 Joseph Myers <joseph@codesourcery.com>
693 * manual/string.texi (strnlen): Use correct parameter name in
694 equivalent expression.
696 2012-02-19 Joseph Myers <joseph@codesourcery.com>
699 * manual/users.texi (seteuid): Consistently use neweuid for
702 2012-02-19 Joseph Myers <joseph@codesourcery.com>
705 * manual/nss.texi (Services in the NSS configuration): Correct
706 list of services in example configuration file.
708 2012-02-19 Nick Bowler <nbowler@draconx.ca>
711 * manual/arith.texi: Remove statements about negative zero
712 behaving identically to zero.
714 2012-02-18 Joseph Myers <joseph@codesourcery.com>
717 * manual/install.texi: Do not document upgrading from libc5.
719 2012-02-18 Joseph Myers <joseph@codesourcery.com>
722 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
724 2012-02-18 David S. Miller <davem@davemloft.net>
726 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
727 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
729 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
734 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
735 * sysdeps/sparc/crtn.S: Likewise.
737 2012-02-17 Ulrich Drepper <drepper@gmail.com>
739 * aout/Makefile: Remove.
741 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
744 * manual/examples/argp-ex1.c (main): Format definition in GNU
746 * manual/examples/argp-ex2.c (main): Likewise.
747 * manual/examples/argp-ex3.c (main): Likewise.
748 * manual/examples/argp-ex4.c (main): Likewise.
749 * manual/examples/longopt.c (main): Use new-style prototype
751 * manual/examples/strncat.c (main): Specify return type and use
752 (void) for arguments.
753 * manual/examples/subopt.c (main): Use char **argv argument.
755 2012-02-17 Joseph Myers <joseph@codesourcery.com>
758 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
761 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
764 * manual/string.texi (strchr): Change when strchrnul is
767 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
770 * manual/locale.texi (setlocale): Document LOCPATH.
772 2012-02-17 Joseph Myers <joseph@codesourcery.com>
775 * manual/process.texi (execle): Move @dots{} before last argument.
777 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
780 * manual/charset.texi (Generic Charset Conversion): Fix typo
781 (LC_TYPE -> LC_CTYPE).
783 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
786 * manual/arith.texi (scalbn): Use @var{} on parameter names.
790 (scalblnf): Likewise.
791 (scalblnl): Likewise.
792 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
796 * manual/filesys.texi (telldir): Use braces around return type.
797 * manual/llio.texi (mmap): Add space after comma.
799 * manual/math.texi (jn): Use @var{} on parameter names.
805 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
807 * manual/resource.texi (ulimit): Use @dots{} instead of literal
809 (sched_get_priority_min): Remove semicolon on @deftypefun line.
810 (sched_get_priority_max): Likewise.
811 * manual/signal.texi (sigvec): Add space after comma.
812 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
814 (if_indextoname): Likewise.
815 (if_freenameindex): Likewise.
816 (sendto): Use ',' instead of '.' in prototype.
817 * manual/startup.texi (syscall): Use @dots{} instead of literal
819 * manual/stdio.texi (__fpending): Separate initial words of
820 paragraph from @deftypefun line.
821 * manual/syslog.texi (syslog): Use @dots{} instead of literal
823 (vsyslog): Use @var{} on parameter names.
824 * manual/terminal.texi (stty): Use @var{} on parameter names.
825 * manual/users.texi (getutmp): Use @var{} on parameter names.
826 (getutmpx): Likewise.
828 2012-02-17 Joseph Myers <joseph@codesourcery.com>
831 * manual/stdio.texi (fopen): Fix typos in description of
834 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
837 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
838 get clock_id definition.
840 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
843 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
844 (madvise): Cast every argument to void on its own.
846 2012-02-17 Joseph Myers <joseph@codesourcery.com>
849 * manual/startup.texi (Exit Status): Fix typo.
851 2012-02-17 Joseph Myers <joseph@codesourcery.com>
854 * manual/examples/argp-ex1.c: Include <stdlib.h>.
855 * manual/examples/argp-ex2.c: Likewise.
856 * manual/examples/argp-ex3.c: Likewise.
858 2012-02-16 Richard Henderson <rth@redhat.com>
860 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
861 * sysdeps/s390/s390-32/initfini.c: Remove.
862 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
863 * sysdeps/s390/s390-64/initfini.c: Remove.
865 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
867 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
868 compiler output for sysdeps/generic/initfini.c.
869 * sysdeps/sh/elf/initfini.c: Remove file.
871 2012-02-16 David S. Miller <davem@davemloft.net>
874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
876 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
877 * sysdeps/sparc/crti.S: New file.
878 * sysdeps/sparc/crtn.S: New file.
879 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
880 * sysdeps/sparc/sparc64/Makefile: Likewise.
882 2012-02-15 Mike Frysinger <vapier@gentoo.org>
885 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
887 2012-02-15 Roland McGrath <roland@hack.frob.com>
890 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
892 * mach/devstream.c (cookie_io_functions_t): Macro removed.
893 (write, read, close): Likewise.
894 Patch by Aurelien Jarno <aurelien@aurel32.net>.
896 2012-02-15 Joseph Myers <joseph@codesourcery.com>
898 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
899 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
900 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
901 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
903 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
907 2012-02-14 Marek Polacek <polacek@redhat.com>
909 * sysdeps/x86_64/crti.S: New file.
910 * sysdeps/x86_64/crtn.S: New file.
911 * sysdeps/x86_64/elf/initfini.c: Remove file.
913 2012-02-13 Joseph Myers <joseph@codesourcery.com>
915 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
916 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
918 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
920 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
924 2012-02-13 Joseph Myers <joseph@codesourcery.com>
926 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
927 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
928 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
929 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
931 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
935 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
937 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
938 __feraiseexcept instead of feraiseexcept.
940 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
941 nanosleep invocations.
942 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
943 strings, and add error checking for a nanosleep invocations.
945 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
947 Replace FSF snail mail address with URLs, as per GNU coding standards.
948 Most of the snail mail addresses were wrong anyway, and omitting
949 them makes the source code easier to maintain. Almost all of the
950 changes are to license notices and to locale LC_IDENTIFICATION
951 addresses, except for this one:
952 * manual/libc.texinfo: In "Published by", give the FSF's URL,
953 not its snail mail address.
955 2012-02-09 Richard Henderson <rth@twiddle.net>
957 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
958 of kernel-features.h.
960 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
962 2012-02-08 Marek Polacek <polacek@redhat.com>
964 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
965 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
966 * sysdeps/gnu/_G_config.h: Likewise.
967 * sysdeps/generic/_G_config.h: Likewise.
969 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
971 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
975 * sysdeps/powerpc/powerpc32/crti.S: New file.
976 * sysdeps/powerpc/powerpc32/crtn.S: New file.
977 * sysdeps/powerpc/powerpc64/crti.S: New file.
978 * sysdeps/powerpc/powerpc64/crtn.S: New file.
980 * Makeconfig (have-initfini): Don't set.
981 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
982 * configure.in (nopic_initfini): Don't substitute.
983 * config.h.in (HAVE_INITFINI): Don't #undef.
984 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
985 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
987 2012-02-08 Joseph Myers <joseph@codesourcery.com>
989 Support crti.S and crtn.S provided directly by architectures.
990 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
991 [crti.S in sysdirs] (omit-deps): Likewise.
992 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
993 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
994 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
995 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
996 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
997 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
998 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
999 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
1000 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
1001 compiler output for sysdeps/generic/initfini.c.
1002 * sysdeps/i386/elf/Makefile: Remove file.
1003 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
1005 2012-02-07 Marek Polacek <polacek@redhat.com>
1007 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
1008 * sysdeps/gnu/_G_config.h: Likewise.
1009 * sysdeps/mach/hurd/_G_config.h: Likewise.
1011 2012-02-07 Marek Polacek <polacek@redhat.com>
1013 * math/Makefile (tests): Add tst-CMPLX2.
1014 * math/tst-CMPLX2.c: New file.
1016 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
1018 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1020 * math/libm-test.inc (jn_test): Add missing L suffix.
1022 2012-02-06 Marek Polacek <polacek@redhat.com>
1024 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
1025 * sysdeps/i386/fpu/e_powf.S: Likewise.
1026 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1027 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1028 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1029 * sysdeps/i386/fpu/e_pow.S: Likewise.
1030 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1031 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1032 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1033 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1034 * sysdeps/i386/fpu/e_log2.S: Likewise.
1035 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1036 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1037 * sysdeps/i386/fpu/e_powl.S: Likewise.
1038 * sysdeps/i386/fpu/s_log1p.S: Likewise.
1039 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1040 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1041 * sysdeps/i386/fpu/e_logl.S: Likewise.
1042 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1043 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
1044 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1045 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1047 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1048 * sysdeps/i386/fpu/e_log.S: Likewise.
1049 * sysdeps/i386/fpu/s_cexp.S: Likewise.
1050 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1051 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
1052 * sysdeps/i386/fpu/e_logf.S: Likewise.
1053 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1054 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1055 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
1056 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1057 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1058 * sysdeps/i386/fpu/e_log10.S: Likewise.
1059 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1060 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1061 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1062 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1064 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1065 * sysdeps/i386/asm-syntax.h: Likewise.
1066 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1068 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1069 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
1070 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
1071 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1072 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1073 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1074 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1075 * sysdeps/powerpc/sysdep.h: Likewise.
1076 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
1077 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1079 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1082 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
1084 2012-02-06 Joseph Myers <joseph@codesourcery.com>
1086 * sysdeps/i386/sysdep.h: Include <features.h>.
1087 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
1090 2012-02-05 Joseph Myers <joseph@codesourcery.com>
1092 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
1094 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
1097 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1099 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
1100 (SETUP_PIC_REG): Use GET_PC_THUNK.
1101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
1104 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1106 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
1107 for non-PIC compilation.
1108 (SETUP_PIC_REG): Add .p2align directive.
1109 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
1110 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1111 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1112 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1113 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1114 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1115 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1116 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1117 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1118 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1119 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1120 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1121 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1122 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1123 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1124 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1125 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1129 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1130 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1132 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1133 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1135 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1136 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1137 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1138 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1139 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1140 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1141 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1142 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1143 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1144 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1145 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1146 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1147 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1148 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1149 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1151 2012-02-03 Joseph Myers <joseph@codesourcery.com>
1153 * math/tst-CMPLX.c: Include <stdio.h>.
1155 2012-01-31 Joseph Myers <joseph@codesourcery.com>
1157 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
1159 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1160 * sysdeps/sparc/bits/mathdef.h: Likewise.
1162 2012-01-31 Marek Polacek <polacek@redhat.com>
1164 * libio/libio.h: Don't define _PARAMS.
1165 * locale/programs/config.h: Don't define PARAMS.
1166 * stdlib/strtol_l.c: Likewise.
1167 (__strtol_l): Remove PARAMS from the prototype.
1169 2012-01-31 Ulrich Drepper <drepper@gmail.com>
1171 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
1172 names. Just use the correct names. Remove unnecessary wrapper
1174 * malloc/arena.c: Likewise.
1175 * malloc/hooks.c: Likewise.
1177 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
1178 ARENA_TEST says not to. Simplify test for creation of a new arena.
1179 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
1181 2012-01-30 Ulrich Drepper <drepper@gmail.com>
1183 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
1185 (update_get_addr): New function.
1186 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
1187 GET_ADDR_MODULE parameter.
1189 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1191 * crypt/cert.c: Remove __STDC__ conditionals.
1192 * crypt/crypt-entry.c: Likewise.
1193 * crypt/crypt_util.c: Likewise.
1194 * libio/filedoalloc.c: Likewise.
1195 * libio/fileops.c: Likewise.
1196 * libio/genops.c: Likewise.
1197 * libio/iofclose.c: Likewise.
1198 * libio/iofdopen.c: Likewise.
1199 * libio/iofopen.c: Likewise.
1200 * libio/iofopen64.c: Likewise.
1201 * libio/iogetdelim.c: Likewise.
1202 * libio/iopopen.c: Likewise.
1203 * libio/obprintf.c: Likewise.
1204 * libio/oldfileops.c: Likewise.
1205 * libio/oldiofclose.c: Likewise.
1206 * libio/oldiofdopen.c: Likewise.
1207 * libio/oldiofopen.c: Likewise.
1208 * libio/oldiopopen.c: Likewise.
1209 * libio/wfiledoalloc.c: Likewise.
1210 * libio/wgenops.c: Likewise.
1211 * locale/programs/xmalloc.c: Likewise.
1212 * misc/syslog.c: Likewise.
1213 * stdio-common/xbug.c: Likewise.
1214 * string/memchr.c: Likewise.
1215 * string/memcmp.c: Likewise.
1216 * string/memrchr.c: Likewise.
1217 * string/rawmemchr.c: Likewise.
1218 * sysdeps/posix/getcwd.c: Likewise.
1219 * time/strftime_l.c: Likewise.
1221 2012-01-30 Joseph Myers <joseph@codesourcery.com>
1223 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
1224 * config.make.in (config-cflags-sse2avx): Define.
1225 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
1228 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
1230 * scripts/config.guess: Update from upstream config git repository.
1231 * scripts/config.sub: Likewise.
1233 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
1235 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
1237 (R_TILEPRO_*, R_TILEGX_*): New macros.
1239 * scripts/firstversions.awk: Fix bug in version range handling.
1241 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
1243 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
1245 * include/sys/epoll.h: New file.
1246 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
1249 2012-01-28 Ulrich Drepper <drepper@gmail.com>
1251 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
1252 Avoid unnecessary __WORDSIZE == 64 test.
1253 (fmaxf): Use VEX format if possible.
1258 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
1259 * math/math_private.h: Remove libc_fegetround* and
1261 * sysdeps/i386/configure.in: Check for -msse2avx.
1262 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
1263 also if SSE2AVX is defined.
1264 Remove libc_fegetround* and libc_fesetround*.
1265 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
1266 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
1267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
1269 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1270 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1271 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1272 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1273 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1275 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
1277 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
1281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
1283 2012-01-27 Ulrich Drepper <drepper@gmail.com>
1286 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
1288 * Makeconfig (libm): Define.
1289 * elf/Makefile: Add rules to build and run tst-relsort1.
1290 * elf/tst-relsort1.c: New file.
1291 * elf/tst-relsort1mod1.c: New file.
1292 * elf/tst-relsort1mod2.c: New file.
1294 2012-01-27 Joseph Myers <joseph@codesourcery.com>
1296 * math/s_ldexp.c: Remove __STDC__ conditionals.
1297 * math/s_ldexpf.c: Likewise.
1298 * math/s_ldexpl.c: Likewise.
1299 * math/s_nextafter.c: Likewise.
1300 * math/s_nexttowardf.c: Likewise.
1301 * math/s_significand.c: Likewise.
1302 * math/s_significandf.c: Likewise.
1303 * math/s_significandl.c: Likewise.
1304 * math/w_jnl.c: Likewise.
1305 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1306 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1307 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1308 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1309 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
1312 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1313 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1314 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1315 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1317 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1318 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1319 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1320 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1321 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1322 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1323 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1324 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1325 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1326 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1327 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1329 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1330 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1331 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1333 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1334 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1335 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1336 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1337 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1338 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1339 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1340 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1341 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1342 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1343 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1344 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1345 * sysdeps/ieee754/k_standard.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1356 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1358 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1359 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1360 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1362 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1363 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1364 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1365 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1368 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1369 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1371 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1375 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1376 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1377 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
1378 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1379 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1381 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1382 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
1386 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
1387 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1388 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1389 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
1390 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1399 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1405 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1406 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1407 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1409 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1410 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1411 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1412 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1415 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1416 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1417 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1418 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1419 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1420 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1421 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1422 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1423 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1424 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1425 * sysdeps/ieee754/s_matherr.c: Likewise.
1426 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1427 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1429 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1431 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1433 * crypt/md5.h: Remove __STDC__ conditionals.
1434 * libio/libioP.h: Likewise.
1435 * locale/programs/config.h: Likewise.
1436 * sysdeps/generic/sysdep.h: Likewise.
1437 * sysdeps/i386/asm-syntax.h: Likewise.
1438 * sysdeps/s390/asm-syntax.h: Likewise.
1439 * sysdeps/unix/sysdep.h: Likewise.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1443 2012-01-26 Joseph Myers <joseph@codesourcery.com>
1445 * libio/libio.h: Remove __STDC__ conditionals.
1446 * malloc/obstack.h: Likewise.
1447 * math/complex.h: Likewise.
1448 * math/math.h: Likewise.
1449 * sysdeps/generic/_G_config.h: Likewise.
1450 * sysdeps/gnu/_G_config.h: Likewise.
1451 * sysdeps/mach/hurd/_G_config.h: Likewise.
1452 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1453 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
1454 * sysdeps/sparc/bits/mathdef.h: Likewise.
1456 2012-01-26 Ulrich Drepper <drepper@gmail.com>
1459 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
1460 Clean up HAS_* macros.
1461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
1462 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
1464 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
1466 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1467 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1468 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1470 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1472 2012-01-25 Joseph Myers <joseph@codesourcery.com>
1474 * elf/tst-unique3.cc (gets): Remove declaration.
1475 * elf/tst-unique3lib.cc (gets): Likewise.
1476 * elf/tst-unique3lib2.cc (gets): Likewise.
1477 * elf/tst-unique4.cc (gets): Likewise.
1479 2012-01-24 Ulrich Drepper <drepper@gmail.com>
1481 * include/stdio.h: Add C++ protection. Add gets declarations and
1483 * debug/tst-chk1.c: Don't declare gets here.
1484 * stdio-common/tst-gets.c: Likewise.
1486 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1488 * posix/glob: Remove directory.
1490 2012-01-24 Joseph Myers <joseph@codesourcery.com>
1492 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
1494 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
1496 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
1497 of the non-standard EPFNOSUPPORT.
1499 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
1501 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
1502 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
1503 ANYWHERE set to 1 only on KERN_NO_SPACE error.
1505 2012-01-21 Ulrich Drepper <drepper@gmail.com>
1507 * wcsmbs/uchar.h: Test __STDC_VERSION__.
1509 2012-01-20 Ulrich Drepper <drepper@gmail.com>
1511 * nscd/aicache.c (addhstaiX): Do not cache negative results of
1513 * nscd/grpcache.c (cache_addgr): Likewise.
1514 * nscd/hstcache.c (cache_addhst): Likewise.
1515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1516 * nscd/pwdcache.c (cache_addpw): Likewise.
1517 * nscd/servicescache.c (cache_addserv): Likewise.
1519 2012-01-16 Ulrich Drepper <drepper@gmail.com>
1521 * malloc/malloc.c: Various cleanups.
1522 * malloc/hooks.c: Likewise.
1524 * stdlib/Makefile (tests): Add bug-fmtmsg1.
1525 * stdlib/bug-fmtmsg1.c: New file.
1527 * stdlib/fmtmsg.c (init): Add missing unlock.
1528 Patch by Peng Haitao <penght@cn.fujitsu.com>.
1530 2012-01-12 Marek Polacek <polacek@redhat.com>
1532 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
1535 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1537 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
1538 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
1539 macro to ensure uniqueness of label name.
1540 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1541 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1543 2012-01-11 Ulrich Drepper <drepper@gmail.com>
1545 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
1547 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
1548 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
1552 2012-01-10 Ulrich Drepper <drepper@gmail.com>
1554 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
1556 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
1557 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1558 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1560 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
1562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
1563 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1564 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
1567 * math/bits/math-finite.h: Add ldexp support.
1569 2012-01-10 Marek Polacek <polacek@redhat.com>
1571 * locale/programs/localedef.h (show_archive_content): Add noreturn
1574 2012-01-09 Ulrich Drepper <drepper@gmail.com>
1576 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
1578 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1580 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
1582 * io/Makefile (headers): Add bits/poll2.h.
1584 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
1586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
1587 typo #include statement.
1589 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1591 * include/sys/cdefs.h: Define __attribute_alloc_size.
1592 * catgets/gencat.c: Add alloc_size attribute and apply consistently
1593 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
1594 * elf/pldd.c: Likewise.
1595 * iconv/iconv_charmap.c: Likewise.
1596 * iconv/iconvconfig.c: Likewise.
1597 * iconv/strtab.c: Likewise.
1598 * locale/programs/locale.c: Likewise.
1599 * locale/programs/localedef.h: Likewise.
1600 * locale/programs/simple-hash.c: Likewise.
1601 * nscd/nscd.h: Likewise.
1602 * nss/makedb.c: Likewise.
1603 * sysdeps/generic/ldconfig.h: Likewise.
1604 * locale/programs/localedef.c: Remove xmalloc prototype.
1605 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
1607 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1609 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
1612 2012-01-08 Ulrich Drepper <drepper@gmail.com>
1614 * math/Makefile (tests): Add tst-CMPLX.
1615 * math/tst-CMPLX.c: New file.
1617 * math/complex.h (CMPLXL): Fix typo.
1619 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
1620 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
1622 * debug/tst-chk1.c: Add poll and ppoll tests.
1623 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
1624 * include/sys/poll.h: Add hidden proto for ppoll.
1625 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
1626 * sysdeps/mach/hurd/ppoll.c: Likewise.
1627 * io/ppoll.c: Likewise.
1628 * debug/poll_chk.c: New file.
1629 * debug/ppoll_chk.c: New file.
1630 * include/bits/poll2.h: New file.
1631 * io/bits/poll2.h: New file.
1634 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
1636 * configure.in: static is always set to yes. Remove.
1637 * config.make.in: Don't set build-static.
1638 * Makeconfig: Remove use of build-static.
1639 * dlfcn/Makefile: Likewise.
1640 * elf/Makefile: Likewise.
1641 * math/Makefile: Likewise.
1642 * misc/Makefile: Likewise.
1643 * nptl/Makefile: Likewise.
1644 * sysdeps/mach/hurd/Makefile: Likewise.
1646 * configure.in: PWD_P is not used anymore.
1647 * config.make.in: Remove PWD_P entry.
1649 * configure.in: Remove last remnants of RANLIB.
1650 No need to check for signed size_t anymore.
1651 Don't set libc_commonpagesize and libc_relro_required here for Alpha
1653 Remove __builtin_expect test because we require at least gcc 3.4.
1654 * aclocal.m4: Likewise.
1656 * wcsmbs/mbrtoc16.c: Implement using towc function.
1657 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
1658 * wcsmbs/wcsmbsload.c: Likewise.
1659 * iconv/gconv_simple.c: Likewise.
1660 * iconv/gconv_int.h: Likewise.
1661 * iconv/gconv_builtin.h: Likewise.
1662 * iconv/iconv_prog.c: Remove CHAR16 handling.
1664 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
1666 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
1668 * configure.in: Remove --with-elf and --enable-bounded options.
1669 Dont set base_machine for ia64. More non-ELF conditions removed.
1670 Remove testing and setting of leading underscore information.
1671 * config.make.in (build-bounded): Set to no.
1672 * config.h.in: Remove NO_UNDERSCORES entry.
1673 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
1675 * csu/start.c: Remove !NO_UNDERSCORE code.
1676 * locale/localeinfo.h: Likewise.
1677 * sysdeps/generic/machine-gmon.h: Likewise.
1678 * sysdeps/generic/sysdep.h: Likewise.
1679 * sysdeps/i386/sysdep.h: Likewise.
1680 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1681 * sysdeps/mach/sysdep.h: Likewise.
1682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1683 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1684 * sysdeps/sh/sysdep.h: Likewise.
1685 * sysdeps/sparc/sparc32/alloca.S: Likewise.
1686 * sysdeps/unix/i386/sysdep.S: Likewise.
1687 * sysdeps/unix/sparc/start.c: Likewise.
1688 * sysdeps/unix/sparc/sysdep.S: Likewise.
1689 * sysdeps/unix/sparc/sysdep.h: Likewise.
1690 * sysdeps/unix/start.c: Likewise.
1691 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1692 * sysdeps/x86_64/sysdep.h: Likewise.
1694 2012-01-07 Ulrich Drepper <drepper@gmail.com>
1697 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
1699 * argp/argp-fmtstream.h: Use const instead __const.
1700 * argp/argp.h: Likewise.
1701 * assert/assert.h: Likewise.
1702 * bits/fenv.h: Likewise.
1703 * bits/sched.h: Likewise.
1704 * bits/sigset.h: Likewise.
1705 * bits/sigthread.h: Likewise.
1706 * catgets/nl_types.h: Likewise.
1707 * conform/data/pthread.h-data: Likewise.
1708 * crypt/crypt-private.h: Likewise.
1709 * crypt/crypt.h: Likewise.
1710 * crypt/crypt_util.c: Likewise.
1711 * ctype/ctype.h: Likewise.
1712 * debug/execinfo.h: Likewise.
1713 * debug/mbsnrtowcs_chk.c: Likewise.
1714 * debug/mbsrtowcs_chk.c: Likewise.
1715 * debug/wcsnrtombs_chk.c: Likewise.
1716 * debug/wcsrtombs_chk.c: Likewise.
1717 * debug/wcstombs_chk.c: Likewise.
1718 * dirent/dirent.h: Likewise.
1719 * dlfcn/dlfcn.h: Likewise.
1720 * elf/neededtest4.c: Likewise.
1721 * grp/grp.h: Likewise.
1722 * gshadow/gshadow.h: Likewise.
1723 * iconv/gconv.h: Likewise.
1724 * iconv/gconv_int.h: Likewise.
1725 * iconv/gconv_simple.c: Likewise.
1726 * iconv/iconv.h: Likewise.
1727 * iconv/loop.c: Likewise.
1728 * iconv/skeleton.c: Likewise.
1729 * include/aio.h: Likewise.
1730 * include/aliases.h: Likewise.
1731 * include/argz.h: Likewise.
1732 * include/arpa/inet.h: Likewise.
1733 * include/assert.h: Likewise.
1734 * include/dirent.h: Likewise.
1735 * include/dlfcn.h: Likewise.
1736 * include/execinfo.h: Likewise.
1737 * include/fcntl.h: Likewise.
1738 * include/fenv.h: Likewise.
1739 * include/glob.h: Likewise.
1740 * include/grp.h: Likewise.
1741 * include/libintl.h: Likewise.
1742 * include/mntent.h: Likewise.
1743 * include/netdb.h: Likewise.
1744 * include/pwd.h: Likewise.
1745 * include/rpc/netdb.h: Likewise.
1746 * include/sched.h: Likewise.
1747 * include/search.h: Likewise.
1748 * include/shadow.h: Likewise.
1749 * include/signal.h: Likewise.
1750 * include/stdio.h: Likewise.
1751 * include/stdlib.h: Likewise.
1752 * include/string.h: Likewise.
1753 * include/sys/socket.h: Likewise.
1754 * include/sys/stat.h: Likewise.
1755 * include/sys/statfs.h: Likewise.
1756 * include/sys/statvfs.h: Likewise.
1757 * include/sys/syslog.h: Likewise.
1758 * include/sys/time.h: Likewise.
1759 * include/sys/uio.h: Likewise.
1760 * include/time.h: Likewise.
1761 * include/unistd.h: Likewise.
1762 * include/utmp.h: Likewise.
1763 * include/wchar.h: Likewise.
1764 * include/wctype.h: Likewise.
1765 * inet/aliases.h: Likewise.
1766 * inet/arpa/inet.h: Likewise.
1767 * inet/netinet/ether.h: Likewise.
1768 * inet/netinet/in.h: Likewise.
1769 * intl/libintl.h: Likewise.
1770 * io/bits/fcntl2.h: Likewise.
1771 * io/fcntl.h: Likewise.
1772 * io/ftw.h: Likewise.
1773 * io/sys/poll.h: Likewise.
1774 * io/sys/stat.h: Likewise.
1775 * io/sys/statfs.h: Likewise.
1776 * io/sys/statvfs.h: Likewise.
1777 * io/utime.h: Likewise.
1778 * libio/bits/stdio.h: Likewise.
1779 * libio/bits/stdio2.h: Likewise.
1780 * libio/libio.h: Likewise.
1781 * libio/libioP.h: Likewise.
1782 * libio/stdio.h: Likewise.
1783 * locale/lc-ctype.c: Likewise.
1784 * locale/locale.h: Likewise.
1785 * login/utmp.h: Likewise.
1786 * malloc/arena.c: Likewise.
1787 * malloc/malloc.c: Likewise.
1788 * malloc/malloc.h: Likewise.
1789 * malloc/mcheck.c: Likewise.
1790 * malloc/mtrace.c: Likewise.
1791 * math/bits/mathcalls.h: Likewise.
1792 * math/fenv.h: Likewise.
1793 * math/math_private.h: Likewise.
1794 * misc/bits/error.h: Likewise.
1795 * misc/bits/syslog.h: Likewise.
1796 * misc/err.h: Likewise.
1797 * misc/error.h: Likewise.
1798 * misc/fstab.h: Likewise.
1799 * misc/mntent.h: Likewise.
1800 * misc/regexp.h: Likewise.
1801 * misc/search.h: Likewise.
1802 * misc/sgtty.h: Likewise.
1803 * misc/sys/mman.h: Likewise.
1804 * misc/sys/syslog.h: Likewise.
1805 * misc/sys/uio.h: Likewise.
1806 * misc/sys/xattr.h: Likewise.
1807 * misc/ttyent.h: Likewise.
1808 * nis/rpcsvc/ypclnt.h: Likewise.
1809 * nss/nss.h: Likewise.
1810 * posix/bits/unistd.h: Likewise.
1811 * posix/fnmatch.h: Likewise.
1812 * posix/glob.h: Likewise.
1813 * posix/sched.h: Likewise.
1814 * posix/spawn.h: Likewise.
1815 * posix/sys/wait.h: Likewise.
1816 * posix/unistd.h: Likewise.
1817 * posix/wordexp.h: Likewise.
1818 * pwd/pwd.h: Likewise.
1819 * resolv/netdb.h: Likewise.
1820 * resource/sys/resource.h: Likewise.
1821 * rt/aio.h: Likewise.
1822 * rt/bits/mqueue2.h: Likewise.
1823 * rt/mqueue.h: Likewise.
1824 * shadow/shadow.h: Likewise.
1825 * signal/signal.h: Likewise.
1826 * socket/send.c: Likewise.
1827 * socket/sendto.c: Likewise.
1828 * socket/sys/socket.h: Likewise.
1829 * stdio-common/printf.h: Likewise.
1830 * stdlib/bits/stdlib.h: Likewise.
1831 * stdlib/fmtmsg.h: Likewise.
1832 * stdlib/monetary.h: Likewise.
1833 * stdlib/stdlib.h: Likewise.
1834 * stdlib/ucontext.h: Likewise.
1835 * streams/stropts.h: Likewise.
1836 * string/argz.h: Likewise.
1837 * string/bits/string2.h: Likewise.
1838 * string/string.h: Likewise.
1839 * string/strings.h: Likewise.
1840 * sunrpc/rpc/auth.h: Likewise.
1841 * sunrpc/rpc/auth_des.h: Likewise.
1842 * sunrpc/rpc/clnt.h: Likewise.
1843 * sunrpc/rpc/netdb.h: Likewise.
1844 * sunrpc/rpc/pmap_clnt.h: Likewise.
1845 * sunrpc/rpc/xdr.h: Likewise.
1846 * sysdeps/generic/inttypes.h: Likewise.
1847 * sysdeps/generic/net/if.h: Likewise.
1848 * sysdeps/generic/sys/swap.h: Likewise.
1849 * sysdeps/gnu/net/if.h: Likewise.
1850 * sysdeps/gnu/utmpx.h: Likewise.
1851 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
1852 * sysdeps/i386/i486/bits/string.h: Likewise.
1853 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
1854 * sysdeps/s390/bits/string.h: Likewise.
1855 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
1856 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
1857 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
1858 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
1859 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
1860 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
1861 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
1862 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
1863 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
1864 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
1865 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
1866 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1867 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
1868 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1869 * sysdeps/unix/sysv/linux/readv.c: Likewise.
1870 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
1871 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1872 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1873 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1874 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1876 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
1877 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
1878 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
1879 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
1880 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
1881 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
1882 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1883 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
1884 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
1885 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
1886 * sysvipc/sys/ipc.h: Likewise.
1887 * sysvipc/sys/msg.h: Likewise.
1888 * sysvipc/sys/sem.h: Likewise.
1889 * sysvipc/sys/shm.h: Likewise.
1890 * termios/termios.h: Likewise.
1891 * time/sys/time.h: Likewise.
1892 * time/time.h: Likewise.
1893 * wcsmbs/bits/wchar2.h: Likewise.
1894 * wcsmbs/uchar.h: Likewise.
1895 * wcsmbs/wchar.h: Likewise.
1896 * wctype/wctype.h: Likewise.
1899 * Makeconfig: Remove all but ELF support including AIX support.
1900 * Makerules: Likewise.
1901 * config.h.in: Likewise.
1902 * config.make.in: Likewise.
1903 * configure: Likewise.
1904 * configure.in: Likewise.
1905 * csu/Makefile: Likewise.
1906 * csu/version.c: Likewise.
1907 * debug/Makefile: Likewise.
1908 * dlfcn/Makefile: Likewise.
1909 * elf/Makefile: Likewise.
1910 * extra-lib.mk: Likewise.
1911 * iconv/Makefile: Likewise.
1912 * include/libc-symbols.h: Likewise.
1913 * include/shlib-compat.h: Likewise.
1914 * resolv/Makefile: Likewise.
1915 * resolv/res_libc.c: Likewise.
1916 * rt/Makefile: Likewise.
1917 * sysdeps/i386/asm-syntax.h: Likewise.
1918 * sysdeps/i386/sysdep.h: Likewise.
1919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
1920 * sysdeps/mach/sysdep.h: Likewise.
1921 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
1922 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
1923 * sysdeps/s390/asm-syntax.h: Likewise.
1924 * sysdeps/s390/s390-32/sysdep.h: Likewise.
1925 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1926 * sysdeps/sh/sysdep.h: Likewise.
1927 * sysdeps/unix/sparc/sysdep.h: Likewise.
1928 * sysdeps/wordsize-32/divdi3.c: Likewise.
1929 * sysdeps/x86_64/sysdep.h: Likewise.
1931 * argp/Versions: Remove _argp_unlock_xxx.
1934 * abilist/ld.abilist: Update. Adjust for removal of tls option.
1935 * abilist/libBrokenLocale.abilist: Likewise.
1936 * abilist/libanl.abilist: Likewise.
1937 * abilist/libc.abilist: Likewise.
1938 * abilist/libcrypt.abilist: Likewise.
1939 * abilist/libdl.abilist: Likewise.
1940 * abilist/libm.abilist: Likewise.
1941 * abilist/libnsl.abilist: Likewise.
1942 * abilist/libpthread.abilist: Likewise.
1943 * abilist/libresolv.abilist: Likewise.
1944 * abilist/librt.abilist: Likewise.
1945 * abilist/libthread_db.abilist: Likewise.
1946 * abilist/libutil.abilist: Likewise.
1947 * abilist/libnss_db.abilist: New file.
1949 * scripts/abilist.awk: Add support for indirect functions.
1951 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1953 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1955 * shlib-versions: Remove entries for ports architectures.
1957 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1959 * elf/stackguard-macros.h: Remove support for IA-64.
1960 * elf/tst-auditmod1.c: Likewise.
1961 * sysdeps/generic/ldsodefs.h: Likewise.
1963 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1964 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1968 * configure.in: Remove --enable-omitfp support.
1970 * config.make.in: Likewise.
1971 * Makeconfig: Likewise.
1972 * manual/install.texi: Likewise.
1974 In case anyone cares, the IA-64 architecture could move to ports.
1975 * sysdeps/ia64/*: Removed.
1976 * sysdeps/unix/sysv/linux/ia64/*: Removed.
1977 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
1980 * configure.in: Remove entries for unsupported architectures.
1983 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1984 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1986 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1987 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1988 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1989 fall back to using wcrtomb.
1990 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1991 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1993 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1994 * wcsmbs/tst-c16c32-1.c: New file.
1996 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1999 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
2001 * elf/tst-unique3.cc: Add explicit declaration of gets.
2002 * elf/tst-unique3lib.cc: Likewise.
2003 * elf/tst-unique3lib2.cc: Likewise.
2004 * elf/tst-unique4.cc: Likewise.
2006 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
2008 2012-01-06 Joseph Myers <joseph@codesourcery.com>
2011 * assert/assert.h (static_assert): Don't define for C++.
2012 * libio/stdio.h (gets): Do declare for C++ <= C++11.
2013 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
2015 2012-01-03 Ulrich Drepper <drepper@gmail.com>
2017 * iconv/loop.c (single loop): Fix assertion in storing of
2020 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
2022 2012-01-01 Ulrich Drepper <drepper@gmail.com>
2024 * posix/getconf.c: Update copyright year.
2025 * nss/getent.c: Likewise.
2026 * nss/makedb.c: Likewise.
2027 * iconv/iconvconfig.c: Likewise.
2028 * iconv/iconv_prog.c: Likewise.
2029 * elf/ldconfig.c: Likewise.
2030 * elf/pldd.c: Likewise.
2031 * elf/sotruss.ksh: Likewise.
2032 * catgets/gencat.c: Likewise.
2033 * csu/version.c: Likewise.
2034 * elf/ldd.bash.in: Likewise.
2035 * elf/sprof.c (print_version): Likewise.
2036 * locale/programs/locale.c: Likewise.
2037 * locale/programs/localedef.c: Likewise.
2038 * login/programs/pt_chown.c: Likewise.
2039 * nscd/nscd.c (print_version): Likewise.
2040 * debug/xtrace.sh: Likewise.
2041 * malloc/memusage.sh: Likewise.
2042 * malloc/mtrace.pl: Likewise.
2043 * debug/catchsegv.sh: Likewise.
2045 2011-12-30 Jakub Jelinek <jakub@redhat.com>
2047 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
2050 2011-12-24 Ulrich Drepper <drepper@gmail.com>
2053 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
2054 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
2056 * iconv/gconv_int.h: Likewise.
2057 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
2058 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
2059 from libc for GLIBC_2.16.
2060 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
2061 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
2062 * wcsmbs/uchar.h: Really define mbstate_t.
2063 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
2064 * wcsmbs/c16rtomb.c: New file.
2065 * wcsmbs/mbrtoc16.c: New file.
2066 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
2068 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
2069 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
2071 * wcsmbs/wchar.h: Add missing __restrict.
2073 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2076 * time/Makefile (routines): Add timespec_get.
2077 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
2078 * time/time.h: Define TIME_UTC and declare timespec_get. Define
2079 timespec for ISO C11.
2080 * time/timespec_get.c: New file.
2081 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
2082 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
2085 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
2086 * stdlib/stdlib.h: Declare aligned_alloc.
2087 * Versions.def: Add GLIBC_2.16 for libc.
2088 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
2091 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
2094 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
2098 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
2101 * assert/assert.h (static_assert): Define.
2103 * version.h: Update for 2.16 development version.
2106 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
2109 * version.h (RELEASE): Bump for 2.15 release.
2110 * include/features.h (__GLIBC_MINOR__): Bump to 15.
2112 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
2113 Patch by Marek Polacek <mpolacek@redhat.com>.
2115 * bits/byteswap.h: Protect long long constants with __extension__.
2116 * sysdeps/i386/bits/byteswap.h: Likewise.
2117 * sysdeps/ia64/bits/byteswap.h: Likewise.
2118 * sysdeps/s390/bits/byteswap.h: Likewise.
2119 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2121 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2124 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
2126 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2128 2011-12-23 Marek Polacek <polacek@redhat.com>
2130 * elf/dl-addr.c (determine_info): Add inline keyword.
2131 * elf/tst-auditmod4b.c (check_avx): Likewise.
2132 * elf/tst-auditmod6b.c (check_avx): Likewise.
2133 * elf/tst-auditmod6c.c (check_avx): Likewise.
2134 * elf/tst-auditmod7b.c (check_avx): Likewise.
2136 2011-12-23 Ulrich Drepper <drepper@gmail.com>
2138 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
2141 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2144 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
2145 processing for last bytes.
2147 2011-08-06 Bruno Haible <bruno@clisp.org>
2150 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
2151 U+0385, not to U+1FEE.
2154 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
2155 entry for U+00A5 U+0301.
2157 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2160 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
2161 buffer for the output is too small.
2163 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
2167 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
2168 SSE flags if possible.
2170 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2173 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
2174 processing for last bytes.
2176 2011-12-22 Joseph Myers <joseph@codesourcery.com>
2178 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
2179 (syscall-list-default-options, syscall-list-default-condition)
2180 (syscall-list-includes): Define.
2181 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
2182 list of ABIs and options and #if conditions for each ABI. Do not
2183 handle common syscalls between ABIs specially.
2184 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
2186 (syscall-list-variants, syscall-list-32bit-options)
2187 (syscall-list-32bit-condition, syscall-list-64bit-options)
2188 (syscall-list-64bit-condition): Define.
2189 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
2190 (syscall-list-variants, syscall-list-32bit-options)
2191 (syscall-list-32bit-condition, syscall-list-64bit-options)
2192 (syscall-list-64bit-condition): Define.
2193 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
2195 (syscall-list-variants, syscall-list-32bit-options)
2196 (syscall-list-32bit-condition, syscall-list-64bit-options)
2197 (syscall-list-64bit-condition): Define.
2198 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
2200 (syscall-list-variants, syscall-list-32bit-options)
2201 (syscall-list-32bit-condition, syscall-list-64bit-options)
2202 (syscall-list-64bit-condition): Define.
2204 2011-12-22 Ulrich Drepper <drepper@gmail.com>
2206 * locale/iso-639.def: Add brx entry.
2209 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
2210 Proposed by Mariusz_Cukr <marcukr@op.pl>.
2212 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
2213 __feraiseexcept_renamed.
2215 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2218 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
2219 EPOLLET with unsigned values.
2220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2221 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
2223 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
2224 to large cancellation.
2225 * math/s_cacoshf.c: Likewise.
2226 * math/s_cacoshl.c: Likewise.
2228 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
2232 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
2233 * math/s_cacoshf.c: Likewise.
2234 * math/s_cacoshl.c: Likewise.
2236 2011-12-21 Ulrich Drepper <drepper@gmail.com>
2239 * iconv/gconv.h: Define __GCONV_SWAP.
2240 * iconvdata/unicode.c: The swap bit must be stored in __flags.
2241 * iconvdata/utf-16.c: Likewise.
2242 * iconvdata/utf-32.c: Likewise.
2244 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
2247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
2248 numerator after shifting it by one limb.
2250 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
2252 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
2253 under [__USE_EXTERN_INLINES].
2255 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2258 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
2260 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2262 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
2263 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
2265 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
2266 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
2267 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
2268 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
2269 for strncasecmp/strncasecmp_l compilation.
2270 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
2271 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
2273 2011-12-08 Marek Polacek <mpolacek@redhat.com>
2276 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
2279 2011-12-17 Ulrich Drepper <drepper@gmail.com>
2282 * time/tzfile.c (__tzfile_read): Check values from file header.
2284 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2286 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
2287 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
2288 * powerpc/powerpc32/dl-start.S: Likewise.
2289 * powerpc/powerpc32/elf/start.S: Likewise.
2290 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2291 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
2292 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
2293 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
2294 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2295 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
2296 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
2297 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
2298 * powerpc/powerpc32/fpu/s_round.S: Likewise.
2299 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2300 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2301 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2302 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2303 * powerpc/powerpc32/memset.S: Likewise.
2304 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2305 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2306 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2307 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2308 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2309 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2310 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2311 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2312 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
2313 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
2314 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
2315 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2316 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2318 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2320 * math/libm-test.inc: Added more nearbyint tests.
2321 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
2322 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
2323 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
2324 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
2326 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
2328 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
2331 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2333 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
2334 Add wcscpy-ssse3 wcscpy-c.
2335 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
2336 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
2337 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
2338 * sysdeps/x86_64/wcschr.S: New file.
2339 * sysdeps/x86_64/wcsrchr.S: New file.
2340 * string/test-strcmp.c: Remove checking of wcscmp function for
2342 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
2343 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
2344 wcsrchr-sse2 wcsrchr-c.
2345 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
2346 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
2347 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
2348 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
2349 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
2350 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
2351 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
2352 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
2353 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
2354 * wcsmbc/wcschr.c (WCSCHR): New macro.
2356 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2358 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
2359 * wcsmbs/test-wcsrchr.c: New file.
2360 * string/test-strrchr.c: Add wcsrchr support.
2362 * wcsmbs/test-wcscpy.c: New file.
2363 * string/test-strcpy.c: Add wcscpy support.
2366 2011-12-10 Ulrich Drepper <drepper@gmail.com>
2368 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
2371 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
2374 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
2376 2011-12-04 Ulrich Drepper <drepper@gmail.com>
2378 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
2379 Minor optimizations.
2381 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
2382 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
2383 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2385 2011-12-03 Ulrich Drepper <drepper@gmail.com>
2387 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
2388 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
2389 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
2390 for gcc to avoid warnings.
2391 * inet/Makefile (tests): Add tst-checks.
2392 * inet/tst-checks.c: New file.
2394 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
2397 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
2400 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
2401 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
2403 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
2405 2011-12-02 Ulrich Drepper <drepper@gmail.com>
2407 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
2410 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
2412 2011-11-29 Joseph Myers <joseph@codesourcery.com>
2414 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
2415 conditional on GCC version.
2416 (__arch_compare_and_exchange_val_8_acq)
2417 (__arch_compare_and_exchange_val_16_acq)
2418 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
2419 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
2420 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
2422 2011-12-02 Joseph Myers <joseph@codesourcery.com>
2424 * sysdeps/sh/backtrace.c: New file.
2426 2011-12-02 Andreas Schwab <schwab@redhat.com>
2428 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
2431 2011-12-01 Andreas Schwab <schwab@redhat.com>
2433 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
2434 falling back to utime.
2436 2011-11-30 Andreas Schwab <schwab@redhat.com>
2438 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
2439 expectations for float.
2441 2011-11-29 Andreas Schwab <schwab@redhat.com>
2443 * locale/weight.h (findidx): Add parameter len.
2444 * locale/weightwc.h (findidx): Likewise.
2445 * posix/fnmatch_loop.c (FCT): Adjust caller.
2446 * posix/regcomp.c (build_equiv_class): Likewise.
2447 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
2448 * posix/regexec.c (check_node_accept_bytes): Likewise.
2449 * string/strcoll_l.c (STRCOLL): Likewise.
2450 * string/strxfrm_l.c (STRXFRM): Likewise.
2452 2011-11-17 Ulrich Drepper <drepper@gmail.com>
2454 * Makefile.in: Remove CVSOPT handling.
2455 * configure.in: Remove use of AC_REVISION.
2456 * iconvdata/Makefile (distribute): No need to filter out CVS.
2457 * scripts/list-sources.sh: Remove CVS, subversion and monotone
2460 2011-11-16 Andreas Schwab <schwab@redhat.com>
2462 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
2463 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
2464 [USE_AS_STRNCASECMP_L]: Likewise.
2465 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
2466 NO_TLS_DIRECT_SEG_REFS.
2467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
2468 Fix argument offsets for non-PIC.
2469 [USE_AS_STRNCASECMP_L]: Likewise.
2470 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
2471 NO_TLS_DIRECT_SEG_REFS.
2473 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2475 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
2477 * locale/loadlocale.c (_nl_load_locale): Likewise.
2479 2011-11-15 Andreas Schwab <schwab@redhat.com>
2481 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
2482 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
2483 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
2484 (SYSCALL_GETTIME): Set errno on error.
2486 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
2487 count references to noai6ai_cached.
2489 2011-11-15 Ulrich Drepper <drepper@gmail.com>
2491 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
2493 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
2494 FD_CLOEXEC for /proc/self/maps.
2496 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
2497 FD_CLOEXEC for /proc/meminfo.
2499 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
2502 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
2503 FD_CLOEXEC for given file.
2505 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
2507 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
2508 FD_CLOEXEC for /etc/hosts.
2509 (_gethtent): Likewise.
2511 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
2513 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
2514 cancellation and set FD_CLOEXEC for /etc/netgroup.
2516 * nss/nss_files/files-key.c (search): Don't allow cancellation when
2517 reading /etc/publickey.
2519 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
2520 allow cancellation when reading /etc/group.
2522 * nss/nss_files/files-alias.c (internal_setent): Don't allow
2524 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
2526 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
2527 when using data file.
2529 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
2531 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
2532 (write_nis_obj): Use "c" and "e" in fopen.
2534 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
2536 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
2538 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
2540 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
2542 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
2545 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
2547 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
2549 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
2551 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
2552 file parsing and set FD_CLOEXEC.
2554 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2556 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
2558 2011-11-14 Andreas Schwab <schwab@redhat.com>
2560 * malloc/arena.c (arena_get2): Don't call reused_arena when
2561 _int_new_arena failed.
2563 2011-11-14 Ulrich Drepper <drepper@gmail.com>
2565 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
2566 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
2567 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
2568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2569 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2570 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
2571 to compile strcasecmp and strncasecmp.
2572 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
2573 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
2575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
2577 2011-11-13 Ulrich Drepper <drepper@gmail.com>
2579 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
2580 locale-defines.sym to gen-as-const-headers.
2581 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
2582 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
2583 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
2584 to compile strcasecmp and strncasecmp.
2585 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
2586 strcasecmp_l and strncasecmp_l.
2587 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
2588 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
2589 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
2590 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
2591 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
2592 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
2593 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
2594 * sysdeps/i386/i686/multiarch/strncase.S: New file.
2595 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
2596 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
2597 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
2599 2011-11-12 Ulrich Drepper <drepper@gmail.com>
2601 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
2602 result of SYSDEP_GETTIME_CPU to retval.
2603 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
2604 parameter list to macro. Remove trailing semicolon. Adjust users.
2606 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
2609 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
2611 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2613 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
2614 from unused variable.
2616 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
2618 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
2621 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
2624 * sunrpc/rpc_prot.c (rejected): Fix case value.
2626 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
2627 unsigned long long int to avoid warnings in shift.
2629 * posix/regex_internal.c (re_string_reconstruct): Actually use result
2631 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
2634 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
2635 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2636 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2638 * nis/nis_table.c (nis_list): Use variable of correct type for
2639 result of __follow_path call.
2641 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2643 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
2644 of math functions ceil, trunc, floor, round, and sqrt, when
2645 avaliable on the platform.
2646 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
2648 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2649 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2650 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2652 2011-10-30 Marek Polacek <mpolacek@redhat.com>
2654 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
2655 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2657 2011-11-11 Roland McGrath <roland@hack.frob.com>
2659 * include/unistd.h: Fix __readlink return type.
2660 Reported by Chris Metcalf <cmetcalf@tilera.com>.
2662 2011-11-11 Ulrich Drepper <drepper@gmail.com>
2664 * stdlib/ucontext.h: Undo last change for makecontext.
2666 2011-11-11 Andreas Schwab <schwab@redhat.com>
2668 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
2670 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
2671 * setjmp/setjmp.h: Mark functions as non-leaf.
2672 * setjmp/bits/setjmp2.h: Likewise.
2673 * stdlib/ucontext.h: Likewise.
2675 2011-11-10 Andreas Schwab <schwab@redhat.com>
2677 * malloc/arena.c (_int_new_arena): Don't increment narenas.
2678 (reused_arena): Don't check arena limit.
2679 (arena_get2): Atomically check arena limit.
2681 2011-11-08 Ulrich Drepper <drepper@gmail.com>
2683 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
2684 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
2686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
2689 2011-11-07 Andreas Schwab <schwab@redhat.com>
2691 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
2692 handler when locking.
2694 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
2695 Fix size of allocated buffer.
2697 2011-11-04 Andreas Schwab <schwab@redhat.com>
2700 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
2701 declarations for long double functions.
2702 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
2704 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
2706 2011-11-03 Andreas Schwab <schwab@redhat.com>
2708 * nscd/nscd.c (main): Don't start AVC thread until credentials are
2711 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
2714 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
2716 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
2718 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
2720 * include/alloca.h (stackinfo_alloca_round): Define.
2721 (extend_alloca): Use it.
2722 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
2723 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
2726 * scripts/check-local-headers.sh: Ignore libaudit.h.
2728 * nscd/Makefile (extra-objs): Make recursively expanded.
2730 2011-11-01 Ulrich Drepper <drepper@gmail.com>
2732 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
2733 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2735 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
2736 * posix/tst-rfc3484-2.c: Likewise.
2737 * posix/tst-rfc3484-3.c: Likewise.
2739 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2741 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
2743 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
2744 process_vm_writev from libc using GLIBC_2.15 version.
2746 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
2748 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2750 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
2753 2011-10-31 Ulrich Drepper <drepper@gmail.com>
2756 * nss/getent.c (initgroups_keys): Show error message in case no group
2759 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
2760 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
2761 __bump_nl_timestamp.
2762 * nscd/connections (nscd_init): When host database is served open
2763 netlink socket and request notification about configuration changes.
2764 (main_loop_poll): Track netlink file descriptor and bump timestamp
2765 in case data becomes available.
2766 (main_loop_epoll): Likewise.
2767 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
2768 (database_pers_head): Add extra_data fileds.
2769 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
2770 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
2771 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
2773 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
2774 in6ai data, call __free_in6ai.
2775 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
2777 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
2778 interface information. Reuse previous data if netlink timestamp
2780 (__bump_nl_timestamp): New function.
2781 (__free_in6ai): New function.
2783 2011-10-30 Ulrich Drepper <drepper@gmail.com>
2785 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
2786 close_not_cancel_no_status here.
2787 (__check_pf): Reorganize code a bit to not call close twice if OOM.
2789 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2792 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
2795 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
2796 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
2797 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
2799 2011-07-03 Andreas Jaeger <aj@suse.de>
2802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
2803 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
2804 * math/libm-test.inc (sin_test): Add test case.
2806 2011-10-29 Ulrich Drepper <drepper@gmail.com>
2809 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
2810 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2812 * elf/chroot_canon.c (chroot_canon): Cleanups.
2814 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
2817 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
2818 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
2820 * string/test-strchr.c: Make usable for strchrnul testing.
2821 * string/test-strchrnul.c: New file.
2822 * string/Makefile (strop-tests): Add strchrnul.
2824 * po/it.po: Update from translation team.
2825 * po/es.po: Likewise.
2827 2011-10-28 Ulrich Drepper <drepper@gmail.com>
2829 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
2830 the three constants needed as parameters. Drop the others.
2831 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
2832 __m128i_strloadu_tolower.
2833 Create and initialize variable zero and use it in all the places
2834 where _mm_setzero_si128 was used.
2836 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
2837 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
2838 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
2839 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
2841 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
2842 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
2843 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
2844 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
2845 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
2846 __mpranred, __mptan.
2847 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
2848 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
2849 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
2850 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
2851 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
2852 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
2853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
2854 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
2855 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
2857 2011-10-28 Andreas Schwab <schwab@redhat.com>
2859 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
2861 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
2863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
2864 wide char related routines to wcsmbs subdir.
2866 2011-10-27 Andreas Schwab <schwab@redhat.com>
2869 * misc/sys/cdefs.h (__THROWNL): Define.
2870 * posix/unistd.h: Use __THREADNL instead of __THREAD
2871 for memory synchronization functions.
2873 2011-10-26 Roland McGrath <roland@hack.frob.com>
2876 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
2878 * manual/stdio.texi (Obstack Streams): Node removed.
2880 2011-10-26 Andreas Schwab <schwab@redhat.com>
2882 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
2883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2884 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2886 * math/math_private.h (math_force_eval): Allow non-addressable
2888 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
2890 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2892 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
2895 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
2896 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2899 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2900 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2901 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2902 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
2904 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
2905 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
2906 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
2907 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
2908 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
2909 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
2910 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
2911 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
2912 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
2913 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
2914 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
2915 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
2916 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
2917 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
2918 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
2919 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
2920 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
2921 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
2922 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
2924 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
2925 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
2927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
2928 place. Use VEX encoding when compiling for AVX.
2930 2011-10-25 Andreas Schwab <schwab@redhat.com>
2932 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
2933 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2935 * string/test-strchr.c (do_test): Don't generate NUL bytes.
2937 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2939 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
2940 useless if() expression.
2941 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2942 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2943 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2945 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2946 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2947 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2948 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2949 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2950 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2951 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2953 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2955 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2956 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2957 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2958 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2959 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2961 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2963 2011-10-25 Andreas Schwab <schwab@redhat.com>
2965 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2967 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2969 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2971 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2972 .text section. Avoid duplicate constants.
2973 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2977 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2981 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2983 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2984 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2985 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2986 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2987 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2988 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2989 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2990 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2991 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2993 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2994 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2995 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2996 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2997 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2998 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2999 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
3000 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
3001 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
3002 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
3003 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
3004 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
3005 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3006 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
3007 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
3008 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
3009 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
3010 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
3011 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
3012 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
3013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
3014 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
3015 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
3016 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
3017 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
3019 2011-10-24 Ulrich Drepper <drepper@gmail.com>
3021 * sysdeps/x86_64/dla.h: Move to ...
3022 * sysdeps/x86_64/fpu/dla.h: ...here.
3023 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
3024 situations. Use __builtin_fma only for gcc 4.6 and up.
3026 * config.make.in: Add have-mfma4 entry.
3027 * configure.in: Substitute libc_cv_cc_fma4.
3028 * math/Makefile (dbl-only-routines): Add sincostab.
3029 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
3030 Use __sincostab not sincos.
3031 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
3033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3036 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
3038 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
3039 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
3040 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
3041 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
3043 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
3044 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
3046 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
3047 define aliases when function name is a macro.
3048 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
3049 sysdeps/ieee754/dbl-64/sincos.tbl.
3050 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
3051 fma4-enabled routines.
3052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
3053 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
3054 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
3055 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
3056 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
3057 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
3058 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
3059 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
3060 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
3061 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
3062 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
3063 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
3064 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
3065 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
3066 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
3067 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
3068 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
3069 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
3070 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
3071 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
3072 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
3073 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
3074 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
3075 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
3076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
3077 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
3078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
3079 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
3080 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
3081 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
3083 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
3085 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3086 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3087 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3088 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3089 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3090 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3091 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3092 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3094 2011-10-24 Andreas Schwab <schwab@redhat.com>
3096 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
3098 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3100 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
3102 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
3104 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
3106 * string/strnlen.c: Don't define STRNLEN, reverse logic.
3107 Remove unused variable magic_bits.
3108 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
3110 * string/strnlen.c: Define and use STRNLEN macro.
3111 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
3112 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
3113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
3114 * wcsmbs/wcslen.c: Define and use WCSLEN.
3115 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
3116 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
3117 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
3118 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
3119 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
3120 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
3121 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3123 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3126 strnlen-sse2-no-bsf.
3127 Rename strlen-no-bsf to strlen-sse2-no-bsf.
3128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
3129 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
3130 Add strnlen support.
3131 (USE_AS_STRNLEN): New macro.
3132 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
3133 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
3134 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
3135 * sysdeps/x86_64/wcslen.S: New file.
3137 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
3139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3140 XMM-moves are used for copying on small sizes.
3142 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3144 * wcsmbs/Makefile (strop-tests): Add wcschr.
3145 * wcsmbs/test-wcschr.c: New file.
3146 * string/test-strchr.c: Update.
3150 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3152 * wcsmbs/Makefile (strop-tests): Add wcslen.
3153 * wcsmbs/test-wcslen.c: New file.
3154 * string/test-strlen.c: Update.
3158 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3160 * po/it.po: Update from translation team.
3162 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3164 * sysdeps/x86_64/wcscmp.S: Update.
3165 Fix wrong comparison semantics.
3166 wcscmp shall use signed comparison not unsigned.
3167 Don't use substraction to avoid overflow bug.
3168 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3169 * wcsmbc/wcscmp.c: Likewise.
3170 * string/test-strcmp.c: Likewise.
3171 Add new tests to check cases with negative values.
3173 2011-10-23 Ulrich Drepper <drepper@gmail.com>
3175 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
3176 * sysdeps/x86_64/dla.h: ...here. New file.
3177 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
3178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3182 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3187 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
3189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
3190 __ynl_finite aliases.
3192 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3196 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
3198 [DLA_FMA] (EMULV): Use DLA_FMA.
3199 [DLA_FMA] (MUL12): Use EMULV.
3200 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
3201 that are not needed.
3202 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3210 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
3212 * math/s_nan.c: Undef __nan.
3213 * math/s_nanf.c: Undef __nanf.
3214 * math/s_nanl.c: Undef __nanl.
3215 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
3218 2011-10-22 Ulrich Drepper <drepper@gmail.com>
3220 * math/s_catan.c: Add branch predictions.
3221 * math/s_catanf.c: Likewise.
3222 * math/s_catanh.c: Likewise.
3223 * math/s_catanhf.c: Likewise.
3224 * math/s_catanhl.c: Likewise.
3225 * math/s_catanl.c: Likewise.
3226 * math/s_cexp.c: Likewise.
3227 * math/s_cexpf.c: Likewise.
3228 * math/s_cexpl.c: Likewise.
3229 * math/s_clog.c: Likewise.
3230 * math/s_clog10.c: Likewise.
3231 * math/s_clog10f.c: Likewise.
3232 * math/s_clog10l.c: Likewise.
3233 * math/s_clogf.c: Likewise.
3234 * math/s_clogl.c: Likewise.
3235 * math/s_csqrt.c: Likewise.
3236 * math/s_csqrtf.c: Likewise.
3237 * math/s_csqrtl.c: Likewise.
3238 * math/s_ctanf.c: Likewise.
3239 * math/s_ctanh.c: Likewise.
3240 * math/s_ctanhf.c: Likewise.
3241 * math/s_ctanhl.c: Likewise.
3242 * math/s_ctanl.c: Likewise.
3244 * math/math_private.h: Define __nan, __nanf, __nanl.
3245 * math/s_cacosh.c: Include <math_private.h>.
3246 * math/s_cacoshl.c: Likewise.
3247 * math/s_casinh.c: Likewise.
3248 * math/s_casinhf.c: Likewise.
3249 * math/s_casinhl.c: Likewise.
3250 * math/s_ccos.c: Rely entire on ccosh.
3251 * math/s_ccosf.c: Rely entire on ccoshf.
3252 * math/s_ccosl.c: Rely entirely on ccoshl.
3253 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
3254 Remove tests for FE_INVALID.
3255 * math/s_ccoshf.c: Likewise.
3256 * math/s_ccoshl.c: Likewise.
3257 * math/s_csin.c: Likewise.
3258 * math/s_csinf.c: Likewise.
3259 * math/s_csinh.c Likewise.
3260 * math/s_csinhf.c: Likewise.
3261 * math/s_csinhl.c: Likewise.
3262 * math/s_csinl.c: Likewise.
3263 * math/s_ctan.c: Likewise.
3264 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
3265 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
3266 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
3268 2011-10-21 Ulrich Drepper <drepper@gmail.com>
3270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
3271 compilation problems.
3273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
3276 2011-10-20 Ulrich Drepper <drepper@gmail.com>
3278 * sysdeps/i386/configure.in: Test for -mfma4 option.
3279 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
3280 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
3281 COMMON_CPUID_INDEX_80000001.
3282 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
3283 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
3284 use it if FMA3 is not supported.
3285 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3287 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
3288 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
3290 2011-10-20 Andreas Schwab <schwab@redhat.com>
3293 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
3294 it would create a cycle with a link time dependency.
3296 2011-10-19 Ulrich Drepper <drepper@gmail.com>
3298 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
3300 * string/Makefile (strop-tests): Add rawmemchr.
3301 * string/test-rawmemchr.c: New file.
3303 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
3304 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
3305 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
3306 when compiling str{,n}casecmp and when AVX is available. Hook up
3307 new optimized code in initializers.
3309 2011-10-19 Andreas Schwab <schwab@redhat.com>
3311 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
3312 __feraiseexcept instead of feraiseexcept.
3314 2011-10-18 Ulrich Drepper <drepper@gmail.com>
3316 * math/math_private.h: Define defaults for libc_fetestexcept and
3318 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
3319 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
3320 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3321 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3322 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3323 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3324 libc_fetestexcept and libc_feupdateenv.
3326 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
3327 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
3328 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
3329 * sysdeps/x86_64/fpu/math_private.h: Define special version of
3330 libc_feholdexcept_setround.
3332 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
3333 Add s_nearbyint-c and s_nearbyintf-c.
3334 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
3336 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
3337 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
3338 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
3339 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
3341 * math/math_private.h: Define defaults for libc_fegetround,
3342 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
3343 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
3344 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
3345 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
3346 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
3348 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3349 Remove comments and hacks for old compiler versions.
3350 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
3351 libc_fegetround, libc_fesetround, libc_feholdexcept, and
3354 2011-10-18 Andreas Schwab <schwab@redhat.com>
3356 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
3357 (__feraiseexcept_renamed): Add __NTH.
3358 (feraiseexcept): Add __NTH. Rename local variables to fix
3359 namespace violations.
3361 2011-10-17 Ulrich Drepper <drepper@gmail.com>
3363 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
3365 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
3367 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
3368 recently added interfaces.
3369 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
3371 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
3372 about macro parameter expansion.
3374 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
3375 __NO_MATH_INLINES is defined. Cleanups.
3377 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
3378 and __floorf is target has SSE4.1.
3379 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
3380 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
3381 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
3382 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
3384 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
3388 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
3390 2011-10-17 Andreas Schwab <schwab@redhat.com>
3392 * misc/sys/cdefs.h: Fix last change.
3394 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
3397 2011-10-16 Ulrich Drepper <drepper@gmail.com>
3399 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
3401 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
3402 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3406 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3407 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3408 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3409 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3410 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
3411 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
3412 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
3413 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
3414 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
3415 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
3416 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
3417 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
3418 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
3419 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
3420 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
3421 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
3422 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
3424 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
3425 ceil, ceilf, floor, floorf.
3427 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
3428 Perform IRELATIVE relocations last.
3430 * elf/do-rel.h: Add another parameter nrelative, replacing the
3431 local variable with the same name. Change name of the function
3432 to end in Rel or Rela (uppercase).
3433 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
3434 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
3435 elf_dynamic_do_##reloc function.
3437 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3439 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
3440 is sufficient, at least on modern CPUs.
3442 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
3444 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
3445 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
3447 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
3449 * math/bits/math-finite.h: Add entries for exp.
3450 * math/e_expl.c: Add __*_finite alias.
3451 * sysdeps/i386/fpu/e_exp.S: Likewise.
3452 * sysdeps/i386/fpu/e_expf.S: Likewise.
3453 * sysdeps/i386/fpu/e_expl.c: Likewise.
3454 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3455 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
3456 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3457 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3458 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
3459 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3460 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3462 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
3463 is sufficient, at least on modern CPUs.
3465 * ctype/ctype-info.c (__ctype_init): Define.
3466 * include/ctype.h (__ctype_init): Declare.
3467 (__ctype_b_loc): The variable is always initialized.
3468 (__ctype_toupper_loc): Likewise.
3469 (__ctype_tolower_loc): Likewise.
3470 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
3471 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
3473 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
3475 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
3477 * configure.in: Also look in $cxxmachine/include for C++ system
3480 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3482 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
3483 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
3484 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
3485 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
3486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
3487 (USE_AS_WMEMCMP): New macro.
3489 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
3490 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
3491 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
3492 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
3493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3494 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
3495 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
3496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
3497 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
3498 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
3499 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
3500 (USE_AS_WMEMCMP): New macro.
3501 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
3502 * sysdeps/string/test-memcmp.c: Update.
3505 * wcsmbs/wmemcmp.c: Update.
3506 (WMEMCMP): New macro.
3509 2011-10-12 Andreas Jaeger <aj@suse.de>
3512 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
3514 2011-10-15 Ulrich Drepper <drepper@gmail.com>
3516 * libio/iofwide.c (do_length): Avoid warning.
3518 * ctype/ctype.h (__isctype_f): Add missing __THROW.
3520 2011-10-14 Ulrich Drepper <drepper@gmail.com>
3522 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
3524 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
3525 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
3526 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
3527 * sysdeps/i386/i686/fpu/e_log.S: New file.
3528 * sysdeps/i386/i686/fpu/e_logf.S: New file.
3529 * sysdeps/i386/i686/fpu/e_logl.S: New file.
3531 * ctype/ctype.h: Add support for inlined isXXX functions when
3534 2011-10-14 Andreas Schwab <schwab@redhat.com>
3536 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3538 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
3540 2011-10-13 Roland McGrath <roland@hack.frob.com>
3543 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
3545 2011-10-13 Andreas Schwab <schwab@redhat.com>
3547 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
3548 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
3551 * sysdeps/x86_64/memrchr.S: Check for zero size.
3553 * string/stratcliff.c: Add memrchr tests.
3555 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3558 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
3559 rawmemchr-sse2 rawmemchr-sse2-bsf.
3560 * sysdeps/i386/i686/multiarch/memchr.S: New file.
3561 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
3562 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
3563 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
3564 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
3565 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
3566 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
3567 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
3568 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
3569 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
3570 * string/memrchr.c (MEMRCHR): New macro.
3572 2011-10-12 Ulrich Drepper <drepper@gmail.com>
3574 Add integration with gcc's -ffinite-math-only and optimize wrapper
3576 * Versions.def: Define GLIBC_2.15 version for libm.
3577 * math/Makefile (headers): Add bits/math-finite.h.
3578 * math/bits/math-finite.h: New file.
3579 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
3580 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
3581 * math/e_acoshl.c: Add __*_finite alias.
3582 * math/e_acosl.c: Likewise.
3583 * math/e_asinl.c: Likewise.
3584 * math/e_atan2l.c: Likewise.
3585 * math/e_atanhl.c: Likewise.
3586 * math/e_coshl.c: Likewise.
3587 * math/e_exp10.c: Likewise.
3588 * math/e_exp10f.c: Likewise.
3589 * math/e_exp10l.c: Likewise.
3590 * math/e_exp2l.c: Likewise.
3591 * math/e_fmodl.c: Likewise.
3592 * math/e_gammal_r.c: Likewise.
3593 * math/e_hypotl.c: Likewise.
3594 * math/e_j0l.c: Likewise.
3595 * math/e_j1l.c: Likewise.
3596 * math/e_jnl.c: Likewise.
3597 * math/e_lgammal_r.c: Likewise.
3598 * math/e_log10l.c: Likewise.
3599 * math/e_log2l.c: Likewise.
3600 * math/e_logl.c: Likewise.
3601 * math/e_powl.c: Likewise.
3602 * math/e_sinhl.c: Likewise.
3603 * math/e_sqrtl.c: Likewise.
3604 * math/e_scalb.c: Completely rewritten and optimized.
3605 * math/e_scalbf.c: Likewise.
3606 * math/e_scalbl.c: Likewise.
3607 * math/w_acos.c: Likewise.
3608 * math/w_acosf.c: Likewise.
3609 * math/w_acosl.c: Likewise.
3610 * math/w_acosh.c: Likewise.
3611 * math/w_acoshf.c: Likewise.
3612 * math/w_acoshl.c: Likewise.
3613 * math/w_asin.c: Likewise.
3614 * math/w_asinf.c: Likewise.
3615 * math/w_asinl.c: Likewise.
3616 * math/w_atan2.c: Likewise.
3617 * math/w_atan2f.c: Likewise.
3618 * math/w_atan2l.c: Likewise.
3619 * math/w_atanh.c: Likewise.
3620 * math/w_atanhf.c: Likewise.
3621 * math/w_atanhl.c: Likewise.
3622 * math/w_exp10.c: Likewise.
3623 * math/w_exp10f.c: Likewise.
3624 * math/w_exp10l.c: Likewise.
3625 * math/w_fmod.c: Likewise.
3626 * math/w_fmodf.c: Likewise.
3627 * math/w_fmodl.c: Likewise.
3628 * math/w_j0.c: Likewise.
3629 * math/w_j0f.c: Likewise.
3630 * math/w_j0l.c: Likewise.
3631 * math/w_j1.c: Likewise.
3632 * math/w_j1f.c: Likewise.
3633 * math/w_j1l.c: Likewise.
3634 * math/w_jn.c: Likewise.
3635 * math/w_jnf.c: Likewise.
3636 * math/w_log.c: Likewise.
3637 * math/w_logf.c: Likewise.
3638 * math/w_logl.c: Likewise.
3639 * math/w_log10.c: Likewise.
3640 * math/w_log10f.c: Likewise.
3641 * math/w_log10l.c: Likewise.
3642 * math/w_log2.c: Likewise.
3643 * math/w_log2f.c: Likewise.
3644 * math/w_log2l.c: Likewise.
3645 * math/w_pow.c: Likewise.
3646 * math/w_powf.c: Likewise.
3647 * math/w_powl.c: Likewise.
3648 * math/w_remainder.c: Likewise.
3649 * math/w_remainderf.c: Likewise.
3650 * math/w_remainderl.c: Likewise.
3651 * math/w_scalb.c: Likewise.
3652 * math/w_scalbf.c: Likewise.
3653 * math/w_scalbl.c: Likewise.
3654 * math/w_sqrt.c: Likewise.
3655 * math/w_sqrtf.c: Likewise.
3656 * math/w_sqrtl.c: Likewise.
3657 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
3658 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
3660 * math/math_private.h: Declare __kernel_standard_f.
3661 * math/w_cosh.c: Remove cruft and optimize a bit.
3662 * math/w_coshf.c: Likewise.
3663 * math/w_coshl.c: Likewise.
3664 * math/w_exp2.c: Likewise.
3665 * math/w_exp2f.c: Likewise.
3666 * math/w_exp2l.c: Likewise.
3667 * math/w_hypot.c: Likewise.
3668 * math/w_hypotf.c: Likewise.
3669 * math/w_hypotl.c: Likewise.
3670 * math/w_lgamma.c: Likewise.
3671 * math/w_lgamma_r.c: Likewise.
3672 * math/w_lgammaf.c: Likewise.
3673 * math/w_lgammaf_r.c: Likewise.
3674 * math/w_lgammal.c: Likewise.
3675 * math/w_lgammal_r.c: Likewise.
3676 * math/w_sinh.c: Likewise.
3677 * math/w_sinhf.c: Likewise.
3678 * math/w_sinhl.c: Likewise.
3679 * math/w_tgamma.c: Likewise.
3680 * math/w_tgammaf.c: Likewise.
3681 * math/w_tgammal.c: Likewise.
3682 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3683 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3684 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
3685 Minor optimizations. Pretty printing. Remove cruft.
3686 * sysdeps/i386/fpu/e_acosf.S: Likewise.
3687 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3688 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3689 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3690 * sysdeps/i386/fpu/e_acosl.c: Likewise.
3691 * sysdeps/i386/fpu/e_asin.S: Likewise.
3692 * sysdeps/i386/fpu/e_asinf.S: Likewise.
3693 * sysdeps/i386/fpu/e_atan2.S: Likewise.
3694 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
3695 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
3696 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3697 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3698 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3699 * sysdeps/i386/fpu/e_exp10.S: Likewise.
3700 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
3701 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
3702 * sysdeps/i386/fpu/e_exp2.S: Likewise.
3703 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
3704 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
3705 * sysdeps/i386/fpu/e_fmod.S: Likewise.
3706 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
3707 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
3708 * sysdeps/i386/fpu/e_hypot.S: Likewise.
3709 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
3710 * sysdeps/i386/fpu/e_log.S: Likewise.
3711 * sysdeps/i386/fpu/e_log10.S: Likewise.
3712 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3713 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3714 * sysdeps/i386/fpu/e_log2.S: Likewise.
3715 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3716 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3717 * sysdeps/i386/fpu/e_logf.S: Likewise.
3718 * sysdeps/i386/fpu/e_logl.S: Likewise.
3719 * sysdeps/i386/fpu/e_pow.S: Likewise.
3720 * sysdeps/i386/fpu/e_powf.S: Likewise.
3721 * sysdeps/i386/fpu/e_powl.S: Likewise.
3722 * sysdeps/i386/fpu/e_remainder.S: Likewise.
3723 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
3724 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
3725 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3726 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3727 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3728 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
3729 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
3730 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
3731 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3734 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3735 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3736 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3737 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3738 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3739 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3740 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3741 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3742 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3744 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3745 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3747 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3748 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3752 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3753 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3754 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3755 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3756 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3757 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
3758 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3759 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
3760 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3761 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3762 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3763 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3764 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3765 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3766 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3767 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3768 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3769 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3770 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3771 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3772 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3811 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
3814 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3816 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3817 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3819 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3822 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3823 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3824 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3825 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3826 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
3827 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
3828 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3829 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3830 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3831 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
3832 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
3833 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
3834 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
3835 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3836 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3837 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3838 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3839 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
3840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3841 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
3842 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
3843 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
3844 (__isnanf): Likewise.
3845 (__isinf_ns): Likewise.
3846 (__isinf_nsf): Likewise.
3847 (__finite): Likewise.
3848 (__finitef): Likewise.
3849 (__ieee754_sqrt): Define as macro.
3850 (__ieee754_sqrtf): Define as macro.
3851 (__ieee754_sqrtl): Define as macro.
3852 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
3854 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
3855 __FINITE_MATH_ONLY__ consistent.
3856 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
3858 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
3860 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
3863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
3865 2011-10-09 Ulrich Drepper <drepper@gmail.com>
3867 * po/ja.po: Update from translation team.
3869 2011-10-08 Roland McGrath <roland@hack.frob.com>
3871 * locale/programs/locarchive.c (prepare_address_space): New function.
3872 (create_archive, enlarge_archive, open_archive): Use it.
3874 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
3875 inside [SHARED], where it is used.
3877 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
3879 * nss/getent.c (netgroup_keys): Remove unused variable.
3880 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3882 2011-10-08 Ulrich Drepper <drepper@gmail.com>
3884 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
3885 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
3886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
3887 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
3888 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
3889 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
3890 * math/Makefile (libm-calls): Add s_isinf_ns.
3891 * math/divtc3.c: Use __isinf_nsl instead of isinf.
3892 * math/multc3.c: Likewise.
3893 * math/s_casin.c: Likewise.
3894 * math/s_casinf.c: Likewise.
3895 * math/s_casinl.c: Likewise.
3896 * math/s_ccos.c: Likewise.
3897 * math/s_ccosf.c: Likewise.
3898 * math/s_ccosl.c: Likewise.
3899 * math/s_ctan.c: Likewise.
3900 * math/s_ctanf.c: Likewise.
3901 * math/s_ctanh.c: Likewise.
3902 * math/s_ctanhf.c: Likewise.
3903 * math/s_ctanhl.c: Likewise.
3904 * math/s_ctanl.c: Likewise.
3905 * math/w_fmod.c: Likewise.
3906 * math/w_fmodf.c: Likewise.
3907 * math/w_fmodl.c: Likewise.
3908 * math/w_remainder.c: Likewise.
3909 * math/w_remainderf.c: Likewise.
3910 * math/w_remainderl.c: Likewise.
3911 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
3912 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
3913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
3914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
3915 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
3916 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
3917 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
3918 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
3920 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
3922 * stdio-common/printf_fphex.c: Likewise.
3923 * stdio-common/printf_size.c: Likewise.
3925 * math/e_exp10.c: Include math_private.h using <...> not "...".
3926 * math/e_exp10f.c: Likewise.
3927 * math/e_exp10l.c: Likewise.
3928 * math/e_exp2l.c: Likewise.
3929 * math/e_j0l.c: Likewise.
3930 * math/e_j1l.c: Likewise.
3931 * math/e_jnl.c: Likewise.
3932 * math/e_lgammal_r.c: Likewise.
3933 * math/e_rem_pio2l.c: Likewise.
3934 * math/e_scalb.c: Likewise.
3935 * math/e_scalbf.c: Likewise.
3936 * math/e_scalbl.c: Likewise.
3937 * math/k_cosl.c: Likewise.
3938 * math/k_sinl.c: Likewise.
3939 * math/k_tanl.c: Likewise.
3940 * math/s_cacoshf.c: Likewise.
3941 * math/s_catan.c: Likewise.
3942 * math/s_catanf.c: Likewise.
3943 * math/s_catanh.c: Likewise.
3944 * math/s_catanhf.c: Likewise.
3945 * math/s_catanhl.c: Likewise.
3946 * math/s_catanl.c: Likewise.
3947 * math/s_ccosh.c: Likewise.
3948 * math/s_ccoshf.c: Likewise.
3949 * math/s_ccoshl.c: Likewise.
3950 * math/s_cexp.c: Likewise.
3951 * math/s_cexpf.c: Likewise.
3952 * math/s_cexpl.c: Likewise.
3953 * math/s_clog.c: Likewise.
3954 * math/s_clog10.c: Likewise.
3955 * math/s_clog10f.c: Likewise.
3956 * math/s_clog10l.c: Likewise.
3957 * math/s_clogf.c: Likewise.
3958 * math/s_clogl.c: Likewise.
3959 * math/s_csin.c: Likewise.
3960 * math/s_csinf.c: Likewise.
3961 * math/s_csinh.c: Likewise.
3962 * math/s_csinhf.c: Likewise.
3963 * math/s_csinhl.c: Likewise.
3964 * math/s_csinl.c: Likewise.
3965 * math/s_csqrt.c: Likewise.
3966 * math/s_csqrtf.c: Likewise.
3967 * math/s_csqrtl.c: Likewise.
3968 * math/s_ctan.c: Likewise.
3969 * math/s_ctanf.c: Likewise.
3970 * math/s_ctanh.c: Likewise.
3971 * math/s_ctanhf.c: Likewise.
3972 * math/s_ctanhl.c: Likewise.
3973 * math/s_ctanl.c: Likewise.
3974 * math/s_ldexp.c: Likewise.
3975 * math/s_ldexpf.c: Likewise.
3976 * math/s_ldexpl.c: Likewise.
3977 * math/s_significand.c: Likewise.
3978 * math/s_significandf.c: Likewise.
3979 * math/s_significandl.c: Likewise.
3980 * math/w_acos.c: Likewise.
3981 * math/w_acosf.c: Likewise.
3982 * math/w_acosh.c: Likewise.
3983 * math/w_acoshf.c: Likewise.
3984 * math/w_acoshl.c: Likewise.
3985 * math/w_acosl.c: Likewise.
3986 * math/w_asin.c: Likewise.
3987 * math/w_asinf.c: Likewise.
3988 * math/w_asinl.c: Likewise.
3989 * math/w_atan2.c: Likewise.
3990 * math/w_atan2f.c: Likewise.
3991 * math/w_atan2l.c: Likewise.
3992 * math/w_atanh.c: Likewise.
3993 * math/w_atanhf.c: Likewise.
3994 * math/w_atanhl.c: Likewise.
3995 * math/w_cosh.c: Likewise.
3996 * math/w_coshf.c: Likewise.
3997 * math/w_coshl.c: Likewise.
3998 * math/w_dremf.c: Likewise.
3999 * math/w_exp10.c: Likewise.
4000 * math/w_exp10f.c: Likewise.
4001 * math/w_exp10l.c: Likewise.
4002 * math/w_exp2.c: Likewise.
4003 * math/w_exp2f.c: Likewise.
4004 * math/w_fmod.c: Likewise.
4005 * math/w_fmodf.c: Likewise.
4006 * math/w_fmodl.c: Likewise.
4007 * math/w_hypot.c: Likewise.
4008 * math/w_hypotf.c: Likewise.
4009 * math/w_hypotl.c: Likewise.
4010 * math/w_j0.c: Likewise.
4011 * math/w_j0f.c: Likewise.
4012 * math/w_j0l.c: Likewise.
4013 * math/w_j1.c: Likewise.
4014 * math/w_j1f.c: Likewise.
4015 * math/w_j1l.c: Likewise.
4016 * math/w_jn.c: Likewise.
4017 * math/w_jnf.c: Likewise.
4018 * math/w_jnl.c: Likewise.
4019 * math/w_lgamma.c: Likewise.
4020 * math/w_lgamma_r.c: Likewise.
4021 * math/w_lgammaf.c: Likewise.
4022 * math/w_lgammaf_r.c: Likewise.
4023 * math/w_lgammal.c: Likewise.
4024 * math/w_lgammal_r.c: Likewise.
4025 * math/w_log.c: Likewise.
4026 * math/w_log10.c: Likewise.
4027 * math/w_log10f.c: Likewise.
4028 * math/w_log10l.c: Likewise.
4029 * math/w_log2.c: Likewise.
4030 * math/w_log2f.c: Likewise.
4031 * math/w_log2l.c: Likewise.
4032 * math/w_logf.c: Likewise.
4033 * math/w_logl.c: Likewise.
4034 * math/w_pow.c: Likewise.
4035 * math/w_powf.c: Likewise.
4036 * math/w_powl.c: Likewise.
4037 * math/w_remainder.c: Likewise.
4038 * math/w_remainderf.c: Likewise.
4039 * math/w_remainderl.c: Likewise.
4040 * math/w_scalb.c: Likewise.
4041 * math/w_scalbf.c: Likewise.
4042 * math/w_scalbl.c: Likewise.
4043 * math/w_sinh.c: Likewise.
4044 * math/w_sinhf.c: Likewise.
4045 * math/w_sinhl.c: Likewise.
4046 * math/w_sqrt.c: Likewise.
4047 * math/w_sqrtf.c: Likewise.
4048 * math/w_sqrtl.c: Likewise.
4049 * math/w_tgamma.c: Likewise.
4050 * math/w_tgammaf.c: Likewise.
4051 * math/w_tgammal.c: Likewise.
4053 * po/ja.po: Update from translation team.
4055 2011-09-29 Andreas Jaeger <aj@suse.de>
4058 * sunrpc/netname.c (netname2host): Fix logic.
4062 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
4064 * math/w_remainder.c (__remainder): Likewise.
4065 * math/w_remainderf.c (__remainderf): Likewise.
4066 * math/libm-test.inc (remainder_test): Add test cases.
4068 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4070 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
4073 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4075 * string/test-memcmp.c: Avoid unncessary #defines.
4076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4078 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4080 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
4081 Use new sse2 version for core i3 - i7 as it's faster
4083 (bit_Prefer_PMINUB_for_stringop): New.
4084 * sysdeps/x86_64/rawmemchr.S: Update.
4085 Replace with faster SSE2 version.
4086 * sysdeps/x86_64/memrchr.S: New file.
4087 * sysdeps/x86_64/memchr.S: Update.
4088 Replace with faster SSE2 version.
4090 2011-09-12 Marek Polacek <mpolacek@redhat.com>
4092 * elf/dl-load.c (lose): Add cast to avoid warning.
4094 2011-10-07 Ulrich Drepper <drepper@gmail.com>
4096 * po/ca.po: Update from translation team.
4098 * inet/getnetgrent_r.c: Hook up nscd.
4099 * nscd/Makefile (routines): Add nscd_netgroup.
4100 (nscd-modules): Add netgroupcache.
4101 (CFLAGS-netgroupcache.c): Define.
4102 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
4103 (cache_search): Add const to second parameter.
4104 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
4106 (dbs): Add netgrdb entry.
4107 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
4108 (verify_persistent_db): Handle netgrdb.
4109 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
4110 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
4112 (netgroup_response_header): Define.
4113 (innetgroup_response_header): Define.
4114 (datahead): Add netgroup_response_header and innetgroup_response_header
4116 * nscd/nscd.conf: Add entries for netgroup cache.
4117 * nscd/nscd.h (dbtype): Add netgrdb.
4118 (_PATH_NSCD_NETGROUP_DB): Define.
4119 (netgroup_iov_disabled): Declare.
4120 (xmalloc, xcalloc, xrealloc): Move declarations here.
4121 (cache_search): Adjust prototype.
4122 Add netgroup-related prototypes.
4123 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
4124 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
4125 (__nscd_innetgr): Declare.
4126 * nscd/selinux.c (perms): Use access_vector_t as element type and
4127 add netgroup-related initializers.
4128 * nscd/netgroupcache.c: New file.
4129 * nscd/nscd_netgroup.c: New file.
4130 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
4131 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
4132 For four parameters use innetgr.
4133 * nss/nss_files/files-init.c: Add definition and callback for netgr.
4134 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
4135 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
4136 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
4138 * nscd/connections.c (register_traced_file): Don't register file
4139 for disabled databases.
4141 2011-10-06 Ulrich Drepper <drepper@gmail.com>
4143 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
4145 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
4146 from tree and freeing node.
4148 2011-09-25 Jiri Olsa <jolsa@redhat.com>
4150 * nss/nsswitch.c (__nss_database_lookup): Handle
4151 nss_parse_service_list out of memory case.
4153 2011-09-15 Jiri Olsa <jolsa@redhat.com>
4155 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
4158 2011-10-04 Andreas Schwab <schwab@redhat.com>
4160 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
4161 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
4163 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
4164 elf_machine_rela, elf_machine_lazy_rel.
4165 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
4166 (ELF_DYNAMIC_DO_REL): Likewise.
4167 (ELF_DYNAMIC_DO_RELA): Likewise.
4168 (ELF_DYNAMIC_RELOCATE): Likewise.
4169 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
4170 to ELF_DYNAMIC_DO_REL.
4171 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
4172 (dl_main): In trace mode always set __RTLD_NOIFUNC.
4173 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
4175 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
4176 skip_ifunc, don't call ifunc function if non-zero.
4177 (elf_machine_rela): Likewise.
4178 (elf_machine_lazy_rel): Likewise.
4179 (elf_machine_lazy_rela): Likewise.
4180 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
4181 (elf_machine_lazy_rel): Likewise.
4182 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
4184 (elf_machine_lazy_rel): Likewise.
4185 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4187 (elf_machine_lazy_rel): Likewise.
4188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
4189 (elf_machine_lazy_rel): Likewise.
4190 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
4191 (elf_machine_lazy_rel): Likewise.
4192 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4193 (elf_machine_lazy_rel): Likewise.
4194 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
4195 (elf_machine_lazy_rel): Likewise.
4196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
4197 (elf_machine_lazy_rel): Likewise.
4198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4199 (elf_machine_lazy_rel): Likewise.
4201 2011-09-28 Ulrich Drepper <drepper@gmail.com>
4203 * nss/nss_files/files-init.c (_nss_files_init): Use static
4204 initialization for all the *_traced_file variables.
4206 2011-09-28 Andreas Schwab <schwab@redhat.com>
4208 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4210 2011-09-27 Roland McGrath <roland@hack.frob.com>
4213 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
4215 2011-09-27 Andreas Schwab <schwab@redhat.com>
4217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4218 Reread the line before reparsing it.
4220 2011-09-26 Andreas Schwab <schwab@redhat.com>
4222 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
4224 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
4225 Maxim Kuvyrkov <maxim@codesourcery.com>
4226 Joseph Myers <joseph@codesourcery.com>
4228 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
4229 if needed for __stack_chk_guard.
4231 2011-09-19 Roland McGrath <roland@hack.frob.com>
4233 * sysdeps/posix/spawni.c (script_execute): Always define it.
4234 It will be optimized away if unused.
4235 (maybe_script_execute): New function.
4236 (__spawni): Call it.
4238 * Makerules: Don't include tls.make.
4239 (config-tls): Always set to thread.
4240 * tls.make.c: File removed.
4242 2011-09-19 Mike Frysinger <vapier@gentoo.org>
4244 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
4245 * config.make.in (CPPFLAGS-config): New substituted variable.
4247 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
4252 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
4253 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
4255 2011-09-15 Roland McGrath <roland@hack.frob.com>
4257 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
4258 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
4259 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
4260 (CALL_FAIL): Likewise.
4261 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
4262 (CALL_FAIL): Macro removed.
4263 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
4265 2011-09-15 Ulrich Drepper <drepper@gmail.com>
4267 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
4268 for __FINITE_MATH_ONLY__ == 1.
4270 2011-09-15 Andreas Schwab <schwab@redhat.com>
4272 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
4273 __ieee754_sqrt instead of sqrt.
4274 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
4275 __ieee754_sqrtf instead of sqrtf.
4276 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4277 __floorf instead of floorf.
4278 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
4279 __floorf, __truncf instead of floorf, truncf.
4281 2011-09-14 Ulrich Drepper <drepper@gmail.com>
4283 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
4285 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
4286 __extern_always_inline.
4287 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
4290 2011-09-14 Andreas Schwab <schwab@redhat.com>
4292 * elf/rtld.c (dl_main): Also relocate in dependency order when
4293 doing symbol dependency testing.
4295 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
4297 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4298 Always define `refsym'.
4300 2011-09-13 Andreas Schwab <schwab@redhat.com>
4302 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
4303 (__FD_ELT): Renamed from __FDELT.
4304 * misc/bits/select2.h (__FD_ELT): Likewise.
4305 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
4306 __FD_MASK instead of __FDELT, __FDMASK.
4307 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4309 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
4312 * elf/Makefile (gen-ldd): Fix pattern.
4314 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
4315 (init_tls): Likewise.
4317 2011-09-12 Ulrich Drepper <drepper@gmail.com>
4319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
4321 2011-09-12 Andreas Schwab <schwab@redhat.com>
4323 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
4324 `struct cmsghdr *' instead of `void *'.
4325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
4328 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
4330 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
4332 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
4335 2011-09-11 Ulrich Drepper <drepper@gmail.com>
4337 * configure.in: Remove --with-tls option.
4338 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
4339 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
4340 out in case it is missing.
4341 * sysdeps/ia64/elf/configure.in: Likewise.
4342 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
4343 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
4344 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
4345 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
4346 * sysdeps/sh/elf/configure.in: Likewise.
4347 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
4348 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4349 * sysdeps/x86_64/elf/configure.in: Likewise.
4350 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
4351 * sysdeps/mach/hurd/tls.h: Likewise.
4354 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
4357 * configure.in: Fix use of AC_INIT.
4359 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
4361 2011-09-10 Ulrich Drepper <drepper@gmail.com>
4363 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
4365 * malloc/hooks.c: Likewise.
4368 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
4369 variables statically.
4370 (narenas): Initialize.
4371 (list_lock): Initialize.
4372 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
4373 initializtion of main_arena and list_lock. Small cleanups.
4374 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
4375 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
4376 Add initializers to main_arena and mp_.
4377 (malloc_state): Remove pagesize member. Change all users to use
4380 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
4381 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
4382 is always initialized.
4384 * malloc/malloc.c: Removed unused configurations and dead code.
4385 * malloc/arena.c: Likewise.
4386 * malloc/hooks.c: Likewise.
4387 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
4389 * include/tls.h: Removed. USE___THREAD must always be defined.
4390 * bits/libc-tsd.h: Don't handle !USE___THREAD.
4391 * elf/dl-libc.c: Likewise.
4392 * elf/dl-tsd.c: Likewise.
4393 * include/errno.h: Likewise.
4394 * include/netdb.h: Likewise.
4395 * include/resolv.h: Likewise.
4396 * inet/herrno-loc.c: Likewise.
4397 * inet/herrno.c: Likewise.
4398 * malloc/arena.c: Likewise.
4399 * malloc/hooks.c: Likewise.
4400 * malloc/malloc.c: Likewise.
4401 * resolv/res-state.c: Likewise.
4402 * resolv/res_libc.c: Likewise.
4403 * sysdeps/i386/dl-machine.h: Likewise.
4404 * sysdeps/ia64/dl-machine.h: Likewise.
4405 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4406 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4407 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4408 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4409 * sysdeps/sh/dl-machine.h: Likewise.
4410 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4411 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4412 * sysdeps/unix/i386/sysdep.S: Likewise.
4413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4414 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4415 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4418 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4419 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4420 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4422 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4423 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4424 * sysdeps/x86_64/dl-machine.h: Likewise.
4425 * tls.make.c: Likewise.
4427 * configure.in: Remove --with-__thread option. Make tests for
4428 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
4429 tls_model attribute fail if no support is available. Remove
4431 * Makeconfig: Adjust for dropped configure option. All features are
4433 * Makerules: Likewise.
4434 * Versions.def: Likewise.
4435 * argp/argp-fmtstream.c: Likewise.
4436 * argp/argp-fmtstream.h: Likewise.
4437 * argp/argp-help.c: Likewise.
4438 * assert/assert.c: Likewise.
4439 * config.h.in: Likewise.
4440 * config.make.in: Likewise.
4441 * configure: Likewise.
4442 * configure.in: Likewise.
4443 * csu/Versions: Likewise.
4444 * csu/init.c: Likewise.
4445 * elf/tst-audit2.c: Likewise.
4446 * elf/tst-tls10.c: Likewise.
4447 * elf/tst-tls10.h: Likewise.
4448 * elf/tst-tls11.c: Likewise.
4449 * elf/tst-tls12.c: Likewise.
4450 * elf/tst-tls14.c: Likewise.
4451 * elf/tst-tlsmod11.c: Likewise.
4452 * elf/tst-tlsmod12.c: Likewise.
4453 * elf/tst-tlsmod13.c: Likewise.
4454 * elf/tst-tlsmod13a.c: Likewise.
4455 * elf/tst-tlsmod14a.c: Likewise.
4456 * elf/tst-tlsmod15b.c: Likewise.
4457 * elf/tst-tlsmod16a.c: Likewise.
4458 * elf/tst-tlsmod16b.c: Likewise.
4459 * elf/tst-tlsmod7.c: Likewise.
4460 * elf/tst-tlsmod8.c: Likewise.
4461 * elf/tst-tlsmod9.c: Likewise.
4462 * gmon/gmon.c: Likewise.
4463 * grp/fgetgrent_r.c: Likewise.
4464 * grp/putgrent.c: Likewise.
4465 * hurd/fopenport.c: Likewise.
4466 * include/libc-symbols.h: Likewise.
4467 * include/tls.h: Likewise.
4468 * intl/gettextP.h: Likewise.
4469 * intl/loadinfo.h: Likewise.
4470 * locale/global-locale.c: Likewise.
4471 * locale/localeinfo.h: Likewise.
4472 * mach/devstream.c: Likewise.
4473 * malloc/arena.c: Likewise.
4474 * malloc/set-freeres.c: Likewise.
4475 * misc/err.c: Likewise.
4476 * misc/getttyent.c: Likewise.
4477 * misc/mntent_r.c: Likewise.
4478 * posix/getopt.c: Likewise.
4479 * posix/wordexp.c: Likewise.
4480 * pwd/fgetpwent_r.c: Likewise.
4481 * resolv/Versions: Likewise.
4482 * resolv/res_hconf.c: Likewise.
4483 * shadow/fgetspent_r.c: Likewise.
4484 * shadow/putspent.c: Likewise.
4485 * stdio-common/printf_fphex.c: Likewise.
4486 * stdio-common/tmpfile.c: Likewise.
4487 * stdlib/abort.c: Likewise.
4488 * stdlib/fmtmsg.c: Likewise.
4489 * sunrpc/auth_unix.c: Likewise.
4490 * sunrpc/clnt_perr.c: Likewise.
4491 * sunrpc/clnt_tcp.c: Likewise.
4492 * sunrpc/clnt_udp.c: Likewise.
4493 * sunrpc/clnt_unix.c: Likewise.
4494 * sunrpc/openchild.c: Likewise.
4495 * sunrpc/svc_simple.c: Likewise.
4496 * sunrpc/svc_tcp.c: Likewise.
4497 * sunrpc/svc_udp.c: Likewise.
4498 * sunrpc/svc_unix.c: Likewise.
4499 * sunrpc/xdr.c: Likewise.
4500 * sunrpc/xdr_array.c: Likewise.
4501 * sunrpc/xdr_rec.c: Likewise.
4502 * sunrpc/xdr_ref.c: Likewise.
4503 * sunrpc/xdr_stdio.c: Likewise.
4505 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4507 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4509 2011-07-03 Andreas Jaeger <aj@suse.de>
4511 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
4512 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
4513 regenerate with gen-libm-tests.pl.
4515 2010-05-12 Petr Baudis <pasky@suse.cz>
4518 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
4519 around j0() zero points by switching to j1().
4520 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4525 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4527 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
4529 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
4531 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4532 Patch in part by Pavel Roskin <proski@gnu.org>.
4535 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
4537 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
4538 Free memory block if necessary.
4541 * libio/genops.c (INTDEF): For string streams the _lock pointer can
4542 be NULL. Don't lock in this case.
4544 2011-09-09 Roland McGrath <roland@hack.frob.com>
4546 * elf/elf.h (ELFOSABI_GNU): New macro.
4547 (ELFOSABI_LINUX): Define to that.
4549 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
4551 * string/strncat.c (strncat): Undef the symbol in case it has been
4552 defined in bits/string.h.
4554 2011-09-09 Ulrich Drepper <drepper@gmail.com>
4556 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
4558 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
4561 2011-08-17 Andreas Jaeger <aj@suse.de>
4563 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
4565 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4566 Ian Lance Taylor <iant@google.com>
4568 * math/libm-test.inc (lround_test): New testcase.
4569 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
4571 2011-09-08 Ulrich Drepper <drepper@gmail.com>
4573 * Makefile: Remove support for automatic cvs check-ins.
4574 * Makerules: Likewise.
4575 * config.make.in: Likewise.
4576 * configure.in: Likewise.
4577 * intl/Makefile: Likewise.
4578 * locale/Makefile: Likewise.
4579 * po/Makefile: Likewise.
4580 * posix/Makefile: Likewise.
4581 * sysdeps/gnu/Makefile: Likewise.
4582 * sysdeps/mach/hurd/Makefile: Likewise.
4583 * sysdeps/sparc/sparc32/Makefile: Likewise.
4586 * posix/Makefile (bug-regex32-ENV): Define.
4587 Patch by John Stanley <jpsinthemix@verizon.net>.
4589 * misc/Makefile (headers): Add bits/select2.h.
4590 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
4591 * misc/bits/select2.h: New file.
4592 * include/bits/select2.h: New file.
4593 * debug/Makefile (routines): Add fdelt_chk.
4594 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
4595 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
4597 * debug/fdelt_chk.c: New file.
4599 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
4600 * wcsmbs/test-wmemcmp.c: Likewise.
4601 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
4602 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
4604 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4606 * string/Makefile (strop-tests): Add memcmp.
4607 * string/test-wmemcmp.c: New file.
4608 * string/test-memcmp.c: Add wmemcmp support.
4610 2011-09-08 Roland McGrath <roland@hack.frob.com>
4613 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
4616 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
4617 garbage value in a __mach_port_mod_refs call in the cases of the
4618 task-self and thread-self ports.
4620 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
4622 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
4624 2011-09-08 Andreas Schwab <schwab@redhat.com>
4626 * elf/dl-load.c (lose): Check for non-null L.
4628 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4630 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
4632 * elf/dl-libc.c (dlerror_run): Pass back error code from
4636 * elf/dl-load.c (lose): Free l_origin if it is valid.
4638 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
4640 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4641 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4642 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4643 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4644 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4645 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
4647 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649 * sysdeps/powerpc/fpu/e_hypot.c: New file.
4650 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
4651 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
4652 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
4653 * sysdeps/powerpc/fpu/k_cosf.c: New file.
4654 * sysdeps/powerpc/fpu/k_sinf.c: New file.
4655 * sysdeps/powerpc/fpu/s_cosf.c: New file.
4656 * sysdeps/powerpc/fpu/s_sinf.c: New file.
4657 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
4658 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
4660 2011-08-15 Alan Modra <amodra@gmail.com>
4663 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
4664 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
4665 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
4666 ppc_mcount to static-only-routines.
4667 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
4669 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
4670 __mcount_internal with usual JUMPTARGET. Remove useless nop.
4672 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
4674 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
4675 for finite and infinity parameters.
4677 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4679 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
4680 and add nop instructions for throughput optimization.
4681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4683 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
4685 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
4686 aligned copy for power7 with vector-scalar instructions.
4687 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4689 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
4691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
4694 2011-09-07 Andreas Schwab <schwab@redhat.com>
4697 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
4700 2011-09-07 Ulrich Drepper <drepper@gmail.com>
4702 * sysdeps/unix/sysv/linux/x86_64/init-first.c
4703 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
4704 syscall wrapper around clock_gettime in __vdso_clock_gettime.
4705 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
4708 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4710 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
4711 Forgot to demangle the pointer.
4713 * sysdeps/i386/sysdep.h: Define atom_text_section.
4714 * sysdeps/x86_64/sysdep.h: Likewise.
4715 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
4716 section with atom_text_section.
4717 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4718 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4719 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
4723 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
4724 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
4725 already be defined. Change to take two parameters and don't assign
4726 result to variable. Adjust all users.
4727 Define INTERNAL_GETTIME if not already defined.
4728 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
4730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
4731 HAVE_CLOCK_GETTIME_VSYSCALL.
4732 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
4734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
4735 gettimeofday vsyscall, just use time.
4737 2011-09-06 Andreas Schwab <schwab@redhat.com>
4739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
4742 2011-09-06 Ulrich Drepper <drepper@gmail.com>
4744 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
4746 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
4748 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
4750 syscall if possible.
4752 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4754 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
4755 e_ident. Don't pass to find_mapsXX.
4756 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
4758 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4761 strchr-sse2-no-bsf strrchr-sse2-no-bsf
4762 * sysdeps/x86_64/multiarch/strchr.S: Update.
4763 Check bit_slow_BSF bit.
4764 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4765 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
4766 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
4768 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4771 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
4774 (__spawni): Change last parameter to be flag. Test
4775 SPAWN_XFLAGS_USE_PATH flag to use path or not.
4776 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
4777 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
4778 * posix/spawni.c: Likewise.
4779 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
4780 * posix/spawnp.c: Likewise. Change normal version to use
4781 SPAWN_XFLAGS_USE_PATH.
4782 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
4783 SPAWN_XFLAGS_TRY_SHELL.
4786 * posix/glob.h: Remove gcc 1.x support.
4789 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
4791 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4794 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
4796 * sysdeps/i386/i686/multiarch/strchr.S: New file.
4797 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
4798 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
4799 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
4800 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
4801 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
4803 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4805 * sysdeps/x86_64/wcscmp.S: New file.
4807 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
4808 wcscmp-c wcscmp-sse2
4809 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
4810 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
4811 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
4812 * wcsmbs/wcscmp.c: Allow renaming.
4814 2011-09-05 David S. Miller <davem@davemloft.net>
4816 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
4817 stack slot, rather than the struct return pointer slot.
4818 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
4819 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
4821 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
4823 2011-09-05 Ulrich Drepper <drepper@gmail.com>
4825 * po/ja.po: Update from translation team.
4828 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
4829 kernel in 64-bit binaries.
4831 2011-09-01 David S. Miller <davem@davemloft.net>
4833 * elf/elf.h (HWCAP_SPARC_*): Move to..
4834 * sysdeps/sparc/sysdep.h: this new file and add new values.
4835 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
4836 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
4837 _DL_HWCAP_COUNT to 24.
4838 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4840 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
4841 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
4842 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
4843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
4844 instead of magic constants.
4845 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4847 2011-08-31 David S. Miller <davem@davemloft.net>
4849 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
4850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
4851 Reimplement to do errno handling inline.
4852 (SYSCALL_ERROR_HANDLER): New macro.
4853 (__SYSCALL_STRING): Do not do errno handling in asm.
4854 (__CLONE_SYSCALL_STRING): Delete.
4855 (__INTERNAL_SYSCALL_STRING): Delete.
4856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
4857 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
4858 (PSEUDO): Reimplement to do errno handling inline.
4859 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
4860 (SYSCALL_ERROR_HANDLER): New macro.
4861 (__SYSCALL_STRING): Do not do errno handling in asm.
4862 (__CLONE_SYSCALL_STRING): Delete.
4863 (__INTERNAL_SYSCALL_STRING): Delete.
4864 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
4865 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
4867 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
4868 (inline_syscall*): Add 'err' argument.
4869 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
4870 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
4871 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
4872 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
4874 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
4875 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4877 2011-08-30 Andreas Schwab <schwab@redhat.com>
4879 * elf/rtld.c (dl_main): Relocate objects in dependency order.
4881 2011-08-29 Jiri Olsa <jolsa@redhat.com>
4883 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
4886 2011-08-24 David S. Miller <davem@davemloft.net>
4888 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
4890 2011-08-24 Andreas Schwab <schwab@redhat.com>
4892 * elf/Makefile: Add rules to build and run unload8 test.
4893 * elf/unload8.c: New file.
4894 * elf/unload8mod1.c: New file.
4895 * elf/unload8mod1x.c: New file.
4896 * elf/unload8mod2.c: New file.
4897 * elf/unload8mod3.c: New file.
4899 * elf/dl-close.c (_dl_close_worker): Reset private search list if
4902 2011-08-23 David S. Miller <davem@davemloft.net>
4904 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
4905 subtract stack bias.
4906 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
4907 %sp not %fp in calculations.
4908 (_JMPBUF_UNWINDS_ADJ): Likewise.
4910 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
4911 (aio_suspend): Call it to force an exception region around the
4912 AIO_MISC_WAIT() invocation.
4914 2011-08-23 Andreas Schwab <schwab@redhat.com>
4916 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
4919 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
4921 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
4923 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
4925 (Elf64_FuncDesc): Remove.
4927 2011-08-22 David S. Miller <davem@davemloft.net>
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
4930 sigaltstack check, add missing cfi directives.
4931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
4932 missing cfi directives, and sigaltstack handling.
4934 2011-08-16 Andreas Schwab <schwab@redhat.com>
4937 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
4938 object is seen twice.
4939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4941 * elf/Makefile (distribute): Add tst-initorder2.c.
4942 (tests): Add tst-initorder2.
4943 (modules-names): Add tst-initorder2a tst-initorder2b
4944 tst-initorder2c tst-initorder2d. Add rules to build them.
4945 ($(objpfx)tst-initorder2.out): New rule.
4946 * elf/tst-initorder2.c: New file.
4947 * elf/tst-initorder2.exp: New file.
4949 2011-08-22 Andreas Schwab <schwab@redhat.com>
4951 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4953 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4954 dependencies back to end of function.
4956 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4959 2011-08-21 Ulrich Drepper <drepper@gmail.com>
4961 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4962 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4964 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4965 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4966 of __vdso_gettimeofday.
4967 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4968 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4970 (_libc_vdso_platform_setup): Remove initialization of
4971 __vdso_gettimeofday and __vdso_time.
4973 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4975 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4977 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4980 * elf/dl-open.c (add_to_global): Report additions to the global scope
4981 for LD_DEBUG=scopes.
4982 (dl_open_worker): Also print scope of newly loaded dependencies.
4983 (_dl_show_scope): Indicate if there is no scope.
4986 * stdio-common/Makefile (tests): Add bug24.
4987 * stdio-common/bug24.c: New file.
4989 2011-08-19 Andreas Jaeger <aj@suse.de>
4992 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4993 non-existant file when using close-on-exec mode.
4995 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4998 the very first instruction.
5000 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
5001 the CFI state in the end.
5002 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
5003 inclusion of dl-trampoline.h.
5004 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
5006 2011-08-19 Andreas Schwab <schwab@redhat.com>
5008 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
5009 expectations for long double.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
5012 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
5014 2011-08-14 David S. Miller <davem@davemloft.net>
5016 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
5017 artificual limit depends upon the system page size.
5019 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5021 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
5022 * resolv/Makefile: Define CFLAGS-libresolv.
5024 2011-08-17 Andreas Schwab <schwab@redhat.com>
5026 * nss/makedb.c (compute_tables): Make variables used in nested
5029 2011-08-17 Ulrich Drepper <drepper@gmail.com>
5031 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
5032 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
5033 if buffer was too small.
5035 * elf/pldd.c (main): Attach to all threads in the process.
5036 Rewrite /proc handling to use *at functions.
5038 2011-08-16 Ulrich Drepper <drepper@gmail.com>
5040 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
5041 specifies first scope to show.
5042 (dl_open_worker): Update callers. Move printing scope of new
5043 object to before the relocation.
5044 * elf/rtld.c (dl_main): Update _dl_show_scope call.
5045 * sysdeps/generic/ldsodefs.h: Update declaration.
5047 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
5048 string for the scope number.
5050 2011-08-14 Ulrich Drepper <drepper@gmail.com>
5052 * nscd/servicescache.c (cache_addserv): Make sure written is always
5055 2011-08-14 Roland McGrath <roland@hack.frob.com>
5057 * sysdeps/i386/i486/bits/atomic.h
5058 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
5059 statement expression, so as to suppress "set but not used" warning.
5060 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
5062 * string/strncat.c (STRNCAT): Use prototype definition.
5064 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
5065 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
5067 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
5068 (localedef-modules): Add localedef.
5069 (locale-modules): Add locale.
5071 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
5072 * elf/rtld.c (dl_main): Invert order of assignment in last change,
5075 2011-08-14 David S. Miller <davem@davemloft.net>
5077 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
5078 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
5080 2011-08-13 Ulrich Drepper <drepper@gmail.com>
5082 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
5083 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
5084 * elf/rtld.c (dl_main): Set l_name of vDSO.
5085 Call _dl_show_scope when DL_DEBUG_SCOPES.
5086 (process_dl_debug): Recognize scopes flag and also set it for all.
5087 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
5088 Declare _dl_show_scope.
5090 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
5091 (do_dlopen): Pass caller_dlopen to dl_open.
5092 (__libc_dlopen_mode): Initialize caller_dlopen.
5094 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
5095 of libc. Make tolower call locale-independent. Optimize a bit by
5096 using isdigit instead of isalnum.
5097 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
5099 2011-08-12 Ulrich Drepper <drepper@gmail.com>
5101 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
5102 was a dependency or dynamically loaded.
5104 2011-08-11 Ulrich Drepper <drepper@gmail.com>
5106 * intl/l10nflist.c: Allow architecture-specific pop function.
5107 * sysdeps/x86_64/l10nflist.c: New file.
5109 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
5112 2011-08-10 Andreas Schwab <schwab@redhat.com>
5114 * include/dirent.h: Add libc_hidden_proto for scandirat and
5115 scandirat64. Don't declare __scandirat64.
5116 * dirent/scandirat.c: Add libc_hidden_def.
5117 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
5118 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
5120 2011-08-10 David S. Miller <davem@davemloft.net>
5122 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
5124 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5125 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5128 2011-08-09 Ulrich Drepper <drepper@gmail.com>
5130 * Versions.def [libc]: Add GLIBC_2.15.
5131 * dirent/Makefile (routines): Add scandirat and scandirat64.
5132 * dirent/Versions [libc]: Export scandirat and scandirat64 for
5134 * dirent/dirent.h: Declare scandirat and scandirat64.
5135 * dirent/scandirat.c: New file.
5136 * dirent/scandirat64.c: New file.
5137 * sysdeps/wordsize-64/scandirat.c: New file.
5138 * sysdeps/wordsize-64/scandirat64.c: New file.
5139 * dirent/opendir.c: Define opendirat.
5140 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
5142 * dirent/scandir64.c: Adjust for scandir.c change.
5143 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
5144 __scandirat64, and __scandir_cancel_handler.
5145 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
5146 additional parameter and use openat instead of open (outside of ld.so).
5147 Add new __opendir as wrapper around __opendirat.
5148 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
5149 here without requiring old scandirat implementation.
5151 2011-08-08 Ulrich Drepper <drepper@gmail.com>
5153 * dirent/scandir.c (cancel_handler): Renamed to
5154 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
5155 defined. Adjust users.
5156 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
5157 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
5159 2011-08-04 Ulrich Drepper <drepper@gmail.com>
5161 * string/test-string.h (IMPL): Use __STRING to expand name and then
5164 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
5167 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5169 * string/Makefile: Update.
5170 (strop-tests): Append strncat.
5171 * string/test-wcscmp.c: New file.
5172 New comprehensive test for wcscmp.
5173 * string/test-strcmp.c: Update.
5176 2011-07-22 Andreas Schwab <schwab@redhat.com>
5178 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
5181 2011-07-26 Andreas Schwab <schwab@redhat.com>
5183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
5184 encoding to ACE if AI_IDN.
5186 2011-08-01 Jakub Jelinek <jakub@redhat.com>
5188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
5189 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
5191 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5193 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
5194 Fix overflow bug in strncat.
5195 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5197 * string/test-strncat.c: Update.
5198 Add new tests for checking overflow bugs.
5200 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5203 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
5204 * sysdeps/i386/i686/multiarch/strcat.S: New file.
5205 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
5206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
5207 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
5208 * sysdeps/i386/i686/multiarch/strncat.S: New file.
5209 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
5210 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
5212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
5213 (USE_AS_STRCAT): Define.
5214 Add strcat and strncat support.
5215 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5217 2011-07-25 Andreas Schwab <schwab@redhat.com>
5219 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
5220 __n bigger than INT_MAX+1.
5221 (__strncmp_g): Likewise.
5223 2011-07-23 Ulrich Drepper <drepper@gmail.com>
5225 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
5226 * libio/stido.h: Likewise.
5228 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
5230 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
5233 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
5234 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5236 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
5237 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5240 * scripts/test-installation.pl: Don't expect libnss_test1 to be
5243 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
5245 (_dl_x86_64_save_sse): Likewise.
5247 2011-07-22 Ulrich Drepper <drepper@gmail.com>
5249 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
5251 (_dl_x86_64_save_sse): Likewise.
5253 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
5255 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
5257 2011-07-21 Andreas Schwab <schwab@redhat.com>
5259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
5261 (_dl_x86_64_save_sse): Use correct AVX check.
5263 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5265 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
5266 bug in strncpy/strncat.
5267 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5269 2011-07-21 Ulrich Drepper <drepper@gmail.com>
5271 * string/tester.c (test_strcat): Add tests for different alignments
5272 of source and destination.
5273 (test_strncat): Likewise.
5275 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5278 * posix/glob.c (glob): Check passed in values before using them in
5279 expressions to avoid some overflows.
5280 (glob_in_dir): Likewise.
5283 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
5284 check for AVX enablement so that we don't crash with old kernels and
5286 * elf/tst-audit4.c: Add same checks here.
5287 * elf/tst-audit6.c: Likewise.
5289 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
5291 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
5293 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
5295 2011-07-20 Ulrich Drepper <drepper@gmail.com>
5297 * po/cs.po: Update from translation team.
5298 * po/bg.po: Likewise.
5300 2011-07-12 Marek Polacek <mpolacek@redhat.com>
5302 * misc/sys/cdefs.h: Add support for const attribute.
5303 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
5304 to gnu_dev_{major,minor,makedev} functions.
5306 2011-07-20 Marek Polacek <mpolacek@redhat.com>
5308 * intl/dcigettext.c (get_output_charset): Add missing bracket.
5310 2011-07-20 Andreas Schwab <schwab@redhat.com>
5312 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
5315 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5317 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5318 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
5319 register in order to avoid conflicts with the soft frame pointer
5320 being held in r11 when necessary.
5321 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5322 (INTERNAL_VSYSCALL_NCS): Likewise.
5324 2011-07-14 Marek Polacek <mpolacek@redhat.com>
5326 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
5327 * elf/dl-fini.c (_dl_fini): Adjust caller.
5328 * elf/dl-close.c (_dl_close_worker): Likewise.
5329 * sysdeps/generic/ldsodefs.h: Adjust declaration.
5331 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5333 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
5334 "aux_cache->nlibs < 0".
5336 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
5337 in the reload-count case.
5339 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5342 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
5343 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
5344 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
5345 * sysdeps/x86_64/multiarch/strcat.S: New file.
5346 * sysdeps/x86_64/multiarch/strncat.S: New file.
5347 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
5348 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
5349 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
5350 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
5351 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
5352 (USE_AS_STRCAT): Define.
5353 Add strcat and strncat support.
5354 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
5355 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5356 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
5357 * string/strncat.c: Update.
5358 (USE_AS_STRNCAT): Define.
5359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5360 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
5362 * sysdeps/x86_64/multiarch/init-arch.h
5363 (bit_Prefer_PMINUB_for_stringop): New.
5364 (index_Prefer_PMINUB_for_stringop): Likewise.
5365 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
5366 bit_Prefer_PMINUB_for_stringop.
5368 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5370 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
5372 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
5373 of casting of buffer.
5374 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
5375 buffer32 and buffer64.
5376 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
5377 writes instead of casting of buffer.
5378 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
5380 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
5383 2011-07-19 Andreas Schwab <schwab@redhat.com>
5385 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
5387 2011-07-19 Ulrich Drepper <drepper@gmail.com>
5389 * nscd/nscd.c (termination_handler): Don't do anything for a database
5390 if it has not yet been initialized.
5392 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5394 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5396 2011-07-15 Marek Polacek <mpolacek@redhat.com>
5398 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
5400 2011-07-18 Ulrich Drepper <drepper@gmail.com>
5402 * po/nl.po: Update from translation team.
5403 * po/sv.po: Likewise.
5405 2011-07-16 Roland McGrath <roland@hack.frob.com>
5407 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
5408 now disallowed by GCC.
5410 * configure.in (use-default-link): Default to yes if a test -shared
5411 link meets our qualifications.
5412 * configure: Regenerated.
5414 * config.make.in (output-format): New variable.
5415 * configure.in: Check for ld --print-output-format support.
5416 * configure: Regenerated.
5417 * Makerules ($(common-objpfx)format.lds)
5418 [$(output-format) != unknown]: Just use $(output-format),
5419 instead of the linker-script munging.
5421 2011-07-14 Roland McGrath <roland@hack.frob.com>
5423 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
5424 of $(common-objpfx)shlib.lds.
5425 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
5427 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
5428 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
5430 * configure.in (-z relro check): Adjust test code to add a large
5431 writable data section after it.
5432 * configure: Regenerated.
5434 2011-07-11 Roland McGrath <roland@hack.frob.com>
5436 * configure.in (-z relro check): Fix test code to make the variable
5438 * configure: Regenerated.
5440 2011-07-11 Ulrich Drepper <drepper@gmail.com>
5442 * nscd/nscd.h (struct traced_file): Define.
5443 (struct database_dyn): Remove inotify_descr, reset_res, and filename
5444 elements. Add traced_files.
5445 (inotify_fd): Declare.
5446 (register_traced_file): Declare.
5447 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
5448 (inotify_fd): Export.
5449 (resolv_conf_descr): Remove.
5450 (nscd_init): Move inotify descriptor creation to main.
5451 Don't register files for notification here.
5452 (register_traced_file): New function.
5453 (invalidate_cache): Don't use reset_res to determine whether to call
5454 res_init, go through the list of registered files.
5455 (main_loop_poll): The inotify descriptors are now stored in the
5456 structures for the traced files.
5457 (main_loop_epoll): Likewise
5458 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
5459 to __nss_disable_nscd.
5460 * nscd/cache.c (prune_cache): There is no single inotify descriptor
5461 for a database anymore. Check the records for all the registered
5463 * nss/Makefile (libnss_files-routines): Add files-init.
5464 (libnss_db-routines): Add db-init.
5465 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
5466 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
5467 * nss/nss_db/db-init.c: New file.
5468 * nss/nss_files/files-init.c: New file.
5469 * nss/nsswitch.c (nss_load_library): New function. Broken out of
5470 __nss_lookup_function.
5471 (__nss_lookup_function): Call nss_load_library.
5472 (nss_load_all_libraries): New function.
5473 (__nss_disable_nscd): Take parameter with callback function for files
5474 to register. Set is_nscd. Load all the DSOs for the NSS modules
5475 used for the cached services.
5476 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
5477 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
5478 options for features to all the files in nscd.
5480 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
5482 2011-07-10 Roland McGrath <roland@hack.frob.com>
5484 * csu/elf-init.c (__libc_csu_init): Comment typo.
5486 2011-07-09 Ulrich Drepper <drepper@gmail.com>
5488 * po/pl.po: Update from translation team.
5489 * po/ja.po: Likewise.
5490 * po/ru.po: Likewise.
5491 * po/ko.po: Likewise.
5492 * po/fr.po: Likewise.
5494 2011-07-09 Roland McGrath <roland@hack.frob.com>
5496 * configure.in (.ctors/.dtors header and trailer check):
5497 Use an empirical test on a built program.
5498 * configure: Regenerated.
5500 * configure.in (-z relro check): Use an empirical test on a built DSO.
5501 Detect, but do not require, on ia64.
5502 * configure: Regenerated.
5504 * configure.in (READELF): Find it with AC_CHECK_TOOL.
5505 Update tests that use readelf to use $READELF instead.
5506 * configure: Regenerated.
5508 2011-07-08 Ulrich Drepper <drepper@gmail.com>
5510 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
5511 if the result is not used.
5513 2011-07-05 Andreas Jaeger <aj@suse.de>
5516 * stdlib/tst-strtod.c: Add testcase.
5518 2011-07-07 Ulrich Drepper <drepper@gmail.com>
5520 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
5521 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
5522 The latter has a higher limit. Take additional parameter to pass to
5524 (__pathconf): Pass file to __statfs_link_max.
5525 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
5527 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
5531 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
5532 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5534 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
5535 (__statfs_filesize_max): Likewise.
5536 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
5538 2011-07-05 Andreas Jaeger <aj@suse.de>
5540 * resolv/res_comp.c (dn_skipname): Remove unused variable.
5542 2011-07-06 Marek Polacek <mpolacek@redhat.com>
5544 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
5546 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
5549 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
5551 * Makefile (strop-tests): Add strncat.
5552 * string/test-strncat.c: New file.
5554 2011-06-30 Marek Polacek <mpolacek@redhat.com>
5556 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
5558 2011-06-21 Andreas Jaeger <aj@suse.de>
5560 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
5561 Copy rule from iconvdata/Makefile.
5563 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5566 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
5567 but no long options are defined, just return 'W'.
5569 2011-06-22 Marek Polacek <mpolacek@redhat.com>
5572 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
5574 2011-07-06 Ulrich Drepper <drepper@gmail.com>
5576 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
5578 (innetgr): Likewise.
5580 2011-07-05 Roland McGrath <roland@hack.frob.com>
5582 * config.make.in (install_root): Default to $(DESTDIR).
5584 2011-07-05 Ulrich Drepper <drepper@gmail.com>
5586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
5588 2011-07-02 Roland McGrath <roland@hack.frob.com>
5590 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
5592 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
5593 containing directory rather than embedding absolute directory names.
5595 * scripts/check-local-headers.sh: Rewritten using awk.
5596 Match by word, not by line. Print error messages for matches.
5597 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
5599 * Makerules [shlib-lds-flags empty]:
5600 ($(common-objpfx)libc_pic.opts): New target.
5601 ($(common-objpfx)libc_pic.os.clean): New target.
5602 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
5604 * config.make.in (OBJCOPY): New variable.
5605 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
5606 * configure: Regenerated.
5608 * config.make.in (use-default-link): New variable.
5609 * configure.in (use_default_link): Grok --with-default-link to set it.
5610 * configure: Regenerated.
5611 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
5612 (shlib-lds, shlib-lds-flags): Define to empty.
5614 * Makerules (shlib-lds): New variable.
5615 (shlib-lds-flags): New variable.
5616 (build-shlib, build-moduile, build-module-asneeded): Use it.
5617 ($(common-objpfx)libc.so): Use $(shlib-lds).
5618 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
5619 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
5621 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
5622 DT_FLAGS/DT_FLAGS_1 with zero flags.
5624 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
5625 linker script munging.
5627 2011-07-02 Ulrich Drepper <drepper@gmail.com>
5629 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
5631 * crypt/sha512.c (sha512_process_block): Perform total addition using
5632 128-bit if possible.
5633 (__sha512_finish_ctx): Likewise.
5634 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
5636 * crypt/sha256.c (SWAP64): Define.
5637 (sha256_process_block): Perform total addition using 64-bit if
5639 (__sha256_finish_ctx): Likewise.
5641 2011-07-01 Ulrich Drepper <drepper@gmail.com>
5643 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
5644 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5645 * nscd/hstcache.c (cache_addhst): Likewise.
5646 * nscd/grpcache.c (cache_addgr): Likewise.
5647 * nscd/aicache.c (addhstaiX): Likewise
5648 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
5650 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
5652 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
5653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5654 * nscd/hstcache.c (cache_addhst): Likewise.
5655 * nscd/grpcache.c (cache_addgr): Likewise.
5656 * nscd/aicache.c (addhstaiX): Likewise
5658 2011-07-01 Andreas Schwab <schwab@redhat.com>
5660 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
5661 domain only when needed.
5663 2011-06-30 Andreas Schwab <schwab@redhat.com>
5665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
5668 2011-06-29 Ulrich Drepper <drepper@gmail.com>
5670 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
5671 are re-adding the entry.
5672 * nscd/servicescache.c (cache_addserv): Likewise.
5674 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
5676 * sysdeps/generic/dl-irel.h: fix protection against multiple
5678 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
5680 2011-06-28 Ulrich Drepper <drepper@gmail.com>
5683 * malloc/memusage.sh: Fix quoting in message.
5684 * debug/xtrace.sh: Likewise.
5686 * configure.in: Remove support for --experimental-malloc option, make
5688 * config.make.in: Likewise.
5689 * malloc/Makefile: Likewise.
5691 2011-06-27 Andreas Schwab <schwab@redhat.com>
5693 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
5694 two-byte characters.
5696 2011-06-27 Roland McGrath <roland@hack.frob.com>
5698 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
5699 AC_CACHE_CHECK invocation.
5700 * configure: Regenerated.
5702 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
5704 2011-06-27 Ulrich Drepper <drepper@gmail.com>
5707 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
5708 bit from old_res_options.
5710 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
5712 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
5713 value type for setfct.
5715 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
5717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5718 __gettimeofday instead of gettimeofday.
5720 2011-06-26 Ulrich Drepper <drepper@gmail.com>
5722 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
5724 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
5726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
5728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
5731 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5734 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5735 strcpy-sse2-unaligned strncpy-sse2-unaligned
5736 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
5737 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
5738 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
5739 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
5740 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
5741 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
5742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
5743 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
5744 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
5745 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
5746 (STRCPY): Support SSE2 and SSSE3 versions.
5748 2011-06-24 Ulrich Drepper <drepper@gmail.com>
5751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
5752 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
5753 kernels which artificially limit size of requests.
5755 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
5757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5758 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
5759 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
5760 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
5761 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
5762 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
5763 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
5764 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
5765 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
5766 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
5767 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
5768 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
5769 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
5770 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
5771 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
5772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5773 Enable unaligned load optimization for Intel Core i3, i5 and i7
5775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
5777 (index_Fast_Unaligned_Load): Define.
5778 (HAS_FAST_UNALIGNED_LOAD): Define.
5780 2011-06-23 Marek Polacek <mpolacek@redhat.com>
5782 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
5784 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5787 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
5788 until it is clear that the information is realy needed.
5789 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
5791 2011-06-22 Andreas Schwab <schwab@redhat.com>
5793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
5795 2011-06-22 Ulrich Drepper <drepper@gmail.com>
5797 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
5798 /sys/devices/system/cpu/online if it is usable.
5800 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
5801 reading the information from the /proc filesystem to once a second.
5803 2011-06-21 Andreas Jaeger <aj@suse.de>
5805 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
5806 NULL after inclusion of kernel headers.
5808 2011-06-21 Ulrich Drepper <drepper@gmail.com>
5810 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
5811 calls to internal_setent.
5814 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
5815 addresses using gethostbyname4_r ignore IPv4 addresses.
5817 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
5818 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
5820 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
5822 2011-06-20 David S. Miller <davem@davemloft.net>
5824 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
5826 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
5828 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
5830 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
5831 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
5832 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
5833 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
5834 * sysdeps/x86_64/dl-irel.h: Likewise.
5836 * elf/dl-runtime.c: Use elf_ifunc_invoke.
5837 * elf/dl-sym.c: Likewise.
5839 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5841 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
5842 need to dereference resplen2.
5844 2011-06-14 Andreas Schwab <schwab@redhat.com>
5846 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
5848 2011-06-15 Ulrich Drepper <drepper@gmail.com>
5850 * Makeconfig: Define vardbdir and inst_vardbdir.
5851 * nss/Makefile: Add rules to install db-Makefile.
5853 * nss/nss_db/db-XXX.c: Cleanup.
5855 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
5856 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
5858 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
5859 * nss/makedb.c: Implement -g option to specify that value strings
5860 are generated and should not be added to table iterated over for
5862 * nss/nss_db/db-initgroups.c: New file.
5864 * nss/getent.c: Add support for initgroups lookups through getgrouplist
5867 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
5868 (internal_getgrouplist): Adjust to name change.
5869 Update use_initgroups_entry if this is not the first call.
5870 * nss/databases.def: Add initgroups entry.
5872 * nss/makedb.c (compute_tables): Check result of multiple hash table
5873 sizes to minimize maximum chain length.
5875 2011-06-14 Ulrich Drepper <drepper@gmail.com>
5877 * Versions.def: Add entry for libnss_db.
5878 * shlib-versions: Likewise.
5879 * nss/Makefile: Add rules to build libnss_db.
5880 * nss/Versions: Add libnss_db information. Organize libnss_files
5882 * nss/db-Makefile: Add gshadow support. Change rules for the new
5883 makedb progra. Some minor improvements to generate smaller files.
5884 * nss/nss_db/nss_db.h: Move NSS database header data structures to
5886 * nss/makedb.c: ...here.
5887 Improve database format to be smaller and require less memory at
5889 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
5891 * nss/nss_db/db-netgrp.c: Likewise.
5892 * nss/nss_db/db-open.c: Likewise.
5893 * nss/nss_files/flies-XXX.x: Adjust comments.
5894 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
5895 * nss/nss_files/files-grp.c: Likewise.
5896 * nss/nss_files/files-hosts.c: Likewise.
5897 * nss/nss_files/files-network.c: Likewise.
5898 * nss/nss_files/files-proto.c: Likewise.
5899 * nss/nss_files/files-pwd.c: Likewise.
5900 * nss/nss_files/files-rpc.c: Likewise.
5901 * nss/nss_files/files-service.c: Likewise.
5902 * nss/nss_files/files-sgrp.c: Likewise.
5903 * nss/nss_files/files-spwd.c: Likewise.
5904 * nss/nss_db/db-alias.c: Removed.
5905 * nss/nss_db/dummy-db.h: Removed.
5907 2011-06-02 Ulrich Drepper <drepper@gmail.com>
5909 * nss/makedb.c: Rewritten to not use database library.
5910 * nss/Makefile: Update to build new makedb program.
5912 2011-06-14 Andreas Jaeger <aj@suse.de>
5914 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
5917 2011-06-10 Andreas Schwab <schwab@redhat.com>
5919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
5922 2011-06-10 Roland McGrath <roland@hack.frob.com>
5924 * Makerules (shlib.lds): Fail if the linker script comes out empty.
5925 * elf/Makefile ($(objpfx)ld.so): Likewise.
5927 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
5928 Don't list ld.so twice in dependencies.
5930 * posix/bug-regex31.c: Include <stdlib.h>.
5932 * nscd/hstcache.c (cache_addhst): Remove unused variable.
5934 * nis/nss_compat/compat-spwd.c
5935 (getspent_next_nss_netgr): Remove unused variable.
5936 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
5938 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
5939 nonmembers" output to use the right array.
5941 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
5943 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5945 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5946 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5947 * catgets/gencat.c (read_input_file): Likewise.
5948 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5950 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5951 variable definition inside #if's controlling its use.
5953 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5955 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5957 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5959 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5962 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5964 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5965 * configure: Regenerated.
5967 * Makerules: Revert last change.
5968 * elf/Makefile: Likewise.
5970 2011-06-09 Roland McGrath <roland@hack.frob.com>
5972 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5973 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5974 (reloc-link): Likewise.
5976 2011-06-09 Ulrich Drepper <drepper@gmail.com>
5978 * elf/Makefile: Add rules to build pldd.
5979 * elf/pldd.c: New file.
5980 * elf/pldd-xx.c: New file.
5982 2011-06-07 Ulrich Drepper <drepper@gmail.com>
5984 * version.h: Update for 2.15 development version.
5986 2011-06-07 David S. Miller <davem@davemloft.net>
5988 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5990 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5991 elf_machine_lazy_rel): Likewise.
5992 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5993 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5994 elf_machine_lazy_rel): Likewise.
5995 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5996 dl_hwcap via passed in argument.
5997 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
6000 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6002 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
6004 2011-06-06 Roland McGrath <roland@hack.frob.com>
6007 * manual/fdl-1.1.texi: New file, verbatim from:
6008 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
6009 * manual/lgpl-2.1.texi: New file, verbatim from:
6010 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
6011 * manual/Makefile (licenses): New variable, list those new file names.
6013 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
6015 * manual/fdl.texi: File removed.
6016 * manual/lesser.texi: File removed.
6017 * manual/libc.texinfo (Copying, Documentation License):
6018 Use new @include file names, put @appendix directive before @include.
6020 2011-06-04 Jakub Jelinek <jakub@redhat.com>
6023 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
6024 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
6025 (mq_open): Add __NTH.
6027 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
6029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6030 Assume Intel Core i3/i5/i7 processor if AVX is available.
6032 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6034 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6037 2011-05-31 Andreas Schwab <schwab@redhat.com>
6039 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
6040 memory. Use alloca_account. Fix memory leak when retrying.
6042 2011-05-31 Ulrich Drepper <drepper@gmail.com>
6044 * version.h (RELEASE): Bump for 2.14 release.
6045 * include/features.h (__GLIBC_MINOR__): Bump to 14.
6047 * config.make.in (RANLIB): Remove entry.
6049 2011-05-30 Ulrich Drepper <drepper@gmail.com>
6051 * po/Makefile (po-sed-cmd): Add ksh to extensions.
6052 (libc.pot): Work around missing support for .ksh extension in xgettext.
6055 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
6056 if both request failed.
6057 (send_dg): In case of server errors clear resplen or *resplen2.
6060 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
6061 when there are multiple maps.
6062 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
6063 (_dl_fini): Remove test here.
6065 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
6067 2011-05-29 Ulrich Drepper <drepper@gmail.com>
6070 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
6071 bit from old_res_options.
6072 (gaih_inet): Likewise.
6075 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
6078 * resolv/res_init.c (res_setoptions): Make the code more compact.
6081 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
6085 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
6087 * malloc/malloc.h: Mark malloc hook variables as deprecated.
6090 * malloc/malloc.h: Declare malloc hook variables as volatile.
6092 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
6096 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
6097 raise in the comment.
6098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
6099 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6100 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
6102 2011-05-28 Ulrich Drepper <drepper@gmail.com>
6105 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
6106 grow the buffers more if it already has to be sufficient.
6107 (build_wcs_upper_buffer): Likewise.
6108 * posix/regexec.c (check_matching): Likewise.
6109 (clean_state_log_if_needed): Likewise.
6110 (extend_buffers): Don't enlarge buffers beyond size of the input
6112 Patches mostly by Emil Wojak <emil@wojak.eu>.
6113 * posix/bug-regex32.c: New file.
6114 * posix/Makefile (tests): Add bug-regex32.
6116 * locale/findlocale.c (_nl_find_locale): Return right away if
6117 _nl_explode_name failed.
6118 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6120 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
6122 * debug/xtrace.sh: Unify messages.
6123 * malloc/memusage.sh: Likewise.
6126 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
6127 time symbol from vDSO. Substitute with vsyscall if not available.
6128 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
6131 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
6132 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
6133 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
6134 Add sendmmsg and internal_sendmmsg.
6135 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
6136 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
6137 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
6139 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
6140 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
6141 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
6143 2011-05-27 Ulrich Drepper <drepper@gmail.com>
6146 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
6147 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
6149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
6153 * iconvdata/Makefile (tests): Add bug-iconv9.
6154 * iconvdata/bug-iconv9.c: New file.
6156 2011-05-27 Andreas Schwab <schwab@redhat.com>
6159 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
6161 2011-05-25 Jakub Jelinek <jakub@redhat.com>
6163 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6164 (struct user_regs_struct): Change intcs field back to cs.
6166 2011-05-25 Ulrich Drepper <drepper@gmail.com>
6168 * po/ja.po: Update from translation team.
6170 2011-05-23 Ulrich Drepper <drepper@gmail.com>
6173 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
6174 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
6176 2011-05-20 Andreas Schwab <schwab@redhat.com>
6178 * stdlib/longlong.h: Update from GCC.
6180 2011-05-23 Andreas Schwab <schwab@redhat.com>
6182 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
6184 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
6186 (__sysconf): Pass it down.
6188 2011-05-22 Ulrich Drepper <drepper@gmail.com>
6191 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
6193 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
6194 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
6195 add in in __libc_use_alloca calls. Adjust callers.
6196 (glob): Use malloc in some situations.
6198 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
6199 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
6202 2011-05-21 Ulrich Drepper <drepper@gmail.com>
6204 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
6205 and CLOCK_BOOTTIME_ALARM.
6208 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
6211 * string/_strerror.c (__strerror_r): Print negative errors as signed
6215 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
6216 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
6217 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
6219 * configure.in: Fix typo in redirection and correct removal of test
6223 * locale/setlocale.c (new_composite_name): Fix test to check for
6224 identical name of all categories.
6227 * libio/filedoalloc.c (local_isatty): New function.
6228 (_IO_file_doallocate): Use local_isatty.
6229 * stdio-common/perror.c (perror): In case a new stream is used
6230 forward the stream error.
6231 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
6234 2011-05-20 Ulrich Drepper <drepper@gmail.com>
6237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
6239 * include/alloca.h (extend_alloca_account): Define.
6242 * posix/regex.h: Fix comments with documentation of user-accessible
6243 fields after compilation and describe correct free'ing of pattern
6244 after re_compile_pattern.
6245 Patch by Reuben Thomas <rrt@sc3d.org>.
6247 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
6249 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
6250 and -mno-altivec to prevent the compiler from using Altivec and/or
6251 VSX instructions when the corresponding registers are not available.
6253 2011-05-19 Andreas Schwab <schwab@redhat.com>
6255 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
6257 2011-05-19 Ulrich Drepper <drepper@gmail.com>
6259 * libio/freopen.c (freopen): Use __dup2, not dup2.
6260 * libio/freopen64.c (freopen64): Likewise.
6262 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
6265 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
6266 * math/Makefile (tests): Add test-powl.
6267 (CFLAGS-test-powl.c): Define.
6268 * math/test-powl.c: New file.
6270 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
6272 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
6274 2011-05-17 Ulrich Drepper <drepper@gmail.com>
6277 * iconvdata/gb18030.c: Update to GB18020-2005.
6279 2011-05-16 Ulrich Drepper <drepper@gmail.com>
6281 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
6282 RE_SYNTAX_POSIX_AWK): Update to match recent development.
6283 Patch by Aharon Robbins <arnold@skeeve.com>.
6286 * stdlib/putenv.c (putenv): Don't always create copy of the variable
6290 * misc/pselect.c (__pselect): Handle timeout value errors hidden
6294 * misc/error.c (error_at_line): Ensure file_name and old_file_name
6295 point to strings before performing equality test for error_one_per_line
6299 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
6302 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
6303 (struct user_fpregs_struct): Avoid __uint*_t types.
6306 * malloc/mtrace.c (tr_where): Add additional parameter to point to
6307 symbol info. Use it instead of calling _dl_addr locally.
6308 (lock_and_info): New function.
6309 (tr_freehook): Call lock_and_info and pass symbol info as additional
6310 parameter to tr_where.
6311 (tr_mallochook): Likewise.
6312 (tr_reallochook): Likewise.
6313 (tr_memalignhook): Likewise.
6315 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
6316 used and couldn't be at all thread-safe.
6318 2011-05-15 Ulrich Drepper <drepper@gmail.com>
6320 * libio/freopen.c (freopen): Don't close old file descriptor
6321 before the new one is opened. Instead dup the new file descriptor
6322 to the old one after the new stream is created.
6323 * libio/freopen64.c (freopen64): Likewise.
6324 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
6325 * libio/fileops.c (_IO_new_file_close_it): Handle new
6326 _IO_FLAGS2_NOCLOSE flag.
6327 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
6328 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
6329 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
6330 _IO_FLAGS2_NOCLOSE flag.
6331 * include/unistd.h: Add hidden_proto for dup3.
6333 * io/dup3.c: Define hidden symbol.
6334 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
6337 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
6338 when an incomplete long option is used.
6339 * posix/tst-getopt_long1.c: New file.
6340 * posix/Makefile (tests): Add tst-getopt_long1.
6343 * scripts/config.guess: Update from autoconf-2.68.
6344 * scripts/config.sub: Likewise.
6347 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
6349 (has_cpuclock): ...this. New function.
6350 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
6351 macro here based on has_cpuclock code.
6354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6355 First byte (not low byte) is now always NUL.
6356 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
6358 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6359 Use non-cancelable interfaces.
6362 * locale/iso-639.def: Add entry for Sorani.
6365 * include/stdlib.h: Move include protection to the right place.
6366 Define abort_msg_s. Declare __abort_msg with it.
6367 * stdlib/abort.c (__abort_msg): Adjust type.
6368 * assert/assert.c (__assert_fail_base): New function. Majority
6369 of code from __assert_fail. Allocate memory for __abort_msg with
6371 (__assert_fail): Now call __assert_fail_base.
6372 * assert/assert-perr.c: Remove bulk of implementation. Use
6374 * include/assert.hL Declare __assert_fail_base.
6375 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
6377 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
6379 2011-05-14 Ulrich Drepper <drepper@gmail.com>
6383 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
6384 until all modules are registered in the DTV.
6385 * elf/Makefile: Add rules to build and run tst-tls19.
6386 * elf/tst-tls19.c: New file.
6387 * elf/tst-tls19mod1.c: New file.
6388 * elf/tst-tls19mod2.c: New file.
6389 * elf/tst-tls19mod3.c: New file.
6390 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
6393 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
6397 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
6398 two-byte sequence errors.
6399 * iconvdata/Makefile (tests): Add bug-iconv8.
6400 * iconvdata/bug-iconv8.c: New file.
6403 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
6406 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
6409 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
6410 (dummy_getcfa): New function.
6411 (init): Get _Unwind_GetCFA address, use dummy if not found.
6412 (backtrace_helper): In recursion check, also check whether CFA changes.
6413 (__backtrace): Completely initialize arg.
6415 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
6416 storing incomplete byte sequence in state object. Avoid testing for
6417 guaranteed too small input if we know there is enough data available.
6419 2011-05-11 Andreas Schwab <schwab@redhat.com>
6421 * Makeconfig (+link-pie): Indent.
6422 * Rules (binaries-pie): Define if $(have-fpie) and
6424 (binaries-shared): Also filter out $(binaries-pie).
6425 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
6426 * nscd/Makefile (others-pie): Add nscd.
6427 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
6428 ($(objpfx)nscd): Remove command override.
6429 * login/Makefile (others-pie): Add pt_chown.
6430 ($(objpfx)pt_chown): Remove command override.
6431 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
6432 remove command overrides.
6434 2011-05-13 Ulrich Drepper <drepper@gmail.com>
6436 * libio/tst_putwc.c: Fix error messages.
6439 * libio/fileops.c (_IO_new_file_close_it): Always flush when
6440 currently writing and seek to current position when not.
6441 * libio/Makefile (tests): Add bug-fclose1.
6442 * libio/bug-fclose1.c: New file.
6444 2011-05-12 Ulrich Drepper <drepper@gmail.com>
6447 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
6448 don't set DF_1_NODELETE here.
6449 (do_lookup_x): When entering new entry test for copy relocation
6450 and if necessary set DF_1_NODELETE flag.
6451 * elf/tst-unique4.cc: New file.
6452 * elf/tst-unique4.h: New file.
6453 * elf/tst-unique4lib.cc: New file.
6454 * elf/Makefile: Add rules to build and run tst-unique4.
6455 Patch by Piotr Bury <pbury@goahead.com>.
6457 2011-05-11 Ulrich Drepper <drepper@gmail.com>
6460 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
6463 * misc/mntent_r.c (addmntent): Flush the stream after the output
6466 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
6467 (is_trusted_path_normalize): Skip initial colon. Append slash
6468 to empty buffer. Duplicate is_trusted_path code but allow
6469 constructed patch to be prefix.
6470 (is_dst): Allow $ORIGIN followed by /.
6471 (_dl_dst_substitute): Correct clearing of check_for_trusted.
6472 Correct testing of result of is_trusted_path_normalize
6473 (decompose_rpath): Fix warning.
6475 2011-05-10 Ulrich Drepper <drepper@gmail.com>
6478 * grp/initgroups.c (internal_getgrouplist): When we found the service
6479 list through the initgroups entry in nsswitch.conf do not always
6480 continue on a successful lookup. Don't always use the
6481 __nss_group_database value if it is set.
6482 * nss/nsswitch.conf (initgroups): Change action for successful db
6483 lookup to continue for compatibility.
6485 2011-05-09 Ulrich Drepper <drepper@gmail.com>
6488 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
6490 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
6492 * iconvdata/tst-tables.sh: Likewise.
6493 * iconvdata/cp770.c: New file.
6494 * iconvdata/cp771.c: New file.
6495 * iconvdata/cp772.c: New file.
6496 * iconvdata/cp773.c: New file.
6497 * iconvdata/cp774.c: New file.
6498 * iconvdata/testdata/CP770: New file.
6499 * iconvdata/testdata/CP770..UTF8: New file.
6500 * iconvdata/testdata/CP771: New file.
6501 * iconvdata/testdata/CP771..UTF8: New file.
6502 * iconvdata/testdata/CP772: New file.
6503 * iconvdata/testdata/CP772..UTF8: New file.
6504 * iconvdata/testdata/CP773: New file.
6505 * iconvdata/testdata/CP773..UTF8: New file.
6506 * iconvdata/testdata/CP774: New file.
6507 * iconvdata/testdata/CP774..UTF8: New file.
6509 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
6511 * iconvdata/gen-8bit-gap.sh: Likewise.
6512 * iconvdata/gen-8bit.sh: Likewise.
6514 * locale/iso-639.def: Add ary entry.
6517 * locale/C-translit.h.in: Add U20A1 transliteration.
6520 * locale/iso-639.def: Add wae entry.
6521 Patch by Kevin Bortis <bortis@translate-wae.ch>.
6524 * locale/programs/localedef.c (construct_output_path): Use ssize_t
6528 * locale/C-translit.h.in: Add entry for U20B9.
6529 Patch by pravin.d.s@gmail.com.
6531 2011-05-08 Ulrich Drepper <drepper@gmail.com>
6534 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
6535 ENAMETOOLONG use generic getcwd.
6536 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
6537 in rtld. Use *stat64.
6538 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6539 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
6540 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6541 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
6542 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
6543 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
6544 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
6546 * include/dirent.h: Add libc_hidden_proto for rewinddir.
6547 * dirent/rewinddir.c: Add libc_hidden_def.
6548 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6549 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
6551 * include/dirent.h (__alloc_dir): Add flags parameter.
6552 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
6553 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
6555 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
6556 from fdopendir if O_CLOEXEC is already set.
6558 2011-03-15 Alan Modra <amodra@gmail.com>
6560 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
6561 l_tls_firstbyte_offset non-zero. Save padding offset in
6562 l_tls_firstbyte_offset for later use.
6563 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
6564 freeing static tls block.
6566 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
6568 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
6569 where #ifdef was intended. The intent is to prevent ARG_MAX from
6570 being defined by the kernel headers.
6572 2011-05-07 Ulrich Drepper <drepper@gmail.com>
6575 * resolv/resolv.h: Define RES_NOTLDQUERY.
6576 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
6577 no-tld-query and set RES_NOTLDQUERY.
6578 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
6579 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
6580 modern BIND to search name as TLD unless forbidden.
6582 2011-05-07 Petr Baudis <pasky@suse.cz>
6583 Ulrich Drepper <drepper@gmail.com>
6586 * elf/dl-load.c (fillin_rpath): Move trusted path check...
6587 (is_trusted_path): ...to here.
6588 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
6589 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
6590 using is_trusted_path_normalize() in setuid scripts.
6592 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6594 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
6595 __BEGIN/__END_DECLS.
6597 2011-05-06 Ulrich Drepper <drepper@gmail.com>
6599 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
6600 NSS_STATUS_NOTFOUND if no record was found.
6602 2011-05-05 Andreas Schwab <schwab@redhat.com>
6604 * sunrpc/Makefile (headers): Add rpc/netdb.h.
6605 (headers-not-in-tirpc): Remove rpc/netdb.h
6606 * resolv/netdb.h: Revert last change.
6608 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6610 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
6611 circular dependency between libgcc.a and libc.a.
6613 2011-05-05 Andreas Schwab <schwab@redhat.com>
6615 * resolv/netdb.h: Don't include <rpc/netdb.h>.
6616 * nis/Makefile: Don't install rpcsvc/*.
6617 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
6618 instead of <rpc/types.h>.
6619 (MAXHOSTNAMELEN): Define.
6621 2011-05-03 Andreas Schwab <schwab@redhat.com>
6623 * elf/ldconfig.c (add_dir): Don't crash on empty path.
6625 2011-04-28 Maciej Babinski <mbabinski@google.com>
6628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
6629 gethostbyname4_r when IPv6 results are possible.
6631 2011-05-02 Ulrich Drepper <drepper@gmail.com>
6634 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
6635 _PC_PIPE_BUF handling.
6637 2011-04-30 Bruno Haible <bruno@clisp.org>
6640 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
6641 * resolv/netdb.h (getnameinfo): Change type of flags parameter
6643 * inet/getnameinfo.c (getnameinfo): Likewise.
6645 2011-04-29 Ulrich Drepper <drepper@gmail.com>
6647 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
6648 to groups setting in database lookup.
6649 * nss/nsswitch.conf: Add initgroups entry.
6651 2011-04-22 Ulrich Drepper <drepper@gmail.com>
6654 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
6656 Patch by Eric Blake <eblake@redhat.com>.
6658 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
6660 * sunrpc/Makefile (need-export-routines): Add svc_run.
6661 (routines): Remove svc_run.
6662 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
6663 * sunrpc/clnt_perr.c (clnt_perrno): Export.
6664 * sunrpc/svc_run.c (svc_run): Likewise.
6665 * sunrpc/svc_udp.c (svcudp_create): Likewise.
6667 2011-04-21 Ulrich Drepper <drepper@gmail.com>
6669 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
6670 problem in reallocation in last patch.
6672 2011-04-20 Ulrich Drepper <drepper@gmail.com>
6674 * sunrpc/Makefile: Move inclusion of Rules.
6676 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6678 * nss/nss_files/files-initgroups.c: New file.
6679 * nss/Makefile (libnss_files-routines): Add files-initgroups.
6680 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
6681 _nss_files_initgroups_dyn.
6683 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
6685 * elf/elf.h (R_ARM_IRELATIVE): Define.
6687 2011-04-19 Ulrich Drepper <drepper@gmail.com>
6689 * po/ru.po: Update from translation team.
6691 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6693 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
6696 2011-02-06 Mike Frysinger <vapier@gentoo.org>
6699 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
6700 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
6701 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6703 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6705 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
6707 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
6709 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6713 2011-04-17 Ulrich Drepper <drepper@gmail.com>
6716 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
6718 * stdlib/bug-getcontext.c: New file.
6719 * stdlib/Makefile: Add rules to build and run bug-getcontext.
6721 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6723 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
6724 instructions into .machine "z9-109".
6725 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
6726 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
6728 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6730 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
6731 between environment variables and auxiliary vector.
6733 2011-04-16 Ulrich Drepper <drepper@gmail.com>
6735 * Makefile: Add rules to build linkobj/libc.so.
6736 * include/libc-symbols.h: Define libc_hidden_nolink.
6737 * include/rpc/auth.h: Mark functions which are to be hidden.
6738 * include/rpc/auth_des.h: Likewise.
6739 * include/rpc/auth_unix.h: Likewise.
6740 * include/rpc/clnt.h: Likewise.
6741 * include/rpc/des_crypt.h: Likewise.
6742 * include/rpc/key_prot.h: Likewise.
6743 * include/rpc/pmap_clnt.h: Likewise.
6744 * include/rpc/pmap_prot.h: Likewise.
6745 * include/rpc/pmap_rmt.h: Likewise.
6746 * include/rpc/rpc_msg.h: Likewise.
6747 * include/rpc/svc.h: Likewise.
6748 * include/rpc/svc_auth.h: Likewise.
6749 * include/rpc/xdr.h: Likewise.
6750 * nis/Makefile: Link all DSOs against linkobj/libc.so.
6751 * nss/Makefile: Likewise.
6752 * sunrpc/Makefile: Don't install headers. Build library with normal
6753 entry points. Don't build rpcinfo. Link RPC tests appropriately.
6754 * sunrpc/auth_des.c: Hide exported symbols by default, export some
6755 for the compat linking library. Remove use of INTDEF/INTUSE.
6756 * sunrpc/auth_none.c: Likewise.
6757 * sunrpc/auth_unix.c: Likewise.
6758 * sunrpc/authdes_prot.c: Likewise.
6759 * sunrpc/authuxprot.c: Likewise.
6760 * sunrpc/clnt_gen.c: Likewise.
6761 * sunrpc/clnt_perr.c: Likewise.
6762 * sunrpc/clnt_raw.c: Likewise.
6763 * sunrpc/clnt_simp.c: Likewise.
6764 * sunrpc/clnt_tcp.c: Likewise.
6765 * sunrpc/clnt_udp.c: Likewise.
6766 * sunrpc/clnt_unix.c: Likewise.
6767 * sunrpc/des_crypt.c: Likewise.
6768 * sunrpc/des_soft.c: Likewise.
6769 * sunrpc/get_myaddr.c: Likewise.
6770 * sunrpc/key_call.c: Likewise.
6771 * sunrpc/key_prot.c: Likewise.
6772 * sunrpc/netname.c: Likewise.
6773 * sunrpc/pm_getmaps.c: Likewise.
6774 * sunrpc/pm_getport.c: Likewise.
6775 * sunrpc/pmap_clnt.c: Likewise.
6776 * sunrpc/pmap_prot.c: Likewise.
6777 * sunrpc/pmap_prot2.c: Likewise.
6778 * sunrpc/pmap_rmt.c: Likewise.
6779 * sunrpc/publickey.c: Likewise.
6780 * sunrpc/rpc_cmsg.c: Likewise.
6781 * sunrpc/rpc_common.c: Likewise.
6782 * sunrpc/rpc_dtable.c: Likewise.
6783 * sunrpc/rpc_prot.c: Likewise.
6784 * sunrpc/rpc_thread.c: Likewise.
6785 * sunrpc/rtime.c: Likewise.
6786 * sunrpc/svc.c: Likewise.
6787 * sunrpc/svc_auth.c: Likewise.
6788 * sunrpc/svc_authux.c: Likewise.
6789 * sunrpc/svc_raw.c: Likewise.
6790 * sunrpc/svc_run.c: Likewise.
6791 * sunrpc/svc_simple.c: Likewise.
6792 * sunrpc/svc_tcp.c: Likewise.
6793 * sunrpc/svc_udp.c: Likewise.
6794 * sunrpc/svc_unix.c: Likewise.
6795 * sunrpc/svcauth_des.c: Likewise.
6796 * sunrpc/xcrypt.c: Likewise.
6797 * sunrpc/xdr.c: Likewise.
6798 * sunrpc/xdr_array.c: Likewise.
6799 * sunrpc/xdr_float.c: Likewise.
6800 * sunrpc/xdr_intXX_t.c: Likewise.
6801 * sunrpc/xdr_mem.c: Likewise.
6802 * sunrpc/xdr_rec.c: Likewise.
6803 * sunrpc/xdr_ref.c: Likewise.
6804 * sunrpc/xdr_sizeof.c: Likewise.
6805 * sunrpc/xdr_stdio.c: Likewise.
6807 2011-04-10 Ulrich Drepper <drepper@gmail.com>
6810 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
6811 * sysdeps/ia64/dl-tls.h: Likewise.
6812 * sysdeps/powerpc/dl-tls.h: Likewise.
6813 * sysdeps/s390/dl-tls.h: Likewise.
6814 * sysdeps/sh/dl-tls.h: Likewise.
6815 * sysdeps/sparc/dl-tls.h: Likewise.
6816 * sysdeps/x86_64/dl-tls.h: Likewise.
6817 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
6819 2011-03-14 Andreas Schwab <schwab@redhat.com>
6821 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
6822 rpath element also skip the following colon.
6823 (expand_dynamic_string_token): Add is_path parameter and pass
6824 down to DL_DST_REQUIRED and _dl_dst_substitute.
6825 (decompose_rpath): Call expand_dynamic_string_token with
6826 non-zero is_path. Ignore empty rpaths.
6827 (_dl_map_object_from_fd): Call expand_dynamic_string_token
6830 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6835 2011-04-09 Ulrich Drepper <drepper@gmail.com>
6838 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
6839 Patch by Filipe David Manana <fdmanana@apache.org>.
6841 2011-04-07 Andreas Schwab <schwab@redhat.com>
6843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
6844 Maintain aligned stack.
6845 (CHECK_RSP): Remove unused macro.
6847 2011-04-03 Ulrich Drepper <drepper@gmail.com>
6849 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
6850 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
6852 2011-04-02 Ulrich Drepper <drepper@gmail.com>
6854 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
6856 * include/features.h: Mention __USE_XOPEN2K8 in comment.
6858 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
6861 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
6862 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
6863 * sysdeps/x86_64/memmove.c: New file.
6864 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
6865 (memcpy): Renamed to ...
6866 (__new_memcpy): This.
6867 (memcpy): Provide GLIBC_2_14 memcpy.
6868 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
6869 (memcpy): Provide GLIBC_2_2_5 memcpy.
6871 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6874 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
6876 2011-03-30 Andreas Schwab <schwab@redhat.com>
6878 * misc/syncfs.c: New file.
6879 * misc/Makefile (routines): Add syncfs.
6880 * posix/unistd.h: Declare syncfs.
6881 * sysdeps/unix/syscalls.list: Add syncfs.
6883 2011-04-01 Andreas Schwab <schwab@redhat.com>
6885 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
6887 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
6888 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6890 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6892 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6893 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6895 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6897 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
6898 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6899 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
6900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6905 * io/Makefile: Compile fallocate.c, fallocate64.c, and
6906 sync_file_range.c with -fexceptions.
6907 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
6908 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
6909 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6910 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6911 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
6912 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
6914 sync_file_range as cancellation point
6915 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
6916 now a wrapper around __call_sync_file_range with cancellation handling.
6917 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
6918 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
6919 function name to __call_sync_file_range.
6920 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
6921 Add call_sync_file_range.
6923 2011-04-01 Andreas Schwab <schwab@redhat.com>
6925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6928 2011-04-01 Ulrich Drepper <drepper@gmail.com>
6930 * iconv/iconv.h: Fix typo in comment.
6931 * io/fcntl.h: Likewise.
6932 * libio/stdio.h: Likewise.
6933 * posix/spawn.h: Likewise.
6934 * posix/unistd.h: Likewise.
6935 * stdlib/stdlib.h: Likewise.
6936 * time/time.h: Likewise.
6937 * wcsmbs/wchar.h: Likewise.
6939 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
6940 open_by_handle): Add.
6941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
6942 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
6943 Augment a few comments.
6944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6948 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6949 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6952 * io/fcntl.h (AT_EMPTY_PATH): Define.
6954 2011-03-30 Ulrich Drepper <drepper@gmail.com>
6956 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6957 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6958 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6960 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
6961 * Versions.def: Add GLIBC_2.14.
6962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6965 2011-03-22 Ulrich Drepper <drepper@gmail.com>
6967 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6969 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6971 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6974 * string/test-strncmp.c (do_page_test): New function.
6976 (test_main): Call check2.
6977 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6979 2011-03-20 Ulrich Drepper <drepper@gmail.com>
6982 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6983 Handle cache information in CPU leaf 4.
6984 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6986 2011-03-18 Ulrich Drepper <drepper@gmail.com>
6989 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6990 character representation.
6991 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6993 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6995 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6996 END(__isnan) to END(__isnanf) to match function entry point/label
6997 EALIGN(__isnanf,...).
6999 2011-03-10 Jakub Jelinek <jakub@redhat.com>
7001 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
7003 2011-03-10 Ulrich Drepper <drepper@gmail.com>
7006 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
7007 copy from the symbol referenced in the relocation to initialize the
7009 Patch by Piotr Bury <pbury@goahead.com>.
7010 * elf/Makefile: Add rules to build and tst-unique3.
7011 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
7012 * elf/tst-unique3.cc: New file.
7013 * elf/tst-unique3.h: New file.
7014 * elf/tst-unique3lib.cc: New file.
7015 * elf/tst-unique3lib2.cc: New file.
7017 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
7019 2011-03-10 Mike Frysinger <vapier@gentoo.org>
7021 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
7022 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
7025 2011-03-06 Ulrich Drepper <drepper@gmail.com>
7027 * elf/dl-load.c (_dl_map_object): If we are looking for the first
7028 to-be-loaded object along a path to loader is ld.so.
7030 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7031 Ulrich Drepper <drepper@gmail.com>
7033 * sysdeps/x86_64/memset.S: After aligning destination, code
7034 branches to different locations depending on the value of
7035 misalignment, when multiarch is enabled. Fix this.
7037 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
7039 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
7040 Set _x86_64_preferred_memory_instruction for AMD processsors.
7041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7042 Set bit_Prefer_SSE_for_memop for AMD processors.
7044 2011-03-04 Ulrich Drepper <drepper@gmail.com>
7046 * libio/fmemopen.c (fmemopen): Optimize a bit.
7048 2011-03-03 Andreas Schwab <schwab@redhat.com>
7050 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
7052 2011-03-03 Roland McGrath <roland@redhat.com>
7054 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
7056 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
7058 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
7059 __bzero_ultra1 instead of __memset_ultra1.
7061 2011-02-23 Andreas Schwab <schwab@redhat.com>
7062 Ulrich Drepper <drepper@gmail.com>
7065 * include/link.h (struct link_map): Add l_orig_initfini.
7066 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
7067 returning unsuccessfully.
7068 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
7069 close of a file loaded at startup, restore the original l_initfini
7071 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
7072 list, store the pointer.
7073 * elf/Makefile ($(objpfx)noload-mem): New rule.
7074 (noload-ENV): Define.
7075 (tests): Add $(objpfx)noload-mem.
7076 * elf/noload.c: Include <memcheck.h>.
7077 (main): Call mtrace. Close all opened handles.
7079 2011-02-17 Andreas Schwab <schwab@redhat.com>
7082 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
7083 dependencies are missing.
7085 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7087 Fix __if_freereq crash: Unlike the generic version which uses free,
7089 * sysdeps/mach/hurd/ifreq.h: New file.
7091 2011-01-27 Petr Baudis <pasky@suse.cz>
7092 Ulrich Drepper <drepper@gmail.com>
7095 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
7097 * stdio-common/bug23.c: New file.
7098 * stdio-common/Makefile (tests): Add bug23.
7100 2010-09-28 Andreas Schwab <schwab@redhat.com>
7101 Ulrich Drepper <drepper@gmail.com>
7104 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
7105 before performing relro protection. At old place add assertion
7106 to make sure nothing changed.
7108 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
7109 Glauber de Oliveira Costa <glommer@gmail.com>
7111 * elf/elf.h: Add new ARM TLS relocs.
7113 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7116 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
7118 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
7120 * sysdeps/wordsize-64/tst-writev.c: New file.
7122 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
7124 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
7125 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
7126 insns in _dl_start to prevent a TOC reference before relocs are
7129 2011-02-15 Ulrich Drepper <drepper@gmail.com>
7132 * Makeconfig: Remove RANLIB definition.
7133 * Makerules: Don't use RANLIB.
7134 * aclocal.m4: Remove ranlib test.
7135 * configure.in: No need to check for ranlib.
7136 * elf/rtld-Rules: Don't use RANLIB.
7138 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
7140 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
7142 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
7143 inclusion protection macro.
7145 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
7146 SIGRTMIN and SIGRTMAX and print information in that case only when
7147 SIGRTMIN is defined.
7149 2011-02-11 Jakub Jelinek <jakub@redhat.com>
7151 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
7152 arginfo fn returning -1.
7154 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
7155 and thousands string is zero terminated.
7157 2011-02-03 Andreas Schwab <schwab@redhat.com>
7159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
7160 sysdeps/unix/sysv/linux/bits/socket.h.
7162 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7164 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
7165 (__CPU_COUNT): Remove old macros.
7166 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
7167 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
7168 (__CPU_ALLOC, __CPU_FREE): Add macros.
7169 (__sched_cpualloc, __sched_cpufree): Add declarations.
7171 2011-02-05 Ulrich Drepper <drepper@gmail.com>
7173 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
7174 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
7175 * nscd/aicache.c (addhstaiX): Return timeout of added value.
7176 (readdhstai): Return value of addhstaiX call.
7177 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
7178 (addgrbyX): Return value returned by cache_addgr.
7179 (readdgrbyname): Return value returned by addgrbyX.
7180 (readdgrbygid): Likewise.
7181 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
7182 (addpwbyX): Return value returned by cache_addpw.
7183 (readdpwbyname): Return value returned by addhstbyX.
7184 (readdpwbyuid): Likewise.
7185 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
7186 (addservbyX): Return value returned by cache_addserv.
7187 (readdservbyname): Return value returned by addservbyX:
7188 (readdservbyport): Likewise.
7189 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
7190 (addhstbyX): Return value returned by cache_addhst.
7191 (readdhstbyname): Return value returned by addhstbyX.
7192 (readdhstbyaddr): Likewise.
7193 (readdhstbynamev6): Likewise.
7194 (readdhstbyaddrv6): Likewise.
7195 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
7196 (readdinitgroups): Return value returned by addinitgroupsX.
7197 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
7198 (prune_cache): Keep track of timeout value of re-added entries.
7199 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
7200 * nscd/nscd.h: Adjust prototypes of readd* functions.
7202 2011-02-04 Roland McGrath <roland@redhat.com>
7204 * nis/nis_server.c (nis_servstate): Use the right name for 0.
7205 (nis_stats): Likewise.
7206 * nis/nis_modify.c (nis_modify): Likewise.
7207 * nis/nis_remove.c (nis_remove): Likewise.
7208 * nis/nis_add.c (nis_add): Likewise.
7210 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
7212 * posix/fnmatch_loop.c: Add some consts.
7214 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
7216 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
7219 * config.make.in (config-cflags-novzeroupper): Define.
7220 * configure.in: Substitute libc_cv_cc_novzeroupper.
7221 * elf/Makefile (AVX-CFLAGS): Define.
7222 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
7223 (CFLAGS-tst-auditmod4a.c): Likewise.
7224 (CFLAGS-tst-auditmod4b.c): Likewise.
7225 (CFLAGS-tst-auditmod6b.c): Likewise.
7226 (CFLAGS-tst-auditmod6c.c): Likewise.
7227 (CFLAGS-tst-auditmod7b.c): Likewise.
7228 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
7230 2011-02-02 Ulrich Drepper <drepper@gmail.com>
7232 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
7233 function to the callback.
7234 Patch partly by Jiri Olsa <jolsa@redhat.com>.
7236 2011-02-02 Andreas Schwab <schwab@redhat.com>
7238 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
7241 2011-01-19 Ulrich Drepper <drepper@gmail.com>
7244 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
7246 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
7248 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
7251 * elf/Makefile: Add rules to build and run new test.
7252 * elf/tst-initorder.c: New file.
7253 * elf/tst-initorder.exp: New file.
7254 * elf/tst-initordera1.c: New file.
7255 * elf/tst-initordera2.c: New file.
7256 * elf/tst-initordera3.c: New file.
7257 * elf/tst-initordera4.c: New file.
7258 * elf/tst-initorderb1.c: New file.
7259 * elf/tst-initorderb2.c: New file.
7260 * elf/tst-order-a1.c: New file.
7261 * elf/tst-order-a2.c: New file.
7262 * elf/tst-order-a3.c: New file.
7263 * elf/tst-order-a4.c: New file.
7264 * elf/tst-order-b1.c: New file.
7265 * elf/tst-order-b2.c: New file.
7266 * elf/tst-order-main.c: New file.
7267 New test case by George Gensure <werkt0@gmail.com>.
7269 2010-10-01 Andreas Schwab <schwab@redhat.com>
7271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7272 decoding ACE if AI_CANONIDN.
7274 2011-01-18 Ulrich Drepper <drepper@gmail.com>
7276 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
7278 2011-01-17 Ulrich Drepper <drepper@gmail.com>
7280 * version.h (RELEASE): Bump for 2.13 release.
7281 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
7283 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
7285 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
7287 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
7288 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7289 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7292 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7294 * posix/getconf.c: Update copyright year.
7295 * catgets/gencat.c: Likewise.
7296 * csu/version.c: Likewise.
7297 * debug/catchsegv.sh: Likewise.
7298 * debug/xtrace.sh: Likewise.
7299 * elf/ldconfig.c: Likewise.
7300 * elf/ldd.bash.in: Likewise.
7301 * elf/sprof.c (print_version): Likewise.
7302 * iconv/iconv_prog.c: Likewise.
7303 * iconv/iconvconfig.c: Likewise.
7304 * locale/programs/locale.c: Likewise.
7305 * locale/programs/localedef.c: Likewise.
7306 * malloc/memusage.sh: Likewise.
7307 * malloc/mtrace.pl: Likewise.
7308 * nscd/nscd.c (print_version): Likewise.
7309 * nss/getent.c: Likewise.
7311 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
7312 PF_CAIF, and PF_ALG.
7313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7315 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
7317 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
7318 (modules-names): Use them.
7319 (ifunc-test-modules, ifunc-pie-tests): Define.
7320 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
7321 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
7322 (test-extras): Likewise.
7323 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
7324 $(compile-command.c).
7325 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
7326 (all-built-dso): Define.
7327 (check-textrel.out, check-execstack.out): Depend on it.
7329 * configure.in: Don't override --enable-multi-arch.
7331 2011-01-15 Ulrich Drepper <drepper@gmail.com>
7334 * nscd/hstcache.c (tryagain): Define.
7335 (cache_addhst): Return tryagain not notfound for temporary errors.
7336 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
7339 2011-01-14 Ulrich Drepper <drepper@gmail.com>
7342 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
7343 to make the syscall.
7344 * sysdeps/unix/sysv/linux/setgroups.c: New file.
7347 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
7348 and fall back to matching as normal character if the string ends before
7349 the matching ']' is found. This is what POSIX requires.
7350 * posix/testfnm.c: Adjust test result.
7351 * posix/globtest.sh: Adjust test result. Add new test.
7352 * posix/tst-fnmatch.input: Likewise.
7353 * posix/tst-fnmatch2.c: Add new test.
7355 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
7357 * elf/Makefile (check-execstack): Revert last change. Depend on
7359 (check-execstack.h): New target.
7360 (generated): Add check-execstack.h.
7361 * elf/check-execstack.c: Include "check-execstack.h".
7362 (main): Revert last change.
7363 (handle_file): Return zero if GNU_STACK is absent and
7364 DEFAULT_STACK_PERMS doesn't include PF_X.
7366 2011-01-13 Ulrich Drepper <drepper@gmail.com>
7368 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
7369 in child fails because the descriptor is already closed.
7370 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
7371 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
7372 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7375 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
7379 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
7380 temporary buffer used to handle multi lookups locally.
7381 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
7383 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7385 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
7388 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
7390 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
7393 2011-01-12 Ulrich Drepper <drepper@gmail.com>
7396 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
7397 characters. When rounding increased number of integer digits recompute
7399 * stdio-common/tst-grouping.c: New file.
7400 * stdio-common/Makefile: Add rules to build and run tst-grouping.
7402 2011-01-09 Ulrich Drepper <drepper@gmail.com>
7404 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
7405 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
7407 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
7409 * bits/select.h: Likewise.
7411 2011-01-08 Ulrich Drepper <drepper@gmail.com>
7413 * po/ja.po: Update from translation team.
7415 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
7418 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
7419 implementation just like for lxstat, fxstatat, et al.
7421 2010-12-27 Jim Meyering <meyering@redhat.com>
7424 * posix/regexec.c (build_trtable): Return failure indication upon
7425 calloc failure. Otherwise, re_search_internal could infloop on OOM.
7427 2010-12-25 Ulrich Drepper <drepper@gmail.com>
7430 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
7431 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
7432 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
7433 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
7436 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
7439 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
7440 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
7442 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
7444 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
7445 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
7446 script has SORT_BY_INIT_PRIORITY.
7447 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
7448 NO_CTORS_DTORS_SECTIONS is defined.
7449 * elf/soinit.c: Likewise.
7450 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
7451 NO_CTORS_DTORS_SECTIONS is defined.
7452 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7453 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
7454 * sysdeps/sh/init-first.c: Likewise.
7455 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
7457 2010-12-24 Ulrich Drepper <drepper@gmail.com>
7459 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
7460 always use the slow path.
7462 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
7464 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
7465 similar rule which adds the sysdep directories to the header search in
7466 order to pick up the correct platform stackinfo.h.
7467 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
7468 perform test if it is, otherwise return successfully without testing.
7469 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
7470 DEFAULT_STACK_PERMS define in stackinfo.h.
7471 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
7472 defined in stackinfo.h.
7473 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
7474 DEFAULT_STACK_PERMS defined in stackinfo.h.
7475 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
7476 * sysdeps/ia64/stackinfo.h: Likewise.
7477 * sysdeps/s390/stackinfo.h: Likewise.
7478 * sysdeps/sh/stackinfo.h: Likewise.
7479 * sysdeps/sparc/stackinfo.h: Likewise.
7480 * sysdeps/x86_64/stackinfo.h: Likewise.
7481 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
7482 PF_X for powerpc64. Retain PF_X for powerpc32.
7484 2010-12-19 Ulrich Drepper <drepper@gmail.com>
7486 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
7488 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
7489 GETDENTS_64BIT_ALIGNED.
7491 2010-12-14 Ulrich Drepper <dreper@gmail.com>
7493 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
7495 2010-12-10 Andreas Schwab <schwab@redhat.com>
7497 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
7500 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
7501 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
7503 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
7504 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
7506 2010-12-09 Ulrich Drepper <drepper@gmail.com>
7509 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
7512 2010-12-09 Jakub Jelinek <jakub@redhat.com>
7514 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
7516 2010-12-03 Ulrich Drepper <drepper@gmail.com>
7518 * po/it.po: Update from translation team.
7520 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
7522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
7525 2010-11-30 Ulrich Drepper <drepper@gmail.com>
7527 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
7529 2010-11-24 Andreas Schwab <schwab@redhat.com>
7531 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
7533 (gaih_getanswer_slice): Likewise.
7535 2010-10-20 Jakub Jelinek <jakub@redhat.com>
7537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
7539 2010-05-31 Petr Baudis <pasky@suse.cz>
7542 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
7543 silently even in the chroot mode.
7545 2010-11-22 Ulrich Drepper <drepper@gmail.com>
7547 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
7548 last patch a bit. Pretty printing
7550 2010-05-31 Petr Baudis <pasky@suse.cz>
7553 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
7554 initialization of skip_initgroups_dyn.
7556 2010-11-19 Ulrich Drepper <drepper@gmail.com>
7558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
7559 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
7561 2010-11-16 Ulrich Drepper <drepper@gmail.com>
7563 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
7565 2010-11-11 Andreas Schwab <schwab@redhat.com>
7567 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
7568 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
7569 (tst-fnmatch-ENV): Set MALLOC_TRACE.
7570 ($(objpfx)tst-fnmatch-mem): New rule.
7571 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
7572 * posix/tst-fnmatch.c (main): Call mtrace.
7574 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
7576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7577 Support Intel processor model 6 and model 0x2c.
7579 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
7581 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
7584 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
7587 * string/test-strncasecmp.c (check_result): New function.
7588 (do_one_test): Use it.
7589 (check1): New function.
7590 (test_main): Use it.
7591 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
7592 Support strcasecmp and strncasecmp.
7594 2010-11-08 Ulrich Drepper <drepper@gmail.com>
7597 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
7598 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7600 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
7602 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
7604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7606 * sysdeps/x86_64/multiarch/bzero.S: New file.
7607 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
7608 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
7609 * sysdeps/x86_64/multiarch/memset.S: New file.
7610 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
7611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7612 Set bit_Prefer_SSE_for_memop for Intel processors.
7613 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
7615 (index_Prefer_SSE_for_memop): Define.
7616 (HAS_PREFER_SSE_FOR_MEMOP): Define.
7618 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
7620 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
7621 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
7623 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
7626 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7627 (__x86_64_raw_data_cache_size_half): Likewise.
7628 (__x86_64_raw_shared_cache_size): Likewise.
7629 (__x86_64_raw_shared_cache_size_half): Likewise.
7631 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
7632 (__x86_64_raw_data_cache_size_half): Likewise.
7633 (__x86_64_raw_shared_cache_size): Likewise.
7634 (__x86_64_raw_shared_cache_size_half): Likewise.
7635 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
7636 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
7637 and __x86_64_raw_shared_cache_size_half. Round
7638 __x86_64_data_cache_size_half, __x86_64_data_cache_size
7639 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
7640 to multiple of 256 bytes.
7642 2010-11-03 Ulrich Drepper <drepper@gmail.com>
7645 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
7646 of inacessible symlinks. Verify result of symlink before returning it.
7647 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7648 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
7650 2010-10-28 Erich Ritz <erichritz@gmail.com>
7652 * math/math.h (isinf): Fix typo in comment.
7654 2010-11-01 Ulrich Drepper <drepper@gmail.com>
7656 * po/da.po: Update from translation team.
7658 2010-10-26 Ulrich Drepper <drepper@gmail.com>
7660 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
7661 is added to the list.
7663 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7664 Ulrich Drepper <drepper@gmail.com>
7666 * elf/dl-object.c (_dl_new_object): Don't append the new object to
7667 the global list here. Move code to...
7668 (_dl_add_to_namespace_list): ...here. New function.
7669 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
7670 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
7671 * elf/dl-load.c (lose): Don't remove the element from the list.
7672 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
7673 (_dl_map_object): Likewise.
7675 2010-10-25 Ulrich Drepper <drepper@gmail.com>
7678 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
7679 into all bytes of SSE register.
7680 Patch by Richard Li <richardpku@gmail.com>.
7682 2010-10-24 Ulrich Drepper <drepper@gmail.com>
7685 * malloc/malloc.c (_int_free): Fill correct number of bytes when
7688 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
7690 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
7691 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
7692 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
7693 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
7698 2010-10-22 Andreas Schwab <schwab@redhat.com>
7700 * include/dlfcn.h (__RTLD_SECURE): Define.
7701 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
7702 mode & __RTLD_SECURE instead.
7703 (open_path): Rename preloaded parameter to secure.
7704 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
7705 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
7706 * elf/dl-deps.c (openaux): Likewise.
7707 * elf/rtld.c (struct map_args): Remove is_preloaded.
7708 (map_doit): Don't use it.
7709 (dl_main): Likewise.
7710 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
7711 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
7713 2010-09-09 Andreas Schwab <schwab@redhat.com>
7715 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
7716 (sysd-rules-targets): Remove duplicates.
7717 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
7718 rtld-%.$o dependency.
7720 2010-10-18 Andreas Schwab <schwab@redhat.com>
7722 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
7723 _dl_map_object do it.
7725 2010-10-19 Ulrich Drepper <drepper@gmail.com>
7727 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
7728 fast fma builtins, define the macros in the C99 standard.
7729 (FP_FAST_FMAF): Likewise.
7730 (FP_FAST_FMAL): Likewise.
7731 * sysdeps/x86_64/bits/mathdef.h: Likewise.
7733 * bits/mathdef.h: Update copyright year.
7734 * sysdeps/powerpc/bits/mathdef.h: Likewise.
7736 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
7738 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
7739 builtins, define the macros in the C99 standard.
7740 (FP_FAST_FMAF): Likewise.
7741 (FP_FAST_FMAL): Likewise.
7742 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
7744 (FP_FAST_FMAF): Likewise.
7746 2010-10-15 Jakub Jelinek <jakub@redhat.com>
7749 * math/libm-test.inc (fma_test): Some new testcases.
7750 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
7751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
7752 y and infinite z. Do multiplication by C already in long double.
7753 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
7754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
7755 y and infinite z. Do bitwise or of inexact bit into u.d.
7756 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
7757 * sysdeps/i386/fpu/s_fmaf.S: Removed.
7758 * sysdeps/i386/fpu/s_fma.S: Removed.
7759 * sysdeps/i386/fpu/s_fmal.S: Removed.
7761 2010-10-16 Jakub Jelinek <jakub@redhat.com>
7764 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
7765 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
7766 computation is not scheduled after fetestexcept. Fix value
7767 of minimum denormal long double.
7769 2010-10-14 Jakub Jelinek <jakub@redhat.com>
7772 * math/libm-test.inc (fma_test): Add some more tests.
7773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
7776 2010-10-15 Andreas Schwab <schwab@redhat.com>
7778 * scripts/data/localplt-s390-linux-gnu.data: New file.
7779 * scripts/data/localplt-s390x-linux-gnu.data: New file.
7781 2010-10-13 Jakub Jelinek <jakub@redhat.com>
7784 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
7785 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
7787 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
7789 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
7790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
7791 if one of x and y is very large and the other is subnormal.
7792 * sysdeps/s390/fpu/s_fmaf.c: New file.
7793 * sysdeps/s390/fpu/s_fma.c: New file.
7794 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
7795 * sysdeps/powerpc/fpu/s_fma.S: New file.
7796 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
7797 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
7798 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
7800 2010-10-12 Jakub Jelinek <jakub@redhat.com>
7803 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
7805 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
7806 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
7807 * sysdeps/i386/i686/multiarch/s_fma.c: Include
7808 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
7809 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
7810 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
7813 2010-10-12 Ulrich Drepper <drepper@redhat.com>
7816 * posix/regcomp.c (parse_branch): One more memory leak plugged.
7817 * posix/bug-regex31.input: Add test case.
7819 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7821 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
7822 * posix/bug-regex31.input: New file.
7825 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
7826 (parse_sub_exp): Fix last change, use postorder.
7828 * posix/bug-regex31.c: New file.
7829 * posix/Makefile: Add rules to build and run bug-regex31.
7831 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
7834 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
7837 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
7838 to have entries in sys_siglist.
7841 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
7844 2010-10-07 Jakub Jelinek <jakub@redhat.com>
7847 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
7848 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
7849 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
7850 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
7851 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7852 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
7853 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
7854 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
7855 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
7856 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
7857 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
7858 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
7859 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7860 * math/ftestexcept.c (fetestexcept): Likewise.
7861 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
7862 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
7863 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7864 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
7865 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
7866 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
7867 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7869 2010-10-11 Ulrich Drepper <drepper@gmail.com>
7872 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
7875 2010-10-06 Ulrich Drepper <drepper@gmail.com>
7877 * string/bug-strstr1.c: New file.
7878 * string/Makefile: Add rules to build and run bug-strstr1.
7880 2010-10-05 Eric Blake <eblake@redhat.com>
7883 * string/str-two-way.h (two_way_long_needle): Always clear memory
7884 when skipping input due to the shift table.
7886 2010-10-03 Ulrich Drepper <drepper@gmail.com>
7889 * malloc/mcheck.c: Handle large requests.
7892 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
7893 for strncmp and strncasecmp.
7894 * string/stratcliff.c: Add tests for strcmp and strncmp.
7895 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
7897 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7899 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
7902 2010-09-30 Andreas Jaeger <aj@suse.de>
7904 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
7905 (CGROUP_SUPER_MAGIC): Define.
7906 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7907 Handle btrfs and cgroup file systems.
7908 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7911 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
7913 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
7914 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
7916 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7919 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
7920 trying to locate the ELF header.
7922 2010-09-27 Andreas Schwab <schwab@redhat.com>
7925 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
7926 Mask out sign-bit copies when constructing f_fsid.
7928 2010-09-24 Petr Baudis <pasky@suse.cz>
7930 * debug/stack_chk_fail_local.c: Add missing licence exception.
7931 * debug/warning-nop.c: Likewise.
7933 2010-09-15 Joseph Myers <joseph@codesourcery.com>
7935 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
7936 implementing getdents64 using getdents syscall, set d_type if
7937 __ASSUME_GETDENTS32_D_TYPE.
7939 2010-09-16 Andreas Schwab <schwab@redhat.com>
7941 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
7942 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7944 2010-09-21 Ulrich Drepper <drepper@redhat.com>
7947 * posix/unistd.h: Undo change of feature selection for ftruncate from
7950 2010-09-20 Ulrich Drepper <drepper@redhat.com>
7952 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
7955 2010-09-20 Andreas Schwab <schwab@redhat.com>
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7959 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7961 2010-09-14 Andreas Schwab <schwab@redhat.com>
7963 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7964 variables after CHECK_SP call.
7965 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7967 2010-09-13 Andreas Schwab <schwab@redhat.com>
7968 Ulrich Drepper <drepper@redhat.com>
7970 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7971 re-relocationg ld.so.
7972 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7973 _dl_init_paths call.
7974 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7977 2010-09-14 Ulrich Drepper <drepper@redhat.com>
7979 * resolv/res_init.c (__res_vinit): Count the default server we added.
7981 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7982 Ulrich Drepper <drepper@redhat.com>
7985 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7986 (____longjmp_chk): Use %ebx for saving value across system call.
7989 2010-09-06 Andreas Schwab <schwab@redhat.com>
7991 * manual/Makefile: Don't mix pattern rules with normal rules.
7993 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7995 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7997 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7998 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7999 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
8000 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
8001 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8004 2010-09-04 Ulrich Drepper <drepper@redhat.com>
8007 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
8008 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
8010 2010-09-02 Ulrich Drepper <drepper@redhat.com>
8012 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
8013 * sysdeps/x86_64/addmul_1.S: Likewise.
8014 * sysdeps/x86_64/lshift.S: Likewise.
8015 * sysdeps/x86_64/mul_1.S: Likewise.
8016 * sysdeps/x86_64/rshift.S: Likewise.
8017 * sysdeps/x86_64/sub_n.S: Likewise.
8018 * sysdeps/x86_64/submul_1.S: Likewise.
8020 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
8022 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
8023 Define __sched_param instead of SCHED_* and sched_param when
8024 <bits/sched.h> is included with __need_schedparam defined.
8025 * bits/sched.h [__need_schedparam]
8026 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
8027 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
8028 (__defined_schedparam): Define to 1.
8029 (__sched_param): New structure, identical to sched_param.
8030 (__need_schedparam): Undefine.
8032 2010-08-31 Mike Frysinger <vapier@gentoo.org>
8034 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
8035 (epoll_create1): Declare.
8037 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
8039 2010-08-31 Andreas Schwab <schwab@redhat.com>
8042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
8043 shifting retval into place.
8045 2010-09-01 Ulrich Drepper <drepper@redhat.com>
8047 * nis/rpcsvc/nis.h: Update copyright notice.
8048 * nis/rpcsvc/nis.x: Likewise.
8049 * nis/rpcsvc/nis_callback.h: Likewise.
8050 * nis/rpcsvc/nis_callback.x: Likewise.
8051 * nis/rpcsvc/nis_object.x: Likewise.
8052 * nis/rpcsvc/nis_tags.h: Likewise.
8053 * nis/rpcsvc/yp.h: Likewise.
8054 * nis/rpcsvc/yp.x: Likewise.
8055 * nis/rpcsvc/ypupd.h: Likewise.
8056 * nis/yp_xdr.c: Likewise.
8057 * nis/ypupdate_xdr.c: Likewise.
8059 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
8060 mainly the body of pmap_getport. Add parameters to specify timeouts.
8061 (pmap_getport): Use __libc_rpc_getport.
8062 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
8063 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
8064 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
8066 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
8068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
8071 2010-08-27 Roland McGrath <roland@redhat.com>
8073 * sysdeps/i386/i686/multiarch/Makefile
8074 (CFLAGS-varshift.c): New variable.
8076 2010-08-27 Ulrich Drepper <drepper@redhat.com>
8078 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
8079 * sysdeps/i386/i686/multiarch/varshift.c: New file.
8081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
8083 * sysdeps/x86_64/strlen.S: Minimal code improvement.
8085 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
8087 * sysdeps/x86_64/strlen.S: Unroll the loop.
8088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8089 strlen-sse2 strlen-sse2-bsf.
8090 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
8091 __strlen_no_bsf if bit_Slow_BSF is set.
8092 (__strlen_sse42): Removed.
8093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
8094 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
8096 2010-08-25 Roland McGrath <roland@redhat.com>
8098 * sysdeps/x86_64/multiarch/varshift.S: File removed.
8099 * sysdeps/x86_64/multiarch/varshift.c: New file.
8100 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
8101 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
8102 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
8103 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8105 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
8107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8108 strlen-sse2 strlen-sse2-bsf.
8109 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
8110 __strlen_sse2_bsf if bit_Slow_BSF is unset.
8111 (__strlen_sse2): Removed.
8112 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
8113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
8114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8115 bit_Slow_BSF for Atom.
8116 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
8117 (index_Slow_BSF): Define.
8118 (HAS_SLOW_BSF): Define.
8120 2010-08-25 Ulrich Drepper <drepper@redhat.com>
8123 * resolv/res_init.c (__res_vinit): When no server address at all
8124 is given default to loopback.
8126 2010-08-24 Roland McGrath <roland@redhat.com>
8128 * configure.in: Remove config-name.h generation.
8129 * configure: Regenerated.
8130 * config-name.in: File removed.
8131 * scripts/config-uname.sh: New file.
8132 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
8133 ($(objdir)config-name.h): New target.
8135 * sunrpc/rpc_parse.h: Avoid nested comment.
8137 2010-08-24 Richard Henderson <rth@redhat.com>
8138 Ulrich Drepper <drepper@redhat.com>
8139 H.J. Lu <hongjiu.lu@intel.com>
8141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
8142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
8143 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
8144 Replace _mm_srli_si128 with __m128i_shift_right. Replace
8145 _mm_alignr_epi8 with _mm_loadu_si128.
8146 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
8147 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
8148 (__m128i_shift_right): Removed.
8149 * sysdeps/i386/i686/multiarch/varshift.h: New file.
8150 * sysdeps/i386/i686/multiarch/varshift.S: New file.
8151 * sysdeps/x86_64/multiarch/varshift.h: New file.
8152 * sysdeps/x86_64/multiarch/varshift.S: New file.
8154 2010-08-21 Mike Frysinger <vapier@gentoo.org>
8156 * configure.in: Move assembler checks to before sysdep dir checking.
8158 2010-08-20 Petr Baudis <pasky@suse.cz>
8160 * LICENSES: Sync the sunrpc license.
8162 2010-08-19 Ulrich Drepper <drepper@redhat.com>
8164 * sunrpc/auth_des.c: Update copyright notice once again.
8165 * sunrpc/auth_none.c: Likewise.
8166 * sunrpc/auth_unix.c: Likewise.
8167 * sunrpc/authdes_prot.c: Likewise.
8168 * sunrpc/authuxprot.c: Likewise.
8169 * sunrpc/bindrsvprt.c: Likewise.
8170 * sunrpc/clnt_gen.c: Likewise.
8171 * sunrpc/clnt_perr.c: Likewise.
8172 * sunrpc/clnt_raw.c: Likewise.
8173 * sunrpc/clnt_simp.c: Likewise.
8174 * sunrpc/clnt_tcp.c: Likewise.
8175 * sunrpc/clnt_udp.c: Likewise.
8176 * sunrpc/clnt_unix.c: Likewise.
8177 * sunrpc/des_crypt.c: Likewise.
8178 * sunrpc/des_soft.c: Likewise.
8179 * sunrpc/get_myaddr.c: Likewise.
8180 * sunrpc/getrpcport.c: Likewise.
8181 * sunrpc/key_call.c: Likewise.
8182 * sunrpc/key_prot.c: Likewise.
8183 * sunrpc/openchild.c: Likewise.
8184 * sunrpc/pm_getmaps.c: Likewise.
8185 * sunrpc/pm_getport.c: Likewise.
8186 * sunrpc/pmap_clnt.c: Likewise.
8187 * sunrpc/pmap_prot.c: Likewise.
8188 * sunrpc/pmap_prot2.c: Likewise.
8189 * sunrpc/pmap_rmt.c: Likewise.
8190 * sunrpc/rpc/auth.h: Likewise.
8191 * sunrpc/rpc/auth_unix.h: Likewise.
8192 * sunrpc/rpc/clnt.h: Likewise.
8193 * sunrpc/rpc/des_crypt.h: Likewise.
8194 * sunrpc/rpc/key_prot.h: Likewise.
8195 * sunrpc/rpc/netdb.h: Likewise.
8196 * sunrpc/rpc/pmap_clnt.h: Likewise.
8197 * sunrpc/rpc/pmap_prot.h: Likewise.
8198 * sunrpc/rpc/pmap_rmt.h: Likewise.
8199 * sunrpc/rpc/rpc.h: Likewise.
8200 * sunrpc/rpc/rpc_des.h: Likewise.
8201 * sunrpc/rpc/rpc_msg.h: Likewise.
8202 * sunrpc/rpc/svc.h: Likewise.
8203 * sunrpc/rpc/svc_auth.h: Likewise.
8204 * sunrpc/rpc/types.h: Likewise.
8205 * sunrpc/rpc/xdr.h: Likewise.
8206 * sunrpc/rpc_clntout.c: Likewise.
8207 * sunrpc/rpc_cmsg.c: Likewise.
8208 * sunrpc/rpc_common.c: Likewise.
8209 * sunrpc/rpc_cout.c: Likewise.
8210 * sunrpc/rpc_dtable.c: Likewise.
8211 * sunrpc/rpc_hout.c: Likewise.
8212 * sunrpc/rpc_main.c: Likewise.
8213 * sunrpc/rpc_parse.c: Likewise.
8214 * sunrpc/rpc_parse.h: Likewise.
8215 * sunrpc/rpc_prot.c: Likewise.
8216 * sunrpc/rpc_sample.c: Likewise.
8217 * sunrpc/rpc_scan.c: Likewise.
8218 * sunrpc/rpc_scan.h: Likewise.
8219 * sunrpc/rpc_svcout.c: Likewise.
8220 * sunrpc/rpc_tblout.c: Likewise.
8221 * sunrpc/rpc_util.c: Likewise.
8222 * sunrpc/rpc_util.h: Likewise.
8223 * sunrpc/rpcinfo.c: Likewise.
8224 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
8225 * sunrpc/rpcsvc/key_prot.x: Likewise.
8226 * sunrpc/rpcsvc/klm_prot.x: Likewise.
8227 * sunrpc/rpcsvc/mount.x: Likewise.
8228 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
8229 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
8230 * sunrpc/rpcsvc/rex.x: Likewise.
8231 * sunrpc/rpcsvc/rstat.x: Likewise.
8232 * sunrpc/rpcsvc/rusers.x: Likewise.
8233 * sunrpc/rpcsvc/sm_inter.x: Likewise.
8234 * sunrpc/rpcsvc/spray.x: Likewise.
8235 * sunrpc/rpcsvc/yppasswd.x: Likewise.
8236 * sunrpc/rtime.c: Likewise.
8237 * sunrpc/svc.c: Likewise.
8238 * sunrpc/svc_auth.c: Likewise.
8239 * sunrpc/svc_authux.c: Likewise.
8240 * sunrpc/svc_raw.c: Likewise.
8241 * sunrpc/svc_run.c: Likewise.
8242 * sunrpc/svc_simple.c: Likewise.
8243 * sunrpc/svc_tcp.c: Likewise.
8244 * sunrpc/svc_udp.c: Likewise.
8245 * sunrpc/svc_unix.c: Likewise.
8246 * sunrpc/svcauth_des.c: Likewise.
8247 * sunrpc/xcrypt.c: Likewise.
8248 * sunrpc/xdr.c: Likewise.
8249 * sunrpc/xdr_array.c: Likewise.
8250 * sunrpc/xdr_float.c: Likewise.
8251 * sunrpc/xdr_mem.c: Likewise.
8252 * sunrpc/xdr_rec.c: Likewise.
8253 * sunrpc/xdr_ref.c: Likewise.
8254 * sunrpc/xdr_sizeof.c: Likewise.
8255 * sunrpc/xdr_stdio.c: Likewise.
8257 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
8260 2010-08-19 Andreas Schwab <schwab@redhat.com>
8262 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
8264 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
8266 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
8267 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
8268 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
8269 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
8270 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
8271 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
8272 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
8273 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
8274 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
8275 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
8276 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
8277 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
8278 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
8279 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
8281 2010-07-26 Anton Blanchard <anton@samba.org>
8283 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
8284 * malloc/arena.c (heap_trim): Likewise.
8286 2010-08-16 Ulrich Drepper <drepper@redhat.com>
8288 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
8290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
8291 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
8293 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
8295 * sysdeps/i386/elf/Makefile: New file.
8297 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8299 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
8301 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8304 2010-08-15 Ulrich Drepper <drepper@redhat.com>
8306 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
8308 * sysdeps/multiarch/strcmp.S: Likewise.
8310 2010-08-14 Ulrich Drepper <drepper@redhat.com>
8312 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8313 strncase_l-nonascii.
8314 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8315 Add strncase_l-ssse3.
8316 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
8317 * sysdeps/x86_64/strcmp.S: Likewise.
8318 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
8319 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
8320 * sysdeps/x86_64/strncase.S: New file.
8321 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
8322 * sysdeps/x86_64/strncase_l.S: New file.
8323 * string/Makefile (strop-tests): Add strncasecmp.
8324 * string/test-strncasecmp.c: New file.
8326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
8329 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
8330 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
8332 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
8334 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
8336 2010-08-12 Ulrich Drepper <drepper@redhat.com>
8338 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
8339 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8342 2010-05-01 Alan Modra <amodra@gmail.com>
8344 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
8345 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
8346 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
8347 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
8348 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
8349 tidying. Don't tail-call __sigjmp_save for static lib.
8350 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
8352 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
8353 (CALL_MCOUNT): Add eh info, and nop after bl.
8354 (TAIL_CALL_SYSCALL_ERROR): New macro.
8355 (PSEUDO_RET): Use it.
8356 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8357 Correct save location of integer regs and cr.
8358 (_dl_profile_resolve): Correct cr save location. Delete nops
8359 after bl when SHARED. Reduce cfi size a little by better
8360 placement of cfi directives.
8361 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
8362 make a stack frame. Instead use parm save area as a temp.
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
8364 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8366 Don't make a stack frame for parent, use parm save area.
8367 Increase child stack frame to 112 bytes. Don't save unused reg,
8368 and adjust reg usage. Set up cfi on error recovery and
8369 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8371 (__makecontext): Add dummy nop after jump to exit.
8372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
8373 Use correct parm save area and cr save, reduce stack frame.
8374 Correct cfi for possible PSEUDO_RET frame setup.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
8376 Branch to local label emitted by PSEUDO_RET rather than
8379 2010-08-12 Andreas Schwab <schwab@redhat.com>
8382 * locale/programs/locale.c (print_assignment): New function.
8383 (show_locale_vars): Use it.
8385 2010-08-11 Ulrich Drepper <drepper@redhat.com>
8387 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
8389 (struct statfs64): Likewise.
8390 (_STATFS_F_FLAGS): Define.
8391 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
8392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8393 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
8394 (ST_VALID): Define locally.
8395 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
8396 __statvfs_getflags, use the provided value.
8397 * sysdeps/unix/sysv/linux/kernel-features.h: Define
8398 __ASSUME_STATFS_F_FLAGS.
8400 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
8402 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
8404 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
8405 fanotify_mask for GLIBC_2.13.
8406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
8407 fanotify_init and fanotify_mark.
8408 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8409 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
8411 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
8413 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
8414 prlimit64 for GLIBC_2.13.
8415 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
8417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
8419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8421 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
8422 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
8423 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
8425 * sysdeps/unix/sysv/linux/prlimit.c: New file.
8428 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
8429 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
8431 * nss/Makefile: Add rules to build and run tst-nss-test1.
8432 * shlib-versions: Add entry for libnss_test1.
8433 * nss/nss_test1.c: New file.
8434 * nss/tst-nss-test1.c: New file.
8436 * nss/nsswitch.c (__nss_database_custom): Define new variable.
8437 (__nss_configure_lookup): Set appropriate entry in
8438 __nss_configure_lookup to true.
8439 * nss/nsswitch.h: Define enum with indeces of databases in
8440 databases and __nss_database_custom arrays. Declare
8441 __nss_database_custom.
8442 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
8443 to avoid using nscd when custom rules are installed.
8444 * nss/getXXbyYY_r.c: Likewise.
8445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8447 * nss/nss_files/files-parse.c: Whitespace fixes.
8449 2010-08-09 Ulrich Drepper <drepper@redhat.com>
8452 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
8453 * posix/fnmatch_loop.c: Likewise.
8455 2010-07-17 Andi Kleen <ak@linux.intel.com>
8457 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
8458 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
8459 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
8460 * Versions.def [GLIBC_2.13]: Add.
8462 2010-08-06 Ulrich Drepper <drepper@redhat.com>
8464 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8465 Also fail if tpwd after pwuid call is NULL.
8467 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8469 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
8470 when converting to ms.
8472 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8474 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
8475 EOPNOTSUPP errors with ENOTTY.
8476 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
8477 EOPNOTSUPP errors with ENOTTY.
8479 2010-07-31 Ulrich Drepper <drepper@redhat.com>
8481 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
8482 Add strcasecmp_l-ssse3.
8483 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
8485 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
8486 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
8487 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
8489 2010-07-30 Ulrich Drepper <drepper@redhat.com>
8491 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
8493 * string/Makefile (strop-tests): Add strcasecmp.
8494 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
8495 strcasecmp_l-nonascii.
8496 (gen-as-const-headers): Add locale-defines.sym.
8497 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
8498 * sysdeps/x86_64/strcasecmp.S: New file.
8499 * sysdeps/x86_64/strcasecmp_l.S: New file.
8500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
8501 * sysdeps/x86_64/locale-defines.sym: New file.
8502 * string/test-strcasecmp.c: New file.
8504 * string/test-strcasestr.c: Test both ends of the range of characters.
8505 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
8507 2010-07-29 Roland McGrath <roland@redhat.com>
8510 * manual/locale.texi (Yes-or-No Questions): Fix example code.
8512 2010-07-27 Ulrich Drepper <drepper@redhat.com>
8514 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
8517 2010-07-27 Andreas Schwab <schwab@redhat.com>
8519 * manual/memory.texi (Malloc Tunable Parameters): Document
8522 2010-07-26 Roland McGrath <roland@redhat.com>
8525 * configure.in (-fgnu89-inline check): Set and substitute
8526 gnu89_inline, not libc_cv_gnu89_inline.
8527 * configure: Regenerated.
8528 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
8530 2010-07-26 Ulrich Drepper <drepper@redhat.com>
8532 * string/test-strnlen.c: New file.
8533 * string/Makefile (strop-tests): Add strnlen.
8534 * string/tester.c (test_strnlen): Add a few more test cases.
8535 * string/tst-strlen.c: Better error reporting.
8537 * sysdeps/x86_64/strnlen.S: New file.
8539 2010-07-24 Ulrich Drepper <drepper@redhat.com>
8541 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
8542 lower-latency instructions.
8544 2010-07-23 Ulrich Drepper <drepper@redhat.com>
8546 * string/test-strcasestr.c: New file.
8547 * string/test-strstr.c: New file.
8548 * string/Makefile (strop-tests): Add strstr and strcasestr.
8549 * string/str-two-way.h: Don't undefine MAX.
8550 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
8552 2010-07-21 Andreas Schwab <schwab@redhat.com>
8554 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8555 strcasestr-nonascii.
8556 (CFLAGS-strcasestr-nonascii.c): Define.
8557 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
8558 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
8559 Remove unused attribute.
8561 2010-07-20 Roland McGrath <roland@redhat.com>
8563 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
8564 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
8565 ld.so.cache was broken. With it, there is no way to disable dsocaps
8566 like LD_HWCAP_MASK can disable hwcaps.
8568 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8570 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
8572 2010-07-16 Ulrich Drepper <drepper@redhat.com>
8574 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
8576 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
8577 __strcasestr_sse42_nonascii.
8578 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
8579 strcasestr-nonascii.c.
8580 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
8582 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
8584 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
8585 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
8586 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
8587 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
8589 2010-07-09 Ulrich Drepper <drepper@redhat.com>
8591 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
8594 2010-07-06 Andreas Schwab <schwab@redhat.com>
8597 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
8600 2010-07-06 Ulrich Drepper <drepper@redhat.com>
8602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
8603 _PC_PIPE_BUF using F_GETPIPE_SZ.
8605 2010-07-05 Roland McGrath <roland@redhat.com>
8607 * manual/arith.texi (Rounding Functions): Fix rint description
8608 implicit in round description.
8610 2010-07-02 Ulrich Drepper <drepper@redhat.com>
8612 * elf/Makefile: Fix linking for a few tests to make recent linker
8615 2010-06-30 Andreas Schwab <schwab@redhat.com>
8617 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8618 $(common-objpfx)libc_nonshared.a.
8620 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
8622 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
8623 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
8624 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8625 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8626 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
8627 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
8628 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8629 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
8631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
8632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
8633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
8634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
8635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
8636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
8637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
8639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
8643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
8644 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
8645 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
8646 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
8647 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
8648 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
8649 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
8650 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
8651 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
8652 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
8653 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
8654 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
8655 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
8662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
8664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
8666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
8668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
8671 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
8673 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
8674 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
8675 * string/memmove.c (memmove): Renamed to ...
8676 (MEMMOVE): ...this. Default to memmove.
8677 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
8678 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
8680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8681 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
8682 mempcpy-ssse3-back memmove-ssse3-back.
8683 * sysdeps/x86_64/multiarch/bcopy.S: New file .
8684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
8685 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
8686 * sysdeps/x86_64/multiarch/memcpy.S: New file.
8687 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
8688 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
8689 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
8690 * sysdeps/x86_64/multiarch/memmove.c: New file.
8691 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
8692 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
8693 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
8694 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
8695 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
8696 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
8698 (index_Fast_Copy_Backward): Define.
8699 (HAS_ARCH_FEATURE): Define.
8700 (HAS_FAST_REP_STRING): Define.
8701 (HAS_FAST_COPY_BACKWARD): Define.
8703 2010-06-21 Andreas Schwab <schwab@redhat.com>
8705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
8706 Restore proper fallback handling.
8708 2010-06-19 Ulrich Drepper <drepper@redhat.com>
8711 * posix/group_member.c (__group_member): Correct checking loop.
8713 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
8714 OOM in getpwuid_r correctly. Return error number when the caller
8715 should return, otherwise -1.
8716 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
8717 call returning > 0 value.
8718 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
8720 2010-06-07 Andreas Schwab <schwab@redhat.com>
8722 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
8723 libc_nonshared.a from targets in modules-names.
8725 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
8727 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
8730 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
8732 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
8733 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
8734 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
8735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
8737 2010-06-02 Andreas Schwab <schwab@redhat.com>
8739 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
8741 2010-06-14 Ulrich Drepper <drepper@redhat.com>
8743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
8745 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8746 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8749 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8750 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
8752 2010-06-14 Roland McGrath <roland@redhat.com>
8754 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
8756 2010-06-07 Jakub Jelinek <jakub@redhat.com>
8758 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
8759 __REDIRECT followed by __THROW.
8760 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
8761 * posix/getopt.h (getopt): Likewise.
8763 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
8765 * hurd/lookup-at.c (__file_name_lookup_at): Accept
8766 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
8767 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
8769 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
8770 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
8772 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
8774 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
8776 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
8779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8780 Properly check family and model.
8782 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
8784 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
8786 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
8788 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
8790 2010-05-21 Ulrich Drepper <drepper@redhat.com>
8792 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
8795 2010-05-19 Andreas Schwab <schwab@redhat.com>
8797 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
8800 2010-05-21 Andreas Schwab <schwab@redhat.com>
8802 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
8803 and internal_recvmmsg.
8804 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
8805 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
8806 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
8807 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
8809 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
8810 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
8811 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
8813 2010-05-20 Andreas Schwab <schwab@redhat.com>
8815 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
8817 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
8819 POWER7 optimizations.
8820 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
8821 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
8823 2010-05-19 Ulrich Drepper <drepper@redhat.com>
8825 * version.h: Update for 2.13 development version.
8827 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
8829 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
8830 exceptions. Return 0.
8832 2010-05-07 Roland McGrath <roland@redhat.com>
8834 * elf/ldconfig.c (main): Add a const.
8836 2010-05-06 Ulrich Drepper <drepper@redhat.com>
8838 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
8839 (args_options): Add no-idn option.
8840 (ahosts_keys_int): Add idn_flags to ai_flags.
8841 (parse_option): Handle 'i' option to clear idn_flags.
8843 * malloc/malloc.c (_int_free): Possible race in the most recently
8844 added check. Only act on the data if no current modification
8847 See ChangeLog.17 for earlier changes.